From 02390d328a069db0b2b8eff6e2153269b0e00fa0 Mon Sep 17 00:00:00 2001 From: Tom Ball Date: Thu, 6 Feb 2020 16:46:39 -0800 Subject: [PATCH] 3.5.1 --- assets/js/binary.js | 52686 ++++++++++++++++-------------------------- assets/version.txt | 2 +- pxt.json | 2 +- 3 files changed, 19820 insertions(+), 32870 deletions(-) diff --git a/assets/js/binary.js b/assets/js/binary.js index 95e2973..ea0d882 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// meta={"simUrl":"https://trg-arcade.userpxt.io/v0.16.27/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"3.5.0","target":"arcade","targetVersion":"0.16.27","repo":"microsoft/pxt-tileworld"} -// total=3076766 new=35.24% cached=59.46% other=5.31% +// meta={"simUrl":"https://trg-arcade.userpxt.io/v0.16.28/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"3.5.1","target":"arcade","targetVersion":"0.16.28","repo":"microsoft/tileworld"} +// total=2629302 new=40.57% cached=54.59% other=4.84% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -28,7 +28,13 @@ const pxtrt = pxsim.pxtrt; let yieldSteps = 1; ectx.setupYield(function() { yieldSteps = 100; }) pxsim.setTitle("pxt-tileworld"); -pxsim.setConfigData({}, {}); +pxsim.setConfigData({ + "37": 160, + "38": 120 +}, { + "DISPLAY_WIDTH": 37, + "DISPLAY_HEIGHT": 38 +}); pxtrt.mapKeyNames = [ "", "Adown", @@ -40,31 +46,20 @@ pxtrt.mapKeyNames = [ "_action", "_ax", "_ay", - "_bridge", - "_buffer", - "_bus", "_col", "_connected", - "_consoleMode", - "_consoleService", - "_controlService", "_controlledSprites", "_data", "_destroyCore", - "_device_name", "_dt", "_factory", "_height", "_hitbox", - "_hostConnected", - "_hostDisconnected", "_id", "_image", "_init", - "_intervalId", "_kind", "_kindsOverlappedWith", - "_lastListenerTime", "_lastX", "_lastY", "_layer", @@ -72,7 +67,6 @@ pxtrt.mapKeyNames = [ "_map", "_mapImage", "_millis", - "_mode", "_obstacles", "_offsetX", "_offsetY", @@ -85,8 +79,6 @@ pxtrt.mapKeyNames = [ "_repeatCount", "_row", "_scale", - "_service_class", - "_services", "_sprites", "_text", "_tileSets", @@ -103,11 +95,9 @@ pxtrt.mapKeyNames = [ "active", "activeCard", "add", - "addAdvertisementData", "addAnimationFrame", "addShape", "addSprite", - "advertisement_size", "alignX", "alignY", "all", @@ -117,7 +107,6 @@ pxtrt.mapKeyNames = [ "allTrueResting", "analog", "anchor", - "append", "applyRules", "applyTo", "areaHeight", @@ -139,15 +128,7 @@ pxtrt.mapKeyNames = [ "border", "borderColor", "bottom", - "bridge", - "broadcast_servicemap", "buckets", - "bus", - "bus_lo_error", - "bus_state", - "bus_status", - "bus_timeout_error", - "bus_uart_error", "button", "buttons", "cachedImage", @@ -188,19 +169,13 @@ pxtrt.mapKeyNames = [ "commandLengths", "commandUpdate", "commands", - "communication_rate", "condition", - "configurationService", "connected", - "consoleMode", - "consoleService", - "consoleVisible", "constrain", "contains", "controlledSprites", "countdownEndHandler", "countdownExpired", - "crc", "createMovingSprite", "createParticle", "createdHandlers", @@ -219,24 +194,13 @@ pxtrt.mapKeyNames = [ "data", "deadSprites", "debug", - "debugFont", - "debuggerService", "defaultLifespan", "defaultRate", - "delay", "deltaTime", "deltaTimeMillis", "destroy", "destroyHandler", "destroyedHandlers", - "device", - "deviceDisconnected", - "deviceEnumerated", - "deviceManager", - "device_address", - "device_flags", - "device_name", - "devices", "dir", "dirMap", "dirty", @@ -268,7 +232,6 @@ pxtrt.mapKeyNames = [ "eid", "enabled", "endScreenEffect", - "enumerate", "evaluateRule", "evaluateRuleClosure", "evaluateWhenDo", @@ -277,7 +240,6 @@ pxtrt.mapKeyNames = [ "fastRandom", "fc", "fillTile", - "find", "findWitnessColRow", "findWitnessWhenDo", "fixed", @@ -286,13 +248,11 @@ pxtrt.mapKeyNames = [ "followingSprites", "font", "fontColor", - "formControlPacket", "frame", "frameCallbacks", "frameWorker", "frames", "framesInSample", - "func", "gallery", "galois", "game", @@ -302,9 +262,6 @@ pxtrt.mapKeyNames = [ "generator", "getArg", "getAttr", - "getBuffer", - "getDeviceList", - "getDiagnostics", "getDir", "getImage", "getInst", @@ -342,7 +299,6 @@ pxtrt.mapKeyNames = [ "height", "help", "helpCursor", - "hideControl", "highScore", "icon", "iconImage", @@ -357,7 +313,6 @@ pxtrt.mapKeyNames = [ "infoFont", "infoTop", "init", - "initialise", "innerLeft", "innerTop", "insertAABB", @@ -367,9 +322,7 @@ pxtrt.mapKeyNames = [ "instToImage", "instToNumArgs", "instToStartArg", - "instance", "interval", - "isConnected", "isInvalidIndex", "isLegacy", "isNewHighScore", @@ -395,14 +348,11 @@ pxtrt.mapKeyNames = [ "makeArgMenu", "makeCommandMenu", "makeContext", - "makeDiagnostic", "makeIt", "makeRule", "makeWhenDo", "manhattanDistance2", "map", - "marginx", - "marginy", "matchingRules", "maxLifespan", "maxNegativeVelocity", @@ -417,10 +367,8 @@ pxtrt.mapKeyNames = [ "millis", "minAngle", "minLifespan", - "minPriority", "minSingleStep", "minStep", - "mode", "modifyCommandMenu", "moreHelp", "movable", @@ -435,24 +383,16 @@ pxtrt.mapKeyNames = [ "moving", "multiplier", "multiplierImage", - "name", "neighbors", "newImage", "next", - "nextAddress", "nextWorld", "noMenu", "obstacle", "offsetX", "offsetY", "okToMove", - "onChange", - "onConnected", - "onDisconnected", "onEvent", - "onIdentificationRequest", - "onMessageReceived", - "onNameRemotelyChanged", "onPlayFinished", "onUpdate", "once", @@ -469,15 +409,9 @@ pxtrt.mapKeyNames = [ "oy", "p", "pFlags", - "packets_dropped", - "packets_received", - "packets_sent", "padding", "paintCursor", - "paintDevices", - "paintDiagnosticsBar", "paintHome", - "paintPacket", "paintPixel", "paintTile", "parent", @@ -485,7 +419,6 @@ pxtrt.mapKeyNames = [ "period", "physicsEngine", "pickRandom", - "pkt", "play", "playCore", "playerIndex", @@ -506,7 +439,6 @@ pxtrt.mapKeyNames = [ "randomRange", "register", "registerController", - "registerDefaultViews", "registerFrameCallbacks", "registerFrameHandler", "registerHandler", @@ -515,27 +447,18 @@ pxtrt.mapKeyNames = [ "registerSprite", "remove", "removeCommand", - "removeDevice", "removeRule", "removeSprite", "render", - "renderCustomPacket", - "renderData", - "renderEvent", - "renderPacket", - "renderState", "repeatDelay", "repeatInterval", "repeatX", "repeatY", "requestMove", - "requiredDevice", "resizeBuckets", "restingWithChange", "rid", "right", - "rngService", - "rolling_counter", "round", "row", "rowCount", @@ -548,7 +471,6 @@ pxtrt.mapKeyNames = [ "ruleTypeMap", "rules", "runCallbacks", - "running", "runningCallbacks", "s", "saveAndPop", @@ -572,13 +494,6 @@ pxtrt.mapKeyNames = [ "selectedColor", "selection", "self", - "send", - "serviceClass", - "service_class", - "service_flags", - "service_number", - "servicemap_bitmsk", - "services", "setAcceleration", "setAnchor", "setArg", @@ -629,7 +544,6 @@ pxtrt.mapKeyNames = [ "showRuleType", "showScore", "signal", - "size", "source", "sourceFactory", "sources", @@ -642,11 +556,8 @@ pxtrt.mapKeyNames = [ "spritesByKind", "src", "start", - "startDeviceTimer", "startScreenEffect", - "started", "state", - "status", "stop", "textAreaHeight", "textAreaWidth", @@ -669,10 +580,6 @@ pxtrt.mapKeyNames = [ "tokens", "top", "tryEditCommand", - "udid", - "udidh", - "udidl", - "unique_device_identifier", "unit", "unregister", "unregisterMelody", @@ -688,7 +595,6 @@ pxtrt.mapKeyNames = [ "value", "version", "vid", - "view", "visibilityFlag", "visilibity", "vm", @@ -700,12 +606,8 @@ pxtrt.mapKeyNames = [ "width", "win", "witnesses", - "work", "world", "wrapRule", - "write", - "writeBuffer", - "writePacket", "x", "xOffset", "xRange", @@ -741,7 +643,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P1101319(s) { +function _main___P32550(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -751,224 +653,248 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - globals._pollEventQueue___297779 = (undefined); - globals._intervals___297786 = (undefined); - globals.minPriority___297803 = (1); + globals._pollEventQueue___208 = (undefined); + globals._intervals___215 = (undefined); + globals.minPriority___232 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, inline__P297804); - globals.listeners___297805 = (s.tmp_0); - globals.brightness___297976 = (100); + r0 = pxsim_Array__push(s.tmp_0, inline__P233); + globals.listeners___234 = (s.tmp_0); + globals.freqs___393 = (_hex392); + globals.globalVolume___398 = (null); + globals.playToneID___408 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C412_VT); + s.tmp_0 = r0; + s.tmp_1 = music_Melody_constructor__P424_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 = 3; return s.tmp_1; + case 3: + r0 = s.retval; + globals.wawawawaa___433 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C412_VT); + s.tmp_0 = r0; + s.tmp_1 = music_Melody_constructor__P424_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 = 4; return s.tmp_1; + case 4: + r0 = s.retval; + globals.powerUp___439 = (s.tmp_0); + globals.brightness___474 = (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", _hex313353); - globals.font8___297999 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex15536); + globals.font8___497 = (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", _hex313355); - globals.font12___298001 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex15538); + globals.font12___499 = (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", _hex324882); - globals.font5___298006 = (s.tmp_0); - globals.__updated___298013 = (false); - r0 = pxsim.control.runInParallel(inline__P298018); - r0 = pxsim_pxtcore.setPalette(_hex298044); - s.tmp_0 = _screen_internal_createScreen__P298051_mk(s); - s.pc = 3; return s.tmp_0; - case 3: + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex24643); + globals.font5___504 = (s.tmp_0); + globals.__updated___511 = (false); + r0 = pxsim.control.runInParallel(inline__P516); + r0 = pxsim_pxtcore.setPalette(_hex542); + r0 = pxsim.image.create(160, 120); + globals.screen___545 = (r0); + s.tmp_0 = control___screen_setupUpdate__P513_mk(s); + s.tmp_0.arg0 = inline__P550; + s.pc = 5; return s.tmp_0; + case 5: r0 = s.retval; - globals.screen___298046 = (r0); - globals.RUN_KEY___298054 = ("#run"); - globals.SCOPE_KEY___298055 = ("#scope"); - s.tmp_0 = settings_initScopes__P298067_mk(s); - s.pc = 4; return s.tmp_0; - case 4: + globals.control_EventContext_onStats___280 = (inline__P555); + globals.RUN_KEY___562 = ("#run"); + globals.SCOPE_KEY___563 = ("#scope"); + s.tmp_0 = settings_initScopes__P575_mk(s); + s.pc = 6; return s.tmp_0; + case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C298153_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C661_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P298164_mk(s); + s.tmp_1 = controller_Button_constructor__P672_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: + s.pc = 7; return s.tmp_1; + case 7: r0 = s.retval; - globals.A___298124 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C298153_VT); + globals.A___632 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C661_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P298164_mk(s); + s.tmp_1 = controller_Button_constructor__P672_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: + s.pc = 8; return s.tmp_1; + case 8: r0 = s.retval; - globals.B___298126 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C298153_VT); + globals.B___634 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C661_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P298164_mk(s); + s.tmp_1 = controller_Button_constructor__P672_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: + s.pc = 9; return s.tmp_1; + case 9: r0 = s.retval; - globals.left___298128 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C298153_VT); + globals.left___636 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C661_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P298164_mk(s); + s.tmp_1 = controller_Button_constructor__P672_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: + s.pc = 10; return s.tmp_1; + case 10: r0 = s.retval; - globals.up___298130 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C298153_VT); + globals.up___638 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C661_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P298164_mk(s); + s.tmp_1 = controller_Button_constructor__P672_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: + s.pc = 11; return s.tmp_1; + case 11: r0 = s.retval; - globals.right___298132 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C298153_VT); + globals.right___640 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C661_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P298164_mk(s); + s.tmp_1 = controller_Button_constructor__P672_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: + s.pc = 12; return s.tmp_1; + case 12: r0 = s.retval; - globals.down___298134 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C298153_VT); + globals.down___642 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C661_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P298164_mk(s); + s.tmp_1 = controller_Button_constructor__P672_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: + s.pc = 13; return s.tmp_1; + case 13: r0 = s.retval; - globals.menu___298136 = (s.tmp_0); - globals._userEventsEnabled___298146 = (true); - globals.defaultRepeatDelay___298148 = (500); - globals.defaultRepeatInterval___298150 = (30); - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C298165_VT); + globals.menu___644 = (s.tmp_0); + globals._userEventsEnabled___654 = (true); + globals.defaultRepeatDelay___656 = (500); + globals.defaultRepeatInterval___658 = (30); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C673_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P298164_mk(s); + s.tmp_1 = controller_Button_constructor__P672_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___298209 = (s.tmp_0); - s.tmp_0 = SpriteKind_create__P298312_mk(s); - s.pc = 13; return s.tmp_0; - case 13: - r0 = s.retval; - globals.Player___298314 = (r0); - s.tmp_0 = SpriteKind_create__P298312_mk(s); - s.pc = 14; return s.tmp_0; + s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - globals.Food___298319 = (r0); - s.tmp_0 = SpriteKind_create__P298312_mk(s); + globals.anyButton___717 = (s.tmp_0); + s.tmp_0 = SpriteKind_create__P820_mk(s); s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - globals.Enemy___298322 = (r0); + globals.Player___822 = (r0); + s.tmp_0 = SpriteKind_create__P820_mk(s); + s.pc = 16; return s.tmp_0; + case 16: + r0 = s.retval; + globals.Food___827 = (r0); + s.tmp_0 = SpriteKind_create__P820_mk(s); + s.pc = 17; return s.tmp_0; + case 17: + r0 = s.retval; + globals.Enemy___830 = (r0); r0 = (100 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MAX_TIME_STEP___298344 = (r0); + globals.MAX_TIME_STEP___852 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___298357 = (r0); - globals.infoState___298388 = (undefined); - s.tmp_0 = game_addScenePushHandler__P298392_mk(s); - s.tmp_0.arg0 = inline__P298393; - s.pc = 16; return s.tmp_0; - case 16: + globals.MIN_MOVE_GAP___865 = (r0); + globals.infoState___896 = (undefined); + s.tmp_0 = game_addScenePushHandler__P900_mk(s); + s.tmp_0.arg0 = inline__P901; + s.pc = 18; return s.tmp_0; + case 18: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P298409_mk(s); - s.tmp_0.arg0 = inline__P298410; - s.pc = 17; return s.tmp_0; - case 17: + s.tmp_0 = game_addScenePopHandler__P917_mk(s); + s.tmp_0.arg0 = inline__P918; + s.pc = 19; return s.tmp_0; + case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(info_PlayerInfo__C298470_VT); + r0 = pxsim_pxtcore_mkClassInstance(info_PlayerInfo__C978_VT); s.tmp_0 = r0; - s.tmp_1 = info_PlayerInfo_constructor__P298487_mk(s); + s.tmp_1 = info_PlayerInfo_constructor__P995_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1; - s.pc = 18; return s.tmp_1; - case 18: + s.pc = 20; return s.tmp_1; + case 20: r0 = s.retval; - globals.player1___298496 = (s.tmp_0); + globals.player1___1004 = (s.tmp_0); r0 = pxsim_Array__mk(); - globals.scene_Scene_initializers___298640 = (r0); - globals.debug___298705 = (false); - globals.stats___298707 = (false); - globals.winEffect___298709 = (undefined); - globals.loseEffect___298711 = (undefined); - globals.loseSound___298713 = (undefined); - globals.winSound___298715 = (undefined); - globals.__isOver___298723 = (false); - s.tmp_0 = scene_systemMenu_initVolume__P299045_mk(s); - s.pc = 19; return s.tmp_0; - case 19: + globals.scene_Scene_initializers___1148 = (r0); + globals.debug___1213 = (false); + globals.stats___1215 = (false); + globals.winEffect___1217 = (undefined); + globals.loseEffect___1219 = (undefined); + globals.loseSound___1221 = (undefined); + globals.winSound___1223 = (undefined); + globals.__isOver___1231 = (false); + s.tmp_0 = scene_systemMenu_initVolume__P1553_mk(s); + s.pc = 21; return s.tmp_0; + case 21: r0 = s.retval; - r0 = pxsim_Array__push(globals.scene_Scene_initializers___298640, scene_systemMenu_register__P299042); - r0 = pxsim.image.ofBuffer(_hex299051); - globals.CARD_NORMAL___299052 = (r0); - r0 = pxsim.image.ofBuffer(_hex299054); - globals.CARD_SELECTED___299055 = (r0); - r0 = pxsim.image.ofBuffer(_hex299057); - globals.CARD_ACTIVE___299058 = (r0); - r0 = pxsim.image.ofBuffer(_hex299060); - globals.VOLUME_UP_ICON___299061 = (r0); - r0 = pxsim.image.ofBuffer(_hex299063); - globals.BRIGHTNESS_DOWN_ICON___299064 = (r0); - r0 = pxsim.image.ofBuffer(_hex299066); - globals.CLOSE_MENU_ICON___299067 = (r0); - r0 = pxsim.image.ofBuffer(_hex299069); - globals.VOLUME_DOWN_ICON___299070 = (r0); - r0 = pxsim.image.ofBuffer(_hex299072); - globals.SLEEP_ICON___299073 = (r0); - r0 = pxsim.image.ofBuffer(_hex299075); - globals.CONSOLE_ICON___299076 = (r0); - r0 = pxsim.image.ofBuffer(_hex299078); - globals.BRIGHTNESS_UP_ICON___299079 = (r0); - r0 = pxsim.image.ofBuffer(_hex299081); - globals.STATS_ICON___299082 = (r0); - globals.consoleColor___299085 = (1); - globals.tabSize___299088 = (8); - globals.consoleFont___299094 = (globals.font5___298006); - r0 = pxsim_ImageMethods.height(globals.screen___298046); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___1148, scene_systemMenu_register__P1550); + r0 = pxsim.image.ofBuffer(_hex1559); + globals.CARD_NORMAL___1560 = (r0); + r0 = pxsim.image.ofBuffer(_hex1562); + globals.CARD_SELECTED___1563 = (r0); + r0 = pxsim.image.ofBuffer(_hex1565); + globals.CARD_ACTIVE___1566 = (r0); + r0 = pxsim.image.ofBuffer(_hex1568); + globals.VOLUME_UP_ICON___1569 = (r0); + r0 = pxsim.image.ofBuffer(_hex1571); + globals.BRIGHTNESS_DOWN_ICON___1572 = (r0); + r0 = pxsim.image.ofBuffer(_hex1574); + globals.CLOSE_MENU_ICON___1575 = (r0); + r0 = pxsim.image.ofBuffer(_hex1577); + globals.VOLUME_DOWN_ICON___1578 = (r0); + r0 = pxsim.image.ofBuffer(_hex1580); + globals.SLEEP_ICON___1581 = (r0); + r0 = pxsim.image.ofBuffer(_hex1583); + globals.CONSOLE_ICON___1584 = (r0); + r0 = pxsim.image.ofBuffer(_hex1586); + globals.BRIGHTNESS_UP_ICON___1587 = (r0); + r0 = pxsim.image.ofBuffer(_hex1589); + globals.STATS_ICON___1590 = (r0); + globals.consoleColor___1593 = (1); + globals.tabSize___1596 = (8); + globals.consoleFont___1602 = (globals.font5___504); + r0 = pxsim_ImageMethods.height(globals.screen___545); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___299094; + s.tmp_5.arg0 = globals.consoleFont___1602; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["charHeight"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["charHeight"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.pc = 20; return s.tmp_5; } + else { s.pc = 22; return s.tmp_5; } } - case 20: + case 22: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_4 + 2); @@ -978,273 +904,232 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___299099 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___298046); + globals.consoleLines___1607 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___545); 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___299094; + s.tmp_4.arg0 = globals.consoleFont___1602; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charWidth"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charWidth"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.pc = 21; return s.tmp_4; } + else { s.pc = 23; return s.tmp_4; } } - case 21: + case 23: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___299110 = (r0); - s.tmp_0 = console_addListener__P297813_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P299122; - s.pc = 22; return s.tmp_0; - case 22: + globals.consoleColumns___1618 = (r0); + s.tmp_0 = console_addListener__P242_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P1630; + s.pc = 24; return s.tmp_0; + case 24: r0 = s.retval; s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = inline__P299132; + s.tmp_0.argL = inline__P1640; setupLambda(s.tmp_0, s.tmp_0.argL); - s.pc = 23; return s.tmp_0; - case 23: + s.pc = 25; return s.tmp_0; + case 25: r0 = s.retval; - globals.MAX_SOURCES___299130 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C299215_VT); + globals.MAX_SOURCES___1638 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C1723_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P299221_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P1729_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; s.tmp_1.arg3 = 60; - s.pc = 24; return s.tmp_1; - case 24: - r0 = s.retval; - globals.defaultFactory___299171 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C299001_VT); - s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P299008_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = undefined; - s.pc = 25; return s.tmp_1; - case 25: - r0 = s.retval; - globals.galois___299194 = (s.tmp_0); - globals.angleSlice___299202 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C299288_VT); - s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P299292_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__P313501; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; - globals.confetti___299302 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C299329_VT); + globals.defaultFactory___1679 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C1509_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P299333_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P1516_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = inline__P320579; + s.tmp_1.arg1 = undefined; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; - globals.dissolve___299335 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C299329_VT); + globals.galois___1702 = (s.tmp_0); + globals.angleSlice___1710 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C1796_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P299333_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P1800_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = inline__P313393; + s.tmp_1.arg1 = 10; + s.tmp_1.arg2 = 40; + s.tmp_1.arg3 = 4000; + s.tmp_1.arg4 = inline__P15684; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - globals.melt___299337 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C299343_VT); + globals.confetti___1810 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C1837_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P299344_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P1841_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P299348; + s.tmp_1.arg1 = 100; + s.tmp_1.arg2 = inline__P22762; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; - globals.shake___299346 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C299343_VT); + globals.dissolve___1843 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C1837_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P299344_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P1841_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P299362; + s.tmp_1.arg1 = 125; + s.tmp_1.arg2 = inline__P15576; s.pc = 30; return s.tmp_1; case 30: r0 = s.retval; - globals.wave___299360 = (s.tmp_0); - s.tmp_0 = game_addScenePushHandler__P298392_mk(s); - s.tmp_0.arg0 = inline__P299500; - s.pc = 31; return s.tmp_0; + globals.melt___1845 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C1851_VT); + s.tmp_0 = r0; + s.tmp_1 = texteffects_TextEffect_constructor__P1852_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = inline__P1856; + s.pc = 31; return s.tmp_1; case 31: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P298409_mk(s); - s.tmp_0.arg0 = inline__P299515; - s.pc = 32; return s.tmp_0; + globals.shake___1854 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C1851_VT); + s.tmp_0 = r0; + s.tmp_1 = texteffects_TextEffect_constructor__P1852_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = inline__P1870; + s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; - globals.consolePriority___299955 = (0); - globals.jacdac_MessageBusService_NAME___300085 = ("bus"); - r0 = pxsim.image.ofBuffer(_hex300135); - globals.JACDAC_DEBUG_ICON___300136 = (r0); - r0 = pxsim.image.ofBuffer(_hex300138); - globals.JACDAC_CONSOLE_ICON___300139 = (r0); - s.tmp_0 = scene_systemMenu_addEntry__P299041_mk(s); - s.tmp_0.arg0 = inline__P300150; - s.tmp_0.arg1 = jacdac_dbg_show__P300148; - s.tmp_0.arg2 = globals.JACDAC_DEBUG_ICON___300136; + globals.wave___1868 = (s.tmp_0); + s.tmp_0 = game_addScenePushHandler__P900_mk(s); + s.tmp_0.arg0 = inline__P2008; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = scene_systemMenu_addEntry__P299041_mk(s); - s.tmp_0.arg0 = inline__P300154; - s.tmp_0.arg1 = inline__P300161; - s.tmp_0.arg2 = globals.JACDAC_CONSOLE_ICON___300139; + s.tmp_0 = game_addScenePopHandler__P917_mk(s); + s.tmp_0.arg0 = inline__P2023; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - globals.freqs___300196 = (_hex300195); - globals.globalVolume___300201 = (null); - globals.playToneID___300211 = (0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C300215_VT); - s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P300227_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 = 35; return s.tmp_1; + s.tmp_0 = game_setWaitAnyButton__P1232_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P712; + s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - globals.wawawawaa___300236 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C300215_VT); - s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P300227_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 = 36; return s.tmp_1; + s.tmp_0 = game_eventContext__P1234_mk(s); + s.pc = 36; return s.tmp_0; case 36: - r0 = s.retval; - globals.powerUp___300242 = (s.tmp_0); - s.tmp_0 = game_setWaitAnyButton__P298724_mk(s); - s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P298204; - s.pc = 37; return s.tmp_0; - case 37: - r0 = s.retval; - s.tmp_0 = game_eventContext__P298726_mk(s); - s.pc = 38; return s.tmp_0; - case 38: r0 = s.retval; r0 = pxsim_String_.charCodeAt("0", 0); - globals.zeroCode___301997 = (r0); - globals.ruleBuf___302639 = (null); - globals.bitIndex___302641 = (0); - globals.projectVersion___303118 = ("1.0.0"); - globals.toHex___303743 = ("0123456789abcdef"); - s.tmp_0 = tileworld_fillAttr__P301972_mk(s); + globals.zeroCode___3841 = (r0); + globals.ruleBuf___4483 = (null); + globals.bitIndex___4485 = (0); + globals.projectVersion___4966 = ("1.0.0"); + globals.toHex___5591 = ("0123456789abcdef"); + s.tmp_0 = tileworld_fillAttr__P3816_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 8; s.tmp_0.arg2 = 0; s.tmp_0.arg3 = 3; - s.pc = 39; return s.tmp_0; - case 39: + s.pc = 37; return s.tmp_0; + case 37: r0 = s.retval; - globals.wall___304384 = (r0); - r0 = pxsim.image.ofBuffer(_hex304421); - globals.player___304422 = (r0); - r0 = pxsim.image.ofBuffer(_hex304519); - globals.map___304520 = (r0); - r0 = pxsim.image.ofBuffer(_hex304522); - globals.play___304523 = (r0); - r0 = pxsim.image.ofBuffer(_hex304525); - globals.debug___304526 = (r0); - r0 = pxsim.image.ofBuffer(_hex304528); - globals.code___304529 = (r0); - r0 = pxsim.image.ofBuffer(_hex304531); - globals.paint___304532 = (r0); - r0 = pxsim.image.ofBuffer(_hex304534); - globals.music___304535 = (r0); - r0 = pxsim.image.ofBuffer(_hex304537); - globals.emptyTile___304538 = (r0); - r0 = pxsim.image.ofBuffer(_hex304540); - globals.cursorIn___304541 = (r0); - r0 = pxsim.image.ofBuffer(_hex304543); - globals.cursorOut___304544 = (r0); - r0 = pxsim.image.ofBuffer(_hex304546); - globals.collisionRestingSprite___304547 = (r0); - r0 = pxsim.image.ofBuffer(_hex304549); - globals.collisionMovingSprite___304550 = (r0); - r0 = pxsim.image.ofBuffer(_hex304552); - globals.genericSprite___304553 = (r0); - r0 = pxsim.image.ofBuffer(_hex304555); - globals.exclude___304556 = (r0); - r0 = pxsim.image.ofBuffer(_hex304558); - globals.include___304559 = (r0); - r0 = pxsim.image.ofBuffer(_hex304561); - globals.oneof___304562 = (r0); - r0 = pxsim.image.ofBuffer(_hex304564); - globals.ok___304565 = (r0); - r0 = pxsim.image.ofBuffer(_hex304567); - globals.allFour___304568 = (r0); - r0 = pxsim.image.ofBuffer(_hex304570); - globals.downArrow___304571 = (r0); - r0 = pxsim.image.ofBuffer(_hex304573); - globals.downButton___304574 = (r0); - r0 = pxsim.image.ofBuffer(_hex304576); - globals.upArrow___304577 = (r0); - r0 = pxsim.image.ofBuffer(_hex304579); - globals.upButton___304580 = (r0); - r0 = pxsim.image.ofBuffer(_hex304582); - globals.rightArrow___304583 = (r0); - r0 = pxsim.image.ofBuffer(_hex304585); - globals.rightButton___304586 = (r0); - r0 = pxsim.image.ofBuffer(_hex304588); - globals.leftArrow___304589 = (r0); - r0 = pxsim.image.ofBuffer(_hex304591); - globals.leftButton___304592 = (r0); - r0 = pxsim.image.ofBuffer(_hex304594); - globals.Abutton___304595 = (r0); - r0 = pxsim.image.ofBuffer(_hex304597); - globals.eat___304598 = (r0); - r0 = pxsim.image.ofBuffer(_hex304600); - globals.stopSign___304601 = (r0); - r0 = pxsim.image.ofBuffer(_hex304603); - globals.uTurn___304604 = (r0); - r0 = pxsim.image.ofBuffer(_hex304606); - globals.addRule___304607 = (r0); - r0 = pxsim.image.ofBuffer(_hex304609); - globals.garbageCan___304610 = (r0); - r0 = pxsim.image.ofBuffer(_hex304612); - globals.diskIcon___304613 = (r0); - r0 = pxsim.image.ofBuffer(_hex304615); - globals.settingsIcon___304616 = (r0); - r0 = pxsim.image.ofBuffer(_hex304618); - globals.reset___304619 = (r0); - r0 = pxsim.image.ofBuffer(_hex304621); - globals.gameIcon___304622 = (r0); - r0 = pxsim.image.ofBuffer(_hex304624); - globals.trophyUp___304625 = (r0); - r0 = pxsim.image.ofBuffer(_hex304627); - globals.trophyDown___304628 = (r0); - r0 = pxsim.image.ofBuffer(_hex304630); - globals.equalZero___304631 = (r0); + globals.wall___6232 = (r0); + r0 = pxsim.image.ofBuffer(_hex6269); + globals.player___6270 = (r0); + r0 = pxsim.image.ofBuffer(_hex6367); + globals.map___6368 = (r0); + r0 = pxsim.image.ofBuffer(_hex6370); + globals.play___6371 = (r0); + r0 = pxsim.image.ofBuffer(_hex6373); + globals.debug___6374 = (r0); + r0 = pxsim.image.ofBuffer(_hex6376); + globals.code___6377 = (r0); + r0 = pxsim.image.ofBuffer(_hex6379); + globals.paint___6380 = (r0); + r0 = pxsim.image.ofBuffer(_hex6382); + globals.music___6383 = (r0); + r0 = pxsim.image.ofBuffer(_hex6385); + globals.emptyTile___6386 = (r0); + r0 = pxsim.image.ofBuffer(_hex6388); + globals.cursorIn___6389 = (r0); + r0 = pxsim.image.ofBuffer(_hex6391); + globals.cursorOut___6392 = (r0); + r0 = pxsim.image.ofBuffer(_hex6394); + globals.collisionRestingSprite___6395 = (r0); + r0 = pxsim.image.ofBuffer(_hex6397); + globals.collisionMovingSprite___6398 = (r0); + r0 = pxsim.image.ofBuffer(_hex6400); + globals.genericSprite___6401 = (r0); + r0 = pxsim.image.ofBuffer(_hex6403); + globals.exclude___6404 = (r0); + r0 = pxsim.image.ofBuffer(_hex6406); + globals.include___6407 = (r0); + r0 = pxsim.image.ofBuffer(_hex6409); + globals.oneof___6410 = (r0); + r0 = pxsim.image.ofBuffer(_hex6412); + globals.ok___6413 = (r0); + r0 = pxsim.image.ofBuffer(_hex6415); + globals.allFour___6416 = (r0); + r0 = pxsim.image.ofBuffer(_hex6418); + globals.downArrow___6419 = (r0); + r0 = pxsim.image.ofBuffer(_hex6421); + globals.downButton___6422 = (r0); + r0 = pxsim.image.ofBuffer(_hex6424); + globals.upArrow___6425 = (r0); + r0 = pxsim.image.ofBuffer(_hex6427); + globals.upButton___6428 = (r0); + r0 = pxsim.image.ofBuffer(_hex6430); + globals.rightArrow___6431 = (r0); + r0 = pxsim.image.ofBuffer(_hex6433); + globals.rightButton___6434 = (r0); + r0 = pxsim.image.ofBuffer(_hex6436); + globals.leftArrow___6437 = (r0); + r0 = pxsim.image.ofBuffer(_hex6439); + globals.leftButton___6440 = (r0); + r0 = pxsim.image.ofBuffer(_hex6442); + globals.Abutton___6443 = (r0); + r0 = pxsim.image.ofBuffer(_hex6445); + globals.eat___6446 = (r0); + r0 = pxsim.image.ofBuffer(_hex6448); + globals.stopSign___6449 = (r0); + r0 = pxsim.image.ofBuffer(_hex6451); + globals.uTurn___6452 = (r0); + r0 = pxsim.image.ofBuffer(_hex6454); + globals.addRule___6455 = (r0); + r0 = pxsim.image.ofBuffer(_hex6457); + globals.garbageCan___6458 = (r0); + r0 = pxsim.image.ofBuffer(_hex6460); + globals.diskIcon___6461 = (r0); + r0 = pxsim.image.ofBuffer(_hex6463); + globals.settingsIcon___6464 = (r0); + r0 = pxsim.image.ofBuffer(_hex6466); + globals.reset___6467 = (r0); + r0 = pxsim.image.ofBuffer(_hex6469); + globals.gameIcon___6470 = (r0); + r0 = pxsim.image.ofBuffer(_hex6472); + globals.trophyUp___6473 = (r0); + r0 = pxsim.image.ofBuffer(_hex6475); + globals.trophyDown___6476 = (r0); + r0 = pxsim.image.ofBuffer(_hex6478); + globals.equalZero___6479 = (r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.leftArrow___304589); - r0 = pxsim_Array__push(s.tmp_0, globals.rightArrow___304583); - r0 = pxsim_Array__push(s.tmp_0, globals.upArrow___304577); - r0 = pxsim_Array__push(s.tmp_0, globals.downArrow___304571); - r0 = pxsim_Array__push(s.tmp_0, globals.stopSign___304601); - r0 = pxsim_Array__push(s.tmp_0, globals.uTurn___304604); - globals.moveImages___304634 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.leftArrow___6437); + r0 = pxsim_Array__push(s.tmp_0, globals.rightArrow___6431); + r0 = pxsim_Array__push(s.tmp_0, globals.upArrow___6425); + r0 = pxsim_Array__push(s.tmp_0, globals.downArrow___6419); + r0 = pxsim_Array__push(s.tmp_0, globals.stopSign___6449); + r0 = pxsim_Array__push(s.tmp_0, globals.uTurn___6452); + globals.moveImages___6482 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, "left"); @@ -1253,67 +1138,67 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_0, "down"); r0 = pxsim_Array__push(s.tmp_0, "stop"); r0 = pxsim_Array__push(s.tmp_0, "u-turn"); - globals.moveText___304641 = (s.tmp_0); + globals.moveText___6489 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.leftButton___304592); - r0 = pxsim_Array__push(s.tmp_0, globals.rightButton___304586); - r0 = pxsim_Array__push(s.tmp_0, globals.upButton___304580); - r0 = pxsim_Array__push(s.tmp_0, globals.downButton___304574); - globals.buttonImages___304644 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.leftButton___6440); + r0 = pxsim_Array__push(s.tmp_0, globals.rightButton___6434); + r0 = pxsim_Array__push(s.tmp_0, globals.upButton___6428); + r0 = pxsim_Array__push(s.tmp_0, globals.downButton___6422); + globals.buttonImages___6492 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.include___304559); - r0 = pxsim_Array__push(s.tmp_0, globals.exclude___304556); - r0 = pxsim_Array__push(s.tmp_0, globals.ok___304565); - r0 = pxsim_Array__push(s.tmp_0, globals.oneof___304562); - globals.attrImages___304650 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.include___6407); + r0 = pxsim_Array__push(s.tmp_0, globals.exclude___6404); + r0 = pxsim_Array__push(s.tmp_0, globals.ok___6413); + r0 = pxsim_Array__push(s.tmp_0, globals.oneof___6410); + globals.attrImages___6498 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, 1); r0 = pxsim_Array__push(s.tmp_0, 3); r0 = pxsim_Array__push(s.tmp_0, 0); r0 = pxsim_Array__push(s.tmp_0, 2); - globals.attrValues___304661 = (s.tmp_0); + globals.attrValues___6509 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, -8); r0 = pxsim_Array__push(s.tmp_0, 0); r0 = pxsim_Array__push(s.tmp_0, 0); r0 = pxsim_Array__push(s.tmp_0, -8); - globals.attrXoffsets___304669 = (s.tmp_0); + globals.attrXoffsets___6517 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, 0); r0 = pxsim_Array__push(s.tmp_0, 0); r0 = pxsim_Array__push(s.tmp_0, -8); r0 = pxsim_Array__push(s.tmp_0, 0); - globals.attrYoffsets___304676 = (s.tmp_0); + globals.attrYoffsets___6524 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.map___304520); - r0 = pxsim_Array__push(s.tmp_0, globals.paint___304532); - r0 = pxsim_Array__push(s.tmp_0, globals.code___304529); - r0 = pxsim_Array__push(s.tmp_0, globals.play___304523); - globals.commandImages___304679 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.map___6368); + r0 = pxsim_Array__push(s.tmp_0, globals.paint___6380); + r0 = pxsim_Array__push(s.tmp_0, globals.code___6377); + r0 = pxsim_Array__push(s.tmp_0, globals.play___6371); + globals.commandImages___6527 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.trophyUp___304625); - r0 = pxsim_Array__push(s.tmp_0, globals.trophyDown___304628); - globals.gameImages___304685 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.trophyUp___6473); + r0 = pxsim_Array__push(s.tmp_0, globals.trophyDown___6476); + globals.gameImages___6533 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, "win"); r0 = pxsim_Array__push(s.tmp_0, "lose"); - globals.gameText___304688 = (s.tmp_0); + globals.gameText___6536 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.allFour___304568); - r0 = pxsim_Array__push(s.tmp_0, globals.paint___304532); - r0 = pxsim_Array__push(s.tmp_0, globals.genericSprite___304553); - r0 = pxsim_Array__push(s.tmp_0, globals.equalZero___304631); - r0 = pxsim_Array__push(s.tmp_0, globals.gameIcon___304622); - globals.categoryImages___304691 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.allFour___6416); + r0 = pxsim_Array__push(s.tmp_0, globals.paint___6380); + r0 = pxsim_Array__push(s.tmp_0, globals.genericSprite___6401); + r0 = pxsim_Array__push(s.tmp_0, globals.equalZero___6479); + r0 = pxsim_Array__push(s.tmp_0, globals.gameIcon___6470); + globals.categoryImages___6539 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, "move sprite"); @@ -1321,596 +1206,596 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_0, "sprite"); r0 = pxsim_Array__push(s.tmp_0, "test"); r0 = pxsim_Array__push(s.tmp_0, "game"); - globals.categoryText___304697 = (s.tmp_0); + globals.categoryText___6545 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.eat___304598); - globals.spriteImages___304700 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.eat___6446); + globals.spriteImages___6548 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, "remove"); - globals.spriteText___304702 = (s.tmp_0); - globals.spriteCount___1084378 = (0); - r0 = pxsim.image.ofBuffer(_hex306551); - globals.colorOut___306552 = (r0); - r0 = pxsim.image.ofBuffer(_hex306554); - globals.colorIn___306555 = (r0); - r0 = pxsim.image.ofBuffer(_hex306557); - globals.paintOut___306558 = (r0); - r0 = pxsim.image.ofBuffer(_hex306560); - globals.paintIn___306561 = (r0); - globals.helpStringTop___307839 = ("31resting,21moved left,41moved right,30moved up,32moved down,61dpad left,81dpad right,70dpad up,72dpad down,"); - globals.helpStringBot___307841 = ("25collide left,34collide up,36collide down,45collide right,65collide left,74collide up,76collide down,85collide right,"); - globals.menuHelpString___308497 = ("10add sprite,30delete rule,80add rule,90next rule,70previous rule,"); - globals.attrHelpString___308499 = ("00include,10exclude,20allow,30one of,90allow all,"); - r0 = pxsim.image.ofBuffer(_hex310867); - globals.paintOut___310868 = (r0); - r0 = pxsim.image.ofBuffer(_hex310870); - globals.paintIn___310871 = (r0); - r0 = pxsim.image.ofBuffer(_hex311861); - globals.cat___311862 = (r0); - r0 = pxsim.image.ofBuffer(_hex304468); - globals.fish___304467 = (r0); - r0 = pxsim.image.ofBuffer(_hex311865); - globals.dog___311866 = (r0); - r0 = pxsim.image.ofBuffer(_hex311868); - globals.chimp___311869 = (r0); - r0 = pxsim.image.ofBuffer(_hex311871); - globals.player___311872 = (r0); - r0 = pxsim.image.ofBuffer(_hex311874); - globals.diamond___311875 = (r0); - r0 = pxsim.image.ofBuffer(_hex311877); - globals.boulder___311878 = (r0); - r0 = pxsim.image.ofBuffer(_hex311880); - globals.enemy___311881 = (r0); - r0 = pxsim.image.ofBuffer(_hex304444); - globals.brick___304443 = (r0); - r0 = pxsim.image.ofBuffer(_hex311884); - globals.grass___311885 = (r0); - r0 = pxsim.image.ofBuffer(_hex311887); - globals.water___311888 = (r0); - r0 = pxsim.image.ofBuffer(_hex311890); - globals.dirt2___311891 = (r0); - r0 = pxsim.image.ofBuffer(_hex311893); - globals.wall___311894 = (r0); - r0 = pxsim.image.ofBuffer(_hex311896); - globals.wall2___311897 = (r0); - r0 = pxsim.image.ofBuffer(_hex311899); - globals.dirt___311900 = (r0); - r0 = pxsim.image.ofBuffer(_hex311902); - globals.space___311903 = (r0); + globals.spriteText___6550 = (s.tmp_0); + globals.spriteCount___6553 = (0); + r0 = pxsim.image.ofBuffer(_hex8736); + globals.colorOut___8737 = (r0); + r0 = pxsim.image.ofBuffer(_hex8739); + globals.colorIn___8740 = (r0); + r0 = pxsim.image.ofBuffer(_hex8742); + globals.paintOut___8743 = (r0); + r0 = pxsim.image.ofBuffer(_hex8745); + globals.paintIn___8746 = (r0); + globals.helpStringTop___10024 = ("31resting,21moved left,41moved right,30moved up,32moved down,61dpad left,81dpad right,70dpad up,72dpad down,"); + globals.helpStringBot___10026 = ("25collide left,34collide up,36collide down,45collide right,65collide left,74collide up,76collide down,85collide right,"); + globals.menuHelpString___10682 = ("10add sprite,30delete rule,80add rule,90next rule,70previous rule,"); + globals.attrHelpString___10684 = ("00include,10exclude,20allow,30one of,90allow all,"); + r0 = pxsim.image.ofBuffer(_hex13052); + globals.paintOut___13053 = (r0); + r0 = pxsim.image.ofBuffer(_hex13055); + globals.paintIn___13056 = (r0); + r0 = pxsim.image.ofBuffer(_hex14046); + globals.cat___14047 = (r0); + r0 = pxsim.image.ofBuffer(_hex6316); + globals.fish___6315 = (r0); + r0 = pxsim.image.ofBuffer(_hex14050); + globals.dog___14051 = (r0); + r0 = pxsim.image.ofBuffer(_hex14053); + globals.chimp___14054 = (r0); + r0 = pxsim.image.ofBuffer(_hex14056); + globals.player___14057 = (r0); + r0 = pxsim.image.ofBuffer(_hex14059); + globals.diamond___14060 = (r0); + r0 = pxsim.image.ofBuffer(_hex14062); + globals.boulder___14063 = (r0); + r0 = pxsim.image.ofBuffer(_hex14065); + globals.enemy___14066 = (r0); + r0 = pxsim.image.ofBuffer(_hex6292); + globals.brick___6291 = (r0); + r0 = pxsim.image.ofBuffer(_hex14069); + globals.grass___14070 = (r0); + r0 = pxsim.image.ofBuffer(_hex14072); + globals.water___14073 = (r0); + r0 = pxsim.image.ofBuffer(_hex14075); + globals.dirt2___14076 = (r0); + r0 = pxsim.image.ofBuffer(_hex14078); + globals.wall___14079 = (r0); + r0 = pxsim.image.ofBuffer(_hex14081); + globals.wall2___14082 = (r0); + r0 = pxsim.image.ofBuffer(_hex14084); + globals.dirt___14085 = (r0); + r0 = pxsim.image.ofBuffer(_hex14087); + globals.space___14088 = (r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.player___311872); - r0 = pxsim_Array__push(s.tmp_0, globals.cat___311862); - r0 = pxsim_Array__push(s.tmp_0, globals.dog___311866); - r0 = pxsim_Array__push(s.tmp_0, globals.chimp___311869); - globals.galleryPlayers___311906 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.player___14057); + r0 = pxsim_Array__push(s.tmp_0, globals.cat___14047); + r0 = pxsim_Array__push(s.tmp_0, globals.dog___14051); + r0 = pxsim_Array__push(s.tmp_0, globals.chimp___14054); + globals.galleryPlayers___14091 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.fish___304467); - r0 = pxsim_Array__push(s.tmp_0, globals.cat___311862); - r0 = pxsim_Array__push(s.tmp_0, globals.dog___311866); - r0 = pxsim_Array__push(s.tmp_0, globals.chimp___311869); - r0 = pxsim_Array__push(s.tmp_0, globals.player___311872); - r0 = pxsim_Array__push(s.tmp_0, globals.diamond___311875); - r0 = pxsim_Array__push(s.tmp_0, globals.boulder___311878); - r0 = pxsim_Array__push(s.tmp_0, globals.enemy___311881); - r0 = pxsim_Array__push(s.tmp_0, globals.trophyUp___304625); - r0 = pxsim_Array__push(s.tmp_0, globals.debug___304526); - r0 = pxsim_Array__push(s.tmp_0, globals.eat___304598); - globals.gallerySprites___304465 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.fish___6315); + r0 = pxsim_Array__push(s.tmp_0, globals.cat___14047); + r0 = pxsim_Array__push(s.tmp_0, globals.dog___14051); + r0 = pxsim_Array__push(s.tmp_0, globals.chimp___14054); + r0 = pxsim_Array__push(s.tmp_0, globals.player___14057); + r0 = pxsim_Array__push(s.tmp_0, globals.diamond___14060); + r0 = pxsim_Array__push(s.tmp_0, globals.boulder___14063); + r0 = pxsim_Array__push(s.tmp_0, globals.enemy___14066); + r0 = pxsim_Array__push(s.tmp_0, globals.trophyUp___6473); + r0 = pxsim_Array__push(s.tmp_0, globals.debug___6374); + r0 = pxsim_Array__push(s.tmp_0, globals.eat___6446); + globals.gallerySprites___6313 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.brick___304443); - r0 = pxsim_Array__push(s.tmp_0, globals.grass___311885); - r0 = pxsim_Array__push(s.tmp_0, globals.water___311888); - r0 = pxsim_Array__push(s.tmp_0, globals.dirt___311900); - r0 = pxsim_Array__push(s.tmp_0, globals.dirt2___311891); - r0 = pxsim_Array__push(s.tmp_0, globals.space___311903); - r0 = pxsim_Array__push(s.tmp_0, globals.wall___311894); - globals.galleryTiles___304441 = (s.tmp_0); - globals.helpString___312066 = ("00map,10paint,20code,30play,90settings,"); - r0 = pxsim.image.ofBuffer(_hex312577); - globals.player___312578 = (r0); - r0 = pxsim.image.ofBuffer(_hex312580); - globals.diamond___312581 = (r0); - r0 = pxsim.image.ofBuffer(_hex312583); - globals.boulder___312584 = (r0); - r0 = pxsim.image.ofBuffer(_hex312586); - globals.enemy___312587 = (r0); - r0 = pxsim.image.ofBuffer(_hex312589); - globals.wall___312590 = (r0); - r0 = pxsim.image.ofBuffer(_hex312592); - globals.wall2___312593 = (r0); - r0 = pxsim.image.ofBuffer(_hex312595); - globals.dirt___312596 = (r0); - r0 = pxsim.image.ofBuffer(_hex312598); - globals.space___312599 = (r0); + r0 = pxsim_Array__push(s.tmp_0, globals.brick___6291); + r0 = pxsim_Array__push(s.tmp_0, globals.grass___14070); + r0 = pxsim_Array__push(s.tmp_0, globals.water___14073); + r0 = pxsim_Array__push(s.tmp_0, globals.dirt___14085); + r0 = pxsim_Array__push(s.tmp_0, globals.dirt2___14076); + r0 = pxsim_Array__push(s.tmp_0, globals.space___14088); + r0 = pxsim_Array__push(s.tmp_0, globals.wall___14079); + globals.galleryTiles___6289 = (s.tmp_0); + globals.helpString___14249 = ("00map,10paint,20code,30play,90settings,"); + r0 = pxsim.image.ofBuffer(_hex14760); + globals.player___14761 = (r0); + r0 = pxsim.image.ofBuffer(_hex14763); + globals.diamond___14764 = (r0); + r0 = pxsim.image.ofBuffer(_hex14766); + globals.boulder___14767 = (r0); + r0 = pxsim.image.ofBuffer(_hex14769); + globals.enemy___14770 = (r0); + r0 = pxsim.image.ofBuffer(_hex14772); + globals.wall___14773 = (r0); + r0 = pxsim.image.ofBuffer(_hex14775); + globals.wall2___14776 = (r0); + r0 = pxsim.image.ofBuffer(_hex14778); + globals.dirt___14779 = (r0); + r0 = pxsim.image.ofBuffer(_hex14781); + globals.space___14782 = (r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.player___312578); - r0 = pxsim_Array__push(s.tmp_0, globals.boulder___312584); - r0 = pxsim_Array__push(s.tmp_0, globals.diamond___312581); - r0 = pxsim_Array__push(s.tmp_0, globals.enemy___312587); - globals.movable___312602 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.player___14761); + r0 = pxsim_Array__push(s.tmp_0, globals.boulder___14767); + r0 = pxsim_Array__push(s.tmp_0, globals.diamond___14764); + r0 = pxsim_Array__push(s.tmp_0, globals.enemy___14770); + globals.movable___14785 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.space___312599); - r0 = pxsim_Array__push(s.tmp_0, globals.wall___312590); - r0 = pxsim_Array__push(s.tmp_0, globals.dirt___312596); - r0 = pxsim_Array__push(s.tmp_0, globals.wall2___312593); - globals.fixed___312608 = (s.tmp_0); - s.tmp_0 = helpers_arrayConcat__P297634_mk(s); - s.tmp_1 = helpers_arrayConcat__P297634_mk(s); + r0 = pxsim_Array__push(s.tmp_0, globals.space___14782); + r0 = pxsim_Array__push(s.tmp_0, globals.wall___14773); + r0 = pxsim_Array__push(s.tmp_0, globals.dirt___14779); + r0 = pxsim_Array__push(s.tmp_0, globals.wall2___14776); + globals.fixed___14791 = (s.tmp_0); + s.tmp_0 = helpers_arrayConcat__P63_mk(s); + s.tmp_1 = helpers_arrayConcat__P63_mk(s); r0 = pxsim_Array__mk(); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = globals.fixed___312608; - s.pc = 41; return s.tmp_1; - case 41: + s.tmp_1.arg1 = globals.fixed___14791; + s.pc = 39; return s.tmp_1; + case 39: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.movable___312602; - s.pc = 40; return s.tmp_0; - case 40: + s.tmp_0.arg1 = globals.movable___14785; + s.pc = 38; return s.tmp_0; + case 38: r0 = s.retval; - globals.all___312615 = (r0); - r0 = pxsim_Array_.indexOf(globals.all___312615, globals.wall___312590, undefined); - globals.wallId___312623 = (r0); - r0 = pxsim_Array_.indexOf(globals.all___312615, globals.space___312599, undefined); - globals.spaceId___312629 = (r0); - r0 = pxsim_Array_.indexOf(globals.all___312615, globals.player___312578, undefined); - globals.playerId___312635 = (r0); - r0 = pxsim_Array_.indexOf(globals.all___312615, globals.enemy___312587, undefined); - globals.enemyId___312641 = (r0); - r0 = pxsim_Array_.indexOf(globals.all___312615, globals.boulder___312584, undefined); - globals.boulderId___312647 = (r0); - r0 = pxsim_Array_.indexOf(globals.all___312615, globals.diamond___312581, undefined); - globals.diamondId___312653 = (r0); - s.tmp_0 = sample_TileAt__P312657_mk(s); - s.tmp_0.arg0 = globals.spaceId___312629; + globals.all___14798 = (r0); + r0 = pxsim_Array_.indexOf(globals.all___14798, globals.wall___14773, undefined); + globals.wallId___14806 = (r0); + r0 = pxsim_Array_.indexOf(globals.all___14798, globals.space___14782, undefined); + globals.spaceId___14812 = (r0); + r0 = pxsim_Array_.indexOf(globals.all___14798, globals.player___14761, undefined); + globals.playerId___14818 = (r0); + r0 = pxsim_Array_.indexOf(globals.all___14798, globals.enemy___14770, undefined); + globals.enemyId___14824 = (r0); + r0 = pxsim_Array_.indexOf(globals.all___14798, globals.boulder___14767, undefined); + globals.boulderId___14830 = (r0); + r0 = pxsim_Array_.indexOf(globals.all___14798, globals.diamond___14764, undefined); + globals.diamondId___14836 = (r0); + s.tmp_0 = sample_TileAt__P14840_mk(s); + s.tmp_0.arg0 = globals.spaceId___14812; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 3; - s.pc = 42; return s.tmp_0; - case 42: + s.pc = 40; return s.tmp_0; + case 40: r0 = s.retval; - globals.tp___312693 = (r0); - r0 = globals.tp___312693.fields["attrs"]; + globals.tp___14876 = (r0); + r0 = globals.tp___14876.fields["attrs"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, globals.playerId___312635, 0); - r0 = globals.tp___312693.fields["attrs"]; + r0 = pxsim_Array_.setAt(s.tmp_0, globals.playerId___14818, 0); + r0 = globals.tp___14876.fields["attrs"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, globals.enemyId___312641, 0); - s.tmp_0 = tileworld_fillAttr__P301972_mk(s); + r0 = pxsim_Array_.setAt(s.tmp_0, globals.enemyId___14824, 0); + s.tmp_0 = tileworld_fillAttr__P3816_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 7; - s.tmp_0.arg2 = globals.boulderId___312647; + s.tmp_0.arg2 = globals.boulderId___14830; s.tmp_0.arg3 = 3; - s.pc = 43; return s.tmp_0; - case 43: + s.pc = 41; return s.tmp_0; + case 41: r0 = s.retval; - globals.playerMove___312707 = (r0); - r0 = pxsim_Array_.setAt(globals.playerMove___312707, globals.wallId___312623, 3); - r0 = pxsim_pxtcore_mkClassInstance(Command__C302316_VT); + globals.playerMove___14890 = (r0); + r0 = pxsim_Array_.setAt(globals.playerMove___14890, globals.wallId___14806, 3); + r0 = pxsim_pxtcore_mkClassInstance(Command__C4160_VT); s.tmp_0 = r0; - s.tmp_1 = Command_constructor__P302317_mk(s); + s.tmp_1 = Command_constructor__P4161_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 0; s.tmp_1.arg2 = 1; - s.pc = 44; return s.tmp_1; - case 44: + s.pc = 42; return s.tmp_1; + case 42: r0 = s.retval; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_2, s.tmp_0); - globals.moveRight___312717 = (s.tmp_2); - r0 = pxsim_pxtcore_mkClassInstance(Command__C302316_VT); + globals.moveRight___14900 = (s.tmp_2); + r0 = pxsim_pxtcore_mkClassInstance(Command__C4160_VT); s.tmp_0 = r0; - s.tmp_1 = Command_constructor__P302317_mk(s); + s.tmp_1 = Command_constructor__P4161_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 0; s.tmp_1.arg2 = 0; - s.pc = 45; return s.tmp_1; - case 45: + s.pc = 43; return s.tmp_1; + case 43: r0 = s.retval; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_2, s.tmp_0); - globals.moveLeft___312723 = (s.tmp_2); - s.tmp_0 = sample_SpriteAt__P312670_mk(s); - s.tmp_0.arg0 = globals.boulderId___312647; + globals.moveLeft___14906 = (s.tmp_2); + s.tmp_0 = sample_SpriteAt__P14853_mk(s); + s.tmp_0.arg0 = globals.boulderId___14830; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 2; - s.pc = 46; return s.tmp_0; - case 46: + s.pc = 44; return s.tmp_0; + case 44: r0 = s.retval; - globals.boulderRight___312729 = (r0); - r0 = (globals.boulderRight___312729).fields["commands"] = (globals.moveRight___312717); - s.tmp_0 = sample_SpriteAt__P312670_mk(s); - s.tmp_0.arg0 = globals.boulderId___312647; + globals.boulderRight___14912 = (r0); + r0 = (globals.boulderRight___14912).fields["commands"] = (globals.moveRight___14900); + s.tmp_0 = sample_SpriteAt__P14853_mk(s); + s.tmp_0.arg0 = globals.boulderId___14830; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 2; - s.pc = 47; return s.tmp_0; - case 47: + s.pc = 45; return s.tmp_0; + case 45: r0 = s.retval; - globals.boulderLeft___312736 = (r0); - r0 = (globals.boulderLeft___312736).fields["commands"] = (globals.moveLeft___312723); - r0 = pxsim_pxtcore_mkClassInstance(Rule__C302328_VT); + globals.boulderLeft___14919 = (r0); + r0 = (globals.boulderLeft___14919).fields["commands"] = (globals.moveLeft___14906); + r0 = pxsim_pxtcore_mkClassInstance(Rule__C4172_VT); s.tmp_0 = r0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; - r0 = pxsim_Array__push(s.tmp_1, globals.playerId___312635); - r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C302321_VT); + r0 = pxsim_Array__push(s.tmp_1, globals.playerId___14818); + r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C4165_VT); s.tmp_2 = r0; - r0 = pxsim_pxtcore_mkClassInstance(Command__C302316_VT); + r0 = pxsim_pxtcore_mkClassInstance(Command__C4160_VT); s.tmp_3 = r0; - s.tmp_4 = Command_constructor__P302317_mk(s); + s.tmp_4 = Command_constructor__P4161_mk(s); s.tmp_4.arg0 = s.tmp_3; s.tmp_4.arg1 = 1; - s.tmp_4.arg2 = globals.spaceId___312629; - s.pc = 48; return s.tmp_4; - case 48: + s.tmp_4.arg2 = globals.spaceId___14812; + s.pc = 46; return s.tmp_4; + case 46: r0 = s.retval; r0 = pxsim_Array__mk(); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_5, s.tmp_3); - s.tmp_6 = WhenDo_constructor__P302322_mk(s); + s.tmp_6 = WhenDo_constructor__P4166_mk(s); s.tmp_6.arg0 = s.tmp_2; s.tmp_6.arg1 = 2; s.tmp_6.arg2 = 2; r0 = pxsim_Array__mk(); s.tmp_6.arg3 = r0; s.tmp_6.arg4 = s.tmp_5; - s.pc = 49; return s.tmp_6; - case 49: + s.pc = 47; return s.tmp_6; + case 47: r0 = s.retval; r0 = pxsim_Array__mk(); s.tmp_7 = r0; r0 = pxsim_Array__push(s.tmp_7, s.tmp_2); - s.tmp_8 = Rule_constructor__P302329_mk(s); + s.tmp_8 = Rule_constructor__P4173_mk(s); s.tmp_8.arg0 = s.tmp_0; s.tmp_8.arg1 = s.tmp_1; s.tmp_8.arg2 = 0; s.tmp_8.arg3 = 0; s.tmp_8.arg4 = s.tmp_7; - s.pc = 50; return s.tmp_8; - case 50: + s.pc = 48; return s.tmp_8; + case 48: r0 = s.retval; - globals.playerPaint___312743 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Rule__C302328_VT); + globals.playerPaint___14926 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Rule__C4172_VT); s.tmp_0 = r0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; - r0 = pxsim_Array__push(s.tmp_1, globals.playerId___312635); - r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C302321_VT); + r0 = pxsim_Array__push(s.tmp_1, globals.playerId___14818); + r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C4165_VT); s.tmp_2 = r0; - s.tmp_3 = WhenDo_constructor__P302322_mk(s); + s.tmp_3 = WhenDo_constructor__P4166_mk(s); s.tmp_3.arg0 = s.tmp_2; s.tmp_3.arg1 = 2; s.tmp_3.arg2 = 2; r0 = pxsim_Array__mk(); s.tmp_3.arg3 = r0; - s.tmp_3.arg4 = globals.moveRight___312717; - s.pc = 51; return s.tmp_3; - case 51: + s.tmp_3.arg4 = globals.moveRight___14900; + s.pc = 49; return s.tmp_3; + case 49: r0 = s.retval; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_4, s.tmp_2); - r0 = pxsim_Array__push(s.tmp_4, globals.boulderRight___312729); - s.tmp_6 = sample_TileAt__P312657_mk(s); - s.tmp_6.arg0 = globals.spaceId___312629; + r0 = pxsim_Array__push(s.tmp_4, globals.boulderRight___14912); + s.tmp_6 = sample_TileAt__P14840_mk(s); + s.tmp_6.arg0 = globals.spaceId___14812; s.tmp_6.arg1 = 4; s.tmp_6.arg2 = 2; - s.pc = 52; return s.tmp_6; - case 52: + s.pc = 50; return s.tmp_6; + case 50: r0 = s.retval; s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_4, s.tmp_5); - s.tmp_7 = Rule_constructor__P302329_mk(s); + s.tmp_7 = Rule_constructor__P4173_mk(s); s.tmp_7.arg0 = s.tmp_0; s.tmp_7.arg1 = s.tmp_1; s.tmp_7.arg2 = 2; s.tmp_7.arg3 = 1; s.tmp_7.arg4 = s.tmp_4; - s.pc = 53; return s.tmp_7; - case 53: + s.pc = 51; return s.tmp_7; + case 51: r0 = s.retval; - globals.playerMoveBoulderRight___312794 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Rule__C302328_VT); + globals.playerMoveBoulderRight___14977 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Rule__C4172_VT); s.tmp_0 = r0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; - r0 = pxsim_Array__push(s.tmp_1, globals.playerId___312635); - r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C302321_VT); + r0 = pxsim_Array__push(s.tmp_1, globals.playerId___14818); + r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C4165_VT); s.tmp_2 = r0; - s.tmp_3 = WhenDo_constructor__P302322_mk(s); + s.tmp_3 = WhenDo_constructor__P4166_mk(s); s.tmp_3.arg0 = s.tmp_2; s.tmp_3.arg1 = 2; s.tmp_3.arg2 = 2; r0 = pxsim_Array__mk(); s.tmp_3.arg3 = r0; - s.tmp_3.arg4 = globals.moveLeft___312723; - s.pc = 54; return s.tmp_3; - case 54: + s.tmp_3.arg4 = globals.moveLeft___14906; + s.pc = 52; return s.tmp_3; + case 52: r0 = s.retval; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_4, s.tmp_2); - r0 = pxsim_Array__push(s.tmp_4, globals.boulderLeft___312736); - s.tmp_6 = sample_TileAt__P312657_mk(s); - s.tmp_6.arg0 = globals.spaceId___312629; + r0 = pxsim_Array__push(s.tmp_4, globals.boulderLeft___14919); + s.tmp_6 = sample_TileAt__P14840_mk(s); + s.tmp_6.arg0 = globals.spaceId___14812; s.tmp_6.arg1 = 0; s.tmp_6.arg2 = 2; - s.pc = 55; return s.tmp_6; - case 55: + s.pc = 53; return s.tmp_6; + case 53: r0 = s.retval; s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_4, s.tmp_5); - s.tmp_7 = Rule_constructor__P302329_mk(s); + s.tmp_7 = Rule_constructor__P4173_mk(s); s.tmp_7.arg0 = s.tmp_0; s.tmp_7.arg1 = s.tmp_1; s.tmp_7.arg2 = 2; s.tmp_7.arg3 = 0; s.tmp_7.arg4 = s.tmp_4; - s.pc = 56; return s.tmp_7; - case 56: + s.pc = 54; return s.tmp_7; + case 54: r0 = s.retval; - globals.playerMoveBoulderLeft___312809 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Rule__C302328_VT); + globals.playerMoveBoulderLeft___14992 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Rule__C4172_VT); s.tmp_0 = r0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; - r0 = pxsim_Array__push(s.tmp_1, globals.boulderId___312647); - r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C302321_VT); + r0 = pxsim_Array__push(s.tmp_1, globals.boulderId___14830); + r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C4165_VT); s.tmp_2 = r0; - r0 = pxsim_pxtcore_mkClassInstance(Command__C302316_VT); + r0 = pxsim_pxtcore_mkClassInstance(Command__C4160_VT); s.tmp_3 = r0; - s.tmp_4 = Command_constructor__P302317_mk(s); + s.tmp_4 = Command_constructor__P4161_mk(s); s.tmp_4.arg0 = s.tmp_3; s.tmp_4.arg1 = 0; s.tmp_4.arg2 = 3; - s.pc = 57; return s.tmp_4; - case 57: + s.pc = 55; return s.tmp_4; + case 55: r0 = s.retval; r0 = pxsim_Array__mk(); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_5, s.tmp_3); - s.tmp_6 = WhenDo_constructor__P302322_mk(s); + s.tmp_6 = WhenDo_constructor__P4166_mk(s); s.tmp_6.arg0 = s.tmp_2; s.tmp_6.arg1 = 2; s.tmp_6.arg2 = 2; r0 = pxsim_Array__mk(); s.tmp_6.arg3 = r0; s.tmp_6.arg4 = s.tmp_5; - s.pc = 58; return s.tmp_6; - case 58: + s.pc = 56; return s.tmp_6; + case 56: r0 = s.retval; r0 = pxsim_Array__mk(); s.tmp_7 = r0; r0 = pxsim_Array__push(s.tmp_7, s.tmp_2); - s.tmp_9 = sample_TileAt__P312657_mk(s); - s.tmp_9.arg0 = globals.spaceId___312629; + s.tmp_9 = sample_TileAt__P14840_mk(s); + s.tmp_9.arg0 = globals.spaceId___14812; s.tmp_9.arg1 = 2; s.tmp_9.arg2 = 3; - s.pc = 59; return s.tmp_9; - case 59: + s.pc = 57; return s.tmp_9; + case 57: r0 = s.retval; s.tmp_8 = r0; r0 = pxsim_Array__push(s.tmp_7, s.tmp_8); - s.tmp_10 = Rule_constructor__P302329_mk(s); + s.tmp_10 = Rule_constructor__P4173_mk(s); s.tmp_10.arg0 = s.tmp_0; s.tmp_10.arg1 = s.tmp_1; s.tmp_10.arg2 = 0; s.tmp_10.arg3 = 0; s.tmp_10.arg4 = s.tmp_7; - s.pc = 60; return s.tmp_10; - case 60: + s.pc = 58; return s.tmp_10; + case 58: r0 = s.retval; - globals.boulderFallDown___312824 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Rule__C302328_VT); + globals.boulderFallDown___15007 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Rule__C4172_VT); s.tmp_0 = r0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; - r0 = pxsim_Array__push(s.tmp_1, globals.boulderId___312647); - r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C302321_VT); + r0 = pxsim_Array__push(s.tmp_1, globals.boulderId___14830); + r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C4165_VT); s.tmp_2 = r0; - r0 = pxsim_pxtcore_mkClassInstance(Command__C302316_VT); + r0 = pxsim_pxtcore_mkClassInstance(Command__C4160_VT); s.tmp_3 = r0; - s.tmp_4 = Command_constructor__P302317_mk(s); + s.tmp_4 = Command_constructor__P4161_mk(s); s.tmp_4.arg0 = s.tmp_3; s.tmp_4.arg1 = 0; s.tmp_4.arg2 = 3; - s.pc = 61; return s.tmp_4; - case 61: + s.pc = 59; return s.tmp_4; + case 59: r0 = s.retval; r0 = pxsim_Array__mk(); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_5, s.tmp_3); - s.tmp_6 = WhenDo_constructor__P302322_mk(s); + s.tmp_6 = WhenDo_constructor__P4166_mk(s); s.tmp_6.arg0 = s.tmp_2; s.tmp_6.arg1 = 2; s.tmp_6.arg2 = 2; r0 = pxsim_Array__mk(); s.tmp_6.arg3 = r0; s.tmp_6.arg4 = s.tmp_5; - s.pc = 62; return s.tmp_6; - case 62: + s.pc = 60; return s.tmp_6; + case 60: r0 = s.retval; r0 = pxsim_Array__mk(); s.tmp_7 = r0; r0 = pxsim_Array__push(s.tmp_7, s.tmp_2); - r0 = pxsim_Array__push(s.tmp_7, globals.tp___312693); - s.tmp_8 = Rule_constructor__P302329_mk(s); + r0 = pxsim_Array__push(s.tmp_7, globals.tp___14876); + s.tmp_8 = Rule_constructor__P4173_mk(s); s.tmp_8.arg0 = s.tmp_0; s.tmp_8.arg1 = s.tmp_1; s.tmp_8.arg2 = 1; s.tmp_8.arg3 = 3; s.tmp_8.arg4 = s.tmp_7; - s.pc = 63; return s.tmp_8; - case 63: + s.pc = 61; return s.tmp_8; + case 61: r0 = s.retval; - globals.boulderFallingDown___312842 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Rule__C302328_VT); + globals.boulderFallingDown___15025 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Rule__C4172_VT); s.tmp_0 = r0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; - r0 = pxsim_Array__push(s.tmp_1, globals.boulderId___312647); - r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C302321_VT); + r0 = pxsim_Array__push(s.tmp_1, globals.boulderId___14830); + r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C4165_VT); s.tmp_2 = r0; - r0 = pxsim_pxtcore_mkClassInstance(Command__C302316_VT); + r0 = pxsim_pxtcore_mkClassInstance(Command__C4160_VT); s.tmp_3 = r0; - s.tmp_4 = Command_constructor__P302317_mk(s); + s.tmp_4 = Command_constructor__P4161_mk(s); s.tmp_4.arg0 = s.tmp_3; s.tmp_4.arg1 = 0; s.tmp_4.arg2 = 0; - s.pc = 64; return s.tmp_4; - case 64: + s.pc = 62; return s.tmp_4; + case 62: r0 = s.retval; r0 = pxsim_Array__mk(); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_5, s.tmp_3); - s.tmp_6 = WhenDo_constructor__P302322_mk(s); + s.tmp_6 = WhenDo_constructor__P4166_mk(s); s.tmp_6.arg0 = s.tmp_2; s.tmp_6.arg1 = 2; s.tmp_6.arg2 = 2; r0 = pxsim_Array__mk(); s.tmp_6.arg3 = r0; s.tmp_6.arg4 = s.tmp_5; - s.pc = 65; return s.tmp_6; - case 65: + s.pc = 63; return s.tmp_6; + case 63: r0 = s.retval; r0 = pxsim_Array__mk(); s.tmp_7 = r0; r0 = pxsim_Array__push(s.tmp_7, s.tmp_2); - s.tmp_9 = sample_SpriteAt__P312670_mk(s); - s.tmp_9.arg0 = globals.boulderId___312647; + s.tmp_9 = sample_SpriteAt__P14853_mk(s); + s.tmp_9.arg0 = globals.boulderId___14830; s.tmp_9.arg1 = 2; s.tmp_9.arg2 = 3; - s.pc = 66; return s.tmp_9; - case 66: + s.pc = 64; return s.tmp_9; + case 64: r0 = s.retval; s.tmp_8 = r0; r0 = pxsim_Array__push(s.tmp_7, s.tmp_8); - s.tmp_11 = sample_TileAt__P312657_mk(s); - s.tmp_11.arg0 = globals.spaceId___312629; + s.tmp_11 = sample_TileAt__P14840_mk(s); + s.tmp_11.arg0 = globals.spaceId___14812; s.tmp_11.arg1 = 1; s.tmp_11.arg2 = 2; - s.pc = 67; return s.tmp_11; - case 67: + s.pc = 65; return s.tmp_11; + case 65: r0 = s.retval; s.tmp_10 = r0; r0 = pxsim_Array__push(s.tmp_7, s.tmp_10); - s.tmp_13 = sample_TileAt__P312657_mk(s); - s.tmp_13.arg0 = globals.spaceId___312629; + s.tmp_13 = sample_TileAt__P14840_mk(s); + s.tmp_13.arg0 = globals.spaceId___14812; s.tmp_13.arg1 = 1; s.tmp_13.arg2 = 3; - s.pc = 68; return s.tmp_13; - case 68: + s.pc = 66; return s.tmp_13; + case 66: r0 = s.retval; s.tmp_12 = r0; r0 = pxsim_Array__push(s.tmp_7, s.tmp_12); - s.tmp_14 = Rule_constructor__P302329_mk(s); + s.tmp_14 = Rule_constructor__P4173_mk(s); s.tmp_14.arg0 = s.tmp_0; s.tmp_14.arg1 = s.tmp_1; s.tmp_14.arg2 = 0; s.tmp_14.arg3 = 0; s.tmp_14.arg4 = s.tmp_7; - s.pc = 69; return s.tmp_14; - case 69: + s.pc = 67; return s.tmp_14; + case 67: r0 = s.retval; - globals.boulderFallLeft___312859 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Project__C303119_VT); + globals.boulderFallLeft___15042 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Project__C4967_VT); s.tmp_0 = r0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; - r0 = pxsim_Array__push(s.tmp_1, globals.boulderFallDown___312824); - r0 = pxsim_Array__push(s.tmp_1, globals.boulderFallLeft___312859); - r0 = pxsim_Array__push(s.tmp_1, globals.boulderFallingDown___312842); - r0 = pxsim_Array__push(s.tmp_1, globals.playerPaint___312743); - s.tmp_3 = sample_playerMoveRule__P312758_mk(s); + r0 = pxsim_Array__push(s.tmp_1, globals.boulderFallDown___15007); + r0 = pxsim_Array__push(s.tmp_1, globals.boulderFallLeft___15042); + r0 = pxsim_Array__push(s.tmp_1, globals.boulderFallingDown___15025); + r0 = pxsim_Array__push(s.tmp_1, globals.playerPaint___14926); + s.tmp_3 = sample_playerMoveRule__P14941_mk(s); s.tmp_3.arg0 = 0; - s.pc = 70; return s.tmp_3; - case 70: + s.pc = 68; return s.tmp_3; + case 68: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - s.tmp_5 = sample_playerMoveRule__P312758_mk(s); + s.tmp_5 = sample_playerMoveRule__P14941_mk(s); s.tmp_5.arg0 = 1; - s.pc = 71; return s.tmp_5; - case 71: + s.pc = 69; return s.tmp_5; + case 69: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_4); - s.tmp_7 = sample_playerMoveRule__P312758_mk(s); + s.tmp_7 = sample_playerMoveRule__P14941_mk(s); s.tmp_7.arg0 = 2; - s.pc = 72; return s.tmp_7; - case 72: + s.pc = 70; return s.tmp_7; + case 70: r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_6); - s.tmp_9 = sample_playerMoveRule__P312758_mk(s); + s.tmp_9 = sample_playerMoveRule__P14941_mk(s); s.tmp_9.arg0 = 3; - s.pc = 73; return s.tmp_9; - case 73: + s.pc = 71; return s.tmp_9; + case 71: r0 = s.retval; s.tmp_8 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_8); - r0 = pxsim_Array__push(s.tmp_1, globals.playerMoveBoulderRight___312794); - r0 = pxsim_Array__push(s.tmp_1, globals.playerMoveBoulderLeft___312809); - s.tmp_10 = tileworld_Project_constructor__P303157_mk(s); + r0 = pxsim_Array__push(s.tmp_1, globals.playerMoveBoulderRight___14977); + r0 = pxsim_Array__push(s.tmp_1, globals.playerMoveBoulderLeft___14992); + s.tmp_10 = tileworld_Project_constructor__P5005_mk(s); s.tmp_10.arg0 = s.tmp_0; s.tmp_10.arg1 = "TW1-"; - s.tmp_10.arg2 = globals.fixed___312608; - s.tmp_10.arg3 = globals.movable___312602; - s.tmp_11 = tileworld_makeIds__P302350_mk(s); + s.tmp_10.arg2 = globals.fixed___14791; + s.tmp_10.arg3 = globals.movable___14785; + s.tmp_11 = tileworld_makeIds__P4194_mk(s); s.tmp_11.arg0 = s.tmp_1; - s.pc = 75; return s.tmp_11; - case 75: + s.pc = 73; return s.tmp_11; + case 73: r0 = s.retval; s.tmp_10.arg4 = r0; - s.pc = 74; return s.tmp_10; - case 74: + s.pc = 72; return s.tmp_10; + case 72: r0 = s.retval; - globals.project___312881 = (s.tmp_0); + globals.project___15064 = (s.tmp_0); r0 = pxsim.image.create(32, 24); - globals.world___312898 = (r0); - r0 = pxsim_ImageMethods.fill(globals.world___312898, 2); - s.tmp_0 = helpers_imageDrawRect__P297989_mk(s); - s.tmp_0.arg0 = globals.world___312898; + globals.world___15081 = (r0); + r0 = pxsim_ImageMethods.fill(globals.world___15081, 2); + s.tmp_0 = helpers_imageDrawRect__P487_mk(s); + s.tmp_0.arg0 = globals.world___15081; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; s.tmp_0.arg3 = 32; s.tmp_0.arg4 = 24; s.tmp_0.arg5 = 1; + s.pc = 74; return s.tmp_0; + case 74: + r0 = s.retval; + s.tmp_0 = tileworld_Project_setWorld__P4970_mk(s); + s.tmp_0.arg0 = globals.project___15064; + s.tmp_0.arg1 = globals.world___15081; + s.pc = 75; return s.tmp_0; + case 75: + r0 = s.retval; + r0 = pxsim.image.create(32, 24); + globals.sprites___15092 = (r0); + r0 = pxsim_ImageMethods.fill(globals.sprites___15092, 15); + r0 = pxsim_ImageMethods.setPixel(globals.sprites___15092, 4, 4, 4); + s.tmp_0 = tileworld_Project_setSprites__P4972_mk(s); + s.tmp_0.arg0 = globals.project___15064; + s.tmp_0.arg1 = globals.sprites___15092; s.pc = 76; return s.tmp_0; case 76: r0 = s.retval; - s.tmp_0 = tileworld_Project_setWorld__P303122_mk(s); - s.tmp_0.arg0 = globals.project___312881; - s.tmp_0.arg1 = globals.world___312898; + s.tmp_0 = tileworld_Project_setPlayer__P4968_mk(s); + s.tmp_0.arg0 = globals.project___15064; + s.tmp_0.arg1 = globals.playerId___14818; s.pc = 77; return s.tmp_0; case 77: r0 = s.retval; - r0 = pxsim.image.create(32, 24); - globals.sprites___312909 = (r0); - r0 = pxsim_ImageMethods.fill(globals.sprites___312909, 15); - r0 = pxsim_ImageMethods.setPixel(globals.sprites___312909, 4, 4, 4); - s.tmp_0 = tileworld_Project_setSprites__P303124_mk(s); - s.tmp_0.arg0 = globals.project___312881; - s.tmp_0.arg1 = globals.sprites___312909; - s.pc = 78; return s.tmp_0; - case 78: - r0 = s.retval; - s.tmp_0 = tileworld_Project_setPlayer__P303120_mk(s); - s.tmp_0.arg0 = globals.project___312881; - s.tmp_0.arg1 = globals.playerId___312635; - s.pc = 79; return s.tmp_0; - case 79: - r0 = s.retval; - globals.tm___1098990 = (_hex1098989); - globals.fs1___1098993 = (_hex1098992); - globals.fs3___1098996 = (_hex1098995); + globals.tm___15107 = (_hex15106); + globals.fs1___15110 = (_hex15109); + globals.fs3___15113 = (_hex15112); r0 = pxsim.settings._exists("TW1-VS"); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -1919,33 +1804,33 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = createTW1__P1098998_mk(s); - s.pc = 80; return s.tmp_3; - case 80: + s.tmp_3 = createTW1__P15115_mk(s); + s.pc = 78; return s.tmp_3; + case 78: r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(tileworld_LoadScreen__C311544_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_LoadScreen__C13729_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_LoadScreen_constructor__P311549_mk(s); + s.tmp_1 = tileworld_LoadScreen_constructor__P13734_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = null; - s.pc = 81; return s.tmp_1; - case 81: + s.pc = 79; return s.tmp_1; + case 79: r0 = s.retval; - globals.TileWorld___1099160 = (s.tmp_0); + globals.TileWorld___15277 = (s.tmp_0); r0 = undefined; return leave(s, r0) default: oops() } } } -_main___P1101319.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} -_main___P1101319.continuations = [ ] -_main___P1101319.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} +_main___P32550.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} +_main___P32550.continuations = [ ] +_main___P32550.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} -function _main___P1101319_mk(s) { +function _main___P32550_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P1101319, depth: s.depth + 1, + parent: s, fn: _main___P32550, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1964,101 +1849,99 @@ function _main___P1101319_mk(s) { tmp_14: undefined, } } -const _hex313353 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex313355 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") -const _hex324882 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") -const _hex298044 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") -const _hex299051 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex299054 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex299057 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex299060 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex299063 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex299066 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex299069 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex299072 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex299075 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex299078 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex299081 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex300135 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000ffffffffff00ffff4f444444f4000f004ffffff4f4100f014fdffd44f4000f004ffffff4f40c0f0c4f444444f4c0c500ffffffffffc0cc000000000000c0cc000000000000c0c500ffffffffff0c0f0c5f555555f5000f015ffffff5f5000f005fdffd55f5010f005ffffff5f500ffff5f555555f5100001ffffffffff") -const _hex300138 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000ffffffffff0000004f444444f40000004ffffff4f41000014fdffd44f40000004ffffff4f401ffff4f444444f4000f00ffffffffff010f010000000000000f000000000000100f00ffffffffff000f005f555555f5000f015ffffff5f5000f005fdffd55f5010f005ffffff5f500ffff5f555555f5100001ffffffffff") -const _hex300195 = pxsim.BufferMethods.createBufferFromHex("1f00210023002500270029002c002e003100340037003a003e004100450049004e00520057005c00620068006e0075007b0083008b0093009c00a500af00b900c400d000dc00e900f70006011501260137014a015d01720188019f01b801d201ee010b022a024b026e029302ba02e40210033f037003a403dc03170455049704dd0427057505c80520067d06e0064907b8072d08a9082d09b9094d0aea0a900b400cfa0cc00d910e6f0f5a1053115b1272139a14d41520178018f519801b231dde1e") -const _hex304421 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f00f00000000f0fffffee0440000ffefefee4f4d00f0ff2effe4feff00f0eff2bfd12e42ffffe2f2fedf2442ff2fe3f24edd24520f2fe2f24edd24520fffe2f2fedf2442fff0eff2bfd12e42fff0ff2effe4feff0000ffeeefee4f4d0000f0fffffee04400000000f00f0000000000000000000000") -const _hex304519 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000222202000000002022222202000000221221222202000022111122222200002211112222220000221111222222000022122122220200002022222202000000002222020000000000000000000000000000000000000000000000000000000000000000000000") -const _hex304522 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000070777777770000007077777777000000007777770700000000777777070000000070777700000000007077770000000000007707000000000000770700000000000070000000000000007000000000000000000000000000000000000000000000000000000000") -const _hex304525 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000002002200022000000000220000200000000e0eeee0e000000212e2222e2000010212e2f2f2f000022222e222222000022222e222222000010212e2f2f2f000000212e2222e200000000e0eeee0e000000000220000200000020022000220000000000000000000000000000000000") -const _hex304528 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000100000000000000001010000000000100010000000000001000001000000000000000000000000000090110000000000901100000000009011000000000090110000000000000000000000000000000100000100000000100010000000000000010100000000000010000000000000000000000000") -const _hex304531 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000004411d90d000000001111e90e000000004411e9dedddd00001111e9eeeeef00004411e9eeeeef00001111e9eeeeee00004411e90e000000001111e90e0000000000000000000000000000000000000000000000000000000000000000000000") -const _hex304534 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000900900000000000099990000000000009999000000000000999900000000000099990090999999999909000099000000000000009009000000000000009900000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex304537 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bbbbbbbbbbbbbbcbfbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcfcccccccccccccccc") -const _hex304540 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000001111111111110010010000000010011000000000000001100000000000000110000000000000011000000000000001100000000000000110000000000000011000000000000001100000000000000110000000000000011000000000000001100100000000100100111111111111000000000000000000") -const _hex304543 = pxsim.BufferMethods.createBufferFromHex("87041000100000001011111111111101110000000000001101000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001011000000000000111011111111111101") -const _hex304546 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000ffff0000000000f022220f000000002f2222f2000000002f2222f2000000002f2222f2000000002f2222f200000000f022220f0000000000ffff0000000000000000000000000000000000000000000000000000000000000000000000") -const _hex304549 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000ffff0000000000f022220f000000002f2222f2000000002f2222f2000000002f2222f2000000002f2222f200000000f022220f0000000000ffff000000000000f2f2000000000000f2f2000000000000f2f2000000000000f200000000") -const _hex304552 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000ffff0000000000f0bbbb0f00000000bfbbbbfb00000000bfbbbbfb00000000bfbbbbfb00000000bfbbbbfb00000000f0bbbb0f0000000000ffff0000000000000000000000000000000000000000000000000000000000000000000000") -const _hex304555 = pxsim.BufferMethods.createBufferFromHex("8704080008000000f022220f2ff22ff22222ff22f222f22ff22f222f22ff22222ff22ff2f022220f") -const _hex304558 = pxsim.BufferMethods.createBufferFromHex("8704080008000000007ff70000f0770f00007ff70000f07700f07ff7f07f770f7f77ff0077ff0000") -const _hex304561 = pxsim.BufferMethods.createBufferFromHex("8704080008000000f0ffff0fff5555ff5f5555f55f5555f55f5555f55f5555f5ff5555fff0ffff0f") -const _hex304564 = pxsim.BufferMethods.createBufferFromHex("8704080008000000f077770f7ff77ff777ffff77f7ffff7ff7ffff7f77ffff777ff77ff7f077770f") -const _hex304567 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000900000000000000099090000000000909999000000000000990900000000900099099000000099999999990900909999999999990000999999999909000090009909900000000000990900000000009099990000000000009909000000000000900000000000000000000000000000000000000000") -const _hex304570 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000000000000000000000000000f00f000000000000f0f900000000ffffff990f0000009f999999f90000009f999999990f00009f999999f9000000ffffff990f0000000000f0f9000000000000f00f00000000000000000000000000000000000000000000000000000000000000000000") -const _hex304573 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066666666860000666666676666080066666677666608006676777767660800667677776766080066666677666608006666666766660800606666666686000060666666668600000060666686080000000000000000000000000000000000") -const _hex304576 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000f00f0000000000009f0f0000000000f099ffffff0000009f999999f90000f099999999f90000009f999999f9000000f099ffffff000000009f0f000000000000f00f000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex304579 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066666666860000666676666666080066667766666608006676777767660800667677776766080066667766666608006666766666660800606666666686000060666666668600000060666686080000000000000000000000000000000000") -const _hex304582 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000000000000000000000000000000000000000f0ffff0000000000f099f90000000000f099f90000000000f099f90000000000f099f900000000f0ff99f9ff000000f0999999f9000000009f99990f00000000f099f90000000000009f0f000000000000f0000000000000000000000000") -const _hex304585 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066666666860000666676676666080066667667666608006666766766660800667677776766080066667777666608006666766766660800606666666686000060666666668600000060666686080000000000000000000000000000000000") -const _hex304588 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f0000000000000009f0f0000000000f099f900000000009f99990f000000f0999999f9000000f0ff99f9ff00000000f099f90000000000f099f90000000000f099f90000000000f099f90000000000f0ffff0000000000000000000000000000000000000000000000000000000000000000000000") -const _hex304591 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066666666860000666676676666080066667777666608006676777767660800666676676666080066667667666608006666766766660800606666666686000060666666668600000060666686080000000000000000000000000000000000") -const _hex304594 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066666666860000666677776766080066767777676608006677666766660800667766676666080066767777676608006666777767660800606666666686000060666666668600000060666686080000000000000000000000000000000000") -const _hex304597 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000f0ffff0f000000005f5555f5000000f0555555550f00005f55555555f500f05555555555550ff05555555555550ff05555555555550ff05555f55f55550ff055550ff055550ff055550ff055550f005ff500005ff50000f0f500005f0f0000000f0000f0000000000000000000000000000000000000") -const _hex304600 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000010111101000000002122221200000010222222220100002122222222120010221221222122011022211222122201102221122212220110222112221222011022211222122201102212221121220100212222222212000010222222220100000021222212000000001011110100000000000000000000") -const _hex304603 = pxsim.BufferMethods.createBufferFromHex("870410001000000000f0555555550f00005f5555f555f500f0555555f5ff550f5f55f5ffffff5ff55555ffffffff5f5555f5ff55f5ff555555ff5f55f555555555ff55555555555555ff55555555555555ff5f555555555555f5ff55555555555555ffffffff5f555f55f5ffffff5ff5f05555555555550f005f55555555f50000f0555555550f00") -const _hex304606 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000007007000000000000700700000000000070070000000000007007000000007077777777070000707777777707000000007007000000000000700700000000000070070000000000007007000000000000000000000000000000000000000000000000000000") -const _hex304609 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000b00000000000000bb00000000000000bbbbbbbb0b0000b0bbccccccbc0000bbbbbbbbbbbb00000bbbccccccbc00000bbbbbbbbbbb00000bbbccccccbc0000bbbbbbbbbbbb0000b0bbccccccbc000000bbbbbbbb0b000000bb000000000000000b00000000000000000000000000") -const _hex304612 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000111111111101000061666666661100001111616666160000616661161111000061666116661600006166611666160000616661166616000061666116661600006166611611110000111161666616000061666666661600001111111111110000000000000000000000000000000000") -const _hex304615 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000010010000000000911001190000001011111111010000901191191109000000110990110000001191000019110000119100001911000000110990110000009011911911090000101111111101000000911001190000000000100100000000000000000000000000000000000000") -const _hex304618 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000010000000000000019000000000000001901000000001011111100000000919919019001000091001900900100009100010090010000910000009001000091000000900100009100000090010000109999991900000000111111010000000000000000000000000000000000000000000000000000") -const _hex304621 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000007f77770f000000f0777777f70000007077ff7f7700000070f7ffff7700000070f77fff7700000070f77fff77000000f0f77f77f755000000ffff770f0005050000000055555505000000005555550500000000555555050000000055555505000000000500050500000000505500000000000000000000") -const _hex304624 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000055050000000000040550000000000045050005000000005544444400400000555555550454000055655556455500005555556545550000555555654555000055655556455500005555555501510000551511110010000015050005000000000105500000000000005505000000000000000000000000") -const _hex304627 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000005055000000000000055010000000005000505100000100111151550000151055555555000055542555255500005554555552550000555455555255000055542555255500004540555555550000040044444455000000005000505400000000000550400000000000505500000000000000000000") -const _hex304630 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000000000000000ffff0f00000000001f1f0f00000000001f1f0f00000000001f1f0f00000000001f1f0f0000000000ffff0f0000000000ffff0f00000000f01111f1000000001ff1ff110f0000001fff1f1f0f0000001ffff11f0f0000001f1fff1f0f0000001ff1ff1f0f000000f01111f10000000000ffff0f00000000") -const _hex306551 = pxsim.BufferMethods.createBufferFromHex("87040800080000001111111101000010010000100100001001000010010000100100001011111111") -const _hex306554 = pxsim.BufferMethods.createBufferFromHex("87040800080000000000000010111101100000011000000110000001100000011011110100000000") -const _hex306557 = pxsim.BufferMethods.createBufferFromHex("8704060006000000111111000100100001001000010010000100100011111100") -const _hex306560 = pxsim.BufferMethods.createBufferFromHex("8704060006000000000000001011010010000100100001001011010000000000") -const _hex310867 = pxsim.BufferMethods.createBufferFromHex("87040800080000005555555505000050050000500500005005000050050000500500005055555555") -const _hex310870 = pxsim.BufferMethods.createBufferFromHex("87040800080000000000000050555505500000055000000550000005500000055055550500000000") -const _hex311861 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000e0ccfceeff000000e0bdb3ddbdffff0fe0dd3bfdddb2dd0f00dcdddddfd2fd0000f0ddddbdd2fd0000f0dbddbdd2fd0f00dcdddddfd2dd0fe0dd3bfdddd2fb00e0bdb3dd2ddbfd00e0ccfceeffbbdd0f0000000000bfff0f000000b0ffdf0f00000000f0ddbd0f00000000b0ffff00000000000000000000") -const _hex304468 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000ff0f0000000000c044f400000000004c44440f000000c04444440f0000004c44f444f40000c0dc444444fd0000cc44111111440f00cc4444c4c4440fc0cd4444c4444f0fc0cd444444ff4f0fc0cd4d444444c4cdc0dd1c4d44d4dccd00cccc1111fdbfcd000000ccf4ffcc0c0000c04444f400000000c0ccffff0000") -const _hex311865 = pxsim.BufferMethods.createBufferFromHex("87041000100000000040e400000000000054550e00000000405545eeff0000004055445545ffff0f405554f55546550f005e55555556f50000e05555f456f50000e05555f456f50f005e55555556550f405554f55556f400405544556554f500405545eeff44550f0054550e004fff0f0040e400f0550f00000000005ff50000000000f0ff000000") -const _hex311868 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc0000000000c0dccd0f00000000dfedcdfd000000f0fdefcdfdf0ff0fefddddcdfdefdefdefdddddcfdfebffdeffddfddfdfefffcefdeddddeeeedefdefeeeeeeeefebffdf0eeeeeeefeefefb00ffbdfbefeefefb00f0ddcdf0eeeefd0000cf0c00effeff000000f0ffff0f00000000efeefe0000000000ffff0f0000") -const _hex311871 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f00f00000000f0fffffee0440000ffefefee4f4d00f0ff2effe4feff00f0eff2bfd12e42ffffe2f2fedf2442ff2fe3f24edd24520f2fe2f24edd24520fffe2f2fedf2442fff0eff2bfd12e42fff0ff2effe4feff0000ffeeefee4f4d0000f0fffffee04400000000f00f0000000000000000000000") -const _hex311874 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000088990900000000808899990000000088889999090000808888999999000080888899999909008098889999999900809989999999990980991919111111018099111911111100801111191111010080111119111100000010111911010000001011191100000000001119010000000000000000000000") -const _hex311877 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000cccc0000000000cccbcb0c00000000dcbbbccc000000ccdcbdbccc00c0ccbbbcddcccc00bcddbbcbddcbcc00dcddddbbdbcbcc0cdbddddbbdbcbbc0cdbddddbbdbbbbccbdbddddbddbdbbccbb0ddddbddbdbbccb00dbddbdbddbbccb00dbddbbbdbdbb0c00b0bbbbbbcdbb0c000000dbddcccb00000000b0cbbc0b00") -const _hex311880 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000007777070000000070007077ff0f0000000000771cfd0000ffffffffcb0f00ffddddbdfc11fdf01b1111ddfdcb0ff0111111bdbc1cfd1f111111f1dfff0f1f111111d1b1ff0f1f111111d111ff0f1f111111f1bfff0ff0111111bddcff0ff01b1111ddfdff0000ffddddbdfc00000000ffffffcf000000000000cffb0000") -const _hex304444 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcddbddddcdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbbbbdbbbbbbccccccabccccccabdbddddcddbddddbdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbbbbdbbbbcbccccccabccccccab") -const _hex311884 = pxsim.BufferMethods.createBufferFromHex("87041000100000007577777777777777777777777777777775776777577777577777557677777777777757657777777777577577777777777777557777777777777777557777777777775765777775777777577677775577777777777757577777777777775576777777757777657777777777777777777777777777777777777777777777777755") -const _hex311887 = pxsim.BufferMethods.createBufferFromHex("87041000100000006766666666666666666666666666666667668666766666766666776866666666666676876666666666766766666666666666776666666666666666776666666666667687666667666666766866667766666666666676766666666666667768666666676666876666666666666666666666666666666666666666666666666677") -const _hex311890 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddd1dd1dddddddddddd1dd1dddddddbdddddddddd1dd1dddddddddddd1dd1dddddddddddddddddddddbdddddddddddddddddd1dddddddddddddddddddddddddddddddddddddddbbddddddddddddddbbdddddddddddddddddddddddddddddddddddddddbddbdddddddddddddddddddddddddddddbddddddddddddddddd") -const _hex311893 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddddddd8d6d668868868686866d866686868686866d688868868686868d86d888666686868d86dd8d666666868d86d888666666866d688868666666866d866686666666886d868686886886886d868686866886866d868686666886866d868686666886866d868686866886888d886888686666868888888888888888") -const _hex311896 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cccccccccccccc8cbcbb88b88b8b8b8bbc8bbb8b8b8b8b8bbcb888b88b8b8b8b8c8b6888bbbb8b8b8c8b6686bbbbbb8b8c8b6888bbbbbb8bbcb888b8bbbbbb8bbc8bbb8bbbbbbb88bc8b8b8b88b88b88bc8b8b8b8bb88b8bbc8b8b8bbbb88b8bbc8b8b8bbbb88b8bbc8b8b8b8bb88b888c88b888b8bbbb8b8888888888888888") -const _hex311899 = pxsim.BufferMethods.createBufferFromHex("8704100010000000efeeeefefffeeffeee44e4feeeeefeee4e4444eeee44e4ef4e4444e44e4444feee4444e4444444e4ee4444e4444444e4ef4e44ee444444e4feeefefe4e4444fefeffefeeef44e4effeef4e44eeeefe4eeeef4444e4efef44e4ef4444e4fe4e44e4ef444444fe4e44e4ee444444feee44e4fe4e44eeeeee4eeeeeefeefeefefee") -const _hex311902 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ffffffffffffffffffccfcffffffffffcfccccffffccfcffcfccccfccfccccffffccccfcccccccfcffccccfcccccccfcffcfccffccccccfcffffffffcfccccffffffffffffccfcffffffcfccffffffcfffffccccfcffffccfcffccccfcffcfccfcffccccccffcfccfcffccccccffffccfcffcfccffffffcfffffffffffffffff") -const _hex312577 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f00f00000000f0fffffee0440000ffefefee4f4d00f0ff2effe4feff00f0eff2bfd12e42ffffe2f2fedf2442ff2fe3f24edd24520f2fe2f24edd24520fffe2f2fedf2442fff0eff2bfd12e42fff0ff2effe4feff0000ffeeefee4f4d0000f0fffffee04400000000f00f0000000000000000000000") -const _hex312580 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000088990900000000808899990000000088889999090000808888999999000080888899999909008098889999999900809989999999990980991919111111018099111911111100801111191111010080111119111100000010111911010000001011191100000000001119010000000000000000000000") -const _hex312583 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000cccc0000000000cccbcb0c00000000dcbbbccc000000ccdcbdbccc00c0ccbbbcddcccc00bcddbbcbddcbcc00dcddddbbdbcbcc0cdbddddbbdbcbbc0cdbddddbbdbbbbccbdbddddbddbdbbccbb0ddddbddbdbbccb00dbddbdbddbbccb00dbddbbbdbdbb0c00b0bbbbbbcdbb0c000000dbddcccb00000000b0cbbc0b00") -const _hex312586 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000007777070000000070007077ff0f0000000000771cfd0000ffffffffcb0f00ffddddbdfc11fdf01b1111ddfdcb0ff0111111bdbc1cfd1f111111f1dfff0f1f111111d1b1ff0f1f111111d111ff0f1f111111f1bfff0ff0111111bddcff0ff01b1111ddfdff0000ffddddbdfc00000000ffffffcf000000000000cffb0000") -const _hex312589 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddddddd8d6d668868868686866d866686868686866d688868868686868d86d888666686868d86dd8d666666868d86d888666666866d688868666666866d866686666666886d868686886886886d868686866886866d868686666886866d868686666886866d868686866886888d886888686666868888888888888888") -const _hex312592 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cccccccccccccc8cbcbb88b88b8b8b8bbc8bbb8b8b8b8b8bbcb888b88b8b8b8b8c8b6888bbbb8b8b8c8b6686bbbbbb8b8c8b6888bbbbbb8bbcb888b8bbbbbb8bbc8bbb8bbbbbbb88bc8b8b8b88b88b88bc8b8b8b8bb88b8bbc8b8b8bbbb88b8bbc8b8b8bbbb88b8bbc8b8b8b8bb88b888c88b888b8bbbb8b8888888888888888") -const _hex312595 = pxsim.BufferMethods.createBufferFromHex("8704100010000000efeeeefefffeeffeee44e4feeeeefeee4e4444eeee44e4ef4e4444e44e4444feee4444e4444444e4ee4444e4444444e4ef4e44ee444444e4feeefefe4e4444fefeffefeeef44e4effeef4e44eeeefe4eeeef4444e4efef44e4ef4444e4fe4e44e4ef444444fe4e44e4ee444444feee44e4fe4e44eeeeee4eeeeeefeefeefefee") -const _hex312598 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ffffffffffffffffffccfcffffffffffcfccccffffccfcffcfccccfccfccccffffccccfcccccccfcffccccfcccccccfcffcfccffccccccfcffffffffcfccccffffffffffffccfcffffffcfccffffffcfffffccccfcffffccfcffccccfcffcfccfcffccccccffcfccfcffccccccffffccfcffcfccffffffcfffffffffffffffff") -const _hex1098989 = pxsim.BufferMethods.createBufferFromHex("2018f1a16211f2216211f22162111230b22162111220c22162111230b2216211f2216211f22122202211821062216211421132205221621142113210622162114211a22162114211122072216211321011122072215012114211124012103221621142112230321012216211421122303210122152101142112230321012215210114211223012103221521011421122305221521011221012112230522152101142112220622160111210221122305221821022112220622182102211a221121052301211a22162101210121011323042218210221132101210422182102211321012104221b21132304221b211a2f1a1") -const _hex1098992 = pxsim.BufferMethods.createBufferFromHex("1010fd181d363826181618161816181d2618361816181618161816181d1618163826181618161816181d1816281d28561816181d1816183d1876181d1816281d2876181d1618163886181d2618361866281d26181618164826381d2618161816181628261816181d2618161816182618261816181d2618161816182618261816181d261816181618162826381d48163866f828") -const _hex1098995 = pxsim.BufferMethods.createBufferFromHex("1010fc181c3b382b181b181b181b181c2b183b181b181b181b181b181c1b181b382b181b181b181b181c181b2816285b181b181c181b1836187b181c181b2816287b181c1b181b388b181c2b183b186b281c2b181b181b482b381c2b181b181b181b282b181b181c2b181b181b182b182b181b181c2b181b181b182b182b181b181c2b181b181b181b282b381c481b386bf828") - - - - -function inline__P298018(s) { +const _hex392 = pxsim.BufferMethods.createBufferFromHex("1f00210023002500270029002c002e003100340037003a003e004100450049004e00520057005c00620068006e0075007b0083008b0093009c00a500af00b900c400d000dc00e900f70006011501260137014a015d01720188019f01b801d201ee010b022a024b026e029302ba02e40210033f037003a403dc03170455049704dd0427057505c80520067d06e0064907b8072d08a9082d09b9094d0aea0a900b400cfa0cc00d910e6f0f5a1053115b1272139a14d41520178018f519801b231dde1e") +const _hex15536 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex15538 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex24643 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex542 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex1559 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex1562 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex1565 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex1568 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex1571 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex1574 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex1577 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex1580 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex1583 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex1586 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex1589 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6269 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f00f00000000f0fffffee0440000ffefefee4f4d00f0ff2effe4feff00f0eff2bfd12e42ffffe2f2fedf2442ff2fe3f24edd24520f2fe2f24edd24520fffe2f2fedf2442fff0eff2bfd12e42fff0ff2effe4feff0000ffeeefee4f4d0000f0fffffee04400000000f00f0000000000000000000000") +const _hex6367 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000222202000000002022222202000000221221222202000022111122222200002211112222220000221111222222000022122122220200002022222202000000002222020000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6370 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000070777777770000007077777777000000007777770700000000777777070000000070777700000000007077770000000000007707000000000000770700000000000070000000000000007000000000000000000000000000000000000000000000000000000000") +const _hex6373 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000002002200022000000000220000200000000e0eeee0e000000212e2222e2000010212e2f2f2f000022222e222222000022222e222222000010212e2f2f2f000000212e2222e200000000e0eeee0e000000000220000200000020022000220000000000000000000000000000000000") +const _hex6376 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000100000000000000001010000000000100010000000000001000001000000000000000000000000000090110000000000901100000000009011000000000090110000000000000000000000000000000100000100000000100010000000000000010100000000000010000000000000000000000000") +const _hex6379 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000004411d90d000000001111e90e000000004411e9dedddd00001111e9eeeeef00004411e9eeeeef00001111e9eeeeee00004411e90e000000001111e90e0000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6382 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000900900000000000099990000000000009999000000000000999900000000000099990090999999999909000099000000000000009009000000000000009900000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6385 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bbbbbbbbbbbbbbcbfbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcfcccccccccccccccc") +const _hex6388 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000001111111111110010010000000010011000000000000001100000000000000110000000000000011000000000000001100000000000000110000000000000011000000000000001100000000000000110000000000000011000000000000001100100000000100100111111111111000000000000000000") +const _hex6391 = pxsim.BufferMethods.createBufferFromHex("87041000100000001011111111111101110000000000001101000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001011000000000000111011111111111101") +const _hex6394 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000ffff0000000000f022220f000000002f2222f2000000002f2222f2000000002f2222f2000000002f2222f200000000f022220f0000000000ffff0000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6397 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000ffff0000000000f022220f000000002f2222f2000000002f2222f2000000002f2222f2000000002f2222f200000000f022220f0000000000ffff000000000000f2f2000000000000f2f2000000000000f2f2000000000000f200000000") +const _hex6400 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000ffff0000000000f0bbbb0f00000000bfbbbbfb00000000bfbbbbfb00000000bfbbbbfb00000000bfbbbbfb00000000f0bbbb0f0000000000ffff0000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6403 = pxsim.BufferMethods.createBufferFromHex("8704080008000000f022220f2ff22ff22222ff22f222f22ff22f222f22ff22222ff22ff2f022220f") +const _hex6406 = pxsim.BufferMethods.createBufferFromHex("8704080008000000007ff70000f0770f00007ff70000f07700f07ff7f07f770f7f77ff0077ff0000") +const _hex6409 = pxsim.BufferMethods.createBufferFromHex("8704080008000000f0ffff0fff5555ff5f5555f55f5555f55f5555f55f5555f5ff5555fff0ffff0f") +const _hex6412 = pxsim.BufferMethods.createBufferFromHex("8704080008000000f077770f7ff77ff777ffff77f7ffff7ff7ffff7f77ffff777ff77ff7f077770f") +const _hex6415 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000900000000000000099090000000000909999000000000000990900000000900099099000000099999999990900909999999999990000999999999909000090009909900000000000990900000000009099990000000000009909000000000000900000000000000000000000000000000000000000") +const _hex6418 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000000000000000000000000000f00f000000000000f0f900000000ffffff990f0000009f999999f90000009f999999990f00009f999999f9000000ffffff990f0000000000f0f9000000000000f00f00000000000000000000000000000000000000000000000000000000000000000000") +const _hex6421 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066666666860000666666676666080066666677666608006676777767660800667677776766080066666677666608006666666766660800606666666686000060666666668600000060666686080000000000000000000000000000000000") +const _hex6424 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000f00f0000000000009f0f0000000000f099ffffff0000009f999999f90000f099999999f90000009f999999f9000000f099ffffff000000009f0f000000000000f00f000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6427 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066666666860000666676666666080066667766666608006676777767660800667677776766080066667766666608006666766666660800606666666686000060666666668600000060666686080000000000000000000000000000000000") +const _hex6430 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000000000000000000000000000000000000000f0ffff0000000000f099f90000000000f099f90000000000f099f90000000000f099f900000000f0ff99f9ff000000f0999999f9000000009f99990f00000000f099f90000000000009f0f000000000000f0000000000000000000000000") +const _hex6433 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066666666860000666676676666080066667667666608006666766766660800667677776766080066667777666608006666766766660800606666666686000060666666668600000060666686080000000000000000000000000000000000") +const _hex6436 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f0000000000000009f0f0000000000f099f900000000009f99990f000000f0999999f9000000f0ff99f9ff00000000f099f90000000000f099f90000000000f099f90000000000f099f90000000000f0ffff0000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6439 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066666666860000666676676666080066667777666608006676777767660800666676676666080066667667666608006666766766660800606666666686000060666666668600000060666686080000000000000000000000000000000000") +const _hex6442 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066666666860000666677776766080066767777676608006677666766660800667766676666080066767777676608006666777767660800606666666686000060666666668600000060666686080000000000000000000000000000000000") +const _hex6445 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000f0ffff0f000000005f5555f5000000f0555555550f00005f55555555f500f05555555555550ff05555555555550ff05555555555550ff05555f55f55550ff055550ff055550ff055550ff055550f005ff500005ff50000f0f500005f0f0000000f0000f0000000000000000000000000000000000000") +const _hex6448 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000010111101000000002122221200000010222222220100002122222222120010221221222122011022211222122201102221122212220110222112221222011022211222122201102212221121220100212222222212000010222222220100000021222212000000001011110100000000000000000000") +const _hex6451 = pxsim.BufferMethods.createBufferFromHex("870410001000000000f0555555550f00005f5555f555f500f0555555f5ff550f5f55f5ffffff5ff55555ffffffff5f5555f5ff55f5ff555555ff5f55f555555555ff55555555555555ff55555555555555ff5f555555555555f5ff55555555555555ffffffff5f555f55f5ffffff5ff5f05555555555550f005f55555555f50000f0555555550f00") +const _hex6454 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000007007000000000000700700000000000070070000000000007007000000007077777777070000707777777707000000007007000000000000700700000000000070070000000000007007000000000000000000000000000000000000000000000000000000") +const _hex6457 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000b00000000000000bb00000000000000bbbbbbbb0b0000b0bbccccccbc0000bbbbbbbbbbbb00000bbbccccccbc00000bbbbbbbbbbb00000bbbccccccbc0000bbbbbbbbbbbb0000b0bbccccccbc000000bbbbbbbb0b000000bb000000000000000b00000000000000000000000000") +const _hex6460 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000111111111101000061666666661100001111616666160000616661161111000061666116661600006166611666160000616661166616000061666116661600006166611611110000111161666616000061666666661600001111111111110000000000000000000000000000000000") +const _hex6463 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000010010000000000911001190000001011111111010000901191191109000000110990110000001191000019110000119100001911000000110990110000009011911911090000101111111101000000911001190000000000100100000000000000000000000000000000000000") +const _hex6466 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000010000000000000019000000000000001901000000001011111100000000919919019001000091001900900100009100010090010000910000009001000091000000900100009100000090010000109999991900000000111111010000000000000000000000000000000000000000000000000000") +const _hex6469 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000007f77770f000000f0777777f70000007077ff7f7700000070f7ffff7700000070f77fff7700000070f77fff77000000f0f77f77f755000000ffff770f0005050000000055555505000000005555550500000000555555050000000055555505000000000500050500000000505500000000000000000000") +const _hex6472 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000055050000000000040550000000000045050005000000005544444400400000555555550454000055655556455500005555556545550000555555654555000055655556455500005555555501510000551511110010000015050005000000000105500000000000005505000000000000000000000000") +const _hex6475 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000005055000000000000055010000000005000505100000100111151550000151055555555000055542555255500005554555552550000555455555255000055542555255500004540555555550000040044444455000000005000505400000000000550400000000000505500000000000000000000") +const _hex6478 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000000000000000ffff0f00000000001f1f0f00000000001f1f0f00000000001f1f0f00000000001f1f0f0000000000ffff0f0000000000ffff0f00000000f01111f1000000001ff1ff110f0000001fff1f1f0f0000001ffff11f0f0000001f1fff1f0f0000001ff1ff1f0f000000f01111f10000000000ffff0f00000000") +const _hex8736 = pxsim.BufferMethods.createBufferFromHex("87040800080000001111111101000010010000100100001001000010010000100100001011111111") +const _hex8739 = pxsim.BufferMethods.createBufferFromHex("87040800080000000000000010111101100000011000000110000001100000011011110100000000") +const _hex8742 = pxsim.BufferMethods.createBufferFromHex("8704060006000000111111000100100001001000010010000100100011111100") +const _hex8745 = pxsim.BufferMethods.createBufferFromHex("8704060006000000000000001011010010000100100001001011010000000000") +const _hex13052 = pxsim.BufferMethods.createBufferFromHex("87040800080000005555555505000050050000500500005005000050050000500500005055555555") +const _hex13055 = pxsim.BufferMethods.createBufferFromHex("87040800080000000000000050555505500000055000000550000005500000055055550500000000") +const _hex14046 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000e0ccfceeff000000e0bdb3ddbdffff0fe0dd3bfdddb2dd0f00dcdddddfd2fd0000f0ddddbdd2fd0000f0dbddbdd2fd0f00dcdddddfd2dd0fe0dd3bfdddd2fb00e0bdb3dd2ddbfd00e0ccfceeffbbdd0f0000000000bfff0f000000b0ffdf0f00000000f0ddbd0f00000000b0ffff00000000000000000000") +const _hex6316 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000ff0f0000000000c044f400000000004c44440f000000c04444440f0000004c44f444f40000c0dc444444fd0000cc44111111440f00cc4444c4c4440fc0cd4444c4444f0fc0cd444444ff4f0fc0cd4d444444c4cdc0dd1c4d44d4dccd00cccc1111fdbfcd000000ccf4ffcc0c0000c04444f400000000c0ccffff0000") +const _hex14050 = pxsim.BufferMethods.createBufferFromHex("87041000100000000040e400000000000054550e00000000405545eeff0000004055445545ffff0f405554f55546550f005e55555556f50000e05555f456f50000e05555f456f50f005e55555556550f405554f55556f400405544556554f500405545eeff44550f0054550e004fff0f0040e400f0550f00000000005ff50000000000f0ff000000") +const _hex14053 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc0000000000c0dccd0f00000000dfedcdfd000000f0fdefcdfdf0ff0fefddddcdfdefdefdefdddddcfdfebffdeffddfddfdfefffcefdeddddeeeedefdefeeeeeeeefebffdf0eeeeeeefeefefb00ffbdfbefeefefb00f0ddcdf0eeeefd0000cf0c00effeff000000f0ffff0f00000000efeefe0000000000ffff0f0000") +const _hex14056 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f00f00000000f0fffffee0440000ffefefee4f4d00f0ff2effe4feff00f0eff2bfd12e42ffffe2f2fedf2442ff2fe3f24edd24520f2fe2f24edd24520fffe2f2fedf2442fff0eff2bfd12e42fff0ff2effe4feff0000ffeeefee4f4d0000f0fffffee04400000000f00f0000000000000000000000") +const _hex14059 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000088990900000000808899990000000088889999090000808888999999000080888899999909008098889999999900809989999999990980991919111111018099111911111100801111191111010080111119111100000010111911010000001011191100000000001119010000000000000000000000") +const _hex14062 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000cccc0000000000cccbcb0c00000000dcbbbccc000000ccdcbdbccc00c0ccbbbcddcccc00bcddbbcbddcbcc00dcddddbbdbcbcc0cdbddddbbdbcbbc0cdbddddbbdbbbbccbdbddddbddbdbbccbb0ddddbddbdbbccb00dbddbdbddbbccb00dbddbbbdbdbb0c00b0bbbbbbcdbb0c000000dbddcccb00000000b0cbbc0b00") +const _hex14065 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000007777070000000070007077ff0f0000000000771cfd0000ffffffffcb0f00ffddddbdfc11fdf01b1111ddfdcb0ff0111111bdbc1cfd1f111111f1dfff0f1f111111d1b1ff0f1f111111d111ff0f1f111111f1bfff0ff0111111bddcff0ff01b1111ddfdff0000ffddddbdfc00000000ffffffcf000000000000cffb0000") +const _hex6292 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcddbddddcdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbbbbdbbbbbbccccccabccccccabdbddddcddbddddbdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbbbbdbbbbcbccccccabccccccab") +const _hex14069 = pxsim.BufferMethods.createBufferFromHex("87041000100000007577777777777777777777777777777775776777577777577777557677777777777757657777777777577577777777777777557777777777777777557777777777775765777775777777577677775577777777777757577777777777775576777777757777657777777777777777777777777777777777777777777777777755") +const _hex14072 = pxsim.BufferMethods.createBufferFromHex("87041000100000006766666666666666666666666666666667668666766666766666776866666666666676876666666666766766666666666666776666666666666666776666666666667687666667666666766866667766666666666676766666666666667768666666676666876666666666666666666666666666666666666666666666666677") +const _hex14075 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddd1dd1dddddddddddd1dd1dddddddbdddddddddd1dd1dddddddddddd1dd1dddddddddddddddddddddbdddddddddddddddddd1dddddddddddddddddddddddddddddddddddddddbbddddddddddddddbbdddddddddddddddddddddddddddddddddddddddbddbdddddddddddddddddddddddddddddbddddddddddddddddd") +const _hex14078 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddddddd8d6d668868868686866d866686868686866d688868868686868d86d888666686868d86dd8d666666868d86d888666666866d688868666666866d866686666666886d868686886886886d868686866886866d868686666886866d868686666886866d868686866886888d886888686666868888888888888888") +const _hex14081 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cccccccccccccc8cbcbb88b88b8b8b8bbc8bbb8b8b8b8b8bbcb888b88b8b8b8b8c8b6888bbbb8b8b8c8b6686bbbbbb8b8c8b6888bbbbbb8bbcb888b8bbbbbb8bbc8bbb8bbbbbbb88bc8b8b8b88b88b88bc8b8b8b8bb88b8bbc8b8b8bbbb88b8bbc8b8b8bbbb88b8bbc8b8b8b8bb88b888c88b888b8bbbb8b8888888888888888") +const _hex14084 = pxsim.BufferMethods.createBufferFromHex("8704100010000000efeeeefefffeeffeee44e4feeeeefeee4e4444eeee44e4ef4e4444e44e4444feee4444e4444444e4ee4444e4444444e4ef4e44ee444444e4feeefefe4e4444fefeffefeeef44e4effeef4e44eeeefe4eeeef4444e4efef44e4ef4444e4fe4e44e4ef444444fe4e44e4ee444444feee44e4fe4e44eeeeee4eeeeeefeefeefefee") +const _hex14087 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ffffffffffffffffffccfcffffffffffcfccccffffccfcffcfccccfccfccccffffccccfcccccccfcffccccfcccccccfcffcfccffccccccfcffffffffcfccccffffffffffffccfcffffffcfccffffffcfffffccccfcffffccfcffccccfcffcfccfcffccccccffcfccfcffccccccffffccfcffcfccffffffcfffffffffffffffff") +const _hex14760 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f00f00000000f0fffffee0440000ffefefee4f4d00f0ff2effe4feff00f0eff2bfd12e42ffffe2f2fedf2442ff2fe3f24edd24520f2fe2f24edd24520fffe2f2fedf2442fff0eff2bfd12e42fff0ff2effe4feff0000ffeeefee4f4d0000f0fffffee04400000000f00f0000000000000000000000") +const _hex14763 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000088990900000000808899990000000088889999090000808888999999000080888899999909008098889999999900809989999999990980991919111111018099111911111100801111191111010080111119111100000010111911010000001011191100000000001119010000000000000000000000") +const _hex14766 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000cccc0000000000cccbcb0c00000000dcbbbccc000000ccdcbdbccc00c0ccbbbcddcccc00bcddbbcbddcbcc00dcddddbbdbcbcc0cdbddddbbdbcbbc0cdbddddbbdbbbbccbdbddddbddbdbbccbb0ddddbddbdbbccb00dbddbdbddbbccb00dbddbbbdbdbb0c00b0bbbbbbcdbb0c000000dbddcccb00000000b0cbbc0b00") +const _hex14769 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000007777070000000070007077ff0f0000000000771cfd0000ffffffffcb0f00ffddddbdfc11fdf01b1111ddfdcb0ff0111111bdbc1cfd1f111111f1dfff0f1f111111d1b1ff0f1f111111d111ff0f1f111111f1bfff0ff0111111bddcff0ff01b1111ddfdff0000ffddddbdfc00000000ffffffcf000000000000cffb0000") +const _hex14772 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddddddd8d6d668868868686866d866686868686866d688868868686868d86d888666686868d86dd8d666666868d86d888666666866d688868666666866d866686666666886d868686886886886d868686866886866d868686666886866d868686666886866d868686866886888d886888686666868888888888888888") +const _hex14775 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cccccccccccccc8cbcbb88b88b8b8b8bbc8bbb8b8b8b8b8bbcb888b88b8b8b8b8c8b6888bbbb8b8b8c8b6686bbbbbb8b8c8b6888bbbbbb8bbcb888b8bbbbbb8bbc8bbb8bbbbbbb88bc8b8b8b88b88b88bc8b8b8b8bb88b8bbc8b8b8bbbb88b8bbc8b8b8bbbb88b8bbc8b8b8b8bb88b888c88b888b8bbbb8b8888888888888888") +const _hex14778 = pxsim.BufferMethods.createBufferFromHex("8704100010000000efeeeefefffeeffeee44e4feeeeefeee4e4444eeee44e4ef4e4444e44e4444feee4444e4444444e4ee4444e4444444e4ef4e44ee444444e4feeefefe4e4444fefeffefeeef44e4effeef4e44eeeefe4eeeef4444e4efef44e4ef4444e4fe4e44e4ef444444fe4e44e4ee444444feee44e4fe4e44eeeeee4eeeeeefeefeefefee") +const _hex14781 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ffffffffffffffffffccfcffffffffffcfccccffffccfcffcfccccfccfccccffffccccfcccccccfcffccccfcccccccfcffcfccffccccccfcffffffffcfccccffffffffffffccfcffffffcfccffffffcfffffccccfcffffccfcffccccfcffcfccfcffccccccffcfccfcffccccccffffccfcffcfccffffffcfffffffffffffffff") +const _hex15106 = pxsim.BufferMethods.createBufferFromHex("2018f1a16211f2216211f22162111230b22162111220c22162111230b2216211f2216211f22122202211821062216211421132205221621142113210622162114211a22162114211122072216211321011122072215012114211124012103221621142112230321012216211421122303210122152101142112230321012215210114211223012103221521011421122305221521011221012112230522152101142112220622160111210221122305221821022112220622182102211a221121052301211a22162101210121011323042218210221132101210422182102211321012104221b21132304221b211a2f1a1") +const _hex15109 = pxsim.BufferMethods.createBufferFromHex("1010fd181d363826181618161816181d2618361816181618161816181d1618163826181618161816181d1816281d28561816181d1816183d1876181d1816281d2876181d1618163886181d2618361866281d26181618164826381d2618161816181628261816181d2618161816182618261816181d2618161816182618261816181d261816181618162826381d48163866f828") +const _hex15112 = pxsim.BufferMethods.createBufferFromHex("1010fc181c3b382b181b181b181b181c2b183b181b181b181b181b181c1b181b382b181b181b181b181c181b2816285b181b181c181b1836187b181c181b2816287b181c1b181b388b181c2b183b186b281c2b181b181b482b381c2b181b181b181b282b181b181c2b181b181b182b182b181b181c2b181b181b182b182b181b181c2b181b181b181b282b381c481b386bf828") + + + + +function inline__P516(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2071,23 +1954,23 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___298013 = (false); - s.tmp_0 = pause__P297860_mk(s); + globals.__updated___511 = (false); + s.tmp_0 = pause__P289_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___298013); + r0 = pxsim_numops_toBoolDecr(globals.__updated___511); 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__P298014_mk(s); + s.tmp_2 = control___screen_update__P512_mk(s); s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___298013 = (true); + globals.__updated___511 = (true); case 2: case 3: { step = 1; continue; } @@ -2096,13 +1979,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P298018.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen---st7735/frame.ts","functionName":"inline","argumentNames":[]} -inline__P298018.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen---st7735/frame.ts","functionName":"inline","argumentNames":[]} +inline__P516.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} +inline__P516.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} -function inline__P298018_mk(s) { +function inline__P516_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P298018, depth: s.depth + 1, + parent: s, fn: inline__P516, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2113,7 +1996,36 @@ function inline__P298018_mk(s) { -function inline__P298393(s) { +function inline__P550(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_pxtcore.updateScreen(globals.screen___545); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +inline__P550.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} +inline__P550.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} + +function inline__P550_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P550, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, +} } + + + + + +function inline__P555(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2127,37 +2039,71 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___298388); + r0 = pxsim_pxtcore.updateStats(s.arg0); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +inline__P555.info = {"start":816,"length":56,"line":23,"column":35,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} +inline__P555.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__P555_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P555, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + arg0: undefined, +} } + + + + + +function inline__P901(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 = pxsim_numops_toBoolDecr(globals.infoState___896); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___298390); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___898); 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___298390 = (r0); + globals.infoStateStack___898 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___298388); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___896); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___298390, s.tmp_0); - globals.infoState___298388 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___898, s.tmp_0); + globals.infoState___896 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P298393.info = {"start":1920,"length":259,"line":73,"column":29,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["oldScene"]} -inline__P298393.info = {"start":1920,"length":259,"line":73,"column":29,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["oldScene"]} +inline__P901.info = {"start":1920,"length":259,"line":73,"column":29,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +inline__P901.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__P298393_mk(s) { +function inline__P901_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P298393, depth: s.depth + 1, + parent: s, fn: inline__P901, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2168,7 +2114,7 @@ function inline__P298393_mk(s) { -function inline__P298410(s) { +function inline__P918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2178,30 +2124,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___298411 = undefined; - s.nextState___298422 = undefined; - s.tmp_0 = game_currentScene__P298414_mk(s); + s.scene___919 = undefined; + s.nextState___930 = undefined; + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___298411 = (r0); - globals.infoState___298388 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___298390; + s.scene___919 = (r0); + globals.infoState___896 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___898; 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___298390); + r0 = pxsim_Array__length(globals.infoStateStack___898); 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___298390); - s.nextState___298422 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___898); + s.nextState___930 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___298422; + s.tmp_2.arg0 = s.nextState___930; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -2213,12 +2159,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___298411); + r0 = (s.tmp_1 == s.scene___919); 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___298422; + s.tmp_3.arg0 = s.nextState___930; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -2229,10 +2175,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.infoState___298388 = (r0); + globals.infoState___896 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___298390, s.nextState___298422); + r0 = pxsim_Array__push(globals.infoStateStack___898, s.nextState___930); case 4: case 5: case 6: @@ -2240,27 +2186,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P298410.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":[]} -inline__P298410.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":[]} +inline__P918.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +inline__P918.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function inline__P298410_mk(s) { +function inline__P918_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P298410, depth: s.depth + 1, + parent: s, fn: inline__P918, 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___298411: undefined, - nextState___298422: undefined, + scene___919: undefined, + nextState___930: undefined, } } -function inline__P299132(s) { +function inline__P1640(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2270,13 +2216,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sz___299133 = undefined; - s.tmp_0 = control_ramSize__P297794_mk(s); + s.sz___1641 = undefined; + s.tmp_0 = control_ramSize__P223_mk(s); s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___299133 = (r0); - r0 = (s.sz___299133 <= 102400); + s.sz___1641 = (r0); + r0 = (s.sz___1641 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -2284,7 +2230,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___299133 <= 204800); + r0 = (s.sz___1641 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -2301,24 +2247,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P299132.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"inline","argumentNames":[]} -inline__P299132.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"inline","argumentNames":[]} +inline__P1640.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} +inline__P1640.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} -function inline__P299132_mk(s) { +function inline__P1640_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P299132, depth: s.depth + 1, + parent: s, fn: inline__P1640, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___299133: undefined, + sz___1641: undefined, } } -function inline__P299348(s) { +function inline__P1856(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2348,13 +2294,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P299348.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game---hw/texteffects.ts","functionName":"inline","argumentNames":[]} -inline__P299348.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game---hw/texteffects.ts","functionName":"inline","argumentNames":[]} +inline__P1856.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} +inline__P1856.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} -function inline__P299348_mk(s) { +function inline__P1856_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P299348, depth: s.depth + 1, + parent: s, fn: inline__P1856, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2369,7 +2315,7 @@ function inline__P299348_mk(s) { -function inline__P299362(s) { +function inline__P1870(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2398,7 +2344,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__P297645_mk(s); + s.tmp_7 = Math_sign__P74_mk(s); r0 = pxsim.Math_.sin(s.arg0); s.tmp_7.arg0 = r0; s.pc = 7; return s.tmp_7; @@ -2463,7 +2409,7 @@ switch (step) { } case 9: r0 = s.retval; - s.tmp_2 = Math_abs__P297644_mk(s); + s.tmp_2 = Math_abs__P73_mk(s); s.tmp_3 = if_yOffset_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -2535,13 +2481,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P299362.info = {"start":1127,"length":417,"line":42,"column":39,"endLine":55,"endColumn":5,"fileName":"pxt_modules/game---hw/texteffects.ts","functionName":"inline","argumentNames":["index","state"]} -inline__P299362.info = {"start":1127,"length":417,"line":42,"column":39,"endLine":55,"endColumn":5,"fileName":"pxt_modules/game---hw/texteffects.ts","functionName":"inline","argumentNames":["index","state"]} +inline__P1870.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__P1870.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__P299362_mk(s) { +function inline__P1870_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P299362, depth: s.depth + 1, + parent: s, fn: inline__P1870, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2561,7 +2507,7 @@ function inline__P299362_mk(s) { -function inline__P299500(s) { +function inline__P2008(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2575,37 +2521,37 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.animations___299497); + r0 = pxsim_numops_toBoolDecr(globals.animations___2005); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.animationStateStack___299498); + r0 = pxsim_numops_toBoolDecr(globals.animationStateStack___2006); 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.animationStateStack___299498 = (r0); + globals.animationStateStack___2006 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.animations___299497); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.animations___2005); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.animationStateStack___299498, s.tmp_0); - globals.animations___299497 = (undefined); + r0 = pxsim_Array__push(globals.animationStateStack___2006, s.tmp_0); + globals.animations___2005 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P299500.info = {"start":251,"length":277,"line":12,"column":29,"endLine":21,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["oldScene"]} -inline__P299500.info = {"start":251,"length":277,"line":12,"column":29,"endLine":21,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["oldScene"]} +inline__P2008.info = {"start":251,"length":277,"line":12,"column":29,"endLine":21,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["oldScene"]} +inline__P2008.info = {"start":251,"length":277,"line":12,"column":29,"endLine":21,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["oldScene"]} -function inline__P299500_mk(s) { +function inline__P2008_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P299500, depth: s.depth + 1, + parent: s, fn: inline__P2008, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2616,7 +2562,7 @@ function inline__P299500_mk(s) { -function inline__P299515(s) { +function inline__P2023(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2626,30 +2572,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___299516 = undefined; - s.nextState___299525 = undefined; - s.tmp_0 = game_currentScene__P298414_mk(s); + s.scene___2024 = undefined; + s.nextState___2033 = undefined; + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___299516 = (r0); - globals.animations___299497 = (undefined); - s.tmp_0 = r0 = globals.animationStateStack___299498; + s.scene___2024 = (r0); + globals.animations___2005 = (undefined); + s.tmp_0 = r0 = globals.animationStateStack___2006; 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.animationStateStack___299498); + r0 = pxsim_Array__length(globals.animationStateStack___2006); 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.animationStateStack___299498); - s.nextState___299525 = (r0); + r0 = pxsim_Array_.pop(globals.animationStateStack___2006); + s.nextState___2033 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___299525; + s.tmp_2.arg0 = s.nextState___2033; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -2661,12 +2607,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___299516); + r0 = (s.tmp_1 == s.scene___2024); 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___299525; + s.tmp_3.arg0 = s.nextState___2033; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -2677,10 +2623,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.animations___299497 = (r0); + globals.animations___2005 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.animationStateStack___299498, s.nextState___299525); + r0 = pxsim_Array__push(globals.animationStateStack___2006, s.nextState___2033); case 4: case 5: case 6: @@ -2688,190 +2634,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P299515.info = {"start":560,"length":398,"line":23,"column":28,"endLine":34,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":[]} -inline__P299515.info = {"start":560,"length":398,"line":23,"column":28,"endLine":34,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":[]} - -function inline__P299515_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P299515, 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___299516: undefined, - nextState___299525: undefined, -} } - - - - - -function inline__P300150(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 = "jacdac dashboard"; - return leave(s, r0) - default: oops() -} } } -inline__P300150.info = {"start":7352,"length":24,"line":192,"column":8,"endLine":192,"endColumn":32,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} -inline__P300150.info = {"start":7352,"length":24,"line":192,"column":8,"endLine":192,"endColumn":32,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} - -function inline__P300150_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P300150, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, -} } - - - - - -function inline__P300154(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_3 = jacdac_consoleService__P299861_mk(s); - s.pc = 3; return s.tmp_3; - case 3: - r0 = s.retval; - s.tmp_2 = r0; - r0 = s.tmp_2.fields["_consoleMode"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 == 1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = "hide jacdac console"; - { step = 2; continue; } - case 1: - r0 = "show jacdac console"; - case 2: - // jmp value (already in r0) - s.tmp_4 = r0; - r0 = s.tmp_4; - return leave(s, r0) - default: oops() -} } } -inline__P300154.info = {"start":7452,"length":113,"line":196,"column":8,"endLine":196,"endColumn":121,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} -inline__P300154.info = {"start":7452,"length":113,"line":196,"column":8,"endLine":196,"endColumn":121,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} +inline__P2023.info = {"start":560,"length":398,"line":23,"column":28,"endLine":34,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":[]} +inline__P2023.info = {"start":560,"length":398,"line":23,"column":28,"endLine":34,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":[]} -function inline__P300154_mk(s) { +function inline__P2023_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P300154, depth: s.depth + 1, + parent: s, fn: inline__P2023, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - tmp_4: undefined, + scene___2024: undefined, + nextState___2033: undefined, } } -function inline__P300161(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_3 = jacdac_consoleService__P299861_mk(s); - s.pc = 3; return s.tmp_3; - case 3: - r0 = s.retval; - s.tmp_2 = r0; - r0 = s.tmp_2.fields["_consoleMode"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 == 1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_4 = game_consoleOverlay_setVisible__P299125_mk(s); - s.tmp_4.arg0 = false; - s.tmp_4.arg1 = undefined; - s.pc = 4; return s.tmp_4; - case 4: - r0 = s.retval; - s.tmp_0 = jacdac_JDConsoleService_consoleMode__P299645_mk(s); - s.tmp_1 = jacdac_consoleService__P299861_mk(s); - s.pc = 6; return s.tmp_1; - case 6: - r0 = s.retval; - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = 0; - s.pc = 5; return s.tmp_0; - case 5: - r0 = s.retval; - { step = 2; continue; } - case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P299125_mk(s); - s.tmp_0.arg0 = true; - s.tmp_0.arg1 = undefined; - s.pc = 7; return s.tmp_0; - case 7: - r0 = s.retval; - s.tmp_0 = jacdac_JDConsoleService_consoleMode__P299645_mk(s); - s.tmp_1 = jacdac_consoleService__P299861_mk(s); - s.pc = 9; return s.tmp_1; - case 9: - r0 = s.retval; - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = 1; - s.pc = 8; return s.tmp_0; - case 8: - r0 = s.retval; - s.tmp_0 = console_log__P297810_mk(s); - s.tmp_0.arg0 = "listening to jacdac..."; - s.pc = 10; return s.tmp_0; - case 10: - r0 = s.retval; - case 2: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P300161.info = {"start":7575,"length":456,"line":197,"column":8,"endLine":207,"endColumn":9,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} -inline__P300161.info = {"start":7575,"length":456,"line":197,"column":8,"endLine":207,"endColumn":9,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} - -function inline__P300161_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P300161, 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, -} } - - - - - -function tileworld_LoadScreen_constructor__P311549(s) { +function tileworld_LoadScreen_constructor__P13734(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2887,34 +2670,34 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_LoadScreen__C311544_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_LoadScreen__C13729_VT)) failedCast(r0); r0 = (s.arg0).fields["bootstrap"] = (s.arg1); r0 = (s.arg0).fields["lastDir"] = (-1); - s.tmp_0 = tileworld_RuleVisualsBase_constructor__P306480_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_constructor__P8665_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = null; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = controller_setRepeatDefault__P298168_mk(s); + s.tmp_0 = controller_setRepeatDefault__P676_mk(s); s.tmp_0.arg0 = 500; s.tmp_0.arg1 = 80; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P311561); + r0 = pxsim_pxtcore_mkAction(1, inline__P13746); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.A___298124; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.A___632; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.tmp_0 = tileworld_LoadScreen__C311544_v0_1_mk(s); + s.tmp_0 = tileworld_LoadScreen__C13729_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_LoadScreen__C311544_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_LoadScreen__C13729_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 8; return s.tmp_0; case 8: @@ -2936,7 +2719,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = tileworld_saveEntireProject__P304251_mk(s); + s.tmp_4 = tileworld_saveEntireProject__P6099_mk(s); r0 = s.arg0.fields["bootstrap"]; s.tmp_4.arg0 = r0; s.pc = 9; return s.tmp_4; @@ -2948,13 +2731,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_LoadScreen_constructor__P311549.info = {"start":88,"length":1300,"line":3,"column":8,"endLine":30,"endColumn":9,"fileName":"loadScreen.ts","functionName":"inline","argumentNames":["this","bootstrap"]} -tileworld_LoadScreen_constructor__P311549.info = {"start":88,"length":1300,"line":3,"column":8,"endLine":30,"endColumn":9,"fileName":"loadScreen.ts","functionName":"inline","argumentNames":["this","bootstrap"]} +tileworld_LoadScreen_constructor__P13734.info = {"start":88,"length":1300,"line":3,"column":8,"endLine":30,"endColumn":9,"fileName":"loadScreen.ts","functionName":"inline","argumentNames":["this","bootstrap"]} +tileworld_LoadScreen_constructor__P13734.info = {"start":88,"length":1300,"line":3,"column":8,"endLine":30,"endColumn":9,"fileName":"loadScreen.ts","functionName":"inline","argumentNames":["this","bootstrap"]} -function tileworld_LoadScreen_constructor__P311549_mk(s) { +function tileworld_LoadScreen_constructor__P13734_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_LoadScreen_constructor__P311549, depth: s.depth + 1, + parent: s, fn: tileworld_LoadScreen_constructor__P13734, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2969,7 +2752,7 @@ function tileworld_LoadScreen_constructor__P311549_mk(s) { -function inline__P311561(s) { +function inline__P13746(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2979,10 +2762,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.first___311562 = undefined; - s.second___311570 = undefined; - s.prefix___311590 = undefined; - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.first___13747 = undefined; + s.second___13755 = undefined; + s.prefix___13775 = undefined; + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 25; return s.tmp_2; @@ -2996,7 +2779,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; s.pc = 26; return s.tmp_4; @@ -3007,8 +2790,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_5 = r0; - s.first___311562 = (s.tmp_5); - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.first___13747 = (s.tmp_5); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 27; return s.tmp_2; @@ -3022,7 +2805,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_4 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; s.pc = 28; return s.tmp_4; @@ -3033,14 +2816,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.second___311570 = (s.tmp_5); - s.tmp_0 = r0 = s.first___311562; + s.second___13755 = (s.tmp_5); + s.tmp_0 = r0 = s.first___13747; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 5; continue; } r0 = s.tmp_0; { step = 6; continue; } case 5: - r0 = s.second___311570; + r0 = s.second___13755; case 6: // jmp value (already in r0) s.tmp_1 = r0; @@ -3049,7 +2832,7 @@ switch (step) { r0 = s.tmp_1; { step = 10; continue; } case 7: - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; s.pc = 29; return s.tmp_4; @@ -3063,7 +2846,7 @@ switch (step) { r0 = s.tmp_2; { step = 9; continue; } case 8: - s.tmp_6 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_6.arg0 = s.caps[0]; s.tmp_6.arg1 = true; s.pc = 30; return s.tmp_6; @@ -3080,9 +2863,9 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 19; continue; } - r0 = pxsim_numops_toBoolDecr(s.first___311562); + r0 = pxsim_numops_toBoolDecr(s.first___13747); if (!r0) { step = 13; continue; } - s.tmp_11 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_11 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_11.arg0 = s.caps[0]; s.tmp_11.arg1 = true; s.pc = 31; return s.tmp_11; @@ -3103,7 +2886,7 @@ switch (step) { r0 = s.tmp_12; { step = 16; continue; } case 13: - s.tmp_15 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_15 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_15.arg0 = s.caps[0]; s.tmp_15.arg1 = true; s.pc = 32; return s.tmp_15; @@ -3125,19 +2908,19 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_17 = r0; - s.prefix___311590 = (s.tmp_17); + s.prefix___13775 = (s.tmp_17); s.tmp_0 = r0 = s.caps[0]; - s.tmp_2 = tileworld_loadProject__P303879_mk(s); - s.tmp_2.arg0 = s.prefix___311590; + s.tmp_2 = tileworld_loadProject__P5727_mk(s); + s.tmp_2.arg0 = s.prefix___13775; s.tmp_2.arg1 = false; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["p"] = (s.tmp_1); - s.tmp_0 = tileworld_LoadScreen__C311544_v0_1_mk(s); + s.tmp_0 = tileworld_LoadScreen__C13729_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, tileworld_LoadScreen__C311544_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_LoadScreen__C13729_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 34; return s.tmp_0; case 34: @@ -3151,14 +2934,14 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } s.tmp_3 = r0 = s.caps[0]; - s.tmp_5 = tileworld_emptyProject__P304424_mk(s); - s.tmp_5.arg0 = s.prefix___311590; + s.tmp_5 = tileworld_emptyProject__P6272_mk(s); + s.tmp_5.arg0 = s.prefix___13775; s.pc = 35; return s.tmp_5; case 35: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_3).fields["p"] = (s.tmp_4); - s.tmp_0 = tileworld_saveEntireProject__P304251_mk(s); + s.tmp_0 = tileworld_saveEntireProject__P6099_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_0.arg0 = r0; s.pc = 36; return s.tmp_0; @@ -3168,13 +2951,13 @@ switch (step) { case 18: r0 = (s.caps[0]).fields["lastDir"] = (-1); r0 = (s.caps[0]).fields["lastDir"] = (-1); - s.tmp_0 = game_pushScene__P298728_mk(s); + s.tmp_0 = game_pushScene__P1236_mk(s); s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_GameHome__C311623_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_GameHome__C13808_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_GameHome_constructor__P311628_mk(s); + s.tmp_1 = tileworld_GameHome_constructor__P13813_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; @@ -3183,7 +2966,7 @@ switch (step) { r0 = s.retval; { step = 24; continue; } case 19: - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 39; return s.tmp_2; @@ -3197,7 +2980,7 @@ switch (step) { r0 = s.tmp_0; { step = 21; continue; } case 20: - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; s.pc = 40; return s.tmp_4; @@ -3210,13 +2993,13 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 22; continue; } - s.tmp_6 = game_pushScene__P298728_mk(s); + s.tmp_6 = game_pushScene__P1236_mk(s); s.pc = 41; return s.tmp_6; case 41: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_ProjectSettings__C311640_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_ProjectSettings__C13825_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_ProjectSettings_constructor__P311644_mk(s); + s.tmp_1 = tileworld_ProjectSettings_constructor__P13829_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = null; s.pc = 42; return s.tmp_1; @@ -3229,13 +3012,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P311561.info = {"start":272,"length":943,"line":6,"column":64,"endLine":25,"endColumn":13,"fileName":"loadScreen.ts","functionName":"inline","argumentNames":[]} -inline__P311561.info = {"start":272,"length":943,"line":6,"column":64,"endLine":25,"endColumn":13,"fileName":"loadScreen.ts","functionName":"inline","argumentNames":[]} +inline__P13746.info = {"start":272,"length":943,"line":6,"column":64,"endLine":25,"endColumn":13,"fileName":"loadScreen.ts","functionName":"inline","argumentNames":[]} +inline__P13746.info = {"start":272,"length":943,"line":6,"column":64,"endLine":25,"endColumn":13,"fileName":"loadScreen.ts","functionName":"inline","argumentNames":[]} -function inline__P311561_mk(s) { +function inline__P13746_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P311561, depth: s.depth + 1, + parent: s, fn: inline__P13746, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3255,16 +3038,16 @@ function inline__P311561_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - first___311562: undefined, - second___311570: undefined, - prefix___311590: undefined, + first___13747: undefined, + second___13755: undefined, + prefix___13775: undefined, } } -function tileworld_ProjectSettings_constructor__P311644(s) { +function tileworld_ProjectSettings_constructor__P13829(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3280,41 +3063,41 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ProjectSettings__C311640_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ProjectSettings__C13825_VT)) failedCast(r0); r0 = (s.arg0).fields["askDeleteRule"] = (false); - s.tmp_0 = tileworld_RuleVisualsBase_constructor__P306480_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_constructor__P8665_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 = tileworld_RuleVisualsBase_setCol__P306465_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P8650_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 = tileworld_RuleVisualsBase_setRow__P306466_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P8651_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; - r0 = pxsim_pxtcore_mkAction(1, inline__P312346); + r0 = pxsim_pxtcore_mkAction(1, inline__P14529); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.A___298124; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.A___632; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P312417); + r0 = pxsim_pxtcore_mkAction(1, inline__P14600); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.B___298126; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.B___634; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 5; return s.tmp_1; @@ -3324,13 +3107,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ProjectSettings_constructor__P311644.info = {"start":176,"length":1562,"line":6,"column":8,"endLine":44,"endColumn":9,"fileName":"settings.ts","functionName":"inline","argumentNames":["this","p"]} -tileworld_ProjectSettings_constructor__P311644.info = {"start":176,"length":1562,"line":6,"column":8,"endLine":44,"endColumn":9,"fileName":"settings.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_ProjectSettings_constructor__P13829.info = {"start":176,"length":1562,"line":6,"column":8,"endLine":44,"endColumn":9,"fileName":"settings.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_ProjectSettings_constructor__P13829.info = {"start":176,"length":1562,"line":6,"column":8,"endLine":44,"endColumn":9,"fileName":"settings.ts","functionName":"inline","argumentNames":["this","p"]} -function tileworld_ProjectSettings_constructor__P311644_mk(s) { +function tileworld_ProjectSettings_constructor__P13829_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ProjectSettings_constructor__P311644, depth: s.depth + 1, + parent: s, fn: tileworld_ProjectSettings_constructor__P13829, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3342,7 +3125,7 @@ function tileworld_ProjectSettings_constructor__P311644_mk(s) { -function inline__P312346(s) { +function inline__P14529(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3352,7 +3135,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.keys___312351 = undefined; + s.keys___14534 = undefined; r0 = s.caps[0].fields["askDeleteRule"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -3361,32 +3144,32 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 1; continue; } - s.tmp_2 = settings_list__P298078_mk(s); + s.tmp_2 = settings_list__P586_mk(s); r0 = s.caps[0].fields["p"]; r0 = r0.fields["prefix"]; s.tmp_2.arg0 = r0; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; - s.keys___312351 = (r0); - s.tmp_0 = helpers_arrayForEach__P297630_mk(s); - s.tmp_0.arg0 = s.keys___312351; - s.tmp_0.arg1 = inline__P312358; + s.keys___14534 = (r0); + s.tmp_0 = helpers_arrayForEach__P59_mk(s); + s.tmp_0.arg0 = s.keys___14534; + s.tmp_0.arg1 = inline__P14541; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = game_popScene__P298729_mk(s); + s.tmp_0 = game_popScene__P1237_mk(s); s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = settings_clear__P298069_mk(s); + s.tmp_0 = settings_clear__P577_mk(s); s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; case 2: - s.tmp_0 = game_popScene__P298729_mk(s); + s.tmp_0 = game_popScene__P1237_mk(s); s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; @@ -3396,7 +3179,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - s.tmp_3 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_3.arg0 = s.caps[0]; s.tmp_3.arg1 = true; s.pc = 29; return s.tmp_3; @@ -3410,7 +3193,7 @@ switch (step) { r0 = s.tmp_1; { step = 5; continue; } case 4: - s.tmp_5 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_5 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_5.arg0 = s.caps[0]; s.tmp_5.arg1 = true; s.pc = 30; return s.tmp_5; @@ -3433,7 +3216,7 @@ switch (step) { r0 = pxsim_Boolean__bang(s.tmp_9); s.tmp_8 = r0; r0 = (s.tmp_7).fields["help"] = (s.tmp_8); - s.tmp_0 = tileworld_Project_saveHelp__P303136_mk(s); + s.tmp_0 = tileworld_Project_saveHelp__P4984_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_0.arg0 = r0; s.pc = 31; return s.tmp_0; @@ -3441,7 +3224,7 @@ switch (step) { r0 = s.retval; { step = 11; continue; } case 6: - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 32; return s.tmp_2; @@ -3455,7 +3238,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; s.pc = 33; return s.tmp_4; @@ -3468,7 +3251,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 9; continue; } - s.tmp_6 = tileworld_loadProject__P303879_mk(s); + s.tmp_6 = tileworld_loadProject__P5727_mk(s); r0 = s.caps[0].fields["p"]; r0 = r0.fields["prefix"]; s.tmp_6.arg0 = r0; @@ -3479,7 +3262,7 @@ switch (step) { case 9: case 10: case 11: - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 35; return s.tmp_2; @@ -3493,7 +3276,7 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; s.pc = 36; return s.tmp_4; @@ -3511,7 +3294,7 @@ switch (step) { case 15: { step = 21; continue; } case 16: - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 37; return s.tmp_2; @@ -3525,7 +3308,7 @@ switch (step) { r0 = s.tmp_0; { step = 18; continue; } case 17: - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; s.pc = 38; return s.tmp_4; @@ -3544,9 +3327,9 @@ switch (step) { case 20: case 21: case 22: - s.tmp_0 = tileworld_ProjectSettings__C311640_v0_1_mk(s); + s.tmp_0 = tileworld_ProjectSettings__C13825_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ProjectSettings__C311640_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ProjectSettings__C13825_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 39; return s.tmp_0; case 39: @@ -3556,13 +3339,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P312346.info = {"start":335,"length":1123,"line":9,"column":64,"endLine":35,"endColumn":13,"fileName":"settings.ts","functionName":"inline","argumentNames":[]} -inline__P312346.info = {"start":335,"length":1123,"line":9,"column":64,"endLine":35,"endColumn":13,"fileName":"settings.ts","functionName":"inline","argumentNames":[]} +inline__P14529.info = {"start":335,"length":1123,"line":9,"column":64,"endLine":35,"endColumn":13,"fileName":"settings.ts","functionName":"inline","argumentNames":[]} +inline__P14529.info = {"start":335,"length":1123,"line":9,"column":64,"endLine":35,"endColumn":13,"fileName":"settings.ts","functionName":"inline","argumentNames":[]} -function inline__P312346_mk(s) { +function inline__P14529_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P312346, depth: s.depth + 1, + parent: s, fn: inline__P14529, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3575,14 +3358,14 @@ function inline__P312346_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - keys___312351: undefined, + keys___14534: undefined, } } -function inline__P312358(s) { +function inline__P14541(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3596,7 +3379,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = settings_remove__P298079_mk(s); + s.tmp_0 = settings_remove__P587_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: @@ -3605,13 +3388,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P312358.info = {"start":525,"length":26,"line":13,"column":37,"endLine":13,"endColumn":63,"fileName":"settings.ts","functionName":"inline","argumentNames":["k"]} -inline__P312358.info = {"start":525,"length":26,"line":13,"column":37,"endLine":13,"endColumn":63,"fileName":"settings.ts","functionName":"inline","argumentNames":["k"]} +inline__P14541.info = {"start":525,"length":26,"line":13,"column":37,"endLine":13,"endColumn":63,"fileName":"settings.ts","functionName":"inline","argumentNames":["k"]} +inline__P14541.info = {"start":525,"length":26,"line":13,"column":37,"endLine":13,"endColumn":63,"fileName":"settings.ts","functionName":"inline","argumentNames":["k"]} -function inline__P312358_mk(s) { +function inline__P14541_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P312358, depth: s.depth + 1, + parent: s, fn: inline__P14541, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -3621,7 +3404,7 @@ function inline__P312358_mk(s) { -function inline__P312417(s) { +function inline__P14600(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3638,7 +3421,7 @@ switch (step) { r0 = (s.caps[0]).fields["askDeleteRule"] = (false); { step = 2; continue; } case 1: - s.tmp_0 = game_popScene__P298729_mk(s); + s.tmp_0 = game_popScene__P1237_mk(s); s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; @@ -3647,13 +3430,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P312417.info = {"start":1528,"length":197,"line":37,"column":64,"endLine":43,"endColumn":13,"fileName":"settings.ts","functionName":"inline","argumentNames":[]} -inline__P312417.info = {"start":1528,"length":197,"line":37,"column":64,"endLine":43,"endColumn":13,"fileName":"settings.ts","functionName":"inline","argumentNames":[]} +inline__P14600.info = {"start":1528,"length":197,"line":37,"column":64,"endLine":43,"endColumn":13,"fileName":"settings.ts","functionName":"inline","argumentNames":[]} +inline__P14600.info = {"start":1528,"length":197,"line":37,"column":64,"endLine":43,"endColumn":13,"fileName":"settings.ts","functionName":"inline","argumentNames":[]} -function inline__P312417_mk(s) { +function inline__P14600_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P312417, depth: s.depth + 1, + parent: s, fn: inline__P14600, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -3662,7 +3445,7 @@ function inline__P312417_mk(s) { -function tileworld_ProjectSettings_update__P311643(s) { +function tileworld_ProjectSettings_update__P13828(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3672,16 +3455,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.worldY___312455 = undefined; + s.worldY___14638 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ProjectSettings__C311640_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.fill(globals.screen___298046, 0); - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + if (!checkSubtype(r0, tileworld_ProjectSettings__C13825_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.fill(globals.screen___545, 0); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 6; s.tmp_0.arg3 = 16; @@ -3690,13 +3473,13 @@ switch (step) { s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___298046, globals.settingsIcon___304616, 0, 6); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___545, globals.settingsIcon___6464, 0, 6); r0 = s.arg0.fields["p"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = helpers_imagePrint__P298010_mk(s); - s.tmp_1.arg0 = globals.screen___298046; + s.tmp_1 = helpers_imagePrint__P508_mk(s); + s.tmp_1.arg0 = globals.screen___545; s.tmp_1.arg1 = "Help"; s.tmp_1.arg2 = 16; s.tmp_1.arg3 = 28; @@ -3706,11 +3489,11 @@ switch (step) { s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 1; - s.tmp_0.arg3 = globals.emptyTile___304538; + s.tmp_0.arg3 = globals.emptyTile___6386; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; @@ -3719,14 +3502,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = globals.collisionRestingSprite___304547; + r0 = globals.collisionRestingSprite___6395; { step = 2; continue; } case 1: - r0 = globals.genericSprite___304553; + r0 = globals.genericSprite___6401; case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 3; s.tmp_2.arg2 = 1; @@ -3734,20 +3517,20 @@ switch (step) { s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - s.worldY___312455 = (44); - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.worldY___14638 = (44); + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = "World"; s.tmp_0.arg2 = 16; - s.tmp_0.arg3 = s.worldY___312455; + s.tmp_0.arg3 = s.worldY___14638; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_world"]; @@ -3757,26 +3540,26 @@ switch (step) { r0 = pxsim_numops.toString(s.tmp_1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 64; - s.tmp_0.arg3 = s.worldY___312455; + s.tmp_0.arg3 = s.worldY___14638; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = "by"; s.tmp_0.arg2 = 96; - s.tmp_0.arg3 = s.worldY___312455; + s.tmp_0.arg3 = s.worldY___14638; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_world"]; @@ -3786,15 +3569,15 @@ switch (step) { r0 = pxsim_numops.toString(s.tmp_1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 128; - s.tmp_0.arg3 = s.worldY___312455; + s.tmp_0.arg3 = s.worldY___14638; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = "Export"; s.tmp_0.arg2 = 16; s.tmp_0.arg3 = 92; @@ -3804,16 +3587,16 @@ switch (step) { s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 4; s.tmp_0.arg2 = 5; - s.tmp_0.arg3 = globals.diskIcon___304613; + s.tmp_0.arg3 = globals.diskIcon___6461; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = "Delete"; s.tmp_0.arg2 = 16; s.tmp_0.arg3 = 108; @@ -3823,18 +3606,18 @@ switch (step) { s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 4; s.tmp_0.arg2 = 6; - s.tmp_0.arg3 = globals.garbageCan___304610; + s.tmp_0.arg3 = globals.garbageCan___6458; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = "Delete ALL games"; s.tmp_0.arg2 = 16; s.tmp_0.arg3 = 28; @@ -3844,11 +3627,11 @@ switch (step) { s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; s.tmp_0.arg2 = 1; - s.tmp_0.arg3 = globals.garbageCan___304610; + s.tmp_0.arg3 = globals.garbageCan___6458; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; @@ -3857,7 +3640,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = Sprite_setFlag__P298266_mk(s); + s.tmp_1 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 128; @@ -3876,7 +3659,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = game_showDialog__P298731_mk(s); + s.tmp_2 = game_showDialog__P1239_mk(s); s.tmp_2.arg0 = s.tmp_1; r0 = pxsim_String_.mkEmpty(); s.tmp_2.arg1 = r0; @@ -3886,7 +3669,7 @@ switch (step) { r0 = s.retval; { step = 8; continue; } case 7: - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + s.tmp_0 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; @@ -3899,19 +3682,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ProjectSettings_update__P311643.info = {"start":1750,"length":1396,"line":46,"column":8,"endLine":74,"endColumn":9,"fileName":"settings.ts","functionName":"update","argumentNames":["this"]} -tileworld_ProjectSettings_update__P311643.info = {"start":1750,"length":1396,"line":46,"column":8,"endLine":74,"endColumn":9,"fileName":"settings.ts","functionName":"update","argumentNames":["this"]} +tileworld_ProjectSettings_update__P13828.info = {"start":1750,"length":1396,"line":46,"column":8,"endLine":74,"endColumn":9,"fileName":"settings.ts","functionName":"update","argumentNames":["this"]} +tileworld_ProjectSettings_update__P13828.info = {"start":1750,"length":1396,"line":46,"column":8,"endLine":74,"endColumn":9,"fileName":"settings.ts","functionName":"update","argumentNames":["this"]} -function tileworld_ProjectSettings_update__P311643_mk(s) { +function tileworld_ProjectSettings_update__P13828_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ProjectSettings_update__P311643, depth: s.depth + 1, + parent: s, fn: tileworld_ProjectSettings_update__P13828, 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, - worldY___312455: undefined, + worldY___14638: undefined, arg0: undefined, } } @@ -3919,7 +3702,7 @@ function tileworld_ProjectSettings_update__P311643_mk(s) { -function game_showDialog__P298731(s) { +function game_showDialog__P1239(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3929,20 +3712,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.titleFont___313183 = undefined; - s.subFont___313188 = undefined; - s.footerFont___313193 = undefined; - s.h___313198 = undefined; - s.top___313217 = undefined; - s.y___313221 = undefined; - s.footerTop___313259 = undefined; + s.titleFont___15366 = undefined; + s.subFont___15371 = undefined; + s.footerFont___15376 = undefined; + s.h___15381 = undefined; + s.top___15400 = undefined; + s.y___15404 = undefined; + s.footerTop___15442 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P298727_mk(s); + s.tmp_0 = game_init__P1235_mk(s); s.tmp_0.arg0 = undefined; s.pc = 21; return s.tmp_0; case 21: @@ -3957,12 +3740,12 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = image_getFontForText__P298002_mk(s); + s.tmp_2 = image_getFontForText__P500_mk(s); s.tmp_2.arg0 = s.tmp_1; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.titleFont___313183 = (r0); + s.titleFont___15366 = (r0); s.tmp_0 = r0 = s.arg1; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } @@ -3973,12 +3756,12 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = image_getFontForText__P298002_mk(s); + s.tmp_2 = image_getFontForText__P500_mk(s); s.tmp_2.arg0 = s.tmp_1; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; - s.subFont___313188 = (r0); + s.subFont___15371 = (r0); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 5; continue; } @@ -3989,18 +3772,18 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = image_getFontForText__P298002_mk(s); + s.tmp_2 = image_getFontForText__P500_mk(s); s.tmp_2.arg0 = s.tmp_1; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; - s.footerFont___313193 = (r0); - s.h___313198 = (8); + s.footerFont___15376 = (r0); + s.h___15381 = (8); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 7; continue; } - s.tmp_0 = r0 = s.h___313198; + s.tmp_0 = r0 = s.h___15381; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.titleFont___313183; + s.tmp_2.arg0 = s.titleFont___15366; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -4013,14 +3796,14 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.h___313198 = (r0); + s.h___15381 = (r0); case 7: case 8: r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 9; continue; } - s.tmp_0 = r0 = s.h___313198; + s.tmp_0 = r0 = s.h___15381; s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = s.subFont___313188; + s.tmp_3.arg0 = s.subFont___15371; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charHeight"); } else { @@ -4035,23 +3818,23 @@ switch (step) { r0 = (2 + s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.h___313198 = (r0); + s.h___15381 = (r0); case 9: case 10: - r0 = (s.h___313198 + 8); - s.h___313198 = (r0); - s.tmp_0 = game_showDialogBackground__P298730_mk(s); - s.tmp_0.arg0 = s.h___313198; + r0 = (s.h___15381 + 8); + s.h___15381 = (r0); + s.tmp_0 = game_showDialogBackground__P1238_mk(s); + s.tmp_0.arg0 = s.h___15381; s.tmp_0.arg1 = 9; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.top___313217 = (r0); - r0 = (s.top___313217 + 8); - s.y___313221 = (r0); + s.top___15400 = (r0); + r0 = (s.top___15400 + 8); + s.y___15404 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 13; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___298046); + r0 = pxsim_ImageMethods.isMono(globals.screen___545); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } @@ -4062,20 +3845,20 @@ switch (step) { case 12: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = helpers_imagePrint__P298010_mk(s); - s.tmp_2.arg0 = globals.screen___298046; + s.tmp_2 = helpers_imagePrint__P508_mk(s); + s.tmp_2.arg0 = globals.screen___545; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = 8; - s.tmp_2.arg3 = s.y___313221; + s.tmp_2.arg3 = s.y___15404; s.tmp_2.arg4 = s.tmp_1; - s.tmp_2.arg5 = s.titleFont___313183; + s.tmp_2.arg5 = s.titleFont___15366; s.tmp_2.arg6 = undefined; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; - s.tmp_0 = r0 = s.y___313221; + s.tmp_0 = r0 = s.y___15404; s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = s.titleFont___313183; + s.tmp_3.arg0 = s.titleFont___15366; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charHeight"); } else { @@ -4090,12 +3873,12 @@ switch (step) { r0 = (s.tmp_2 + 2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.y___313221 = (r0); + s.y___15404 = (r0); case 13: case 14: r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 17; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___298046); + r0 = pxsim_ImageMethods.isMono(globals.screen___545); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } @@ -4106,20 +3889,20 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = helpers_imagePrint__P298010_mk(s); - s.tmp_2.arg0 = globals.screen___298046; + s.tmp_2 = helpers_imagePrint__P508_mk(s); + s.tmp_2.arg0 = globals.screen___545; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = 8; - s.tmp_2.arg3 = s.y___313221; + s.tmp_2.arg3 = s.y___15404; s.tmp_2.arg4 = s.tmp_1; - s.tmp_2.arg5 = s.subFont___313188; + s.tmp_2.arg5 = s.subFont___15371; s.tmp_2.arg6 = undefined; s.pc = 30; return s.tmp_2; case 30: r0 = s.retval; - s.tmp_0 = r0 = s.y___313221; + s.tmp_0 = r0 = s.y___15404; s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = s.subFont___313188; + s.tmp_3.arg0 = s.subFont___15371; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charHeight"); } else { @@ -4134,15 +3917,15 @@ switch (step) { r0 = (s.tmp_2 + 2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.y___313221 = (r0); + s.y___15404 = (r0); case 17: case 18: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 19; continue; } - r0 = pxsim_ImageMethods.height(globals.screen___298046); + r0 = pxsim_ImageMethods.height(globals.screen___545); s.tmp_1 = r0; s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = s.footerFont___313193; + s.tmp_3.arg0 = s.footerFont___15376; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charHeight"); } else { @@ -4157,15 +3940,15 @@ switch (step) { r0 = (s.tmp_1 - s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 - 4); - s.footerTop___313259 = (r0); - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.footerTop___15442 = (r0); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = s.footerTop___313259; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + s.tmp_0.arg2 = s.footerTop___15442; + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_0.arg3 = r0; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.footerFont___313193; + s.tmp_2.arg0 = s.footerFont___15376; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -4183,26 +3966,26 @@ switch (step) { s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P297988_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imageDrawLine__P486_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = s.footerTop___313259; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + s.tmp_0.arg2 = s.footerTop___15442; + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = s.footerTop___313259; + s.tmp_0.arg4 = s.footerTop___15442; s.tmp_0.arg5 = 1; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = s.arg2; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_2 = r0; r0 = pxsim_String_.length(s.arg2); s.tmp_4 = r0; s.tmp_6 = if_charWidth_1_mk(s); - s.tmp_6.arg0 = s.footerFont___313193; + s.tmp_6.arg0 = s.footerFont___15376; if (!s.tmp_6.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "charWidth"); } else { @@ -4220,10 +4003,10 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 8); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___298046); + r0 = pxsim_ImageMethods.height(globals.screen___545); s.tmp_8 = r0; s.tmp_10 = if_charHeight_1_mk(s); - s.tmp_10.arg0 = s.footerFont___313193; + s.tmp_10.arg0 = s.footerFont___15376; if (!s.tmp_10.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_10.arg0, "charHeight"); } else { @@ -4240,7 +4023,7 @@ switch (step) { r0 = (s.tmp_7 - 2); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.footerFont___313193; + s.tmp_0.arg5 = s.footerFont___15376; s.tmp_0.arg6 = undefined; s.pc = 36; return s.tmp_0; case 36: @@ -4251,13 +4034,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_showDialog__P298731.info = {"start":2895,"length":1313,"line":104,"column":4,"endLine":137,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"showDialog","argumentNames":["title","subtitle","footer"]} -game_showDialog__P298731.info = {"start":2895,"length":1313,"line":104,"column":4,"endLine":137,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"showDialog","argumentNames":["title","subtitle","footer"]} +game_showDialog__P1239.info = {"start":2895,"length":1313,"line":104,"column":4,"endLine":137,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"showDialog","argumentNames":["title","subtitle","footer"]} +game_showDialog__P1239.info = {"start":2895,"length":1313,"line":104,"column":4,"endLine":137,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"showDialog","argumentNames":["title","subtitle","footer"]} -function game_showDialog__P298731_mk(s) { +function game_showDialog__P1239_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_showDialog__P298731, depth: s.depth + 1, + parent: s, fn: game_showDialog__P1239, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4270,13 +4053,13 @@ function game_showDialog__P298731_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - titleFont___313183: undefined, - subFont___313188: undefined, - footerFont___313193: undefined, - h___313198: undefined, - top___313217: undefined, - y___313221: undefined, - footerTop___313259: undefined, + titleFont___15366: undefined, + subFont___15371: undefined, + footerFont___15376: undefined, + h___15381: undefined, + top___15400: undefined, + y___15404: undefined, + footerTop___15442: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4286,7 +4069,7 @@ function game_showDialog__P298731_mk(s) { -function game_showDialogBackground__P298730(s) { +function game_showDialogBackground__P1238(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4296,50 +4079,50 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.top___313303 = undefined; + s.top___15486 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.height(globals.screen___298046); + r0 = pxsim_ImageMethods.height(globals.screen___545); s.tmp_1 = r0; r0 = (s.tmp_1 - s.arg0); s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); - s.top___313303 = (r0); - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.top___15486 = (r0); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = s.top___313303; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + s.tmp_0.arg2 = s.top___15486; + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg0; s.tmp_0.arg5 = 0; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P297988_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imageDrawLine__P486_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = s.top___313303; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + s.tmp_0.arg2 = s.top___15486; + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = s.top___313303; + s.tmp_0.arg4 = s.top___15486; s.tmp_0.arg5 = 1; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P297988_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imageDrawLine__P486_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 0; - r0 = (s.top___313303 + s.arg0); + r0 = (s.top___15486 + s.arg0); s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_0.arg3 = r0; - r0 = (s.top___313303 + s.arg0); + r0 = (s.top___15486 + s.arg0); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_0.arg4 = r0; @@ -4347,22 +4130,22 @@ switch (step) { s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = s.top___313303; + r0 = s.top___15486; return leave(s, r0) default: oops() } } } -game_showDialogBackground__P298730.info = {"start":2587,"length":302,"line":95,"column":4,"endLine":102,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"showDialogBackground","argumentNames":["h","c"]} -game_showDialogBackground__P298730.info = {"start":2587,"length":302,"line":95,"column":4,"endLine":102,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"showDialogBackground","argumentNames":["h","c"]} +game_showDialogBackground__P1238.info = {"start":2587,"length":302,"line":95,"column":4,"endLine":102,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"showDialogBackground","argumentNames":["h","c"]} +game_showDialogBackground__P1238.info = {"start":2587,"length":302,"line":95,"column":4,"endLine":102,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"showDialogBackground","argumentNames":["h","c"]} -function game_showDialogBackground__P298730_mk(s) { +function game_showDialogBackground__P1238_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_showDialogBackground__P298730, depth: s.depth + 1, + parent: s, fn: game_showDialogBackground__P1238, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - top___313303: undefined, + top___15486: undefined, arg0: undefined, arg1: undefined, } } @@ -4371,7 +4154,7 @@ function game_showDialogBackground__P298730_mk(s) { -function game_init__P298727(s) { +function game_init__P1235(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4385,7 +4168,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scene___298716); + r0 = pxsim_numops_toBoolDecr(globals._scene___1224); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -4400,74 +4183,74 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C298633_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C1141_VT); s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P298641_mk(s); + s.tmp_4 = scene_Scene_constructor__P1149_mk(s); s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P297855_mk(s); + s.tmp_5 = control_pushEventContext__P284_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___298716; + s.tmp_4.arg2 = globals._scene___1224; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - globals._scene___298716 = (s.tmp_3); + globals._scene___1224 = (s.tmp_3); case 3: case 4: - s.tmp_0 = scene_Scene_init__P298634_mk(s); - s.tmp_0.arg0 = globals._scene___298716; + s.tmp_0 = scene_Scene_init__P1142_mk(s); + s.tmp_0.arg0 = globals._scene___1224; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.winEffect___298709); + r0 = pxsim_numops_toBoolDecr(globals.winEffect___1217); 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___298709 = (globals.confetti___299302); + globals.winEffect___1217 = (globals.confetti___1810); case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals.loseEffect___298711); + r0 = pxsim_numops_toBoolDecr(globals.loseEffect___1219); 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___298711 = (globals.melt___299337); + globals.loseEffect___1219 = (globals.melt___1845); case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals.winSound___298715); + r0 = pxsim_numops_toBoolDecr(globals.winSound___1223); 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___298715 = (globals.powerUp___300242); + globals.winSound___1223 = (globals.powerUp___439); case 9: case 10: - r0 = pxsim_numops_toBoolDecr(globals.loseSound___298713); + r0 = pxsim_numops_toBoolDecr(globals.loseSound___1221); 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___298713 = (globals.wawawawaa___300236); + globals.loseSound___1221 = (globals.wawawawaa___433); case 11: case 12: r0 = undefined; return leave(s, r0) default: oops() } } } -game_init__P298727.info = {"start":1202,"length":452,"line":45,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"init","argumentNames":["forceNewScene"]} -game_init__P298727.info = {"start":1202,"length":452,"line":45,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"init","argumentNames":["forceNewScene"]} +game_init__P1235.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__P1235.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__P298727_mk(s) { +function game_init__P1235_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P298727, depth: s.depth + 1, + parent: s, fn: game_init__P1235, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4482,7 +4265,7 @@ function game_init__P298727_mk(s) { -function music_Melody_constructor__P300227(s) { +function inline__P15576(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4492,49 +4275,11 @@ 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; - if (!checkSubtype(r0, music_Melody__C300215_VT)) failedCast(r0); - r0 = (s.arg0).fields["_text"] = (s.arg1); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -music_Melody_constructor__P300227.info = {"start":6295,"length":67,"line":198,"column":8,"endLine":200,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"inline","argumentNames":["this","text"]} -music_Melody_constructor__P300227.info = {"start":6295,"length":67,"line":198,"column":8,"endLine":200,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"inline","argumentNames":["this","text"]} - -function music_Melody_constructor__P300227_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_Melody_constructor__P300227, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, - arg1: undefined, -} } - - - - - -function inline__P313393(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___313396 = undefined; - s.j___313404 = undefined; - s.x___313409 = undefined; - s.y___313415 = undefined; - s.c___313421 = undefined; + s.rounds___15579 = undefined; + s.j___15587 = undefined; + s.x___15592 = undefined; + s.y___15598 = undefined; + s.c___15604 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4547,14 +4292,14 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.rounds___313396 = (r0); - s.j___313404 = (0); + s.rounds___15579 = (r0); + s.j___15587 = (0); case 1: - r0 = (s.j___313404 < s.rounds___313396); + r0 = (s.j___15587 < s.rounds___15579); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P299003_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P1511_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -4564,8 +4309,8 @@ switch (step) { s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___313409 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P299003_mk(s); + s.x___15592 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P1511_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -4575,43 +4320,43 @@ switch (step) { s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___313415 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___313409, s.y___313415); - s.c___313421 = (r0); + s.y___15598 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___15592, s.y___15598); + s.c___15604 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___313409; - r0 = (s.y___313415 + 1); + s.tmp_1 = r0 = s.x___15592; + r0 = (s.y___15598 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___313421); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___15604); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___313409; - r0 = (s.y___313415 + 2); + s.tmp_1 = r0 = s.x___15592; + r0 = (s.y___15598 + 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___313421); - r0 = (s.j___313404 + 1); - s.j___313404 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___15604); + r0 = (s.j___15587 + 1); + s.j___15587 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P313393.info = {"start":2652,"length":386,"line":72,"column":45,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game---hw/effects.ts","functionName":"inline","argumentNames":["input","r"]} -inline__P313393.info = {"start":2652,"length":386,"line":72,"column":45,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game---hw/effects.ts","functionName":"inline","argumentNames":["input","r"]} +inline__P15576.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__P15576.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__P313393_mk(s) { +function inline__P15576_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P313393, depth: s.depth + 1, + parent: s, fn: inline__P15576, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___313396: undefined, - j___313404: undefined, - x___313409: undefined, - y___313415: undefined, - c___313421: undefined, + rounds___15579: undefined, + j___15587: undefined, + x___15592: undefined, + y___15598: undefined, + c___15604: undefined, arg0: undefined, arg1: undefined, } } @@ -4620,7 +4365,7 @@ function inline__P313393_mk(s) { -function Math_FastRandom_randomRange__P299003(s) { +function Math_FastRandom_randomRange__P1511(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4637,12 +4382,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C299001_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C1509_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__P299002_mk(s); + s.tmp_2 = Math_FastRandom_next__P1510_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 3; return s.tmp_2; case 3: @@ -4663,13 +4408,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_randomRange__P299003.info = {"start":2046,"length":131,"line":61,"column":8,"endLine":63,"endColumn":9,"fileName":"pxt_modules/game---hw/mathUtil.ts","functionName":"randomRange","argumentNames":["this","min","max"]} -Math_FastRandom_randomRange__P299003.info = {"start":2046,"length":131,"line":61,"column":8,"endLine":63,"endColumn":9,"fileName":"pxt_modules/game---hw/mathUtil.ts","functionName":"randomRange","argumentNames":["this","min","max"]} +Math_FastRandom_randomRange__P1511.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__P1511.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__P299003_mk(s) { +function Math_FastRandom_randomRange__P1511_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P299003, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomRange__P1511, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4686,7 +4431,7 @@ function Math_FastRandom_randomRange__P299003_mk(s) { -function Math_FastRandom_next__P299002(s) { +function Math_FastRandom_next__P1510(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4701,7 +4446,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C299001_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C1509_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["lfsr"]; s.tmp_3 = r0; @@ -4722,13 +4467,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_next__P299002.info = {"start":1680,"length":107,"line":52,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game---hw/mathUtil.ts","functionName":"next","argumentNames":["this"]} -Math_FastRandom_next__P299002.info = {"start":1680,"length":107,"line":52,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game---hw/mathUtil.ts","functionName":"next","argumentNames":["this"]} +Math_FastRandom_next__P1510.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__P1510.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__P299002_mk(s) { +function Math_FastRandom_next__P1510_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P299002, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_next__P1510, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4745,7 +4490,7 @@ function Math_FastRandom_next__P299002_mk(s) { -function effects_ImageEffect_constructor__P299333(s) { +function effects_ImageEffect_constructor__P1841(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4762,11 +4507,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C299329_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C1837_VT)) failedCast(r0); r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C299001_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C1509_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P299008_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P1516_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.pc = 1; return s.tmp_1; @@ -4779,13 +4524,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_constructor__P299333.info = {"start":410,"length":290,"line":10,"column":8,"endLine":15,"endColumn":9,"fileName":"pxt_modules/game---hw/effects.ts","functionName":"inline","argumentNames":["this","defaultRate","effectFactory"]} -effects_ImageEffect_constructor__P299333.info = {"start":410,"length":290,"line":10,"column":8,"endLine":15,"endColumn":9,"fileName":"pxt_modules/game---hw/effects.ts","functionName":"inline","argumentNames":["this","defaultRate","effectFactory"]} +effects_ImageEffect_constructor__P1841.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__P1841.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__P299333_mk(s) { +function effects_ImageEffect_constructor__P1841_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P299333, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_constructor__P1841, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4798,7 +4543,7 @@ function effects_ImageEffect_constructor__P299333_mk(s) { -function inline__P313501(s) { +function inline__P15684(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4808,13 +4553,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.factory___313504 = undefined; + s.factory___15687 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C299238_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C1746_VT); s.tmp_0 = r0; s.tmp_2 = if_width_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -4849,27 +4594,27 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = particles_ConfettiFactory_constructor__P299240_mk(s); + s.tmp_5 = particles_ConfettiFactory_constructor__P1748_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___313504 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P299219_mk(s); - s.tmp_0.arg0 = s.factory___313504; + s.factory___15687 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P1727_mk(s); + s.tmp_0.arg0 = s.factory___15687; s.tmp_0.arg1 = 30; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C299151_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C1659_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P299169_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P1677_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___313504; + s.tmp_1.arg3 = s.factory___15687; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -4877,13 +4622,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P313501.info = {"start":7534,"length":284,"line":191,"column":59,"endLine":195,"endColumn":5,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} -inline__P313501.info = {"start":7534,"length":284,"line":191,"column":59,"endLine":195,"endColumn":5,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} +inline__P15684.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__P15684.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__P313501_mk(s) { +function inline__P15684_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P313501, depth: s.depth + 1, + parent: s, fn: inline__P15684, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4891,7 +4636,7 @@ function inline__P313501_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___313504: undefined, + factory___15687: undefined, arg0: undefined, arg1: undefined, } } @@ -4900,7 +4645,7 @@ function inline__P313501_mk(s) { -function particles_ParticleSource_constructor__P299169(s) { +function particles_ParticleSource_constructor__P1677(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4910,8 +4655,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sources___313526 = undefined; - s.removedSource___313535 = undefined; + s.sources___15709 = undefined; + s.removedSource___15718 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4920,62 +4665,62 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C299151_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P298106_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C1659_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P614_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__P299173_mk(s); + s.tmp_0 = particles_init__P1681_mk(s); s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_particleSources__P299188_mk(s); + s.tmp_0 = particles_particleSources__P1696_mk(s); s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___313526 = (r0); - r0 = pxsim_Array__length(s.sources___313526); + s.sources___15709 = (r0); + r0 = pxsim_Array__length(s.sources___15709); s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___299130); + r0 = (s.tmp_1 >= globals.MAX_SOURCES___1638); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P299176_mk(s); - s.tmp_2.arg0 = s.sources___313526; + s.tmp_2 = particles_sortSources__P1684_mk(s); + s.tmp_2.arg0 = s.sources___15709; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___313526, 0); - s.removedSource___313535 = (r0); - s.tmp_0 = particles_ParticleSource_clear__P299162_mk(s); - s.tmp_0.arg0 = s.removedSource___313535; + r0 = pxsim_Array_.removeAt(s.sources___15709, 0); + s.removedSource___15718 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P1670_mk(s); + s.tmp_0.arg0 = s.removedSource___15718; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P299161_mk(s); - s.tmp_0.arg0 = s.removedSource___313535; + s.tmp_0 = particles_ParticleSource_destroy__P1669_mk(s); + s.tmp_0.arg0 = s.removedSource___15718; 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__P299164_mk(s); + s.tmp_0 = particles_ParticleSource_setRate__P1672_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__P299156_mk(s); + s.tmp_0 = particles_ParticleSource_setAcceleration__P1664_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__P299163_mk(s); + s.tmp_0 = particles_ParticleSource_setAnchor__P1671_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.pc = 13; return s.tmp_0; @@ -4990,18 +4735,18 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = globals.defaultFactory___299171; + r0 = globals.defaultFactory___1679; case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P299166_mk(s); + s.tmp_2 = particles_ParticleSource_setFactory__P1674_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___313526, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P299160_mk(s); + r0 = pxsim_Array__push(s.sources___15709, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P1668_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.pc = 15; return s.tmp_0; @@ -5011,19 +4756,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_constructor__P299169.info = {"start":2290,"length":899,"line":86,"column":8,"endLine":109,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"inline","argumentNames":["this","anchor","particlesPerSecond","factory"]} -particles_ParticleSource_constructor__P299169.info = {"start":2290,"length":899,"line":86,"column":8,"endLine":109,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"inline","argumentNames":["this","anchor","particlesPerSecond","factory"]} +particles_ParticleSource_constructor__P1677.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__P1677.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__P299169_mk(s) { +function particles_ParticleSource_constructor__P1677_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P299169, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_constructor__P1677, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___313526: undefined, - removedSource___313535: undefined, + sources___15709: undefined, + removedSource___15718: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5034,7 +4779,7 @@ function particles_ParticleSource_constructor__P299169_mk(s) { -function particles_particleSources__P299188(s) { +function particles_particleSources__P1696(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5044,34 +4789,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sources___313856 = undefined; - s.tmp_0 = game_currentScene__P298414_mk(s); + s.sources___16039 = undefined; + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___313856 = (r0); - r0 = s.sources___313856; + s.sources___16039 = (r0); + r0 = s.sources___16039; return leave(s, r0) default: oops() } } } -particles_particleSources__P299188.info = {"start":12831,"length":119,"line":420,"column":4,"endLine":423,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"particleSources","argumentNames":[]} -particles_particleSources__P299188.info = {"start":12831,"length":119,"line":420,"column":4,"endLine":423,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P1696.info = {"start":12831,"length":119,"line":420,"column":4,"endLine":423,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P1696.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__P299188_mk(s) { +function particles_particleSources__P1696_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P299188, depth: s.depth + 1, + parent: s, fn: particles_particleSources__P1696, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___313856: undefined, + sources___16039: undefined, } } -function particles_sortSources__P299176(s) { +function particles_sortSources__P1684(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5085,9 +4830,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySort__P297626_mk(s); + s.tmp_0 = helpers_arraySort__P55_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = inline__P313841; + s.tmp_0.arg1 = inline__P16024; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -5095,13 +4840,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources__P299176.info = {"start":10009,"length":129,"line":331,"column":4,"endLine":333,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"sortSources","argumentNames":["sources"]} -particles_sortSources__P299176.info = {"start":10009,"length":129,"line":331,"column":4,"endLine":333,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"sortSources","argumentNames":["sources"]} +particles_sortSources__P1684.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__P1684.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__P299176_mk(s) { +function particles_sortSources__P1684_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P299176, depth: s.depth + 1, + parent: s, fn: particles_sortSources__P1684, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5111,7 +4856,7 @@ function particles_sortSources__P299176_mk(s) { -function inline__P313841(s) { +function inline__P16024(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5149,13 +4894,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P313841.info = {"start":10080,"length":50,"line":332,"column":21,"endLine":332,"endColumn":71,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"inline","argumentNames":["a","b"]} -inline__P313841.info = {"start":10080,"length":50,"line":332,"column":21,"endLine":332,"endColumn":71,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"inline","argumentNames":["a","b"]} +inline__P16024.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__P16024.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__P313841_mk(s) { +function inline__P16024_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P313841, depth: s.depth + 1, + parent: s, fn: inline__P16024, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5171,7 +4916,7 @@ function inline__P313841_mk(s) { -function helpers_arraySort__P297626(s) { +function helpers_arraySort__P55(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5203,10 +4948,10 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (inline__P321815); + s.arg1 = (inline__P24037); case 3: case 4: - s.tmp_0 = helpers_sortHelper__P297625_mk(s); + s.tmp_0 = helpers_sortHelper__P54_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.pc = 5; return s.tmp_0; @@ -5215,13 +4960,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort__P297626.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__P297626.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__P55.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__P55.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__P297626_mk(s) { +function helpers_arraySort__P55_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P297626, depth: s.depth + 1, + parent: s, fn: helpers_arraySort__P55, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5235,7 +4980,7 @@ function helpers_arraySort__P297626_mk(s) { -function inline__P321815(s) { +function inline__P24037(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5245,26 +4990,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.aIsUndef___321818 = undefined; - s.bIsUndef___321822 = undefined; - s.aIsNull___321833 = undefined; - s.bIsNull___321837 = undefined; + s.aIsUndef___24040 = undefined; + s.bIsUndef___24044 = undefined; + s.aIsNull___24055 = undefined; + s.bIsNull___24059 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___321818 = (r0); + s.aIsUndef___24040 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___321822 = (r0); - s.tmp_0 = r0 = s.aIsUndef___321818; + s.bIsUndef___24044 = (r0); + s.tmp_0 = r0 = s.aIsUndef___24040; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___321822; + r0 = s.bIsUndef___24044; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -5274,13 +5019,13 @@ switch (step) { { step = 17; continue; } { step = 8; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___321818); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___24040); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___321822); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___24044); if (!r0) { step = 5; continue; } r0 = -1; { step = 17; continue; } @@ -5289,16 +5034,16 @@ switch (step) { case 7: case 8: r0 = (s.arg0 === null); - s.aIsNull___321833 = (r0); + s.aIsNull___24055 = (r0); r0 = (s.arg1 === null); - s.bIsNull___321837 = (r0); - s.tmp_0 = r0 = s.aIsNull___321833; + s.bIsNull___24059 = (r0); + s.tmp_0 = r0 = s.aIsNull___24055; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___321837; + r0 = s.bIsNull___24059; case 10: // jmp value (already in r0) s.tmp_1 = r0; @@ -5308,13 +5053,13 @@ switch (step) { { step = 17; continue; } { step = 16; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___321833); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___24055); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___321837); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___24059); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -5353,13 +5098,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P321815.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__P321815.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__P24037.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__P24037.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__P321815_mk(s) { +function inline__P24037_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P321815, depth: s.depth + 1, + parent: s, fn: inline__P24037, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5369,10 +5114,10 @@ function inline__P321815_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___321818: undefined, - bIsUndef___321822: undefined, - aIsNull___321833: undefined, - bIsNull___321837: undefined, + aIsUndef___24040: undefined, + bIsUndef___24044: undefined, + aIsNull___24055: undefined, + bIsNull___24059: undefined, arg0: undefined, arg1: undefined, } } @@ -5381,7 +5126,7 @@ function inline__P321815_mk(s) { -function helpers_sortHelper__P297625(s) { +function helpers_sortHelper__P54(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5391,9 +5136,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.len___321873 = undefined; - s.i___321876 = undefined; - s.j___321882 = undefined; + s.len___24095 = undefined; + s.i___24098 = undefined; + s.j___24104 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5421,28 +5166,28 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__length(s.arg0); - s.len___321873 = (r0); - s.i___321876 = (0); + s.len___24095 = (r0); + s.i___24098 = (0); case 5: - s.tmp_1 = r0 = s.i___321876; - r0 = (s.len___321873 - 1); + s.tmp_1 = r0 = s.i___24098; + r0 = (s.len___24095 - 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___321876 + 1); - s.j___321882 = (r0); + r0 = (s.i___24098 + 1); + s.j___24104 = (r0); case 6: - r0 = (s.j___321882 < s.len___321873); + r0 = (s.j___24104 < s.len___24095); 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___321876); + r0 = pxsim_Array__getAt(s.arg0, s.i___24098); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___321882); + r0 = pxsim_Array__getAt(s.arg0, s.j___24104); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); s.pc = 12; return s.tmp_3; @@ -5453,21 +5198,21 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P297624_mk(s); + s.tmp_4 = helpers_swap__P53_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___321876; - s.tmp_4.arg2 = s.j___321882; + s.tmp_4.arg1 = s.i___24098; + s.tmp_4.arg2 = s.j___24104; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___321882 + 1); - s.j___321882 = (r0); + r0 = (s.j___24104 + 1); + s.j___24104 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___321876 + 1); - s.i___321876 = (r0); + r0 = (s.i___24098 + 1); + s.i___24098 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -5475,22 +5220,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_sortHelper__P297625.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__P297625.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__P54.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__P54.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__P297625_mk(s) { +function helpers_sortHelper__P54_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P297625, depth: s.depth + 1, + parent: s, fn: helpers_sortHelper__P54, 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___321873: undefined, - i___321876: undefined, - j___321882: undefined, + len___24095: undefined, + i___24098: undefined, + j___24104: undefined, arg0: undefined, arg1: undefined, } } @@ -5499,7 +5244,7 @@ function helpers_sortHelper__P297625_mk(s) { -function helpers_swap__P297624(s) { +function helpers_swap__P53(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5509,7 +5254,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.temp___321911 = undefined; + s.temp___24133 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5517,29 +5262,29 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___321911 = (r0); + s.temp___24133 = (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___321911); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___24133); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_swap__P297624.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__P297624.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__P53.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__P53.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__P297624_mk(s) { +function helpers_swap__P53_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P297624, depth: s.depth + 1, + parent: s, fn: helpers_swap__P53, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___321911: undefined, + temp___24133: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5549,7 +5294,7 @@ function helpers_swap__P297624_mk(s) { -function particles_init__P299173(s) { +function particles_init__P1681(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5559,33 +5304,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___313862 = undefined; - s.tmp_0 = game_currentScene__P298414_mk(s); + s.scene___16045 = undefined; + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___313862 = (r0); - r0 = s.scene___313862.fields["particleSources"]; + s.scene___16045 = (r0); + r0 = s.scene___16045.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___313862; + s.tmp_1 = r0 = s.scene___16045; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); r0 = pxsim.control.millis(); - globals.lastUpdate___299148 = (r0); - s.tmp_0 = game_onUpdate__P298736_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P299174; + globals.lastUpdate___1656 = (r0); + s.tmp_0 = game_onUpdate__P1244_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P1682; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P298737_mk(s); + s.tmp_0 = game_onUpdateInterval__P1245_mk(s); s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P299175; + s.tmp_0.arg1 = particles_pruneParticles__P1683; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -5594,25 +5339,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_init__P299173.info = {"start":9219,"length":276,"line":303,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"init","argumentNames":[]} -particles_init__P299173.info = {"start":9219,"length":276,"line":303,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P1681.info = {"start":9219,"length":276,"line":303,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P1681.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__P299173_mk(s) { +function particles_init__P1681_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P299173, depth: s.depth + 1, + parent: s, fn: particles_init__P1681, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___313862: undefined, + scene___16045: undefined, } } -function particles_pruneParticles__P299175(s) { +function particles_pruneParticles__P1683(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5622,25 +5367,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sources___313877 = undefined; - s.tmp_0 = particles_particleSources__P299188_mk(s); + s.sources___16060 = undefined; + s.tmp_0 = particles_particleSources__P1696_mk(s); s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___313877 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___313877); + s.sources___16060 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___16060); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P297630_mk(s); - s.tmp_1 = helpers_arraySlice__P297635_mk(s); - s.tmp_1.arg0 = s.sources___313877; + s.tmp_0 = helpers_arrayForEach__P59_mk(s); + s.tmp_1 = helpers_arraySlice__P64_mk(s); + s.tmp_1.arg0 = s.sources___16060; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___313877); + r0 = pxsim_Array__length(s.sources___16060); 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__P313887; + s.tmp_0.arg1 = inline__P16070; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -5650,24 +5395,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles__P299175.info = {"start":9847,"length":156,"line":326,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"pruneParticles","argumentNames":[]} -particles_pruneParticles__P299175.info = {"start":9847,"length":156,"line":326,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P1683.info = {"start":9847,"length":156,"line":326,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P1683.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__P299175_mk(s) { +function particles_pruneParticles__P1683_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P299175, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles__P1683, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___313877: undefined, + sources___16060: undefined, } } -function inline__P313887(s) { +function inline__P16070(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5681,7 +5426,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource__prune__P299155_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P1663_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: @@ -5690,13 +5435,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P313887.info = {"start":9980,"length":15,"line":328,"column":62,"endLine":328,"endColumn":77,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"inline","argumentNames":["s"]} -inline__P313887.info = {"start":9980,"length":15,"line":328,"column":62,"endLine":328,"endColumn":77,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P16070.info = {"start":9980,"length":15,"line":328,"column":62,"endLine":328,"endColumn":77,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P16070.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__P313887_mk(s) { +function inline__P16070_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P313887, depth: s.depth + 1, + parent: s, fn: inline__P16070, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5706,7 +5451,7 @@ function inline__P313887_mk(s) { -function particles_ParticleSource__prune__P299155(s) { +function particles_ParticleSource__prune__P1663(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5716,15 +5461,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___313787 = undefined; - s.sources___313796 = undefined; - s.current___313810 = undefined; + s.scene___15970 = undefined; + s.sources___15979 = undefined; + s.current___15993 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C299151_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C1659_VT)) failedCast(r0); case 1: r0 = s.arg0.fields["head"]; s.tmp_0 = r0; @@ -5767,36 +5512,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 13; continue; } - s.tmp_5 = game_currentScene__P298414_mk(s); + s.tmp_5 = game_currentScene__P922_mk(s); s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___313787 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___313787); + s.scene___15970 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___15970); if (!r0) { step = 7; continue; } - r0 = s.scene___313787.fields["allSprites"]; + r0 = s.scene___15970.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: - s.tmp_0 = particles_particleSources__P299188_mk(s); + s.tmp_0 = particles_particleSources__P1696_mk(s); s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___313796 = (r0); - s.tmp_0 = r0 = s.sources___313796; + s.sources___15979 = (r0); + s.tmp_0 = r0 = s.sources___15979; 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___313796); + r0 = pxsim_Array__length(s.sources___15979); 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___313796, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___15979, s.arg0); case 11: case 12: r0 = s.arg0.fields["anchor"]; @@ -5805,35 +5550,35 @@ switch (step) { case 13: case 14: r0 = s.arg0.fields["head"]; - s.current___313810 = (r0); + s.current___15993 = (r0); case 15: - s.tmp_0 = r0 = s.current___313810; + s.tmp_0 = r0 = s.current___15993; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___313810.fields["next"]; + r0 = s.current___15993.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___313810.fields["next"]; + r0 = s.current___15993.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___313810.fields["next"]; + r0 = s.current___15993.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___313810).fields["next"] = (s.tmp_4); + r0 = (s.current___15993).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___313810.fields["next"]; - s.current___313810 = (r0); + r0 = s.current___15993.fields["next"]; + s.current___15993 = (r0); case 19: { step = 15; continue; } case 20: @@ -5841,13 +5586,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__prune__P299155.info = {"start":5087,"length":830,"line":165,"column":8,"endLine":188,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"_prune","argumentNames":["this"]} -particles_ParticleSource__prune__P299155.info = {"start":5087,"length":830,"line":165,"column":8,"endLine":188,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"_prune","argumentNames":["this"]} +particles_ParticleSource__prune__P1663.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__P1663.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__P299155_mk(s) { +function particles_ParticleSource__prune__P1663_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P299155, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__prune__P1663, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5855,9 +5600,9 @@ function particles_ParticleSource__prune__P299155_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___313787: undefined, - sources___313796: undefined, - current___313810: undefined, + scene___15970: undefined, + sources___15979: undefined, + current___15993: undefined, arg0: undefined, } } @@ -5865,7 +5610,7 @@ function particles_ParticleSource__prune__P299155_mk(s) { -function helpers_arraySlice__P297635(s) { +function helpers_arraySlice__P64(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5875,9 +5620,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.res___313894 = undefined; - s.len___313896 = undefined; - s.i___313930 = undefined; + s.res___16077 = undefined; + s.len___16079 = undefined; + s.i___16113 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5885,9 +5630,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___313894 = (r0); + s.res___16077 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___313896 = (r0); + s.len___16079 = (r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -5899,8 +5644,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_max__P297646_mk(s); - r0 = (s.len___313896 + s.arg1); + s.tmp_1 = Math_max__P75_mk(s); + r0 = (s.len___16079 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.pc = 16; return s.tmp_1; @@ -5910,11 +5655,11 @@ switch (step) { case 2: case 3: case 4: - r0 = (s.arg1 > s.len___313896); + r0 = (s.arg1 > s.len___16079); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___313894; + r0 = s.res___16077; { step = 15; continue; } case 5: case 6: @@ -5922,58 +5667,58 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.arg2 = (s.len___313896); + s.arg2 = (s.len___16079); { 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___313896 + s.arg2); + r0 = (s.len___16079 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___313896); + r0 = (s.arg2 > s.len___16079); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___313896); + s.arg2 = (s.len___16079); case 11: case 12: - s.i___313930 = (s.arg1); + s.i___16113 = (s.arg1); case 13: - r0 = (s.i___313930 < s.arg2); + r0 = (s.i___16113 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___313894; - r0 = pxsim_Array__getAt(s.arg0, s.i___313930); + s.tmp_1 = r0 = s.res___16077; + r0 = pxsim_Array__getAt(s.arg0, s.i___16113); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___313930 + 1); - s.i___313930 = (r0); + r0 = (s.i___16113 + 1); + s.i___16113 = (r0); { step = 13; continue; } case 14: - r0 = s.res___313894; + r0 = s.res___16077; case 15: return leave(s, r0) default: oops() } } } -helpers_arraySlice__P297635.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__P297635.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__P64.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__P64.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__P297635_mk(s) { +function helpers_arraySlice__P64_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P297635, depth: s.depth + 1, + parent: s, fn: helpers_arraySlice__P64, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___313894: undefined, - len___313896: undefined, - i___313930: undefined, + res___16077: undefined, + len___16079: undefined, + i___16113: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5983,7 +5728,7 @@ function helpers_arraySlice__P297635_mk(s) { -function Math_max__P297646(s) { +function Math_max__P75(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6011,13 +5756,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_max__P297646.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__P297646.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__P75.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__P75.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 Math_max__P297646_mk(s) { +function Math_max__P75_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_max__P297646, depth: s.depth + 1, + parent: s, fn: Math_max__P75, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6028,7 +5773,7 @@ function Math_max__P297646_mk(s) { -function particles_updateParticles__P299174(s) { +function particles_updateParticles__P1682(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6038,16 +5783,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sources___314415 = undefined; - s.time___314422 = undefined; - s.dt___314425 = undefined; - s.i___314431 = undefined; - s.tmp_0 = particles_particleSources__P299188_mk(s); + s.sources___16598 = undefined; + s.time___16605 = undefined; + s.dt___16608 = undefined; + s.i___16614 = undefined; + s.tmp_0 = particles_particleSources__P1696_mk(s); s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___314415 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___314415); + s.sources___16598 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___16598); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -6056,34 +5801,34 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = particles_sortSources__P299176_mk(s); - s.tmp_2.arg0 = s.sources___314415; + s.tmp_2 = particles_sortSources__P1684_mk(s); + s.tmp_2.arg0 = s.sources___16598; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___314422 = (r0); - r0 = (s.time___314422 - globals.lastUpdate___299148); - s.dt___314425 = (r0); - globals.lastUpdate___299148 = (s.time___314422); - s.i___314431 = (0); + s.time___16605 = (r0); + r0 = (s.time___16605 - globals.lastUpdate___1656); + s.dt___16608 = (r0); + globals.lastUpdate___1656 = (s.time___16605); + s.i___16614 = (0); case 3: - s.tmp_1 = r0 = s.i___314431; - r0 = pxsim_Array__length(s.sources___314415); + s.tmp_1 = r0 = s.i___16614; + r0 = pxsim_Array__length(s.sources___16598); 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__P299154_mk(s); - r0 = pxsim_Array__getAt(s.sources___314415, s.i___314431); + s.tmp_3 = particles_ParticleSource__update__P1662_mk(s); + r0 = pxsim_Array__getAt(s.sources___16598, s.i___16614); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___314425; + s.tmp_3.arg1 = s.dt___16608; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___314431 + 1); - s.i___314431 = (r0); + r0 = (s.i___16614 + 1); + s.i___16614 = (r0); { step = 3; continue; } case 4: case 5: @@ -6091,29 +5836,29 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_updateParticles__P299174.info = {"start":9501,"length":340,"line":312,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"updateParticles","argumentNames":[]} -particles_updateParticles__P299174.info = {"start":9501,"length":340,"line":312,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P1682.info = {"start":9501,"length":340,"line":312,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P1682.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__P299174_mk(s) { +function particles_updateParticles__P1682_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P299174, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P1682, 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___314415: undefined, - time___314422: undefined, - dt___314425: undefined, - i___314431: undefined, + sources___16598: undefined, + time___16605: undefined, + dt___16608: undefined, + i___16614: undefined, } } -function particles_ParticleSource__update__P299154(s) { +function particles_ParticleSource__update__P1662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6123,16 +5868,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.p___314495 = undefined; - s.current___314514 = undefined; - s.fixedDt___314522 = undefined; + s.p___16678 = undefined; + s.current___16697 = undefined; + s.fixedDt___16705 = 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__C299151_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C1659_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; @@ -6158,7 +5903,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["lifespan"] = (undefined); - s.tmp_0 = particles_ParticleSource_destroy__P299161_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P1669_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 28; return s.tmp_0; case 28: @@ -6231,7 +5976,7 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_2 = particles_ParticleSource_enabled__P299159_mk(s); + s.tmp_2 = particles_ParticleSource_enabled__P1667_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 31; return s.tmp_2; case 31: @@ -6249,18 +5994,18 @@ switch (step) { r0 = (s.tmp_6 + s.tmp_7); s.tmp_5 = r0; r0 = (s.tmp_4).fields["timer"] = (s.tmp_5); - s.tmp_0 = particles_ParticleFactory__C299211_v0_2_mk(s); + s.tmp_0 = particles_ParticleFactory__C1719_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__C299211_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C1719_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___314495 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___314495); + s.p___16678 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___16678); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -6271,8 +6016,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___314495).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___314495); + r0 = (s.p___16678).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___16678); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -6287,7 +6032,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___314514 = (r0); + s.current___16697 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -6299,36 +6044,36 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___314522 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___314522); + s.fixedDt___16705 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___16705); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___314514.fields["lifespan"]; + r0 = s.current___16697.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___314514; + s.tmp_2 = r0 = s.current___16697; 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__C299151_v4_3_mk(s); + s.tmp_0 = particles_ParticleSource__C1659_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___314514; - s.tmp_0.arg2 = s.fixedDt___314522; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C299151_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.current___16697; + s.tmp_0.arg2 = s.fixedDt___16705; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C1659_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___314514.fields["next"]; + r0 = s.current___16697.fields["next"]; s.tmp_0 = r0; - s.current___314514 = (r0); + s.current___16697 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -6337,15 +6082,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___314514; + s.tmp_0 = r0 = s.current___16697; 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___314514.fields["next"]; + r0 = s.current___16697.fields["next"]; s.tmp_0 = r0; - s.current___314514 = (r0); + s.current___16697 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -6356,13 +6101,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__update__P299154.info = {"start":3677,"length":1400,"line":123,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"_update","argumentNames":["this","dt"]} -particles_ParticleSource__update__P299154.info = {"start":3677,"length":1400,"line":123,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"_update","argumentNames":["this","dt"]} +particles_ParticleSource__update__P1662.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__P1662.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__P299154_mk(s) { +function particles_ParticleSource__update__P1662_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P299154, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__update__P1662, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6372,9 +6117,9 @@ function particles_ParticleSource__update__P299154_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___314495: undefined, - current___314514: undefined, - fixedDt___314522: undefined, + p___16678: undefined, + current___16697: undefined, + fixedDt___16705: undefined, arg0: undefined, arg1: undefined, } } @@ -6383,7 +6128,7 @@ function particles_ParticleSource__update__P299154_mk(s) { -function particles_ParticleFactory_createParticle__P299212(s) { +function particles_ParticleFactory_createParticle__P1720(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6393,17 +6138,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.p___314623 = undefined; + s.p___16806 = 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__C299211_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C299149_VT); - s.p___314623 = (r0); - s.tmp_0 = r0 = s.p___314623; + if (!checkSubtype(r0, particles_ParticleFactory__C1719_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C1657_VT); + s.p___16806 = (r0); + s.tmp_0 = r0 = s.p___16806; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -6422,7 +6167,7 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___314623; + s.tmp_0 = r0 = s.p___16806; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -6441,27 +6186,27 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___314623).fields["vx"] = (0); - r0 = (s.p___314623).fields["vy"] = (0); - r0 = (s.p___314623).fields["lifespan"] = (500); - r0 = s.p___314623; + r0 = (s.p___16806).fields["vx"] = (0); + r0 = (s.p___16806).fields["vy"] = (0); + r0 = (s.p___16806).fields["lifespan"] = (500); + r0 = s.p___16806; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_createParticle__P299212.info = {"start":1822,"length":282,"line":67,"column":8,"endLine":77,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} -particles_ParticleFactory_createParticle__P299212.info = {"start":1822,"length":282,"line":67,"column":8,"endLine":77,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} +particles_ParticleFactory_createParticle__P1720.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__P1720.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__P299212_mk(s) { +function particles_ParticleFactory_createParticle__P1720_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P299212, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_createParticle__P1720, 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___314623: undefined, + p___16806: undefined, arg0: undefined, arg1: undefined, } } @@ -6470,7 +6215,7 @@ function particles_ParticleFactory_createParticle__P299212_mk(s) { -function particles_ParticleSource_updateParticle__P299167(s) { +function particles_ParticleSource_updateParticle__P1675(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6487,7 +6232,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C299151_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C1659_VT)) failedCast(r0); r0 = (s.arg2 >> 10); s.arg2 = (r0); s.tmp_0 = r0 = s.arg1; @@ -6542,13 +6287,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P299167.info = {"start":8231,"length":357,"line":276,"column":8,"endLine":284,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"updateParticle","argumentNames":["this","p","fixedDt"]} -particles_ParticleSource_updateParticle__P299167.info = {"start":8231,"length":357,"line":276,"column":8,"endLine":284,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"updateParticle","argumentNames":["this","p","fixedDt"]} +particles_ParticleSource_updateParticle__P1675.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__P1675.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__P299167_mk(s) { +function particles_ParticleSource_updateParticle__P1675_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P299167, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P1675, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6565,7 +6310,7 @@ function particles_ParticleSource_updateParticle__P299167_mk(s) { -function Fx_rightShift__P297694(s) { +function Fx_rightShift__P123(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6584,13 +6329,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_rightShift__P297694.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__P297694.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__P123.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__P123.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__P297694_mk(s) { +function Fx_rightShift__P123_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P297694, depth: s.depth + 1, + parent: s, fn: Fx_rightShift__P123, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -6600,7 +6345,7 @@ function Fx_rightShift__P297694_mk(s) { -function Fx_mul__P297685(s) { +function Fx_mul__P114(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6621,13 +6366,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_mul__P297685.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__P297685.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__P114.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__P114.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__P297685_mk(s) { +function Fx_mul__P114_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P297685, depth: s.depth + 1, + parent: s, fn: Fx_mul__P114, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6638,7 +6383,7 @@ function Fx_mul__P297685_mk(s) { -function Fx_add__P297682(s) { +function Fx_add__P111(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6657,13 +6402,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_add__P297682.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__P297682.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__P111.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__P111.info = {"start":511,"length":118,"line":20,"column":4,"endLine":22,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"add","argumentNames":["a","b"]} -function Fx_add__P297682_mk(s) { +function Fx_add__P111_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P297682, depth: s.depth + 1, + parent: s, fn: Fx_add__P111, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -6673,7 +6418,7 @@ function Fx_add__P297682_mk(s) { -function game_onUpdateInterval__P298737(s) { +function game_onUpdateInterval__P1245(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6683,13 +6428,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.timer___313954 = undefined; + s.timer___16137 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P298727_mk(s); + s.tmp_0 = game_init__P1235_mk(s); s.tmp_0.arg0 = undefined; s.pc = 6; return s.tmp_0; case 6: @@ -6713,15 +6458,15 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___313954 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___313954, 0); - r0 = pxsim_pxtcore_mkAction(3, inline__P313958); + s.timer___16137 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___16137, 0); + r0 = pxsim_pxtcore_mkAction(3, inline__P16141); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___313954); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___16137); 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__P297845_mk(s); - s.tmp_2 = game_eventContext__P298726_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P274_mk(s); + s.tmp_2 = game_eventContext__P1234_mk(s); s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; @@ -6736,18 +6481,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval__P298737.info = {"start":7931,"length":417,"line":256,"column":4,"endLine":267,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} -game_onUpdateInterval__P298737.info = {"start":7931,"length":417,"line":256,"column":4,"endLine":267,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} +game_onUpdateInterval__P1245.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__P1245.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 game_onUpdateInterval__P298737_mk(s) { +function game_onUpdateInterval__P1245_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P298737, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P1245, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___313954: undefined, + timer___16137: undefined, arg0: undefined, arg1: undefined, } } @@ -6756,7 +6501,7 @@ function game_onUpdateInterval__P298737_mk(s) { -function inline__P313958(s) { +function inline__P16141(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6766,22 +6511,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.time___313959 = undefined; - s.tmp_1 = game_currentScene__P298414_mk(s); + s.time___16142 = undefined; + s.tmp_1 = game_currentScene__P922_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___313959 = (r0); + s.time___16142 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___313959); + r0 = (s.tmp_1 <= s.time___16142); 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___313959 + s.caps[1]); + r0 = (s.time___16142 + s.caps[1]); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); s.tmp_0 = lambda_1_mk(s); @@ -6796,26 +6541,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P313958.info = {"start":8161,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game---hw/game.ts","functionName":"inline","argumentNames":[]} -inline__P313958.info = {"start":8161,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game---hw/game.ts","functionName":"inline","argumentNames":[]} +inline__P16141.info = {"start":8161,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +inline__P16141.info = {"start":8161,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function inline__P313958_mk(s) { +function inline__P16141_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P313958, depth: s.depth + 1, + parent: s, fn: inline__P16141, 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___313959: undefined, + time___16142: undefined, } } -function scene_Scene_millis__P298636(s) { +function scene_Scene_millis__P1144(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6830,18 +6575,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C298633_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C1141_VT)) failedCast(r0); r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -scene_Scene_millis__P298636.info = {"start":6341,"length":61,"line":176,"column":8,"endLine":178,"endColumn":9,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"millis","argumentNames":["this"]} -scene_Scene_millis__P298636.info = {"start":6341,"length":61,"line":176,"column":8,"endLine":178,"endColumn":9,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"millis","argumentNames":["this"]} +scene_Scene_millis__P1144.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__P1144.info = {"start":6341,"length":61,"line":176,"column":8,"endLine":178,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} -function scene_Scene_millis__P298636_mk(s) { +function scene_Scene_millis__P1144_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_millis__P298636, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P1144, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6850,7 +6595,7 @@ function scene_Scene_millis__P298636_mk(s) { -function control_EventContext_registerFrameHandler__P297845(s) { +function control_EventContext_registerFrameHandler__P274(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6860,8 +6605,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.fn___313986 = undefined; - s.i___313997 = undefined; + s.fn___16169 = undefined; + s.i___16180 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6869,7 +6614,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C297839_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C268_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -6882,20 +6627,20 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = (s.tmp_3).fields["frameCallbacks"] = (s.tmp_4); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P297842_mk(s); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P271_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C297833_VT); - s.fn___313986 = (r0); - r0 = (s.fn___313986).fields["order"] = (s.arg1); - r0 = (s.fn___313986).fields["handler"] = (s.arg2); - s.i___313997 = (0); + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C262_VT); + s.fn___16169 = (r0); + r0 = (s.fn___16169).fields["order"] = (s.arg1); + r0 = (s.fn___16169).fields["handler"] = (s.arg2); + s.i___16180 = (0); case 3: - s.tmp_1 = r0 = s.i___313997; + s.tmp_1 = r0 = s.i___16180; r0 = s.arg0.fields["frameCallbacks"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -6906,7 +6651,7 @@ switch (step) { if (!r0) { step = 6; continue; } r0 = s.arg0.fields["frameCallbacks"]; s.tmp_6 = r0; - r0 = pxsim_Array__getAt(s.tmp_6, s.i___313997); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___16180); r0 = r0.fields["order"]; s.tmp_5 = r0; r0 = (s.tmp_5 > s.arg1); @@ -6915,29 +6660,29 @@ switch (step) { if (!r0) { step = 4; continue; } r0 = s.arg0.fields["frameCallbacks"]; s.tmp_7 = r0; - r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___313997, s.fn___313986); + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___16180, s.fn___16169); { step = 7; continue; } case 4: case 5: - r0 = (s.i___313997 + 1); - s.i___313997 = (r0); + r0 = (s.i___16180 + 1); + s.i___16180 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___313986); + r0 = pxsim_Array__push(s.tmp_0, s.fn___16169); case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameHandler__P297845.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__P297845.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__P274.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__P274.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_EventContext_registerFrameHandler__P297845_mk(s) { +function control_EventContext_registerFrameHandler__P274_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameHandler__P297845, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P274, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6947,8 +6692,8 @@ function control_EventContext_registerFrameHandler__P297845_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___313986: undefined, - i___313997: undefined, + fn___16169: undefined, + i___16180: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6958,7 +6703,7 @@ function control_EventContext_registerFrameHandler__P297845_mk(s) { -function control_EventContext_registerFrameCallbacks__P297842(s) { +function control_EventContext_registerFrameCallbacks__P271(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6968,13 +6713,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.worker___314030 = undefined; + s.worker___16213 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C297839_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C268_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -6987,29 +6732,29 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___314030 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P314036); + s.worker___16213 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P16219); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___314030); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___16213); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks__P297842.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__P297842.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__P271.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__P271.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__P297842_mk(s) { +function control_EventContext_registerFrameCallbacks__P271_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P297842, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P271, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___314030: undefined, + worker___16213: undefined, arg0: undefined, } } @@ -7017,7 +6762,7 @@ function control_EventContext_registerFrameCallbacks__P297842_mk(s) { -function inline__P314036(s) { +function inline__P16219(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7027,15 +6772,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.delay___314067 = undefined; + s.delay___16250 = 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__P314042); + r0 = pxsim_pxtcore_mkAction(1, inline__P16225); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); - s.tmp_2 = pauseUntil__P297799_mk(s); + s.tmp_2 = pauseUntil__P228_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = undefined; s.pc = 5; return s.tmp_2; @@ -7058,14 +6803,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = control_EventContext_runCallbacks__P297841_mk(s); + s.tmp_2 = control_EventContext_runCallbacks__P270_mk(s); s.tmp_2.arg0 = s.caps[0]; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.delay___314067 = (r0); - s.tmp_0 = pause__P297860_mk(s); - s.tmp_0.arg0 = s.delay___314067; + s.delay___16250 = (r0); + s.tmp_0 = pause__P289_mk(s); + s.tmp_0.arg0 = s.delay___16250; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -7076,25 +6821,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P314036.info = {"start":3502,"length":723,"line":106,"column":34,"endLine":125,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -inline__P314036.info = {"start":3502,"length":723,"line":106,"column":34,"endLine":125,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P16219.info = {"start":3502,"length":723,"line":106,"column":34,"endLine":125,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P16219.info = {"start":3502,"length":723,"line":106,"column":34,"endLine":125,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P314036_mk(s) { +function inline__P16219_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P314036, depth: s.depth + 1, + parent: s, fn: inline__P16219, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___314067: undefined, + delay___16250: undefined, } } -function inline__P314042(s) { +function inline__P16225(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7112,13 +6857,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P314042.info = {"start":3733,"length":28,"line":110,"column":31,"endLine":110,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -inline__P314042.info = {"start":3733,"length":28,"line":110,"column":31,"endLine":110,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P16225.info = {"start":3733,"length":28,"line":110,"column":31,"endLine":110,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P16225.info = {"start":3733,"length":28,"line":110,"column":31,"endLine":110,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P314042_mk(s) { +function inline__P16225_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P314042, depth: s.depth + 1, + parent: s, fn: inline__P16225, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7128,7 +6873,7 @@ function inline__P314042_mk(s) { -function control_EventContext_runCallbacks__P297841(s) { +function control_EventContext_runCallbacks__P270(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7138,42 +6883,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.loopStart___314076 = undefined; - s.f___314089 = undefined; - s.unnamed2870___U2 = undefined; - s.unnamed2871___U3 = undefined; - s.runtime___314094 = undefined; - s.fps___314114 = undefined; - s.delay___314172 = undefined; + s.loopStart___16259 = undefined; + s.f___16272 = undefined; + s.unnamed48___U2 = undefined; + s.unnamed49___U3 = undefined; + s.runtime___16277 = undefined; + s.fps___16297 = undefined; + s.delay___16355 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C297839_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C268_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___314076 = (r0); + s.loopStart___16259 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___314076 - s.tmp_2); + r0 = (s.loopStart___16259 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___314076); - s.f___314089 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___16259); + s.f___16272 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed2870___U2 = (r0); - s.unnamed2871___U3 = (0); + s.unnamed48___U2 = (r0); + s.unnamed49___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed2871___U3; - r0 = pxsim_Array__length(s.unnamed2870___U2); + s.tmp_0 = r0 = s.unnamed49___U3; + r0 = pxsim_Array__length(s.unnamed48___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed2870___U2, s.unnamed2871___U3); - s.f___314089 = (r0); + r0 = pxsim_Array__getAt(s.unnamed48___U2, s.unnamed49___U3); + s.f___16272 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___314089; + s.tmp_2.arg0 = s.f___16272; 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; @@ -7185,19 +6930,19 @@ switch (step) { } case 11: r0 = s.retval; - r0 = (s.unnamed2871___U3 + 1); - s.unnamed2871___U3 = (r0); + r0 = (s.unnamed49___U3 + 1); + s.unnamed49___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed2870___U2 = (undefined); + s.unnamed48___U2 = (undefined); r0 = pxsim.control.millis(); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.loopStart___314076); - s.runtime___314094 = (r0); + r0 = (s.tmp_0 - s.loopStart___16259); + s.runtime___16277 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___314094); + r0 = (s.tmp_2 + s.runtime___16277); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -7230,8 +6975,8 @@ switch (step) { r0 = (s.tmp_6 / 1000); s.tmp_5 = r0; r0 = (s.tmp_4 / s.tmp_5); - s.fps___314114 = (r0); - r0 = pxsim.Math_.round(s.fps___314114); + s.fps___16297 = (r0); + r0 = pxsim.Math_.round(s.fps___16297); s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 12); @@ -7243,21 +6988,21 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat("fps:", s.tmp_0); - globals.control_EventContext_lastStats___297850 = (r0); - r0 = (s.fps___314114 < 99); + globals.control_EventContext_lastStats___279 = (r0); + r0 = (s.fps___16297 < 99); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - if ((globals.control_EventContext_lastStats___297850) && (globals.control_EventContext_lastStats___297850).vtable) { + if ((globals.control_EventContext_lastStats___279) && (globals.control_EventContext_lastStats___279).vtable) { setupResume(s, 13); - pxsim_String__stringConv(globals.control_EventContext_lastStats___297850); + pxsim_String__stringConv(globals.control_EventContext_lastStats___279); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___297850) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___279) + ""; } case 13: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___314114 * 10); + r0 = (s.fps___16297 * 10); s.tmp_7 = r0; r0 = pxsim.Math_.round(s.tmp_7); s.tmp_6 = r0; @@ -7284,7 +7029,7 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - globals.control_EventContext_lastStats___297850 = (r0); + globals.control_EventContext_lastStats___279 = (r0); case 5: case 6: r0 = pxsim.control.profilingEnabled(); @@ -7293,7 +7038,7 @@ switch (step) { if (!r0) { step = 7; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_5 = r0; - r0 = (s.fps___314114 * 100); + r0 = (s.fps___16297 * 100); s.tmp_8 = r0; r0 = (s.tmp_8 | 0); s.tmp_7 = r0; @@ -7334,25 +7079,25 @@ switch (step) { r0 = (s.arg0).fields["framesInSample"] = (0); case 9: case 10: - s.tmp_0 = Math_max__P297646_mk(s); + s.tmp_0 = Math_max__P75_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___314094); + r0 = (20 - s.runtime___16277); s.tmp_0.arg1 = r0; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.delay___314172 = (r0); - r0 = s.delay___314172; + s.delay___16355 = (r0); + r0 = s.delay___16355; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P297841.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__P297841.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__P270.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__P270.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_EventContext_runCallbacks__P297841_mk(s) { +function control_EventContext_runCallbacks__P270_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P297841, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P270, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7365,13 +7110,13 @@ function control_EventContext_runCallbacks__P297841_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - loopStart___314076: undefined, - f___314089: undefined, - unnamed2870___U2: undefined, - unnamed2871___U3: undefined, - runtime___314094: undefined, - fps___314114: undefined, - delay___314172: undefined, + loopStart___16259: undefined, + f___16272: undefined, + unnamed48___U2: undefined, + unnamed49___U3: undefined, + runtime___16277: undefined, + fps___16297: undefined, + delay___16355: undefined, arg0: undefined, } } @@ -7379,7 +7124,7 @@ function control_EventContext_runCallbacks__P297841_mk(s) { -function pauseUntil__P297799(s) { +function pauseUntil__P228(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7426,7 +7171,7 @@ switch (step) { s.arg1 = (0); case 5: case 6: - s.tmp_0 = control___queuePollEvent__P297781_mk(s); + s.tmp_0 = control___queuePollEvent__P210_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = undefined; @@ -7438,13 +7183,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -pauseUntil__P297799.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__P297799.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__P228.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__P228.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 pauseUntil__P297799_mk(s) { +function pauseUntil__P228_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P297799, depth: s.depth + 1, + parent: s, fn: pauseUntil__P228, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7460,7 +7205,7 @@ function pauseUntil__P297799_mk(s) { -function control___queuePollEvent__P297781(s) { +function control___queuePollEvent__P210(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7470,16 +7215,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ev___314194 = undefined; + s.ev___16377 = 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__C297776_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C205_VT); s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P297777_mk(s); + s.tmp_1 = control_PollEvent_constructor__P206_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1.arg1 = r0; @@ -7495,8 +7240,8 @@ switch (step) { s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___314194 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___297779); + s.ev___16377 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___208); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -7504,19 +7249,19 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_2, s.ev___314194); - globals._pollEventQueue___297779 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P297780); + r0 = pxsim_Array__push(s.tmp_2, s.ev___16377); + globals._pollEventQueue___208 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P209); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___297779, s.ev___314194); + r0 = pxsim_Array__push(globals._pollEventQueue___208, s.ev___16377); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P297832_mk(s); - r0 = s.ev___314194.fields["eid"]; + s.tmp_0 = control_onEvent__P261_mk(s); + r0 = s.ev___16377.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___314194.fields["vid"]; + r0 = s.ev___16377.fields["vid"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 16; @@ -7525,9 +7270,9 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.ev___314194.fields["eid"]; + r0 = s.ev___16377.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___314194.fields["vid"]; + r0 = s.ev___16377.fields["vid"]; s.tmp_1 = r0; setupResume(s, 7); pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); @@ -7540,18 +7285,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___queuePollEvent__P297781.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__P297781.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__P210.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__P210.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 control___queuePollEvent__P297781_mk(s) { +function control___queuePollEvent__P210_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P297781, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P210, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___314194: undefined, + ev___16377: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7561,7 +7306,7 @@ function control___queuePollEvent__P297781_mk(s) { -function control_onEvent__P297832(s) { +function control_onEvent__P261(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7571,7 +7316,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ctx___314236 = undefined; + s.ctx___16419 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7579,12 +7324,12 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = control_eventContext__P297854_mk(s); + s.tmp_0 = control_eventContext__P283_mk(s); s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___314236 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___314236); + s.ctx___16419 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___16419); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -7593,8 +7338,8 @@ switch (step) { r0 = pxsim.control.internalOnEvent(s.arg0, s.arg1, s.arg2, s.arg3); { step = 2; continue; } case 1: - s.tmp_0 = control_EventContext_registerHandler__P297846_mk(s); - s.tmp_0.arg0 = s.ctx___314236; + s.tmp_0 = control_EventContext_registerHandler__P275_mk(s); + s.tmp_0.arg0 = s.ctx___16419; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; @@ -7607,17 +7352,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_onEvent__P297832.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__P297832.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__P261.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__P261.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__P297832_mk(s) { +function control_onEvent__P261_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P297832, depth: s.depth + 1, + parent: s, fn: control_onEvent__P261, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___314236: undefined, + ctx___16419: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7628,7 +7373,7 @@ function control_onEvent__P297832_mk(s) { -function control_eventContext__P297854(s) { +function control_eventContext__P283(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7638,10 +7383,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___297853); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___282); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___297853; - r0 = pxsim_Array__length(globals.eventContexts___297853); + s.tmp_0 = r0 = globals.eventContexts___282; + r0 = pxsim_Array__length(globals.eventContexts___282); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -7656,13 +7401,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_eventContext__P297854.info = {"start":6479,"length":136,"line":198,"column":4,"endLine":200,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} -control_eventContext__P297854.info = {"start":6479,"length":136,"line":198,"column":4,"endLine":200,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +control_eventContext__P283.info = {"start":6479,"length":136,"line":198,"column":4,"endLine":200,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +control_eventContext__P283.info = {"start":6479,"length":136,"line":198,"column":4,"endLine":200,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} -function control_eventContext__P297854_mk(s) { +function control_eventContext__P283_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P297854, depth: s.depth + 1, + parent: s, fn: control_eventContext__P283, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7674,7 +7419,7 @@ function control_eventContext__P297854_mk(s) { -function control_EventContext_registerHandler__P297846(s) { +function control_EventContext_registerHandler__P275(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7684,10 +7429,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.h___314259 = undefined; - s.unnamed2876___U1 = undefined; - s.unnamed2877___U2 = undefined; - s.hn___314282 = undefined; + s.h___16442 = undefined; + s.unnamed54___U1 = undefined; + s.unnamed55___U2 = undefined; + s.hn___16465 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7697,20 +7442,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C297839_VT)) failedCast(r0); - s.h___314259 = (undefined); + if (!checkSubtype(r0, control_EventContext__C268_VT)) failedCast(r0); + s.h___16442 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed2876___U1 = (r0); - s.unnamed2877___U2 = (0); + s.unnamed54___U1 = (r0); + s.unnamed55___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed2877___U2; - r0 = pxsim_Array__length(s.unnamed2876___U1); + s.tmp_0 = r0 = s.unnamed55___U2; + r0 = pxsim_Array__length(s.unnamed54___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed2876___U1, s.unnamed2877___U2); - s.h___314259 = (r0); - r0 = s.h___314259.fields["src"]; + r0 = pxsim_Array__getAt(s.unnamed54___U1, s.unnamed55___U2); + s.h___16442 = (r0); + r0 = s.h___16442.fields["src"]; s.tmp_3 = r0; r0 = (s.tmp_3 == s.arg1); s.tmp_2 = r0; @@ -7719,7 +7464,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = s.h___314259.fields["value"]; + r0 = s.h___16442.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -7727,19 +7472,19 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___314259).fields["flags"] = (s.arg4); - r0 = (s.h___314259).fields["handler"] = (s.arg3); + r0 = (s.h___16442).fields["flags"] = (s.arg4); + r0 = (s.h___16442).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed2877___U2 + 1); - s.unnamed2877___U2 = (r0); + r0 = (s.unnamed55___U2 + 1); + s.unnamed55___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed2876___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C297834_VT); + s.unnamed54___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C263_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P297837_mk(s); + s.tmp_1 = control_EventHandler_constructor__P266_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -7748,12 +7493,12 @@ switch (step) { s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___314282 = (s.tmp_0); + s.hn___16465 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___314282); - s.tmp_0 = control_EventHandler_register__P297835_mk(s); - s.tmp_0.arg0 = s.hn___314282; + r0 = pxsim_Array__push(s.tmp_0, s.hn___16465); + s.tmp_0 = control_EventHandler_register__P264_mk(s); + s.tmp_0.arg0 = s.hn___16465; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; @@ -7762,13 +7507,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerHandler__P297846.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__P297846.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__P275.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__P275.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__P297846_mk(s) { +function control_EventContext_registerHandler__P275_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerHandler__P297846, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P275, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7776,10 +7521,10 @@ function control_EventContext_registerHandler__P297846_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___314259: undefined, - unnamed2876___U1: undefined, - unnamed2877___U2: undefined, - hn___314282: undefined, + h___16442: undefined, + unnamed54___U1: undefined, + unnamed55___U2: undefined, + hn___16465: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7791,7 +7536,7 @@ function control_EventContext_registerHandler__P297846_mk(s) { -function control_EventHandler_constructor__P297837(s) { +function control_EventHandler_constructor__P266(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7810,7 +7555,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C297834_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C263_VT)) failedCast(r0); r0 = (s.arg0).fields["src"] = (s.arg1); r0 = (s.arg0).fields["value"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -7819,13 +7564,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P297837.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__P297837.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__P266.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__P266.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 control_EventHandler_constructor__P297837_mk(s) { +function control_EventHandler_constructor__P266_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P297837, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P266, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -7838,7 +7583,7 @@ function control_EventHandler_constructor__P297837_mk(s) { -function control_EventHandler_register__P297835(s) { +function control_EventHandler_register__P264(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7853,8 +7598,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C297834_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P314303); + if (!checkSubtype(r0, control_EventHandler__C263_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P16486); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -7868,13 +7613,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register__P297835.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__P297835.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__P264.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__P264.info = {"start":954,"length":165,"line":30,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} -function control_EventHandler_register__P297835_mk(s) { +function control_EventHandler_register__P264_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P297835, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P264, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7887,7 +7632,7 @@ function control_EventHandler_register__P297835_mk(s) { -function inline__P314303(s) { +function inline__P16486(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7920,13 +7665,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P314303.info = {"start":1025,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -inline__P314303.info = {"start":1025,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P16486.info = {"start":1025,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P16486.info = {"start":1025,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P314303_mk(s) { +function inline__P16486_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P314303, depth: s.depth + 1, + parent: s, fn: inline__P16486, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7936,7 +7681,7 @@ function inline__P314303_mk(s) { -function control_pollEvents__P297780(s) { +function control_pollEvents__P209(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7946,31 +7691,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.now___314320 = undefined; - s.i___314323 = undefined; - s.ev___314329 = undefined; + s.now___16503 = undefined; + s.i___16506 = undefined; + s.ev___16512 = undefined; case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___297779); + r0 = pxsim_Array__length(globals._pollEventQueue___208); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } r0 = pxsim.control.millis(); - s.now___314320 = (r0); - s.i___314323 = (0); + s.now___16503 = (r0); + s.i___16506 = (0); case 2: - s.tmp_1 = r0 = s.i___314323; - r0 = pxsim_Array__length(globals._pollEventQueue___297779); + s.tmp_1 = r0 = s.i___16506; + r0 = pxsim_Array__length(globals._pollEventQueue___208); 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___297779, s.i___314323); - s.ev___314329 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___208, s.i___16506); + s.ev___16512 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___314329; + s.tmp_1.arg0 = s.ev___16512; 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; @@ -7988,7 +7733,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 3: - r0 = s.ev___314329.fields["timeOut"]; + r0 = s.ev___16512.fields["timeOut"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 0); s.tmp_2 = r0; @@ -7997,11 +7742,11 @@ switch (step) { r0 = s.tmp_2; { step = 5; continue; } case 4: - r0 = s.ev___314329.fields["start"]; + r0 = s.ev___16512.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___314320 - s.tmp_5); + r0 = (s.now___16503 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___314329.fields["timeOut"]; + r0 = s.ev___16512.fields["timeOut"]; s.tmp_6 = r0; r0 = (s.tmp_4 > s.tmp_6); case 5: @@ -8013,51 +7758,51 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - r0 = s.ev___314329.fields["eid"]; + r0 = s.ev___16512.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___314329.fields["vid"]; + r0 = s.ev___16512.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___314329.fields["once"]; + r0 = s.ev___16512.fields["once"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_arraySplice__P297619_mk(s); - s.tmp_1.arg0 = globals._pollEventQueue___297779; - s.tmp_1.arg1 = s.i___314323; + s.tmp_1 = helpers_arraySplice__P48_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___208; + s.tmp_1.arg1 = s.i___16506; s.tmp_1.arg2 = 1; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___314323 - 1); - s.i___314323 = (r0); + r0 = (s.i___16506 - 1); + s.i___16506 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___314323 + 1); - s.i___314323 = (r0); + r0 = (s.i___16506 + 1); + s.i___16506 = (r0); { step = 2; continue; } case 11: - s.tmp_0 = pause__P297860_mk(s); + s.tmp_0 = pause__P289_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___297779 = (undefined); + globals._pollEventQueue___208 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_pollEvents__P297780.info = {"start":5231,"length":638,"line":176,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"pollEvents","argumentNames":[]} -control_pollEvents__P297780.info = {"start":5231,"length":638,"line":176,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P209.info = {"start":5231,"length":638,"line":176,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P209.info = {"start":5231,"length":638,"line":176,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"pollEvents","argumentNames":[]} -function control_pollEvents__P297780_mk(s) { +function control_pollEvents__P209_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P297780, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P209, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8070,16 +7815,16 @@ function control_pollEvents__P297780_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___314320: undefined, - i___314323: undefined, - ev___314329: undefined, + now___16503: undefined, + i___16506: undefined, + ev___16512: undefined, } } -function helpers_arraySplice__P297619(s) { +function helpers_arraySplice__P48(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8089,7 +7834,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.i___314378 = undefined; + s.i___16561 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8103,15 +7848,15 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.i___314378 = (0); + s.i___16561 = (0); case 3: - r0 = (s.i___314378 < s.arg2); + r0 = (s.i___16561 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } r0 = pxsim_Array_.removeAt(s.arg0, s.arg1); - r0 = (s.i___314378 + 1); - s.i___314378 = (r0); + r0 = (s.i___16561 + 1); + s.i___16561 = (r0); { step = 3; continue; } case 4: case 5: @@ -8119,16 +7864,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySplice__P297619.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__P297619.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__P48.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__P48.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 helpers_arraySplice__P297619_mk(s) { +function helpers_arraySplice__P48_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySplice__P297619, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P48, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___314378: undefined, + i___16561: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8138,7 +7883,7 @@ function helpers_arraySplice__P297619_mk(s) { -function control_PollEvent_constructor__P297777(s) { +function control_PollEvent_constructor__P206(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8159,7 +7904,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C297776_VT)) failedCast(r0); + if (!checkSubtype(r0, control_PollEvent__C205_VT)) failedCast(r0); r0 = (s.arg0).fields["eid"] = (s.arg1); r0 = (s.arg0).fields["vid"] = (s.arg2); r0 = (s.arg0).fields["start"] = (s.arg3); @@ -8170,13 +7915,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_PollEvent_constructor__P297777.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__P297777.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__P206.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__P206.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 control_PollEvent_constructor__P297777_mk(s) { +function control_PollEvent_constructor__P206_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P297777, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P206, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -8191,7 +7936,7 @@ function control_PollEvent_constructor__P297777_mk(s) { -function game_onUpdate__P298736(s) { +function game_onUpdate__P1244(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8205,7 +7950,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P298727_mk(s); + s.tmp_0 = game_init__P1235_mk(s); s.tmp_0.arg0 = undefined; s.pc = 4; return s.tmp_0; case 4: @@ -8219,8 +7964,8 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = control_EventContext_registerFrameHandler__P297845_mk(s); - s.tmp_3 = game_eventContext__P298726_mk(s); + s.tmp_2 = control_EventContext_registerFrameHandler__P274_mk(s); + s.tmp_3 = game_eventContext__P1234_mk(s); s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; @@ -8235,13 +7980,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdate__P298736.info = {"start":7429,"length":169,"line":242,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"onUpdate","argumentNames":["a"]} -game_onUpdate__P298736.info = {"start":7429,"length":169,"line":242,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"onUpdate","argumentNames":["a"]} +game_onUpdate__P1244.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__P1244.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__P298736_mk(s) { +function game_onUpdate__P1244_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P298736, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P1244, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8254,7 +7999,7 @@ function game_onUpdate__P298736_mk(s) { -function particles_SprayFactory_constructor__P299221(s) { +function particles_SprayFactory_constructor__P1729(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8272,19 +8017,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C299215_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C1723_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P299203_mk(s); + s.tmp_0 = particles_initTrig__P1711_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P299219_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P1727_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__P299220_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P1728_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -8295,13 +8040,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_constructor__P299221.info = {"start":2623,"length":218,"line":98,"column":8,"endLine":103,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"inline","argumentNames":["this","speed","centerDegrees","arcDegrees"]} -particles_SprayFactory_constructor__P299221.info = {"start":2623,"length":218,"line":98,"column":8,"endLine":103,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"inline","argumentNames":["this","speed","centerDegrees","arcDegrees"]} +particles_SprayFactory_constructor__P1729.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__P1729.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__P299221_mk(s) { +function particles_SprayFactory_constructor__P1729_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P299221, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P1729, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8314,7 +8059,7 @@ function particles_SprayFactory_constructor__P299221_mk(s) { -function particles_SprayFactory_setDirection__P299220(s) { +function particles_SprayFactory_setDirection__P1728(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8331,9 +8076,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C299215_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C1723_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P299210_mk(s); + s.tmp_4 = particles_toRadians__P1718_mk(s); s.tmp_5 = r0 = s.arg1; r0 = (s.arg2 >> 1); s.tmp_6 = r0; @@ -8343,19 +8088,19 @@ switch (step) { case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___299202); + r0 = (s.tmp_3 / globals.angleSlice___1710); 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__P299210_mk(s); + s.tmp_4 = particles_toRadians__P1718_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___299202); + r0 = (s.tmp_3 / globals.angleSlice___1710); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -8364,13 +8109,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setDirection__P299220.info = {"start":3424,"length":228,"line":123,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"setDirection","argumentNames":["this","centerDegrees","arcDegrees"]} -particles_SprayFactory_setDirection__P299220.info = {"start":3424,"length":228,"line":123,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"setDirection","argumentNames":["this","centerDegrees","arcDegrees"]} +particles_SprayFactory_setDirection__P1728.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__P1728.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__P299220_mk(s) { +function particles_SprayFactory_setDirection__P1728_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P299220, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P1728, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8388,7 +8133,7 @@ function particles_SprayFactory_setDirection__P299220_mk(s) { -function particles_toRadians__P299210(s) { +function particles_toRadians__P1718(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8406,7 +8151,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_abs__P297644_mk(s); + s.tmp_3 = Math_abs__P73_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 3; return s.tmp_3; case 3: @@ -8425,13 +8170,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P299210.info = {"start":1307,"length":206,"line":45,"column":4,"endLine":52,"endColumn":5,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"toRadians","argumentNames":["degrees"]} -particles_toRadians__P299210.info = {"start":1307,"length":206,"line":45,"column":4,"endLine":52,"endColumn":5,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"toRadians","argumentNames":["degrees"]} +particles_toRadians__P1718.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__P1718.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__P299210_mk(s) { +function particles_toRadians__P1718_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P299210, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P1718, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8444,7 +8189,7 @@ function particles_toRadians__P299210_mk(s) { -function particles_ParticleFactory_constructor__P299214(s) { +function particles_ParticleFactory_constructor__P1722(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8459,18 +8204,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C299211_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C1719_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_constructor__P299214.info = {"start":1617,"length":78,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"inline","argumentNames":["this"]} -particles_ParticleFactory_constructor__P299214.info = {"start":1617,"length":78,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"inline","argumentNames":["this"]} +particles_ParticleFactory_constructor__P1722.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__P1722.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__P299214_mk(s) { +function particles_ParticleFactory_constructor__P1722_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P299214, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P1722, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8479,7 +8224,7 @@ function particles_ParticleFactory_constructor__P299214_mk(s) { -function particles_initTrig__P299203(s) { +function particles_initTrig__P1711(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8489,37 +8234,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___299189); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___1697); 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__P299204_mk(s); + s.tmp_2 = particles_cacheSin__P1712_mk(s); s.tmp_2.arg0 = 100; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___299189 = (r0); - s.tmp_0 = particles_cacheCos__P299205_mk(s); + globals.cachedSin___1697 = (r0); + s.tmp_0 = particles_cacheCos__P1713_mk(s); s.tmp_0.arg0 = 100; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___299190 = (r0); + globals.cachedCos___1698 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P299203.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"initTrig","argumentNames":[]} -particles_initTrig__P299203.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P1711.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P1711.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__P299203_mk(s) { +function particles_initTrig__P1711_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P299203, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P1711, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8530,7 +8275,7 @@ function particles_initTrig__P299203_mk(s) { -function particles_cacheCos__P299205(s) { +function particles_cacheCos__P1713(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8540,25 +8285,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.cos___313662 = undefined; - s.anglePerSlice___313664 = undefined; - s.i___313670 = undefined; + s.cos___15845 = undefined; + s.anglePerSlice___15847 = undefined; + s.i___15853 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___313662 = (r0); + s.cos___15845 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___313664 = (r0); - s.i___313670 = (0); + s.anglePerSlice___15847 = (r0); + s.i___15853 = (0); case 1: - r0 = (s.i___313670 < s.arg0); + r0 = (s.i___15853 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___313662; - r0 = (s.i___313670 * s.anglePerSlice___313664); + s.tmp_1 = r0 = s.cos___15845; + r0 = (s.i___15853 * s.anglePerSlice___15847); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -8567,21 +8312,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___313670 + 1); - s.i___313670 = (r0); + r0 = (s.i___15853 + 1); + s.i___15853 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___313662; + r0 = s.cos___15845; return leave(s, r0) default: oops() } } } -particles_cacheCos__P299205.info = {"start":1005,"length":263,"line":35,"column":4,"endLine":42,"endColumn":5,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"cacheCos","argumentNames":["slices"]} -particles_cacheCos__P299205.info = {"start":1005,"length":263,"line":35,"column":4,"endLine":42,"endColumn":5,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"cacheCos","argumentNames":["slices"]} +particles_cacheCos__P1713.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__P1713.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__P299205_mk(s) { +function particles_cacheCos__P1713_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P299205, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P1713, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8589,9 +8334,9 @@ function particles_cacheCos__P299205_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___313662: undefined, - anglePerSlice___313664: undefined, - i___313670: undefined, + cos___15845: undefined, + anglePerSlice___15847: undefined, + i___15853: undefined, arg0: undefined, } } @@ -8599,7 +8344,7 @@ function particles_cacheCos__P299205_mk(s) { -function particles_cacheSin__P299204(s) { +function particles_cacheSin__P1712(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8609,25 +8354,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sin___313688 = undefined; - s.anglePerSlice___313690 = undefined; - s.i___313696 = undefined; + s.sin___15871 = undefined; + s.anglePerSlice___15873 = undefined; + s.i___15879 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___313688 = (r0); + s.sin___15871 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___313690 = (r0); - s.i___313696 = (0); + s.anglePerSlice___15873 = (r0); + s.i___15879 = (0); case 1: - r0 = (s.i___313696 < s.arg0); + r0 = (s.i___15879 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___313688; - r0 = (s.i___313696 * s.anglePerSlice___313690); + s.tmp_1 = r0 = s.sin___15871; + r0 = (s.i___15879 * s.anglePerSlice___15873); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -8636,21 +8381,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___313696 + 1); - s.i___313696 = (r0); + r0 = (s.i___15879 + 1); + s.i___15879 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___313688; + r0 = s.sin___15871; return leave(s, r0) default: oops() } } } -particles_cacheSin__P299204.info = {"start":594,"length":263,"line":22,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"cacheSin","argumentNames":["slices"]} -particles_cacheSin__P299204.info = {"start":594,"length":263,"line":22,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"cacheSin","argumentNames":["slices"]} +particles_cacheSin__P1712.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__P1712.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__P299204_mk(s) { +function particles_cacheSin__P1712_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P299204, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P1712, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8658,9 +8403,9 @@ function particles_cacheSin__P299204_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___313688: undefined, - anglePerSlice___313690: undefined, - i___313696: undefined, + sin___15871: undefined, + anglePerSlice___15873: undefined, + i___15879: undefined, arg0: undefined, } } @@ -8668,7 +8413,7 @@ function particles_cacheSin__P299204_mk(s) { -function particles_ParticleSource_setFactory__P299166(s) { +function particles_ParticleSource_setFactory__P1674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8684,7 +8429,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C299151_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C1659_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_factory"] = (s.arg1); @@ -8694,13 +8439,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setFactory__P299166.info = {"start":8107,"length":114,"line":271,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"setFactory","argumentNames":["this","factory"]} -particles_ParticleSource_setFactory__P299166.info = {"start":8107,"length":114,"line":271,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"setFactory","argumentNames":["this","factory"]} +particles_ParticleSource_setFactory__P1674.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__P1674.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__P299166_mk(s) { +function particles_ParticleSource_setFactory__P1674_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P299166, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P1674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -8710,7 +8455,7 @@ function particles_ParticleSource_setFactory__P299166_mk(s) { -function particles_ParticleSource_setRate__P299164(s) { +function particles_ParticleSource_setRate__P1672(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8726,7 +8471,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C299151_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C1659_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -8738,13 +8483,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRate__P299164.info = {"start":7785,"length":139,"line":258,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"setRate","argumentNames":["this","particlesPerSecond"]} -particles_ParticleSource_setRate__P299164.info = {"start":7785,"length":139,"line":258,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"setRate","argumentNames":["this","particlesPerSecond"]} +particles_ParticleSource_setRate__P1672.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__P1672.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__P299164_mk(s) { +function particles_ParticleSource_setRate__P1672_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P299164, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P1672, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8757,7 +8502,7 @@ function particles_ParticleSource_setRate__P299164_mk(s) { -function particles_ParticleSource_setAnchor__P299163(s) { +function particles_ParticleSource_setAnchor__P1671(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8773,19 +8518,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C299151_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C1659_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAnchor__P299163.info = {"start":7577,"length":79,"line":250,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"setAnchor","argumentNames":["this","anchor"]} -particles_ParticleSource_setAnchor__P299163.info = {"start":7577,"length":79,"line":250,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"setAnchor","argumentNames":["this","anchor"]} +particles_ParticleSource_setAnchor__P1671.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__P1671.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__P299163_mk(s) { +function particles_ParticleSource_setAnchor__P1671_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P299163, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P1671, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -8795,7 +8540,7 @@ function particles_ParticleSource_setAnchor__P299163_mk(s) { -function particles_ParticleSource_clear__P299162(s) { +function particles_ParticleSource_clear__P1670(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8810,19 +8555,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C299151_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C1659_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_clear__P299162.info = {"start":7407,"length":54,"line":242,"column":8,"endLine":244,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"clear","argumentNames":["this"]} -particles_ParticleSource_clear__P299162.info = {"start":7407,"length":54,"line":242,"column":8,"endLine":244,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"clear","argumentNames":["this"]} +particles_ParticleSource_clear__P1670.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__P1670.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__P299162_mk(s) { +function particles_ParticleSource_clear__P1670_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P299162, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P1670, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8831,7 +8576,7 @@ function particles_ParticleSource_clear__P299162_mk(s) { -function particles_ParticleSource_destroy__P299161(s) { +function particles_ParticleSource_destroy__P1669(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8846,8 +8591,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C299151_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P299160_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C1659_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P1668_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.pc = 1; return s.tmp_0; @@ -8859,7 +8604,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__P299155_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P1663_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 2; return s.tmp_0; case 2: @@ -8868,13 +8613,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_destroy__P299161.info = {"start":7077,"length":240,"line":232,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"destroy","argumentNames":["this"]} -particles_ParticleSource_destroy__P299161.info = {"start":7077,"length":240,"line":232,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"destroy","argumentNames":["this"]} +particles_ParticleSource_destroy__P1669.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__P1669.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__P299161_mk(s) { +function particles_ParticleSource_destroy__P1669_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P299161, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P1669, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8886,7 +8631,7 @@ function particles_ParticleSource_destroy__P299161_mk(s) { -function particles_ParticleSource_enabled__P299160(s) { +function particles_ParticleSource_enabled__P1668(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8902,9 +8647,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C299151_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C1659_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P299159_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P1667_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 5; return s.tmp_3; case 5: @@ -8935,13 +8680,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P299160.info = {"start":6799,"length":214,"line":222,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"enabled","argumentNames":["this","v"]} -particles_ParticleSource_enabled__P299160.info = {"start":6799,"length":214,"line":222,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"enabled","argumentNames":["this","v"]} +particles_ParticleSource_enabled__P1668.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__P1668.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__P299160_mk(s) { +function particles_ParticleSource_enabled__P1668_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P299160, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P1668, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8958,7 +8703,7 @@ function particles_ParticleSource_enabled__P299160_mk(s) { -function particles_ParticleSource_enabled__P299159(s) { +function particles_ParticleSource_enabled__P1667(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8973,7 +8718,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C299151_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C1659_VT)) failedCast(r0); r0 = s.arg0.fields["pFlags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -8988,14 +8733,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P299159.info = {"start":6605,"length":76,"line":215,"column":8,"endLine":217,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"enabled","argumentNames":["this"]} -particles_ParticleSource_enabled__P299159.isGetter = true; -particles_ParticleSource_enabled__P299159.info = {"start":6605,"length":76,"line":215,"column":8,"endLine":217,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"enabled","argumentNames":["this"]} +particles_ParticleSource_enabled__P1667.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__P1667.isGetter = true; +particles_ParticleSource_enabled__P1667.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__P299159_mk(s) { +function particles_ParticleSource_enabled__P1667_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P299159, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P1667, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9009,7 +8754,7 @@ function particles_ParticleSource_enabled__P299159_mk(s) { -function particles_ParticleSource_setAcceleration__P299156(s) { +function particles_ParticleSource_setAcceleration__P1664(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9026,7 +8771,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C299151_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C1659_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -9043,13 +8788,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAcceleration__P299156.info = {"start":6009,"length":113,"line":193,"column":8,"endLine":196,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"setAcceleration","argumentNames":["this","ax","ay"]} -particles_ParticleSource_setAcceleration__P299156.info = {"start":6009,"length":113,"line":193,"column":8,"endLine":196,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"setAcceleration","argumentNames":["this","ax","ay"]} +particles_ParticleSource_setAcceleration__P1664.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__P1664.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__P299156_mk(s) { +function particles_ParticleSource_setAcceleration__P1664_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P299156, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P1664, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9063,7 +8808,7 @@ function particles_ParticleSource_setAcceleration__P299156_mk(s) { -function sprites_BaseSprite_constructor__P298106(s) { +function sprites_BaseSprite_constructor__P614(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9079,15 +8824,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C298098_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P298101_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C606_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P609_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__P298637_mk(s); - s.tmp_1 = game_currentScene__P298414_mk(s); + s.tmp_0 = scene_Scene_addSprite__P1145_mk(s); + s.tmp_1 = game_currentScene__P922_mk(s); s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -9100,13 +8845,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_constructor__P298106.info = {"start":344,"length":170,"line":15,"column":8,"endLine":20,"endColumn":9,"fileName":"pxt_modules/game---hw/basesprite.ts","functionName":"inline","argumentNames":["this","z"]} -sprites_BaseSprite_constructor__P298106.info = {"start":344,"length":170,"line":15,"column":8,"endLine":20,"endColumn":9,"fileName":"pxt_modules/game---hw/basesprite.ts","functionName":"inline","argumentNames":["this","z"]} +sprites_BaseSprite_constructor__P614.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__P614.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__P298106_mk(s) { +function sprites_BaseSprite_constructor__P614_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P298106, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P614, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9118,7 +8863,7 @@ function sprites_BaseSprite_constructor__P298106_mk(s) { -function scene_Scene_addSprite__P298637(s) { +function scene_Scene_addSprite__P1145(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9134,7 +8879,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C298633_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C1141_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -9161,13 +8906,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_addSprite__P298637.info = {"start":6412,"length":128,"line":180,"column":8,"endLine":183,"endColumn":9,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -scene_Scene_addSprite__P298637.info = {"start":6412,"length":128,"line":180,"column":8,"endLine":183,"endColumn":9,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +scene_Scene_addSprite__P1145.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__P1145.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__P298637_mk(s) { +function scene_Scene_addSprite__P1145_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P298637, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P1145, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9181,7 +8926,7 @@ function scene_Scene_addSprite__P298637_mk(s) { -function sprites_BaseSprite_z__P298101(s) { +function sprites_BaseSprite_z__P609(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9197,7 +8942,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C298098_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C606_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -9205,7 +8950,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__P298414_mk(s); + s.tmp_1 = game_currentScene__P922_mk(s); s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -9221,13 +8966,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_z__P298101.info = {"start":656,"length":174,"line":30,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game---hw/basesprite.ts","functionName":"z","argumentNames":["this","v"]} -sprites_BaseSprite_z__P298101.info = {"start":656,"length":174,"line":30,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game---hw/basesprite.ts","functionName":"z","argumentNames":["this","v"]} +sprites_BaseSprite_z__P609.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__P609.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__P298101_mk(s) { +function sprites_BaseSprite_z__P609_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P298101, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P609, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9241,7 +8986,7 @@ function sprites_BaseSprite_z__P298101_mk(s) { -function sprites_BaseSprite_z__P298100(s) { +function sprites_BaseSprite_z__P608(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9256,19 +9001,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C298098_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C606_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -sprites_BaseSprite_z__P298100.info = {"start":591,"length":55,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game---hw/basesprite.ts","functionName":"z","argumentNames":["this"]} -sprites_BaseSprite_z__P298100.isGetter = true; -sprites_BaseSprite_z__P298100.info = {"start":591,"length":55,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game---hw/basesprite.ts","functionName":"z","argumentNames":["this"]} +sprites_BaseSprite_z__P608.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__P608.isGetter = true; +sprites_BaseSprite_z__P608.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__P298100_mk(s) { +function sprites_BaseSprite_z__P608_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P298100, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P608, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9277,7 +9022,7 @@ function sprites_BaseSprite_z__P298100_mk(s) { -function helpers_arrayShift__P297621(s) { +function helpers_arrayShift__P50(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9295,13 +9040,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayShift__P297621.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__P297621.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__P50.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__P50.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__P297621_mk(s) { +function helpers_arrayShift__P50_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayShift__P297621, depth: s.depth + 1, + parent: s, fn: helpers_arrayShift__P50, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9310,7 +9055,7 @@ function helpers_arrayShift__P297621_mk(s) { -function particles_SprayFactory_setSpeed__P299219(s) { +function particles_SprayFactory_setSpeed__P1727(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9326,7 +9071,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C299215_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C1723_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -9337,13 +9082,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setSpeed__P299219.info = {"start":3322,"length":92,"line":119,"column":8,"endLine":121,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"setSpeed","argumentNames":["this","pixelsPerSecond"]} -particles_SprayFactory_setSpeed__P299219.info = {"start":3322,"length":92,"line":119,"column":8,"endLine":121,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"setSpeed","argumentNames":["this","pixelsPerSecond"]} +particles_SprayFactory_setSpeed__P1727.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__P1727.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__P299219_mk(s) { +function particles_SprayFactory_setSpeed__P1727_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P299219, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P1727, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9356,7 +9101,7 @@ function particles_SprayFactory_setSpeed__P299219_mk(s) { -function particles_ConfettiFactory_constructor__P299240(s) { +function particles_ConfettiFactory_constructor__P1748(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9366,8 +9111,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.confetti___314698 = undefined; - s.i___314714 = undefined; + s.confetti___16881 = undefined; + s.i___16897 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9375,52 +9120,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ConfettiFactory__C299238_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C1746_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex314701); + r0 = pxsim.image.ofBuffer(_hex16884); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex314703); + r0 = pxsim.image.ofBuffer(_hex16886); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex314705); + r0 = pxsim.image.ofBuffer(_hex16888); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex314707); + r0 = pxsim.image.ofBuffer(_hex16890); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex314709); + r0 = pxsim.image.ofBuffer(_hex16892); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___314698 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P299237_mk(s); + s.confetti___16881 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P1745_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___314698, 0); + r0 = pxsim_Array__getAt(s.confetti___16881, 0); s.tmp_0.arg3 = r0; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___314714 = (1); + s.i___16897 = (1); case 1: - s.tmp_1 = r0 = s.i___314714; - r0 = pxsim_Array__length(s.confetti___314698); + s.tmp_1 = r0 = s.i___16897; + r0 = pxsim_Array__length(s.confetti___16881); 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__P299234_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P1742_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___314698, s.i___314714); + r0 = pxsim_Array__getAt(s.confetti___16881, s.i___16897); s.tmp_3.arg1 = r0; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___314714 + 1); - s.i___314714 = (r0); + r0 = (s.i___16897 + 1); + s.i___16897 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -9429,13 +9174,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ConfettiFactory_constructor__P299240.info = {"start":7755,"length":706,"line":247,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"inline","argumentNames":["this","xRange","yRange"]} -particles_ConfettiFactory_constructor__P299240.info = {"start":7755,"length":706,"line":247,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"inline","argumentNames":["this","xRange","yRange"]} +particles_ConfettiFactory_constructor__P1748.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__P1748.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__P299240_mk(s) { +function particles_ConfettiFactory_constructor__P1748_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P299240, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P1748, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9443,23 +9188,23 @@ function particles_ConfettiFactory_constructor__P299240_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___314698: undefined, - i___314714: undefined, + confetti___16881: undefined, + i___16897: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex314701 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex314703 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex314705 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex314707 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex314709 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex16884 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex16886 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex16888 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex16890 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex16892 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function particles_ShapeFactory_constructor__P299237(s) { +function particles_ShapeFactory_constructor__P1745(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9477,8 +9222,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C299232_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P299226_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C1740_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P1734_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -9515,13 +9260,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_constructor__P299237.info = {"start":6668,"length":285,"line":212,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"inline","argumentNames":["this","xRange","yRange","source"]} -particles_ShapeFactory_constructor__P299237.info = {"start":6668,"length":285,"line":212,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"inline","argumentNames":["this","xRange","yRange","source"]} +particles_ShapeFactory_constructor__P1745.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__P1745.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__P299237_mk(s) { +function particles_ShapeFactory_constructor__P1745_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P299237, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P1745, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9538,7 +9283,7 @@ function particles_ShapeFactory_constructor__P299237_mk(s) { -function particles_AreaFactory_constructor__P299226(s) { +function particles_AreaFactory_constructor__P1734(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9557,8 +9302,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C299222_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P299221_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C1730_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P1729_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 0; @@ -9588,9 +9333,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__C299001_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C1509_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P299008_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P1516_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.pc = 6; return s.tmp_1; @@ -9601,13 +9346,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AreaFactory_constructor__P299226.info = {"start":3950,"length":374,"line":139,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"inline","argumentNames":["this","xRange","yRange","minLifespan","maxLifespan"]} -particles_AreaFactory_constructor__P299226.info = {"start":3950,"length":374,"line":139,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"inline","argumentNames":["this","xRange","yRange","minLifespan","maxLifespan"]} +particles_AreaFactory_constructor__P1734.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__P1734.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__P299226_mk(s) { +function particles_AreaFactory_constructor__P1734_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P299226, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P1734, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9622,7 +9367,7 @@ function particles_AreaFactory_constructor__P299226_mk(s) { -function particles_ShapeFactory_addShape__P299234(s) { +function particles_ShapeFactory_addShape__P1742(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9638,7 +9383,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C299232_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C1740_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["sources"]; @@ -9650,13 +9395,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_addShape__P299234.info = {"start":7079,"length":83,"line":225,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"addShape","argumentNames":["this","shape"]} -particles_ShapeFactory_addShape__P299234.info = {"start":7079,"length":83,"line":225,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"addShape","argumentNames":["this","shape"]} +particles_ShapeFactory_addShape__P1742.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__P1742.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__P299234_mk(s) { +function particles_ShapeFactory_addShape__P1742_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P299234, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P1742, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9667,7 +9412,7 @@ function particles_ShapeFactory_addShape__P299234_mk(s) { -function effects_ScreenEffect_constructor__P299292(s) { +function effects_ScreenEffect_constructor__P1800(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9686,8 +9431,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C299288_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P299281_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C1796_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P1789_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -9700,13 +9445,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_constructor__P299292.info = {"start":2911,"length":332,"line":81,"column":8,"endLine":85,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"inline","argumentNames":["this","anchorDefault","sceneDefault","defaultLifespan","sourceFactory"]} -effects_ScreenEffect_constructor__P299292.info = {"start":2911,"length":332,"line":81,"column":8,"endLine":85,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"inline","argumentNames":["this","anchorDefault","sceneDefault","defaultLifespan","sourceFactory"]} +effects_ScreenEffect_constructor__P1800.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__P1800.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__P299292_mk(s) { +function effects_ScreenEffect_constructor__P1800_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P299292, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P1800, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9720,7 +9465,7 @@ function effects_ScreenEffect_constructor__P299292_mk(s) { -function effects_ParticleEffect_constructor__P299281(s) { +function effects_ParticleEffect_constructor__P1789(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9738,7 +9483,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C299278_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C1786_VT)) failedCast(r0); r0 = (s.arg0).fields["sourceFactory"] = (s.arg3); r0 = (s.arg0).fields["defaultRate"] = (s.arg1); r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2); @@ -9746,13 +9491,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_constructor__P299281.info = {"start":384,"length":364,"line":13,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"inline","argumentNames":["this","defaultParticlesPerSecond","defaultLifespan","sourceFactory"]} -effects_ParticleEffect_constructor__P299281.info = {"start":384,"length":364,"line":13,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"inline","argumentNames":["this","defaultParticlesPerSecond","defaultLifespan","sourceFactory"]} +effects_ParticleEffect_constructor__P1789.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__P1789.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__P299281_mk(s) { +function effects_ParticleEffect_constructor__P1789_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P299281, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P1789, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -9764,7 +9509,7 @@ function effects_ParticleEffect_constructor__P299281_mk(s) { -function scene_Scene_constructor__P298641(s) { +function scene_Scene_constructor__P1149(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9781,13 +9526,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C298633_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C1141_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__C298361_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C869_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P298382_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P890_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; @@ -9796,17 +9541,17 @@ switch (step) { case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C298573_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C1081_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P298580_mk(s); + s.tmp_1 = scene_Camera_constructor__P1088_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__C298497_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C1005_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P298503_mk(s); + s.tmp_1 = scene_Background_constructor__P1011_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; @@ -9863,13 +9608,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_constructor__P298641.info = {"start":3118,"length":793,"line":94,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} -scene_Scene_constructor__P298641.info = {"start":3118,"length":793,"line":94,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} +scene_Scene_constructor__P1149.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__P1149.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__P298641_mk(s) { +function scene_Scene_constructor__P1149_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P298641, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P1149, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9882,7 +9627,7 @@ function scene_Scene_constructor__P298641_mk(s) { -function scene_Camera_constructor__P298580(s) { +function scene_Camera_constructor__P1088(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9897,7 +9642,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C298573_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C1081_VT)) failedCast(r0); r0 = (s.arg0).fields["_offsetX"] = (0); r0 = (s.arg0).fields["_offsetY"] = (0); r0 = (s.arg0).fields["drawOffsetX"] = (0); @@ -9906,13 +9651,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_constructor__P298580.info = {"start":456,"length":156,"line":15,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game---hw/camera.ts","functionName":"inline","argumentNames":["this"]} -scene_Camera_constructor__P298580.info = {"start":456,"length":156,"line":15,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game---hw/camera.ts","functionName":"inline","argumentNames":["this"]} +scene_Camera_constructor__P1088.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__P1088.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__P298580_mk(s) { +function scene_Camera_constructor__P1088_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P298580, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P1088, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9921,7 +9666,7 @@ function scene_Camera_constructor__P298580_mk(s) { -function scene_Background_constructor__P298503(s) { +function scene_Background_constructor__P1011(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9937,7 +9682,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C298497_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C1005_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (0); r0 = (s.arg0).fields["camera"] = (s.arg1); s.tmp_0 = r0 = s.arg0; @@ -9948,13 +9693,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_constructor__P298503.info = {"start":367,"length":132,"line":20,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game---hw/background.ts","functionName":"inline","argumentNames":["this","camera"]} -scene_Background_constructor__P298503.info = {"start":367,"length":132,"line":20,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game---hw/background.ts","functionName":"inline","argumentNames":["this","camera"]} +scene_Background_constructor__P1011.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__P1011.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__P298503_mk(s) { +function scene_Background_constructor__P1011_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P298503, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P1011, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9966,7 +9711,7 @@ function scene_Background_constructor__P298503_mk(s) { -function ArcadePhysicsEngine_constructor__P298382(s) { +function ArcadePhysicsEngine_constructor__P890(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9984,33 +9729,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_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__C298280_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C788_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P298291_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P799_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__P298364_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P872_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__P298368_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P876_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__P298366_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P874_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.pc = 4; return s.tmp_0; @@ -10020,13 +9765,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constructor__P298382.info = {"start":1330,"length":277,"line":55,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["this","maxVelocity","minSingleStep","maxSingleStep"]} -ArcadePhysicsEngine_constructor__P298382.info = {"start":1330,"length":277,"line":55,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["this","maxVelocity","minSingleStep","maxSingleStep"]} +ArcadePhysicsEngine_constructor__P890.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__P890.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__P298382_mk(s) { +function ArcadePhysicsEngine_constructor__P890_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P298382, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P890, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10040,7 +9785,7 @@ function ArcadePhysicsEngine_constructor__P298382_mk(s) { -function ArcadePhysicsEngine_maxStep__P298368(s) { +function ArcadePhysicsEngine_maxStep__P876(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10056,7 +9801,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -10067,13 +9812,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P298368.info = {"start":2058,"length":67,"line":85,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"maxStep","argumentNames":["this","v"]} -ArcadePhysicsEngine_maxStep__P298368.info = {"start":2058,"length":67,"line":85,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"maxStep","argumentNames":["this","v"]} +ArcadePhysicsEngine_maxStep__P876.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__P876.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__P298368_mk(s) { +function ArcadePhysicsEngine_maxStep__P876_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P298368, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P876, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10086,7 +9831,7 @@ function ArcadePhysicsEngine_maxStep__P298368_mk(s) { -function ArcadePhysicsEngine_maxStep__P298367(s) { +function ArcadePhysicsEngine_maxStep__P875(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10101,7 +9846,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_VT)) failedCast(r0); r0 = s.arg0.fields["maxSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -10110,14 +9855,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P298367.info = {"start":1978,"length":74,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"maxStep","argumentNames":["this"]} -ArcadePhysicsEngine_maxStep__P298367.isGetter = true; -ArcadePhysicsEngine_maxStep__P298367.info = {"start":1978,"length":74,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"maxStep","argumentNames":["this"]} +ArcadePhysicsEngine_maxStep__P875.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__P875.isGetter = true; +ArcadePhysicsEngine_maxStep__P875.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__P298367_mk(s) { +function ArcadePhysicsEngine_maxStep__P875_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P298367, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P875, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10128,7 +9873,7 @@ function ArcadePhysicsEngine_maxStep__P298367_mk(s) { -function Fx_toInt__P297695(s) { +function Fx_toInt__P124(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10148,13 +9893,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toInt__P297695.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__P297695.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__P124.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__P124.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__P297695_mk(s) { +function Fx_toInt__P124_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P297695, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P124, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10164,7 +9909,7 @@ function Fx_toInt__P297695_mk(s) { -function ArcadePhysicsEngine_minStep__P298366(s) { +function ArcadePhysicsEngine_minStep__P874(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10180,7 +9925,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -10191,13 +9936,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P298366.info = {"start":1905,"length":67,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"minStep","argumentNames":["this","v"]} -ArcadePhysicsEngine_minStep__P298366.info = {"start":1905,"length":67,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"minStep","argumentNames":["this","v"]} +ArcadePhysicsEngine_minStep__P874.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__P874.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__P298366_mk(s) { +function ArcadePhysicsEngine_minStep__P874_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P298366, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P874, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10210,7 +9955,7 @@ function ArcadePhysicsEngine_minStep__P298366_mk(s) { -function ArcadePhysicsEngine_minStep__P298365(s) { +function ArcadePhysicsEngine_minStep__P873(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10225,7 +9970,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_VT)) failedCast(r0); r0 = s.arg0.fields["minSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -10234,14 +9979,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P298365.info = {"start":1825,"length":74,"line":73,"column":4,"endLine":75,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"minStep","argumentNames":["this"]} -ArcadePhysicsEngine_minStep__P298365.isGetter = true; -ArcadePhysicsEngine_minStep__P298365.info = {"start":1825,"length":74,"line":73,"column":4,"endLine":75,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"minStep","argumentNames":["this"]} +ArcadePhysicsEngine_minStep__P873.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__P873.isGetter = true; +ArcadePhysicsEngine_minStep__P873.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__P298365_mk(s) { +function ArcadePhysicsEngine_minStep__P873_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P298365, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P873, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10252,7 +9997,7 @@ function ArcadePhysicsEngine_minStep__P298365_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P298364(s) { +function ArcadePhysicsEngine_maxSpeed__P872(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10268,7 +10013,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -10285,13 +10030,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P298364.info = {"start":1692,"length":127,"line":68,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"maxSpeed","argumentNames":["this","v"]} -ArcadePhysicsEngine_maxSpeed__P298364.info = {"start":1692,"length":127,"line":68,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"maxSpeed","argumentNames":["this","v"]} +ArcadePhysicsEngine_maxSpeed__P872.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__P872.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__P298364_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P872_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P298364, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P872, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10304,7 +10049,7 @@ function ArcadePhysicsEngine_maxSpeed__P298364_mk(s) { -function Fx_neg__P297680(s) { +function Fx_neg__P109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10322,13 +10067,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_neg__P297680.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__P297680.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__P109.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__P109.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__P297680_mk(s) { +function Fx_neg__P109_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P297680, depth: s.depth + 1, + parent: s, fn: Fx_neg__P109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10337,7 +10082,7 @@ function Fx_neg__P297680_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P298363(s) { +function ArcadePhysicsEngine_maxSpeed__P871(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10352,7 +10097,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_VT)) failedCast(r0); r0 = s.arg0.fields["maxVelocity"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -10361,14 +10106,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P298363.info = {"start":1613,"length":73,"line":64,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"maxSpeed","argumentNames":["this"]} -ArcadePhysicsEngine_maxSpeed__P298363.isGetter = true; -ArcadePhysicsEngine_maxSpeed__P298363.info = {"start":1613,"length":73,"line":64,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"maxSpeed","argumentNames":["this"]} +ArcadePhysicsEngine_maxSpeed__P871.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__P871.isGetter = true; +ArcadePhysicsEngine_maxSpeed__P871.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__P298363_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P871_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P298363, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P871, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10379,7 +10124,7 @@ function ArcadePhysicsEngine_maxSpeed__P298363_mk(s) { -function PhysicsEngine_constructor__P298341(s) { +function PhysicsEngine_constructor__P849(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10394,18 +10139,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C298333_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C841_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_constructor__P298341.info = {"start":26,"length":21,"line":1,"column":4,"endLine":2,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["this"]} -PhysicsEngine_constructor__P298341.info = {"start":26,"length":21,"line":1,"column":4,"endLine":2,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["this"]} +PhysicsEngine_constructor__P849.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__P849.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__P298341_mk(s) { +function PhysicsEngine_constructor__P849_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P298341, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P849, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10414,7 +10159,7 @@ function PhysicsEngine_constructor__P298341_mk(s) { -function sprites_SpriteMap_constructor__P298291(s) { +function sprites_SpriteMap_constructor__P799(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10429,7 +10174,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C298280_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C788_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -10438,13 +10183,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_constructor__P298291.info = {"start":237,"length":56,"line":8,"column":8,"endLine":10,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"inline","argumentNames":["this"]} -sprites_SpriteMap_constructor__P298291.info = {"start":237,"length":56,"line":8,"column":8,"endLine":10,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"inline","argumentNames":["this"]} +sprites_SpriteMap_constructor__P799.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__P799.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__P298291_mk(s) { +function sprites_SpriteMap_constructor__P799_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P298291, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P799, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10455,7 +10200,7 @@ function sprites_SpriteMap_constructor__P298291_mk(s) { -function scene_Scene_init__P298634(s) { +function scene_Scene_init__P1142(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10470,7 +10215,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C298633_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C1141_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -10478,7 +10223,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = power_poke__P297966_mk(s); + s.tmp_1 = power_poke__P464_mk(s); s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -10487,10 +10232,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__P314838); + r0 = pxsim_pxtcore_mkAction(1, inline__P17021); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P297845_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P274_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; @@ -10498,18 +10243,18 @@ switch (step) { s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P297845_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P274_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P298175; + s.tmp_0.arg2 = controller__moveSprites__P683; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P314861); + r0 = pxsim_pxtcore_mkAction(1, inline__P17044); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P297845_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P274_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; @@ -10517,10 +10262,10 @@ switch (step) { s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P314890); + r0 = pxsim_pxtcore_mkAction(1, inline__P17073); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P297845_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P274_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; @@ -10528,10 +10273,10 @@ switch (step) { s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P314898); + r0 = pxsim_pxtcore_mkAction(1, inline__P17081); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P297845_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P274_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; @@ -10539,19 +10284,19 @@ switch (step) { s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P297845_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P274_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P298014; + s.tmp_0.arg2 = control___screen_update__P512; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P314927); + r0 = pxsim_pxtcore_mkAction(1, inline__P17110); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); - s.tmp_1.arg0 = globals.scene_Scene_initializers___298640; + s.tmp_1 = helpers_arrayForEach__P59_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___1148; s.tmp_1.arg1 = s.tmp_0; s.pc = 11; return s.tmp_1; case 11: @@ -10561,13 +10306,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init__P298634.info = {"start":3921,"length":2277,"line":114,"column":8,"endLine":167,"endColumn":9,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"init","argumentNames":["this"]} -scene_Scene_init__P298634.info = {"start":3921,"length":2277,"line":114,"column":8,"endLine":167,"endColumn":9,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"init","argumentNames":["this"]} +scene_Scene_init__P1142.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__P1142.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__P298634_mk(s) { +function scene_Scene_init__P1142_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P298634, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P1142, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10578,7 +10323,7 @@ function scene_Scene_init__P298634_mk(s) { -function inline__P314838(s) { +function inline__P17021(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10597,7 +10342,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__P298201_mk(s); + s.tmp_0 = controller___update__P709_mk(s); r0 = s.caps[0].fields["eventContext"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["deltaTimeMillis"]; @@ -10611,13 +10356,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P314838.info = {"start":4211,"length":217,"line":121,"column":72,"endLine":125,"endColumn":13,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"inline","argumentNames":[]} -inline__P314838.info = {"start":4211,"length":217,"line":121,"column":72,"endLine":125,"endColumn":13,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"inline","argumentNames":[]} +inline__P17021.info = {"start":4211,"length":217,"line":121,"column":72,"endLine":125,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P17021.info = {"start":4211,"length":217,"line":121,"column":72,"endLine":125,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P314838_mk(s) { +function inline__P17021_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P314838, depth: s.depth + 1, + parent: s, fn: inline__P17021, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10629,7 +10374,7 @@ function inline__P314838_mk(s) { -function inline__P314861(s) { +function inline__P17044(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10639,48 +10384,48 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.dt___314864 = undefined; - s.s___314877 = undefined; - s.unnamed2896___U2 = undefined; - s.unnamed2897___U3 = undefined; + s.dt___17047 = undefined; + s.s___17060 = undefined; + s.unnamed74___U2 = undefined; + s.unnamed75___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___314864 = (r0); - s.tmp_0 = PhysicsEngine__C298333_v4_2_mk(s); + s.dt___17047 = (r0); + s.tmp_0 = PhysicsEngine__C841_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.dt___314864; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C298333_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.dt___17047; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C841_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__P298579_mk(s); + s.tmp_0 = scene_Camera_update__P1087_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___314877 = (undefined); + s.s___17060 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed2896___U2 = (r0); - s.unnamed2897___U3 = (0); + s.unnamed74___U2 = (r0); + s.unnamed75___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed2897___U3; - r0 = pxsim_Array__length(s.unnamed2896___U2); + s.tmp_0 = r0 = s.unnamed75___U3; + r0 = pxsim_Array__length(s.unnamed74___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed2896___U2, s.unnamed2897___U3); - s.s___314877 = (r0); + r0 = pxsim_Array__getAt(s.unnamed74___U2, s.unnamed75___U3); + s.s___17060 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___314877; + s.tmp_2.arg0 = s.s___17060; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___314864; + s.tmp_2.arg2 = s.dt___17047; 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; @@ -10692,37 +10437,37 @@ switch (step) { } case 5: r0 = s.retval; - r0 = (s.unnamed2897___U3 + 1); - s.unnamed2897___U3 = (r0); + r0 = (s.unnamed75___U3 + 1); + s.unnamed75___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed2896___U2 = (undefined); + s.unnamed74___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P314861.info = {"start":4723,"length":328,"line":130,"column":69,"endLine":139,"endColumn":13,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"inline","argumentNames":[]} -inline__P314861.info = {"start":4723,"length":328,"line":130,"column":69,"endLine":139,"endColumn":13,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"inline","argumentNames":[]} +inline__P17044.info = {"start":4723,"length":328,"line":130,"column":69,"endLine":139,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P17044.info = {"start":4723,"length":328,"line":130,"column":69,"endLine":139,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P314861_mk(s) { +function inline__P17044_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P314861, depth: s.depth + 1, + parent: s, fn: inline__P17044, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___314864: undefined, - s___314877: undefined, - unnamed2896___U2: undefined, - unnamed2897___U3: undefined, + dt___17047: undefined, + s___17060: undefined, + unnamed74___U2: undefined, + unnamed75___U3: undefined, } } -function inline__P314890(s) { +function inline__P17073(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10732,7 +10477,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = scene_Scene_render__P298639_mk(s); + s.tmp_0 = scene_Scene_render__P1147_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -10741,13 +10486,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P314890.info = {"start":5226,"length":109,"line":145,"column":76,"endLine":148,"endColumn":13,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"inline","argumentNames":[]} -inline__P314890.info = {"start":5226,"length":109,"line":145,"column":76,"endLine":148,"endColumn":13,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"inline","argumentNames":[]} +inline__P17073.info = {"start":5226,"length":109,"line":145,"column":76,"endLine":148,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P17073.info = {"start":5226,"length":109,"line":145,"column":76,"endLine":148,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P314890_mk(s) { +function inline__P17073_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P314890, depth: s.depth + 1, + parent: s, fn: inline__P17073, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -10756,7 +10501,7 @@ function inline__P314890_mk(s) { -function inline__P314898(s) { +function inline__P17081(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10766,26 +10511,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = r0 = globals.stats___298707; + s.tmp_0 = r0 = globals.stats___1215; 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___297851; + r0 = globals.control_EventContext_onStats___280; 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___297851; - if ((globals.control_EventContext_lastStats___297850) && (globals.control_EventContext_lastStats___297850).vtable) { + s.tmp_2.argL = globals.control_EventContext_onStats___280; + if ((globals.control_EventContext_lastStats___279) && (globals.control_EventContext_lastStats___279).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___297850); + pxsim_String__stringConv(globals.control_EventContext_lastStats___279); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___297850) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___279) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; @@ -10821,23 +10566,23 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.debug___298705); + r0 = pxsim_numops_toBoolDecr(globals.debug___1213); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C298333_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C841_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C298333_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C841_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__P299126_mk(s); + s.tmp_0 = game_consoleOverlay_draw__P1634_mk(s); s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P297967_mk(s); + s.tmp_0 = power_checkDeepSleep__P465_mk(s); s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -10845,13 +10590,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P314898.info = {"start":5452,"length":504,"line":150,"column":80,"endLine":162,"endColumn":13,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"inline","argumentNames":[]} -inline__P314898.info = {"start":5452,"length":504,"line":150,"column":80,"endLine":162,"endColumn":13,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"inline","argumentNames":[]} +inline__P17081.info = {"start":5452,"length":504,"line":150,"column":80,"endLine":162,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P17081.info = {"start":5452,"length":504,"line":150,"column":80,"endLine":162,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P314898_mk(s) { +function inline__P17081_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P314898, depth: s.depth + 1, + parent: s, fn: inline__P17081, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10868,7 +10613,7 @@ function inline__P314898_mk(s) { -function inline__P314927(s) { +function inline__P17110(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10893,13 +10638,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P314927.info = {"start":6174,"length":12,"line":166,"column":39,"endLine":166,"endColumn":51,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"inline","argumentNames":["f"]} -inline__P314927.info = {"start":6174,"length":12,"line":166,"column":39,"endLine":166,"endColumn":51,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"inline","argumentNames":["f"]} +inline__P17110.info = {"start":6174,"length":12,"line":166,"column":39,"endLine":166,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +inline__P17110.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__P314927_mk(s) { +function inline__P17110_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P314927, depth: s.depth + 1, + parent: s, fn: inline__P17110, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10909,7 +10654,7 @@ function inline__P314927_mk(s) { -function game_consoleOverlay_draw__P299126(s) { +function game_consoleOverlay_draw__P1634(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10919,16 +10664,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.height___314977 = undefined; - s.top___314982 = undefined; - s.i___314988 = undefined; - s.t___315001 = undefined; - s.tOff___315009 = undefined; - s.tab___315011 = undefined; - s.unnamed2900___U6 = undefined; - s.unnamed2901___U7 = undefined; - s.padding___315013 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___299086); + s.height___17160 = undefined; + s.top___17165 = undefined; + s.i___17171 = undefined; + s.t___17184 = undefined; + s.tOff___17192 = undefined; + s.tab___17194 = undefined; + s.unnamed78___U6 = undefined; + s.unnamed79___U7 = undefined; + s.padding___17196 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___1594); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -10937,7 +10682,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___299009); + r0 = pxsim_numops_toBoolDecr(globals.instance___1517); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -10953,7 +10698,7 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___299094; + s.tmp_7.arg0 = globals.consoleFont___1602; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -10966,10 +10711,10 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___314977 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___298707); + s.height___17160 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___1215); if (!r0) { step = 5; continue; } - r0 = s.height___314977; + r0 = s.height___17160; { step = 6; continue; } case 5: r0 = 0; @@ -10977,17 +10722,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___314982 = (r0); - s.i___314988 = (0); + s.top___17165 = (r0); + s.i___17171 = (0); case 7: - s.tmp_1 = r0 = s.i___314988; - r0 = pxsim_Array__length(globals.consoleStrings___299086); + s.tmp_1 = r0 = s.i___17171; + r0 = pxsim_Array__length(globals.consoleStrings___1594); 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___299086, s.i___314988); + r0 = pxsim_Array__getAt(globals.consoleStrings___1594, s.i___17171); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -10995,43 +10740,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_6 = helpers_stringSplit__P297640_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___299086, s.i___314988); + s.tmp_6 = helpers_stringSplit__P69_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___1594, s.i___17171); 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___315001 = (r0); - s.tOff___315009 = (0); - s.tab___315011 = (undefined); - s.unnamed2900___U6 = (s.t___315001); - s.unnamed2901___U7 = (0); + s.t___17184 = (r0); + s.tOff___17192 = (0); + s.tab___17194 = (undefined); + s.unnamed78___U6 = (s.t___17184); + s.unnamed79___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed2901___U7; - r0 = pxsim_Array__length(s.unnamed2900___U6); + s.tmp_0 = r0 = s.unnamed79___U7; + r0 = pxsim_Array__length(s.unnamed78___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed2900___U6, s.unnamed2901___U7); - s.tab___315011 = (r0); - s.tmp_2 = r0 = globals.tabSize___299088; - s.tmp_5 = r0 = s.tOff___315009; - r0 = pxsim_String_.length(s.tab___315011); + r0 = pxsim_Array__getAt(s.unnamed78___U6, s.unnamed79___U7); + s.tab___17194 = (r0); + s.tmp_2 = r0 = globals.tabSize___1596; + s.tmp_5 = r0 = s.tOff___17192; + r0 = pxsim_String_.length(s.tab___17194); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___299088); + r0 = (s.tmp_4 % globals.tabSize___1596); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___315013 = (r0); - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_0.arg1 = s.tab___315011; - s.tmp_2 = r0 = s.tOff___315009; + s.padding___17196 = (r0); + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_0.arg1 = s.tab___17194; + s.tmp_2 = r0 = s.tOff___17192; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___299094; + s.tmp_4.arg0 = globals.consoleFont___1602; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -11047,50 +10792,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___314982; - r0 = (s.i___314988 * s.height___314977); + s.tmp_5 = r0 = s.top___17165; + r0 = (s.i___17171 * s.height___17160); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___299085; - s.tmp_0.arg5 = globals.consoleFont___299094; + s.tmp_0.arg4 = globals.consoleColor___1593; + s.tmp_0.arg5 = globals.consoleFont___1602; s.tmp_0.arg6 = undefined; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___315009; - r0 = pxsim_String_.length(s.tab___315011); + s.tmp_0 = r0 = s.tOff___17192; + r0 = pxsim_String_.length(s.tab___17194); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___315013); + r0 = (s.tmp_2 + s.padding___17196); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___315009 = (r0); - r0 = (s.unnamed2901___U7 + 1); - s.unnamed2901___U7 = (r0); + s.tOff___17192 = (r0); + r0 = (s.unnamed79___U7 + 1); + s.unnamed79___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed2900___U6 = (undefined); + s.unnamed78___U6 = (undefined); { step = 11; continue; } case 10: - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - r0 = pxsim_Array__getAt(globals.consoleStrings___299086, s.i___314988); + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; + r0 = pxsim_Array__getAt(globals.consoleStrings___1594, s.i___17171); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___314982; - r0 = (s.i___314988 * s.height___314977); + s.tmp_1 = r0 = s.top___17165; + r0 = (s.i___17171 * s.height___17160); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___299085; - s.tmp_0.arg5 = globals.consoleFont___299094; + s.tmp_0.arg4 = globals.consoleColor___1593; + s.tmp_0.arg5 = globals.consoleFont___1602; s.tmp_0.arg6 = undefined; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___314988 + 1); - s.i___314988 = (r0); + r0 = (s.i___17171 + 1); + s.i___17171 = (r0); { step = 7; continue; } case 12: case 13: @@ -11098,13 +10843,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_draw__P299126.info = {"start":1364,"length":859,"line":44,"column":4,"endLine":61,"endColumn":5,"fileName":"pxt_modules/game---hw/console.ts","functionName":"draw","argumentNames":[]} -game_consoleOverlay_draw__P299126.info = {"start":1364,"length":859,"line":44,"column":4,"endLine":61,"endColumn":5,"fileName":"pxt_modules/game---hw/console.ts","functionName":"draw","argumentNames":[]} +game_consoleOverlay_draw__P1634.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__P1634.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__P299126_mk(s) { +function game_consoleOverlay_draw__P1634_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P299126, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P1634, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11114,22 +10859,22 @@ function game_consoleOverlay_draw__P299126_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___314977: undefined, - top___314982: undefined, - i___314988: undefined, - t___315001: undefined, - tOff___315009: undefined, - tab___315011: undefined, - unnamed2900___U6: undefined, - unnamed2901___U7: undefined, - padding___315013: undefined, + height___17160: undefined, + top___17165: undefined, + i___17171: undefined, + t___17184: undefined, + tOff___17192: undefined, + tab___17194: undefined, + unnamed78___U6: undefined, + unnamed79___U7: undefined, + padding___17196: undefined, } } -function scene_systemMenu_isVisible__P299044(s) { +function scene_systemMenu_isVisible__P1552(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11139,7 +10884,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___299009); + r0 = pxsim_numops_toBoolDecr(globals.instance___1517); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -11149,13 +10894,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_isVisible__P299044.info = {"start":12708,"length":62,"line":385,"column":4,"endLine":387,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"isVisible","argumentNames":[]} -scene_systemMenu_isVisible__P299044.info = {"start":12708,"length":62,"line":385,"column":4,"endLine":387,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"isVisible","argumentNames":[]} +scene_systemMenu_isVisible__P1552.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__P1552.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__P299044_mk(s) { +function scene_systemMenu_isVisible__P1552_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P299044, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P1552, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11166,7 +10911,7 @@ function scene_systemMenu_isVisible__P299044_mk(s) { -function helpers_stringSplit__P297640(s) { +function helpers_stringSplit__P69(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11176,15 +10921,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.A___315067 = undefined; - s.lim___315069 = undefined; - s.s___315085 = undefined; - s.p___315088 = undefined; - s.R___315089 = undefined; - s.z___315103 = undefined; - s.T___315116 = undefined; - s.q___315117 = undefined; - s.e___315123 = undefined; + s.A___17250 = undefined; + s.lim___17252 = undefined; + s.s___17268 = undefined; + s.p___17271 = undefined; + s.R___17272 = undefined; + s.z___17286 = undefined; + s.T___17299 = undefined; + s.q___17300 = undefined; + s.e___17306 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11192,36 +10937,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___315067 = (r0); - s.lim___315069 = (0); + s.A___17250 = (r0); + s.lim___17252 = (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___315069 = (r0); + s.lim___17252 = (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___315069 = (0); + s.lim___17252 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___315069 = (r0); + s.lim___17252 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___315085 = (r0); - s.p___315088 = (0); - s.R___315089 = (s.arg1); - r0 = (s.lim___315069 == 0); + s.s___17268 = (r0); + s.p___17271 = (0); + s.R___17272 = (s.arg1); + r0 = (s.lim___17252 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___315067; + r0 = s.A___17250; { step = 21; continue; } case 5: case 6: @@ -11229,124 +10974,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___315067, 0, s.arg0); - r0 = s.A___315067; + r0 = pxsim_Array_.setAt(s.A___17250, 0, s.arg0); + r0 = s.A___17250; { step = 21; continue; } case 7: case 8: - r0 = (s.s___315085 == 0); + r0 = (s.s___17268 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P297641_mk(s); + s.tmp_1 = helpers_splitMatch__P70_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___315089; + s.tmp_1.arg2 = s.R___17272; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___315103 = (r0); - r0 = (s.z___315103 > -1); + s.z___17286 = (r0); + r0 = (s.z___17286 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___315067; + r0 = s.A___17250; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___315067, 0, s.arg0); - r0 = s.A___315067; + r0 = pxsim_Array_.setAt(s.A___17250, 0, s.arg0); + r0 = s.A___17250; { step = 21; continue; } case 11: case 12: - s.q___315117 = (s.p___315088); + s.q___17300 = (s.p___17271); case 13: - r0 = (s.q___315117 != s.s___315085); + r0 = (s.q___17300 != s.s___17268); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P297641_mk(s); + s.tmp_1 = helpers_splitMatch__P70_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___315117; - s.tmp_1.arg2 = s.R___315089; + s.tmp_1.arg1 = s.q___17300; + s.tmp_1.arg2 = s.R___17272; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___315123 = (r0); - r0 = (s.e___315123 < 0); + s.e___17306 = (r0); + r0 = (s.e___17306 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___315117 + 1); - s.q___315117 = (r0); + r0 = (s.q___17300 + 1); + s.q___17300 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___315123 == s.p___315088); + r0 = (s.e___17306 == s.p___17271); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___315117 + 1); - s.q___315117 = (r0); + r0 = (s.q___17300 + 1); + s.q___17300 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P297638_mk(s); + s.tmp_0 = helpers_stringSlice__P67_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___315088; - s.tmp_0.arg2 = s.q___315117; + s.tmp_0.arg1 = s.p___17271; + s.tmp_0.arg2 = s.q___17300; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___315116 = (r0); - r0 = pxsim_Array__push(s.A___315067, s.T___315116); - r0 = pxsim_Array__length(s.A___315067); + s.T___17299 = (r0); + r0 = pxsim_Array__push(s.A___17250, s.T___17299); + r0 = pxsim_Array__length(s.A___17250); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___315069); + r0 = (s.tmp_1 == s.lim___17252); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___315067; + r0 = s.A___17250; { step = 21; continue; } case 16: case 17: - s.p___315088 = (s.e___315123); - s.q___315117 = (s.p___315088); + s.p___17271 = (s.e___17306); + s.q___17300 = (s.p___17271); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P297638_mk(s); + s.tmp_0 = helpers_stringSlice__P67_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___315088; - s.tmp_0.arg2 = s.q___315117; + s.tmp_0.arg1 = s.p___17271; + s.tmp_0.arg2 = s.q___17300; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___315116 = (r0); - r0 = pxsim_Array__push(s.A___315067, s.T___315116); - r0 = s.A___315067; + s.T___17299 = (r0); + r0 = pxsim_Array__push(s.A___17250, s.T___17299); + r0 = s.A___17250; case 21: return leave(s, r0) default: oops() } } } -helpers_stringSplit__P297640.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__P297640.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__P69.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__P69.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__P297640_mk(s) { +function helpers_stringSplit__P69_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P297640, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P69, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___315067: undefined, - lim___315069: undefined, - s___315085: undefined, - p___315088: undefined, - R___315089: undefined, - z___315103: undefined, - T___315116: undefined, - q___315117: undefined, - e___315123: undefined, + A___17250: undefined, + lim___17252: undefined, + s___17268: undefined, + p___17271: undefined, + R___17272: undefined, + z___17286: undefined, + T___17299: undefined, + q___17300: undefined, + e___17306: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -11356,7 +11101,7 @@ function helpers_stringSplit__P297640_mk(s) { -function helpers_splitMatch__P297641(s) { +function helpers_splitMatch__P70(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11366,9 +11111,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.r___315168 = undefined; - s.s___315171 = undefined; - s.i___315181 = undefined; + s.r___17351 = undefined; + s.s___17354 = undefined; + s.i___17364 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11376,12 +11121,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___315168 = (r0); + s.r___17351 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___315171 = (r0); - r0 = (s.arg1 + s.r___315168); + s.s___17354 = (r0); + r0 = (s.arg1 + s.r___17351); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___315171); + r0 = (s.tmp_1 > s.s___17354); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -11389,18 +11134,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___315181 = (0); + s.i___17364 = (0); case 3: - r0 = (s.i___315181 < s.r___315168); + r0 = (s.i___17364 < s.r___17351); 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___315181); + r0 = (s.arg1 + s.i___17364); 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___315181); + r0 = pxsim_String_.charAt(s.arg2, s.i___17364); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -11410,22 +11155,22 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___315181 + 1); - s.i___315181 = (r0); + r0 = (s.i___17364 + 1); + s.i___17364 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___315168); + r0 = (s.arg1 + s.r___17351); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P297641.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__P297641.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__P70.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__P70.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__P297641_mk(s) { +function helpers_splitMatch__P70_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P297641, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P70, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11433,9 +11178,9 @@ function helpers_splitMatch__P297641_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___315168: undefined, - s___315171: undefined, - i___315181: undefined, + r___17351: undefined, + s___17354: undefined, + i___17364: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -11445,7 +11190,7 @@ function helpers_splitMatch__P297641_mk(s) { -function helpers_stringSlice__P297638(s) { +function helpers_stringSlice__P67(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11455,7 +11200,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.len___321608 = undefined; + s.len___23791 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11463,13 +11208,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___321608 = (r0); + s.len___23791 = (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__P297646_mk(s); - r0 = (s.len___321608 + s.arg1); + s.tmp_1 = Math_max__P75_mk(s); + r0 = (s.len___23791 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.pc = 7; return s.tmp_1; @@ -11482,14 +11227,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___321608); + s.arg2 = (s.len___23791); 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___321608 + s.arg2); + r0 = (s.len___23791 + s.arg2); s.arg2 = (r0); case 5: case 6: @@ -11501,18 +11246,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSlice__P297638.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__P297638.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__P67.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__P67.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__P297638_mk(s) { +function helpers_stringSlice__P67_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P297638, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P67, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___321608: undefined, + len___23791: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -11522,7 +11267,7 @@ function helpers_stringSlice__P297638_mk(s) { -function scene_Scene_render__P298639(s) { +function scene_Scene_render__P1147(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11532,15 +11277,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.s___315269 = undefined; - s.unnamed2898___U1 = undefined; - s.unnamed2899___U2 = undefined; + s.s___17452 = undefined; + s.unnamed76___U1 = undefined; + s.unnamed77___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C298633_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C1141_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -11571,7 +11316,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__P298639_mk(s); + s.tmp_3 = scene_Scene_render__P1147_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; s.pc = 12; return s.tmp_3; @@ -11579,7 +11324,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_Background_draw__P298502_mk(s); + s.tmp_0 = scene_Background_draw__P1010_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; s.pc = 13; return s.tmp_0; @@ -11592,10 +11337,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = helpers_arraySort__P297626_mk(s); + s.tmp_2 = helpers_arraySort__P55_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P315245; + s.tmp_2.arg1 = inline__P17428; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; @@ -11607,20 +11352,20 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___315269 = (undefined); + s.s___17452 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed2898___U1 = (r0); - s.unnamed2899___U2 = (0); + s.unnamed76___U1 = (r0); + s.unnamed77___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed2899___U2; - r0 = pxsim_Array__length(s.unnamed2898___U1); + s.tmp_0 = r0 = s.unnamed77___U2; + r0 = pxsim_Array__length(s.unnamed76___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed2898___U1, s.unnamed2899___U2); - s.s___315269 = (r0); + r0 = pxsim_Array__getAt(s.unnamed76___U1, s.unnamed77___U2); + s.s___17452 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___315269; + s.tmp_2.arg0 = s.s___17452; r0 = s.arg0.fields["camera"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { @@ -11634,11 +11379,11 @@ switch (step) { } case 15: r0 = s.retval; - r0 = (s.unnamed2899___U2 + 1); - s.unnamed2899___U2 = (r0); + r0 = (s.unnamed77___U2 + 1); + s.unnamed77___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed2898___U1 = (undefined); + s.unnamed76___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -11650,22 +11395,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render__P298639.info = {"start":7397,"length":917,"line":208,"column":8,"endLine":232,"endColumn":9,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"render","argumentNames":["this"]} -scene_Scene_render__P298639.info = {"start":7397,"length":917,"line":208,"column":8,"endLine":232,"endColumn":9,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"render","argumentNames":["this"]} +scene_Scene_render__P1147.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__P1147.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__P298639_mk(s) { +function scene_Scene_render__P1147_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P298639, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P1147, 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___315269: undefined, - unnamed2898___U1: undefined, - unnamed2899___U2: undefined, + s___17452: undefined, + unnamed76___U1: undefined, + unnamed77___U2: undefined, arg0: undefined, } } @@ -11673,7 +11418,7 @@ function scene_Scene_render__P298639_mk(s) { -function inline__P315245(s) { +function inline__P17428(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11755,13 +11500,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P315245.info = {"start":7975,"length":52,"line":222,"column":37,"endLine":222,"endColumn":89,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"inline","argumentNames":["a","b"]} -inline__P315245.info = {"start":7975,"length":52,"line":222,"column":37,"endLine":222,"endColumn":89,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"inline","argumentNames":["a","b"]} +inline__P17428.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__P17428.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__P315245_mk(s) { +function inline__P17428_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P315245, depth: s.depth + 1, + parent: s, fn: inline__P17428, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11781,7 +11526,7 @@ function inline__P315245_mk(s) { -function scene_Background_draw__P298502(s) { +function scene_Background_draw__P1010(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11796,27 +11541,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C298497_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C1005_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___298046, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___545, 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___298046, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___545, 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__P315304); + r0 = pxsim_pxtcore_mkAction(1, inline__P17487); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P297630_mk(s); + s.tmp_2 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["_layers"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; @@ -11829,13 +11574,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw__P298502.info = {"start":1166,"length":545,"line":48,"column":8,"endLine":60,"endColumn":9,"fileName":"pxt_modules/game---hw/background.ts","functionName":"draw","argumentNames":["this"]} -scene_Background_draw__P298502.info = {"start":1166,"length":545,"line":48,"column":8,"endLine":60,"endColumn":9,"fileName":"pxt_modules/game---hw/background.ts","functionName":"draw","argumentNames":["this"]} +scene_Background_draw__P1010.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__P1010.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__P298502_mk(s) { +function scene_Background_draw__P1010_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P298502, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P1010, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11847,7 +11592,7 @@ function scene_Background_draw__P298502_mk(s) { -function inline__P315304(s) { +function inline__P17487(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11857,8 +11602,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ox___315306 = undefined; - s.oy___315320 = undefined; + s.ox___17489 = undefined; + s.oy___17503 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -11873,7 +11618,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___315306 = (r0); + s.ox___17489 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -11884,11 +11629,11 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___315320 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P298505_mk(s); + s.oy___17503 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P1013_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___315306; - s.tmp_0.arg2 = s.oy___315320; + s.tmp_0.arg1 = s.ox___17489; + s.tmp_0.arg2 = s.oy___17503; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -11896,20 +11641,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P315304.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game---hw/background.ts","functionName":"inline","argumentNames":["layer"]} -inline__P315304.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game---hw/background.ts","functionName":"inline","argumentNames":["layer"]} +inline__P17487.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} +inline__P17487.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__P315304_mk(s) { +function inline__P17487_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P315304, depth: s.depth + 1, + parent: s, fn: inline__P17487, 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___315306: undefined, - oy___315320: undefined, + ox___17489: undefined, + oy___17503: undefined, arg0: undefined, } } @@ -11917,7 +11662,7 @@ function inline__P315304_mk(s) { -function scene_BackgroundLayer_draw__P298505(s) { +function scene_BackgroundLayer_draw__P1013(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11927,19 +11672,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.w___315339 = undefined; - s.h___315342 = undefined; - s.pw___315345 = undefined; - s.ph___315350 = undefined; - s.rx___315359 = undefined; - s.ry___315362 = undefined; - s.y___315436 = undefined; - s.py___315437 = undefined; - s.dh___315446 = undefined; - s.x___315454 = undefined; - s.rxl___315455 = undefined; - s.px___315461 = undefined; - s.dw___315465 = undefined; + s.w___17522 = undefined; + s.h___17525 = undefined; + s.pw___17528 = undefined; + s.ph___17533 = undefined; + s.rx___17542 = undefined; + s.ry___17545 = undefined; + s.y___17619 = undefined; + s.py___17620 = undefined; + s.dh___17629 = undefined; + s.x___17637 = undefined; + s.rxl___17638 = undefined; + s.px___17644 = undefined; + s.dw___17648 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11947,20 +11692,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C298504_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___298046); - s.w___315339 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___298046); - s.h___315342 = (r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C1012_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___545); + s.w___17522 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___545); + s.h___17525 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___315345 = (r0); + s.pw___17528 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___315350 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___315345); + s.ph___17533 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___17528); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -11969,7 +11714,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___315350); + r0 = pxsim_numops_toBoolDecr(s.ph___17533); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -11981,9 +11726,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___315359 = (r0); + s.rx___17542 = (r0); r0 = (0 - s.arg2); - s.ry___315362 = (r0); + s.ry___17545 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -11993,20 +11738,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___315359; - r0 = (s.w___315339 + s.pw___315345); + s.tmp_1 = r0 = s.rx___17542; + r0 = (s.w___17522 + s.pw___17528); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___315359 = (r0); + s.rx___17542 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___315359; - r0 = (s.w___315339 + s.pw___315345); + s.tmp_0 = r0 = s.rx___17542; + r0 = (s.w___17522 + s.pw___17528); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___315359 = (r0); + s.rx___17542 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -12017,120 +11762,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___315362; - r0 = (s.h___315342 + s.ph___315350); + s.tmp_1 = r0 = s.ry___17545; + r0 = (s.h___17525 + s.ph___17533); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___315362 = (r0); + s.ry___17545 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___315362; - r0 = (s.h___315342 + s.ph___315350); + s.tmp_0 = r0 = s.ry___17545; + r0 = (s.h___17525 + s.ph___17533); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___315362 = (r0); + s.ry___17545 = (r0); case 10: - r0 = (s.rx___315359 % s.w___315339); - s.rx___315359 = (r0); - r0 = (s.rx___315359 < 0); + r0 = (s.rx___17542 % s.w___17522); + s.rx___17542 = (r0); + r0 = (s.rx___17542 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___315359 + s.w___315339); - s.rx___315359 = (r0); + r0 = (s.rx___17542 + s.w___17522); + s.rx___17542 = (r0); case 11: case 12: - r0 = (s.ry___315362 % s.h___315342); - s.ry___315362 = (r0); - r0 = (s.ry___315362 < 0); + r0 = (s.ry___17545 % s.h___17525); + s.ry___17545 = (r0); + r0 = (s.ry___17545 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___315362 + s.h___315342); - s.ry___315362 = (r0); + r0 = (s.ry___17545 + s.h___17525); + s.ry___17545 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___315359); - s.rx___315359 = (r0); - r0 = pxsim.Math_.floor(s.ry___315362); - s.ry___315362 = (r0); - s.y___315436 = (0); - s.py___315437 = (0); + r0 = pxsim.Math_.floor(s.rx___17542); + s.rx___17542 = (r0); + r0 = pxsim.Math_.floor(s.ry___17545); + s.ry___17545 = (r0); + s.y___17619 = (0); + s.py___17620 = (0); case 15: - r0 = (s.y___315436 < s.h___315342); + r0 = (s.y___17619 < s.h___17525); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___315436 % s.ph___315350); - s.py___315437 = (r0); - s.tmp_0 = Math_min__P297647_mk(s); - r0 = (s.ph___315350 - s.py___315437); + r0 = (s.y___17619 % s.ph___17533); + s.py___17620 = (r0); + s.tmp_0 = Math_min__P76_mk(s); + r0 = (s.ph___17533 - s.py___17620); s.tmp_0.arg0 = r0; - r0 = (s.h___315342 - s.ry___315362); + r0 = (s.h___17525 - s.ry___17545); s.tmp_0.arg1 = r0; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___315446 = (r0); - s.x___315454 = (0); - s.rxl___315455 = (s.rx___315359); + s.dh___17629 = (r0); + s.x___17637 = (0); + s.rxl___17638 = (s.rx___17542); case 16: - r0 = (s.x___315454 < s.w___315339); + r0 = (s.x___17637 < s.w___17522); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___315454 % s.pw___315345); - s.px___315461 = (r0); - s.tmp_0 = Math_min__P297647_mk(s); - r0 = (s.pw___315345 - s.px___315461); + r0 = (s.x___17637 % s.pw___17528); + s.px___17644 = (r0); + s.tmp_0 = Math_min__P76_mk(s); + r0 = (s.pw___17528 - s.px___17644); s.tmp_0.arg0 = r0; - r0 = (s.w___315339 - s.rxl___315455); + r0 = (s.w___17522 - s.rxl___17638); s.tmp_0.arg1 = r0; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___315465 = (r0); + s.dw___17648 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___298046, s.tmp_0, s.rxl___315455, s.ry___315362); - r0 = (s.rxl___315455 + s.dw___315465); + r0 = pxsim_ImageMethods.drawImage(globals.screen___545, s.tmp_0, s.rxl___17638, s.ry___17545); + r0 = (s.rxl___17638 + s.dw___17648); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___315339); - s.rxl___315455 = (r0); + r0 = (s.tmp_0 % s.w___17522); + s.rxl___17638 = (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___315465; + r0 = s.dw___17648; { step = 18; continue; } case 17: - r0 = s.w___315339; + r0 = s.w___17522; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___315454 + s.tmp_1); - s.x___315454 = (r0); + r0 = (s.x___17637 + s.tmp_1); + s.x___17637 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___315362 + s.dh___315446); + r0 = (s.ry___17545 + s.dh___17629); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___315342); - s.ry___315362 = (r0); + r0 = (s.tmp_0 % s.h___17525); + s.ry___17545 = (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___315446; + r0 = s.dh___17629; { step = 21; continue; } case 20: - r0 = s.h___315342; + r0 = s.h___17525; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___315436 + s.tmp_1); - s.y___315436 = (r0); + r0 = (s.y___17619 + s.tmp_1); + s.y___17619 = (r0); { step = 15; continue; } case 22: case 23: @@ -12138,31 +11883,31 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_draw__P298505.info = {"start":3063,"length":1537,"line":99,"column":8,"endLine":144,"endColumn":9,"fileName":"pxt_modules/game---hw/background.ts","functionName":"draw","argumentNames":["this","offsetX","offsetY"]} -scene_BackgroundLayer_draw__P298505.info = {"start":3063,"length":1537,"line":99,"column":8,"endLine":144,"endColumn":9,"fileName":"pxt_modules/game---hw/background.ts","functionName":"draw","argumentNames":["this","offsetX","offsetY"]} +scene_BackgroundLayer_draw__P1013.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__P1013.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__P298505_mk(s) { +function scene_BackgroundLayer_draw__P1013_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P298505, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P1013, 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___315339: undefined, - h___315342: undefined, - pw___315345: undefined, - ph___315350: undefined, - rx___315359: undefined, - ry___315362: undefined, - y___315436: undefined, - py___315437: undefined, - dh___315446: undefined, - x___315454: undefined, - rxl___315455: undefined, - px___315461: undefined, - dw___315465: undefined, + w___17522: undefined, + h___17525: undefined, + pw___17528: undefined, + ph___17533: undefined, + rx___17542: undefined, + ry___17545: undefined, + y___17619: undefined, + py___17620: undefined, + dh___17629: undefined, + x___17637: undefined, + rxl___17638: undefined, + px___17644: undefined, + dw___17648: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -12172,7 +11917,7 @@ function scene_BackgroundLayer_draw__P298505_mk(s) { -function Math_min__P297647(s) { +function Math_min__P76(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12200,13 +11945,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_min__P297647.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__P297647.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__P76.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__P76.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 Math_min__P297647_mk(s) { +function Math_min__P76_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_min__P297647, depth: s.depth + 1, + parent: s, fn: Math_min__P76, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12217,7 +11962,7 @@ function Math_min__P297647_mk(s) { -function scene_Camera_update__P298579(s) { +function scene_Camera_update__P1087(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12227,32 +11972,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.elapsed___315549 = undefined; - s.percentComplete___315563 = undefined; - s.damp___315570 = undefined; - s.f___315579 = undefined; - s.x___315585 = undefined; - s.y___315592 = undefined; + s.elapsed___17732 = undefined; + s.percentComplete___17746 = undefined; + s.damp___17753 = undefined; + s.f___17762 = undefined; + s.x___17768 = undefined; + s.y___17775 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C298573_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C1081_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__P298575_mk(s); + s.tmp_1 = scene_Camera_offsetX__P1083_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_3 = Sprite_x__P298229_mk(s); + s.tmp_3 = Sprite_x__P737_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___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_5 = r0; r0 = (s.tmp_5 >> 1); s.tmp_4 = r0; @@ -12261,16 +12006,16 @@ switch (step) { s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P298577_mk(s); + s.tmp_0 = scene_Camera_offsetY__P1085_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_y__P298231_mk(s); + s.tmp_2 = Sprite_y__P739_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___298046); + r0 = pxsim_ImageMethods.height(globals.screen___545); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; @@ -12281,7 +12026,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = scene_Camera_offsetX__P298575_mk(s); + s.tmp_0 = scene_Camera_offsetX__P1083_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetX"]; @@ -12291,7 +12036,7 @@ switch (step) { s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P298577_mk(s); + s.tmp_0 = scene_Camera_offsetY__P1085_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetY"]; @@ -12320,10 +12065,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___315549 = (r0); + s.elapsed___17732 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___315549 >= s.tmp_1); + r0 = (s.elapsed___17732 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -12332,49 +12077,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___315549 / s.tmp_0); - s.percentComplete___315563 = (r0); - s.damp___315570 = (1); - r0 = (s.percentComplete___315563 >= 0.75); + r0 = (s.elapsed___17732 / s.tmp_0); + s.percentComplete___17746 = (r0); + s.damp___17753 = (1); + r0 = (s.percentComplete___17746 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Math_max__P297646_mk(s); + s.tmp_1 = Math_max__P75_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___315563); + r0 = (1 - s.percentComplete___17746); s.tmp_1.arg1 = r0; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.damp___315570 = (r0); + s.damp___17753 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___315570); - s.f___315579 = (r0); + r0 = (s.tmp_0 * s.damp___17753); + s.f___17762 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___315579); + r0 = (s.tmp_1 * s.f___17762); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___315585 = (r0); + s.x___17768 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___315579); + r0 = (s.tmp_1 * s.f___17762); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___315592 = (r0); + s.y___17775 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___315585); + r0 = (s.tmp_2 + s.x___17768); 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___315592); + r0 = (s.tmp_2 + s.y___17775); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -12384,13 +12129,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_update__P298579.info = {"start":1816,"length":1397,"line":58,"column":8,"endLine":93,"endColumn":9,"fileName":"pxt_modules/game---hw/camera.ts","functionName":"update","argumentNames":["this"]} -scene_Camera_update__P298579.info = {"start":1816,"length":1397,"line":58,"column":8,"endLine":93,"endColumn":9,"fileName":"pxt_modules/game---hw/camera.ts","functionName":"update","argumentNames":["this"]} +scene_Camera_update__P1087.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__P1087.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__P298579_mk(s) { +function scene_Camera_update__P1087_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P298579, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P1087, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12398,12 +12143,12 @@ function scene_Camera_update__P298579_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - elapsed___315549: undefined, - percentComplete___315563: undefined, - damp___315570: undefined, - f___315579: undefined, - x___315585: undefined, - y___315592: undefined, + elapsed___17732: undefined, + percentComplete___17746: undefined, + damp___17753: undefined, + f___17762: undefined, + x___17768: undefined, + y___17775: undefined, arg0: undefined, } } @@ -12411,7 +12156,7 @@ function scene_Camera_update__P298579_mk(s) { -function scene_Camera_offsetY__P298577(s) { +function scene_Camera_offsetY__P1085(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12421,30 +12166,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___315611 = undefined; + s.scene___17794 = 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__C298573_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P298414_mk(s); + if (!checkSubtype(r0, scene_Camera__C1081_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___315611 = (r0); - r0 = s.scene___315611.fields["tileMap"]; + s.scene___17794 = (r0); + r0 = s.scene___17794.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: - s.tmp_1 = tiles_TileMap__C298537_v6_1_mk(s); - r0 = s.scene___315611.fields["tileMap"]; + s.tmp_1 = tiles_TileMap__C1045_v6_1_mk(s); + r0 = s.scene___17794.fields["tileMap"]; s.tmp_1.arg0 = r0; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.enabled; s.pc = 6; return s.tmp_1; case 6: @@ -12455,11 +12200,11 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } s.tmp_3 = r0 = s.arg0; - s.tmp_5 = tiles_TileMap__C298537_v2_2_mk(s); - r0 = s.scene___315611.fields["tileMap"]; + s.tmp_5 = tiles_TileMap__C1045_v2_2_mk(s); + r0 = s.scene___17794.fields["tileMap"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg1; - if (!checkSubtype(s.tmp_5.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_5.arg0); s.tmp_5.fn = s.tmp_5.arg0.vtable.methods.offsetY; s.pc = 7; return s.tmp_5; case 7: @@ -12474,13 +12219,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetY__P298577.info = {"start":1034,"length":267,"line":37,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game---hw/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} -scene_Camera_offsetY__P298577.info = {"start":1034,"length":267,"line":37,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game---hw/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} +scene_Camera_offsetY__P1085.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__P1085.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__P298577_mk(s) { +function scene_Camera_offsetY__P1085_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P298577, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P1085, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12488,7 +12233,7 @@ function scene_Camera_offsetY__P298577_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___315611: undefined, + scene___17794: undefined, arg0: undefined, arg1: undefined, } } @@ -12497,7 +12242,7 @@ function scene_Camera_offsetY__P298577_mk(s) { -function tiles_TileMap_enabled__P298547(s) { +function tiles_TileMap_enabled__P1055(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12512,7 +12257,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -12525,14 +12270,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_enabled__P298547.info = {"start":6919,"length":66,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"enabled","argumentNames":["this"]} -tiles_TileMap_enabled__P298547.isGetter = true; -tiles_TileMap_enabled__P298547.info = {"start":6919,"length":66,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"enabled","argumentNames":["this"]} +tiles_TileMap_enabled__P1055.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__P1055.isGetter = true; +tiles_TileMap_enabled__P1055.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__P298547_mk(s) { +function tiles_TileMap_enabled__P1055_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P298547, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P1055, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12545,7 +12290,7 @@ function tiles_TileMap_enabled__P298547_mk(s) { -function tiles_TileMap_offsetY__P298542(s) { +function tiles_TileMap_offsetY__P1050(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12561,19 +12306,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P297643_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P72_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P297646_mk(s); - s.tmp_3 = tiles_TileMap__C298537_v4_1_mk(s); + s.tmp_1 = Math_max__P75_mk(s); + s.tmp_3 = tiles_TileMap__C1045_v4_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.areaHeight; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___298046); + r0 = pxsim_ImageMethods.height(globals.screen___545); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -12589,13 +12334,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetY__P298542.info = {"start":6372,"length":123,"line":229,"column":8,"endLine":231,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} -tiles_TileMap_offsetY__P298542.info = {"start":6372,"length":123,"line":229,"column":8,"endLine":231,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} +tiles_TileMap_offsetY__P1050.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__P1050.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__P298542_mk(s) { +function tiles_TileMap_offsetY__P1050_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P298542, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P1050, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12610,7 +12355,7 @@ function tiles_TileMap_offsetY__P298542_mk(s) { -function tiles_TileMap_areaHeight__P298544(s) { +function tiles_TileMap_areaHeight__P1052(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12625,7 +12370,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -12647,13 +12392,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaHeight__P298544.info = {"start":6606,"length":93,"line":237,"column":8,"endLine":239,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} -tiles_TileMap_areaHeight__P298544.info = {"start":6606,"length":93,"line":237,"column":8,"endLine":239,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} +tiles_TileMap_areaHeight__P1052.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__P1052.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__P298544_mk(s) { +function tiles_TileMap_areaHeight__P1052_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P298544, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P1052, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12667,7 +12412,7 @@ function tiles_TileMap_areaHeight__P298544_mk(s) { -function tiles_TileMap_scale__P298538(s) { +function tiles_TileMap_scale__P1046(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12682,19 +12427,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_scale__P298538.info = {"start":5937,"length":55,"line":210,"column":8,"endLine":212,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMap_scale__P298538.isGetter = true; -tiles_TileMap_scale__P298538.info = {"start":5937,"length":55,"line":210,"column":8,"endLine":212,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMap_scale__P1046.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__P1046.isGetter = true; +tiles_TileMap_scale__P1046.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__P298538_mk(s) { +function tiles_TileMap_scale__P1046_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P298538, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P1046, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12703,7 +12448,7 @@ function tiles_TileMap_scale__P298538_mk(s) { -function tiles_TileMapData_height__P298526(s) { +function tiles_TileMapData_height__P1034(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12718,19 +12463,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C298524_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C1032_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_height__P298526.info = {"start":3546,"length":65,"line":129,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"height","argumentNames":["this"]} -tiles_TileMapData_height__P298526.isGetter = true; -tiles_TileMapData_height__P298526.info = {"start":3546,"length":65,"line":129,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"height","argumentNames":["this"]} +tiles_TileMapData_height__P1034.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__P1034.isGetter = true; +tiles_TileMapData_height__P1034.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__P298526_mk(s) { +function tiles_TileMapData_height__P1034_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P298526, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P1034, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12739,7 +12484,7 @@ function tiles_TileMapData_height__P298526_mk(s) { -function Math_clamp__P297643(s) { +function Math_clamp__P72(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12755,9 +12500,9 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = Math_min__P297647_mk(s); + s.tmp_0 = Math_min__P76_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P297646_mk(s); + s.tmp_1 = Math_max__P75_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; s.pc = 2; return s.tmp_1; @@ -12770,13 +12515,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_clamp__P297643.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__P297643.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__P72.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__P72.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 Math_clamp__P297643_mk(s) { +function Math_clamp__P72_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_clamp__P297643, depth: s.depth + 1, + parent: s, fn: Math_clamp__P72, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12789,7 +12534,7 @@ function Math_clamp__P297643_mk(s) { -function scene_Camera_offsetY__P298576(s) { +function scene_Camera_offsetY__P1084(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12804,19 +12549,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C298573_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C1081_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetY__P298576.info = {"start":966,"length":59,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game---hw/camera.ts","functionName":"offsetY","argumentNames":["this"]} -scene_Camera_offsetY__P298576.isGetter = true; -scene_Camera_offsetY__P298576.info = {"start":966,"length":59,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game---hw/camera.ts","functionName":"offsetY","argumentNames":["this"]} +scene_Camera_offsetY__P1084.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__P1084.isGetter = true; +scene_Camera_offsetY__P1084.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__P298576_mk(s) { +function scene_Camera_offsetY__P1084_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P298576, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P1084, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12825,7 +12570,7 @@ function scene_Camera_offsetY__P298576_mk(s) { -function scene_Camera_offsetX__P298575(s) { +function scene_Camera_offsetX__P1083(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12835,30 +12580,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___315667 = undefined; + s.scene___17850 = 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__C298573_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P298414_mk(s); + if (!checkSubtype(r0, scene_Camera__C1081_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___315667 = (r0); - r0 = s.scene___315667.fields["tileMap"]; + s.scene___17850 = (r0); + r0 = s.scene___17850.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: - s.tmp_1 = tiles_TileMap__C298537_v6_1_mk(s); - r0 = s.scene___315667.fields["tileMap"]; + s.tmp_1 = tiles_TileMap__C1045_v6_1_mk(s); + r0 = s.scene___17850.fields["tileMap"]; s.tmp_1.arg0 = r0; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.enabled; s.pc = 6; return s.tmp_1; case 6: @@ -12869,11 +12614,11 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } s.tmp_3 = r0 = s.arg0; - s.tmp_5 = tiles_TileMap__C298537_v1_2_mk(s); - r0 = s.scene___315667.fields["tileMap"]; + s.tmp_5 = tiles_TileMap__C1045_v1_2_mk(s); + r0 = s.scene___17850.fields["tileMap"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg1; - if (!checkSubtype(s.tmp_5.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_5.arg0); s.tmp_5.fn = s.tmp_5.arg0.vtable.methods.offsetX; s.pc = 7; return s.tmp_5; case 7: @@ -12888,13 +12633,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetX__P298575.info = {"start":690,"length":267,"line":26,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game---hw/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} -scene_Camera_offsetX__P298575.info = {"start":690,"length":267,"line":26,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game---hw/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} +scene_Camera_offsetX__P1083.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__P1083.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__P298575_mk(s) { +function scene_Camera_offsetX__P1083_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P298575, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P1083, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12902,7 +12647,7 @@ function scene_Camera_offsetX__P298575_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___315667: undefined, + scene___17850: undefined, arg0: undefined, arg1: undefined, } } @@ -12911,7 +12656,7 @@ function scene_Camera_offsetX__P298575_mk(s) { -function tiles_TileMap_offsetX__P298541(s) { +function tiles_TileMap_offsetX__P1049(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12927,19 +12672,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P297643_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P72_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P297646_mk(s); - s.tmp_3 = tiles_TileMap__C298537_v3_1_mk(s); + s.tmp_1 = Math_max__P75_mk(s); + s.tmp_3 = tiles_TileMap__C1045_v3_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.areaWidth; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -12955,13 +12700,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetX__P298541.info = {"start":6241,"length":121,"line":225,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} -tiles_TileMap_offsetX__P298541.info = {"start":6241,"length":121,"line":225,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} +tiles_TileMap_offsetX__P1049.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__P1049.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__P298541_mk(s) { +function tiles_TileMap_offsetX__P1049_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P298541, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P1049, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12976,7 +12721,7 @@ function tiles_TileMap_offsetX__P298541_mk(s) { -function tiles_TileMap_areaWidth__P298543(s) { +function tiles_TileMap_areaWidth__P1051(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12991,7 +12736,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -13013,13 +12758,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaWidth__P298543.info = {"start":6505,"length":91,"line":233,"column":8,"endLine":235,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} -tiles_TileMap_areaWidth__P298543.info = {"start":6505,"length":91,"line":233,"column":8,"endLine":235,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} +tiles_TileMap_areaWidth__P1051.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__P1051.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__P298543_mk(s) { +function tiles_TileMap_areaWidth__P1051_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P298543, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P1051, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13033,7 +12778,7 @@ function tiles_TileMap_areaWidth__P298543_mk(s) { -function tiles_TileMapData_width__P298525(s) { +function tiles_TileMapData_width__P1033(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13048,19 +12793,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C298524_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C1032_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_width__P298525.info = {"start":3473,"length":63,"line":125,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"width","argumentNames":["this"]} -tiles_TileMapData_width__P298525.isGetter = true; -tiles_TileMapData_width__P298525.info = {"start":3473,"length":63,"line":125,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"width","argumentNames":["this"]} +tiles_TileMapData_width__P1033.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__P1033.isGetter = true; +tiles_TileMapData_width__P1033.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__P298525_mk(s) { +function tiles_TileMapData_width__P1033_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P298525, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P1033, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13069,7 +12814,7 @@ function tiles_TileMapData_width__P298525_mk(s) { -function scene_Camera_offsetX__P298574(s) { +function scene_Camera_offsetX__P1082(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13084,19 +12829,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C298573_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C1081_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetX__P298574.info = {"start":622,"length":59,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game---hw/camera.ts","functionName":"offsetX","argumentNames":["this"]} -scene_Camera_offsetX__P298574.isGetter = true; -scene_Camera_offsetX__P298574.info = {"start":622,"length":59,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game---hw/camera.ts","functionName":"offsetX","argumentNames":["this"]} +scene_Camera_offsetX__P1082.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__P1082.isGetter = true; +scene_Camera_offsetX__P1082.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__P298574_mk(s) { +function scene_Camera_offsetX__P1082_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P298574, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P1082, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13105,7 +12850,7 @@ function scene_Camera_offsetX__P298574_mk(s) { -function Sprite_y__P298231(s) { +function Sprite_y__P739(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13120,7 +12865,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = (s.tmp_1 + 128); @@ -13137,14 +12882,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_y__P298231.info = {"start":1799,"length":84,"line":79,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"y","argumentNames":["this"]} -Sprite_y__P298231.isGetter = true; -Sprite_y__P298231.info = {"start":1799,"length":84,"line":79,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"y","argumentNames":["this"]} +Sprite_y__P739.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__P739.isGetter = true; +Sprite_y__P739.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__P298231_mk(s) { +function Sprite_y__P739_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P298231, depth: s.depth + 1, + parent: s, fn: Sprite_y__P739, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13159,7 +12904,7 @@ function Sprite_y__P298231_mk(s) { -function Sprite_x__P298229(s) { +function Sprite_x__P737(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13174,7 +12919,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = (s.tmp_1 + 128); @@ -13191,14 +12936,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_x__P298229.info = {"start":1451,"length":83,"line":68,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"x","argumentNames":["this"]} -Sprite_x__P298229.isGetter = true; -Sprite_x__P298229.info = {"start":1451,"length":83,"line":68,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"x","argumentNames":["this"]} +Sprite_x__P737.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__P737.isGetter = true; +Sprite_x__P737.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__P298229_mk(s) { +function Sprite_x__P737_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P298229, depth: s.depth + 1, + parent: s, fn: Sprite_x__P737, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13213,7 +12958,7 @@ function Sprite_x__P298229_mk(s) { -function PhysicsEngine_move__P298338(s) { +function PhysicsEngine_move__P846(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13229,18 +12974,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C298333_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C841_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_move__P298338.info = {"start":351,"length":20,"line":18,"column":4,"endLine":18,"endColumn":24,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"move","argumentNames":["this","dt"]} -PhysicsEngine_move__P298338.info = {"start":351,"length":20,"line":18,"column":4,"endLine":18,"endColumn":24,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"move","argumentNames":["this","dt"]} +PhysicsEngine_move__P846.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__P846.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__P298338_mk(s) { +function PhysicsEngine_move__P846_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P298338, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P846, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -13250,7 +12995,7 @@ function PhysicsEngine_move__P298338_mk(s) { -function PhysicsEngine_draw__P298337(s) { +function PhysicsEngine_draw__P845(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13265,18 +13010,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C298333_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C841_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_draw__P298337.info = {"start":279,"length":10,"line":15,"column":4,"endLine":15,"endColumn":14,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"draw","argumentNames":["this"]} -PhysicsEngine_draw__P298337.info = {"start":279,"length":10,"line":15,"column":4,"endLine":15,"endColumn":14,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"draw","argumentNames":["this"]} +PhysicsEngine_draw__P845.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__P845.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__P298337_mk(s) { +function PhysicsEngine_draw__P845_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P298337, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P845, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13285,7 +13030,7 @@ function PhysicsEngine_draw__P298337_mk(s) { -function controller___update__P298201(s) { +function controller___update__P709(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13295,7 +13040,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.dtms___316042 = undefined; + s.dtms___18225 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -13303,12 +13048,12 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___316042 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P316049); + s.dtms___18225 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P18232); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___316042); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); - s.tmp_2 = controller_players__P298172_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___18225); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); + s.tmp_2 = controller_players__P680_mk(s); s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; @@ -13321,18 +13066,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update__P298201.info = {"start":17961,"length":137,"line":550,"column":4,"endLine":553,"endColumn":5,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"__update","argumentNames":["dt"]} -controller___update__P298201.info = {"start":17961,"length":137,"line":550,"column":4,"endLine":553,"endColumn":5,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"__update","argumentNames":["dt"]} +controller___update__P709.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__P709.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__P298201_mk(s) { +function controller___update__P709_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P298201, depth: s.depth + 1, + parent: s, fn: controller___update__P709, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___316042: undefined, + dtms___18225: undefined, arg0: undefined, } } @@ -13340,7 +13085,7 @@ function controller___update__P298201_mk(s) { -function inline__P316049(s) { +function inline__P18232(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13354,7 +13099,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___update__P298198_mk(s); + s.tmp_0 = controller_Controller___update__P706_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.pc = 1; return s.tmp_0; @@ -13364,13 +13109,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P316049.info = {"start":18063,"length":27,"line":552,"column":26,"endLine":552,"endColumn":53,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -inline__P316049.info = {"start":18063,"length":27,"line":552,"column":26,"endLine":552,"endColumn":53,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P18232.info = {"start":18063,"length":27,"line":552,"column":26,"endLine":552,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P18232.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__P316049_mk(s) { +function inline__P18232_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P316049, depth: s.depth + 1, + parent: s, fn: inline__P18232, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13380,7 +13125,7 @@ function inline__P316049_mk(s) { -function controller_Controller___update__P298198(s) { +function controller_Controller___update__P706(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13396,7 +13141,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C298176_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C684_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -13407,10 +13152,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__P316062); + r0 = pxsim_pxtcore_mkAction(1, inline__P18245); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["buttons"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -13421,13 +13166,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update__P298198.info = {"start":17439,"length":124,"line":532,"column":8,"endLine":535,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} -controller_Controller___update__P298198.info = {"start":17439,"length":124,"line":532,"column":8,"endLine":535,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Controller___update__P706.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__P706.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__P298198_mk(s) { +function controller_Controller___update__P706_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P298198, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P706, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13441,7 +13186,7 @@ function controller_Controller___update__P298198_mk(s) { -function inline__P316062(s) { +function inline__P18245(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13455,7 +13200,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Button___update__P298163_mk(s); + s.tmp_0 = controller_Button___update__P671_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg1 = r0; @@ -13466,13 +13211,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P316062.info = {"start":17526,"length":25,"line":534,"column":33,"endLine":534,"endColumn":58,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":["btn"]} -inline__P316062.info = {"start":17526,"length":25,"line":534,"column":33,"endLine":534,"endColumn":58,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":["btn"]} +inline__P18245.info = {"start":17526,"length":25,"line":534,"column":33,"endLine":534,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +inline__P18245.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__P316062_mk(s) { +function inline__P18245_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P316062, depth: s.depth + 1, + parent: s, fn: inline__P18245, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13482,7 +13227,7 @@ function inline__P316062_mk(s) { -function controller_Button___update__P298163(s) { +function controller_Button___update__P671(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13492,16 +13237,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.delay___316078 = undefined; - s.interval___316088 = undefined; - s.count___316102 = undefined; + s.delay___18261 = undefined; + s.interval___18271 = undefined; + s.count___18285 = 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__C298153_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C661_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -13525,31 +13270,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___298148; + r0 = globals.defaultRepeatDelay___656; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___316078 = (s.tmp_2); + s.delay___18261 = (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___298150; + r0 = globals.defaultRepeatInterval___658; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___316088 = (s.tmp_2); + s.interval___18271 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___316078); + r0 = (s.tmp_1 < s.delay___18261); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -13558,26 +13303,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___316078); + r0 = (s.tmp_5 - s.delay___18261); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___316088); + r0 = (s.tmp_4 - s.interval___18271); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___316088); + r0 = (s.tmp_3 / s.interval___18271); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___316102 = (r0); + s.count___18285 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___316102 != s.tmp_1); + r0 = (s.count___18285 != 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__P298157_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P665_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___316102); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___18285); case 9: case 10: case 11: @@ -13585,13 +13330,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button___update__P298163.info = {"start":5117,"length":704,"line":164,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} -controller_Button___update__P298163.info = {"start":5117,"length":704,"line":164,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Button___update__P671.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__P671.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__P298163_mk(s) { +function controller_Button___update__P671_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P298163, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P671, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13599,9 +13344,9 @@ function controller_Button___update__P298163_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___316078: undefined, - interval___316088: undefined, - count___316102: undefined, + delay___18261: undefined, + interval___18271: undefined, + count___18285: undefined, arg0: undefined, arg1: undefined, } } @@ -13610,7 +13355,7 @@ function controller_Button___update__P298163_mk(s) { -function controller_Button_raiseButtonRepeat__P298157(s) { +function controller_Button_raiseButtonRepeat__P665(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13625,8 +13370,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C298153_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___298146); + if (!checkSubtype(r0, controller_Button__C661_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___654); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -13641,13 +13386,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P298157.info = {"start":2887,"length":211,"line":99,"column":8,"endLine":104,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} -controller_Button_raiseButtonRepeat__P298157.info = {"start":2887,"length":211,"line":99,"column":8,"endLine":104,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} +controller_Button_raiseButtonRepeat__P665.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__P665.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__P298157_mk(s) { +function controller_Button_raiseButtonRepeat__P665_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P298157, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P665, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13657,7 +13402,7 @@ function controller_Button_raiseButtonRepeat__P298157_mk(s) { -function controller_players__P298172(s) { +function controller_players__P680(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13667,26 +13412,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = controller__player1__P298171_mk(s); + s.tmp_0 = controller__player1__P679_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_arrayFilter__P297631_mk(s); - s.tmp_0.arg0 = globals._players___298169; - s.tmp_0.arg1 = inline__P315935; + s.tmp_0 = helpers_arrayFilter__P60_mk(s); + s.tmp_0.arg0 = globals._players___677; + s.tmp_0.arg1 = inline__P18118; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -controller_players__P298172.info = {"start":7040,"length":144,"line":220,"column":4,"endLine":223,"endColumn":5,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"players","argumentNames":[]} -controller_players__P298172.info = {"start":7040,"length":144,"line":220,"column":4,"endLine":223,"endColumn":5,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P680.info = {"start":7040,"length":144,"line":220,"column":4,"endLine":223,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P680.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__P298172_mk(s) { +function controller_players__P680_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P298172, depth: s.depth + 1, + parent: s, fn: controller_players__P680, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -13695,7 +13440,7 @@ function controller_players__P298172_mk(s) { -function inline__P315935(s) { +function inline__P18118(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13719,13 +13464,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P315935.info = {"start":7162,"length":14,"line":222,"column":31,"endLine":222,"endColumn":45,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -inline__P315935.info = {"start":7162,"length":14,"line":222,"column":31,"endLine":222,"endColumn":45,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P18118.info = {"start":7162,"length":14,"line":222,"column":31,"endLine":222,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P18118.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__P315935_mk(s) { +function inline__P18118_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P315935, depth: s.depth + 1, + parent: s, fn: inline__P18118, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13737,7 +13482,7 @@ function inline__P315935_mk(s) { -function controller__player1__P298171(s) { +function controller__player1__P679(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13747,7 +13492,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___298169); + r0 = pxsim_numops_toBoolDecr(globals._players___677); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -13756,7 +13501,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___298169, 0); + r0 = pxsim_Array__getAt(globals._players___677, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -13766,18 +13511,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__C298176_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C684_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.left___298128); - r0 = pxsim_Array__push(s.tmp_6, globals.up___298130); - r0 = pxsim_Array__push(s.tmp_6, globals.right___298132); - r0 = pxsim_Array__push(s.tmp_6, globals.down___298134); - r0 = pxsim_Array__push(s.tmp_6, globals.A___298124); - r0 = pxsim_Array__push(s.tmp_6, globals.B___298126); - r0 = pxsim_Array__push(s.tmp_6, globals.menu___298136); - s.tmp_7 = controller_Controller_constructor__P298200_mk(s); + r0 = pxsim_Array__push(s.tmp_6, globals.left___636); + r0 = pxsim_Array__push(s.tmp_6, globals.up___638); + r0 = pxsim_Array__push(s.tmp_6, globals.right___640); + r0 = pxsim_Array__push(s.tmp_6, globals.down___642); + r0 = pxsim_Array__push(s.tmp_6, globals.A___632); + r0 = pxsim_Array__push(s.tmp_6, globals.B___634); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___644); + s.tmp_7 = controller_Controller_constructor__P708_mk(s); s.tmp_7.arg0 = s.tmp_5; s.tmp_7.arg1 = 1; s.tmp_7.arg2 = s.tmp_6; @@ -13786,17 +13531,17 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___298169, 0); + r0 = pxsim_Array__getAt(globals._players___677, 0); return leave(s, r0) default: oops() } } } -controller__player1__P298171.info = {"start":6776,"length":258,"line":214,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"_player1","argumentNames":[]} -controller__player1__P298171.info = {"start":6776,"length":258,"line":214,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P679.info = {"start":6776,"length":258,"line":214,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P679.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__P298171_mk(s) { +function controller__player1__P679_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P298171, depth: s.depth + 1, + parent: s, fn: controller__player1__P679, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13812,7 +13557,7 @@ function controller__player1__P298171_mk(s) { -function controller_Controller_constructor__P298200(s) { +function controller_Controller_constructor__P708(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13822,9 +13567,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.leftId___315983 = undefined; - s.i___315991 = undefined; - s.i___316009 = undefined; + s.leftId___18166 = undefined; + s.i___18174 = undefined; + s.i___18192 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -13832,7 +13577,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C298176_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C684_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1 = r0; @@ -13856,18 +13601,18 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___315983 = (r0); - s.i___315991 = (0); + s.leftId___18166 = (r0); + s.i___18174 = (0); case 2: - r0 = (s.i___315991 < 7); + r0 = (s.i___18174 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C298153_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C661_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P298164_mk(s); + s.tmp_2 = controller_Button_constructor__P672_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___315983 + s.i___315991); + r0 = (s.leftId___18166 + s.i___18174); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; s.pc = 7; return s.tmp_2; @@ -13876,14 +13621,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___315991 + 1); - s.i___315991 = (r0); + r0 = (s.i___18174 + 1); + s.i___18174 = (r0); { step = 2; continue; } case 3: case 4: - s.i___316009 = (0); + s.i___18192 = (0); case 5: - s.tmp_1 = r0 = s.i___316009; + s.tmp_1 = r0 = s.i___18192; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -13894,14 +13639,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___316009); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___18192); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___316009 + 1); - s.i___316009 = (r0); + r0 = (s.i___18192 + 1); + s.i___18192 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P298170_mk(s); + s.tmp_0 = controller_addController__P678_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 8; return s.tmp_0; case 8: @@ -13910,13 +13655,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_constructor__P298200.info = {"start":7849,"length":696,"line":249,"column":8,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} -controller_Controller_constructor__P298200.info = {"start":7849,"length":696,"line":249,"column":8,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} +controller_Controller_constructor__P708.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__P708.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__P298200_mk(s) { +function controller_Controller_constructor__P708_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P298200, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P708, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13924,9 +13669,9 @@ function controller_Controller_constructor__P298200_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___315983: undefined, - i___315991: undefined, - i___316009: undefined, + leftId___18166: undefined, + i___18174: undefined, + i___18192: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -13936,7 +13681,7 @@ function controller_Controller_constructor__P298200_mk(s) { -function controller_addController__P298170(s) { +function controller_addController__P678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13950,17 +13695,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___298169); + r0 = pxsim_numops_toBoolDecr(globals._players___677); 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___298169 = (r0); + globals._players___677 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___298169; + s.tmp_0 = r0 = globals._players___677; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -13970,13 +13715,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P298170.info = {"start":6613,"length":157,"line":207,"column":4,"endLine":212,"endColumn":5,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"addController","argumentNames":["ctrl"]} -controller_addController__P298170.info = {"start":6613,"length":157,"line":207,"column":4,"endLine":212,"endColumn":5,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"addController","argumentNames":["ctrl"]} +controller_addController__P678.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__P678.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__P298170_mk(s) { +function controller_addController__P678_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P298170, depth: s.depth + 1, + parent: s, fn: controller_addController__P678, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13988,7 +13733,7 @@ function controller_addController__P298170_mk(s) { -function helpers_arrayFilter__P297631(s) { +function helpers_arrayFilter__P60(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13998,31 +13743,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.res___321782 = undefined; - s.len___321784 = undefined; - s.i___321787 = undefined; - s.v___321792 = undefined; + s.res___24004 = undefined; + s.len___24006 = undefined; + s.i___24009 = undefined; + s.v___24014 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___321782 = (r0); + s.res___24004 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___321784 = (r0); - s.i___321787 = (0); + s.len___24006 = (r0); + s.i___24009 = (0); case 1: - r0 = (s.i___321787 < s.len___321784); + r0 = (s.i___24009 < s.len___24006); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___321787); - s.v___321792 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___24009); + s.v___24014 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___321792; - s.tmp_1.arg1 = s.i___321787; + s.tmp_1.arg0 = s.v___24014; + s.tmp_1.arg1 = s.i___24009; setupLambda(s.tmp_1, s.tmp_1.argL); s.pc = 5; return s.tmp_1; case 5: @@ -14030,31 +13775,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___321782, s.v___321792); + r0 = pxsim_Array__push(s.res___24004, s.v___24014); case 2: case 3: - r0 = (s.i___321787 + 1); - s.i___321787 = (r0); + r0 = (s.i___24009 + 1); + s.i___24009 = (r0); { step = 1; continue; } case 4: - r0 = s.res___321782; + r0 = s.res___24004; return leave(s, r0) default: oops() } } } -helpers_arrayFilter__P297631.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__P297631.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__P60.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__P60.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__P297631_mk(s) { +function helpers_arrayFilter__P60_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P297631, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P60, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___321782: undefined, - len___321784: undefined, - i___321787: undefined, - v___321792: undefined, + res___24004: undefined, + len___24006: undefined, + i___24009: undefined, + v___24014: undefined, arg0: undefined, arg1: undefined, } } @@ -14063,7 +13808,7 @@ function helpers_arrayFilter__P297631_mk(s) { -function controller__moveSprites__P298175(s) { +function controller__moveSprites__P683(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14073,13 +13818,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P297630_mk(s); - s.tmp_1 = controller_players__P298172_mk(s); + s.tmp_0 = helpers_arrayForEach__P59_mk(s); + s.tmp_1 = controller_players__P680_mk(s); s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P315717; + s.tmp_0.arg1 = inline__P17900; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -14087,13 +13832,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites__P298175.info = {"start":7400,"length":182,"line":234,"column":4,"endLine":238,"endColumn":5,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"_moveSprites","argumentNames":[]} -controller__moveSprites__P298175.info = {"start":7400,"length":182,"line":234,"column":4,"endLine":238,"endColumn":5,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P683.info = {"start":7400,"length":182,"line":234,"column":4,"endLine":238,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P683.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__P298175_mk(s) { +function controller__moveSprites__P683_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P298175, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P683, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14103,7 +13848,7 @@ function controller__moveSprites__P298175_mk(s) { -function inline__P315717(s) { +function inline__P17900(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14117,7 +13862,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___preUpdate__P298197_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P705_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: @@ -14126,13 +13871,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P315717.info = {"start":7548,"length":26,"line":237,"column":26,"endLine":237,"endColumn":52,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -inline__P315717.info = {"start":7548,"length":26,"line":237,"column":26,"endLine":237,"endColumn":52,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P17900.info = {"start":7548,"length":26,"line":237,"column":26,"endLine":237,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P17900.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__P315717_mk(s) { +function inline__P17900_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P315717, depth: s.depth + 1, + parent: s, fn: inline__P17900, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14142,7 +13887,7 @@ function inline__P315717_mk(s) { -function controller_Controller___preUpdate__P298197(s) { +function controller_Controller___preUpdate__P705(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14152,20 +13897,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.deadSprites___315724 = undefined; - s.svx___315725 = undefined; - s.svy___315726 = undefined; - s.svxInCricle___315762 = undefined; - s.svyInCircle___315764 = undefined; - s.sq___315766 = undefined; - s.scale___315781 = undefined; + s.deadSprites___17907 = undefined; + s.svx___17908 = undefined; + s.svy___17909 = undefined; + s.svxInCricle___17945 = undefined; + s.svyInCircle___17947 = undefined; + s.sq___17949 = undefined; + s.scale___17964 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C298176_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P298177_mk(s); + if (!checkSubtype(r0, controller_Controller__C684_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P685_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 18; return s.tmp_3; case 18: @@ -14181,21 +13926,21 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___315724 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___315724, false); + s.deadSprites___17907 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___17907, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___315725 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___315725, 0); + s.svx___17908 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___17908, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___315726 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___315726, 0); + s.svy___17909 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___17909, 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___315725; - s.tmp_5 = controller_Button_pressureLevel__P298161_mk(s); - s.tmp_6 = controller_Controller_right__P298182_mk(s); + s.tmp_1 = r0 = s.svx___17908; + s.tmp_5 = controller_Button_pressureLevel__P669_mk(s); + s.tmp_6 = controller_Controller_right__P690_mk(s); s.tmp_6.arg0 = s.arg0; s.pc = 20; return s.tmp_6; case 20: @@ -14205,8 +13950,8 @@ switch (step) { case 19: r0 = s.retval; s.tmp_4 = r0; - s.tmp_8 = controller_Button_pressureLevel__P298161_mk(s); - s.tmp_9 = controller_Controller_left__P298181_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P669_mk(s); + s.tmp_9 = controller_Controller_left__P689_mk(s); s.tmp_9.arg0 = s.arg0; s.pc = 22; return s.tmp_9; case 22: @@ -14221,9 +13966,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___315726; - s.tmp_4 = controller_Button_pressureLevel__P298161_mk(s); - s.tmp_5 = controller_Controller_down__P298184_mk(s); + s.tmp_0 = r0 = s.svy___17909; + s.tmp_4 = controller_Button_pressureLevel__P669_mk(s); + s.tmp_5 = controller_Controller_down__P692_mk(s); s.tmp_5.arg0 = s.arg0; s.pc = 24; return s.tmp_5; case 24: @@ -14233,8 +13978,8 @@ switch (step) { case 23: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = controller_Button_pressureLevel__P298161_mk(s); - s.tmp_8 = controller_Controller_up__P298183_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P669_mk(s); + s.tmp_8 = controller_Controller_up__P691_mk(s); s.tmp_8.arg0 = s.arg0; s.pc = 26; return s.tmp_8; case 26: @@ -14251,14 +13996,14 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 12; continue; } case 3: - s.tmp_1 = controller_Button__C298153_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P298182_mk(s); + s.tmp_1 = controller_Button__C661_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P690_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__C298153_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C661_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: @@ -14273,14 +14018,14 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C298153_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P298181_mk(s); + s.tmp_5 = controller_Button__C661_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P689_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__C298153_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C661_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: @@ -14295,18 +14040,18 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___315725; + s.tmp_8 = r0 = s.svx___17908; 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__C298153_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P298184_mk(s); + s.tmp_1 = controller_Button__C661_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P692_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__C298153_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C661_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: @@ -14321,14 +14066,14 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C298153_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P298183_mk(s); + s.tmp_5 = controller_Button__C661_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P691_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__C298153_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C661_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: @@ -14343,57 +14088,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___315726; + s.tmp_8 = r0 = s.svy___17909; 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___315762 = (r0); - s.tmp_0 = r0 = s.svxInCricle___315762; - r0 = pxsim_pxtrt_ldlocRef(s.svx___315725); + s.svxInCricle___17945 = (r0); + s.tmp_0 = r0 = s.svxInCricle___17945; + r0 = pxsim_pxtrt_ldlocRef(s.svx___17908); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___315764 = (r0); - s.tmp_0 = r0 = s.svyInCircle___315764; - r0 = pxsim_pxtrt_ldlocRef(s.svy___315726); + s.svyInCircle___17947 = (r0); + s.tmp_0 = r0 = s.svyInCircle___17947; + r0 = pxsim_pxtrt_ldlocRef(s.svy___17909); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___315725); + r0 = pxsim_pxtrt_ldlocRef(s.svx___17908); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___315725); + r0 = pxsim_pxtrt_ldlocRef(s.svx___17908); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___315726); + r0 = pxsim_pxtrt_ldlocRef(s.svy___17909); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___315726); + r0 = pxsim_pxtrt_ldlocRef(s.svy___17909); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___315766 = (r0); - r0 = (s.sq___315766 > 65536); + s.sq___17949 = (r0); + r0 = (s.sq___17949 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___315766); + r0 = (65536 / s.sq___17949); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___315781 = (r0); - s.tmp_0 = r0 = s.svxInCricle___315762; - s.tmp_3 = r0 = s.scale___315781; - r0 = pxsim_pxtrt_ldlocRef(s.svx___315725); + s.scale___17964 = (r0); + s.tmp_0 = r0 = s.svxInCricle___17945; + s.tmp_3 = r0 = s.scale___17964; + r0 = pxsim_pxtrt_ldlocRef(s.svx___17908); 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___315764; - s.tmp_3 = r0 = s.scale___315781; - r0 = pxsim_pxtrt_ldlocRef(s.svy___315726); + s.tmp_0 = r0 = s.svyInCircle___17947; + s.tmp_3 = r0 = s.scale___17964; + r0 = pxsim_pxtrt_ldlocRef(s.svy___17909); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -14402,15 +14147,15 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); case 13: case 14: - r0 = pxsim_pxtcore_mkAction(5, inline__P315799); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___315724); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___315725); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___315726); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___315762); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___315764); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P298177_mk(s); + r0 = pxsim_pxtcore_mkAction(5, inline__P17982); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___17907); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___17908); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___17909); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___17945); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___17947); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P685_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 36; return s.tmp_2; case 36: @@ -14420,20 +14165,20 @@ switch (step) { s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___315724); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___17907); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P298178_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P686_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P297631_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P298177_mk(s); + s.tmp_2 = helpers_arrayFilter__P60_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P685_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__P315860; + s.tmp_2.arg1 = inline__P18043; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -14448,13 +14193,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate__P298197.info = {"start":14894,"length":2535,"line":466,"column":8,"endLine":530,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} -controller_Controller___preUpdate__P298197.info = {"start":14894,"length":2535,"line":466,"column":8,"endLine":530,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} +controller_Controller___preUpdate__P705.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__P705.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__P298197_mk(s) { +function controller_Controller___preUpdate__P705_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P298197, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P705, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14466,13 +14211,13 @@ function controller_Controller___preUpdate__P298197_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___315724: undefined, - svx___315725: undefined, - svy___315726: undefined, - svxInCricle___315762: undefined, - svyInCircle___315764: undefined, - sq___315766: undefined, - scale___315781: undefined, + deadSprites___17907: undefined, + svx___17908: undefined, + svy___17909: undefined, + svxInCricle___17945: undefined, + svyInCircle___17947: undefined, + sq___17949: undefined, + scale___17964: undefined, arg0: undefined, } } @@ -14480,7 +14225,7 @@ function controller_Controller___preUpdate__P298197_mk(s) { -function inline__P315799(s) { +function inline__P17982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14490,9 +14235,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.s___315802 = undefined; - s.vx___315803 = undefined; - s.vy___315804 = undefined; + s.s___17985 = undefined; + s.vx___17986 = undefined; + s.vy___17987 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -14510,7 +14255,7 @@ switch (step) { } case 22: r0 = s.retval; - s.s___315802 = (r0); + s.s___17985 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -14523,7 +14268,7 @@ switch (step) { } case 23: r0 = s.retval; - s.vx___315803 = (r0); + s.vx___17986 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -14536,8 +14281,8 @@ switch (step) { } case 24: r0 = s.retval; - s.vy___315804 = (r0); - r0 = s.s___315802.fields["flags"]; + s.vy___17987 = (r0); + r0 = s.s___17985.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -14551,14 +14296,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___315803); + r0 = pxsim_numops_toBoolDecr(s.vx___17986); if (!r0) { step = 3; continue; } - r0 = (s.s___315802).fields["_vx"] = (0); + r0 = (s.s___17985).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___315804); + r0 = pxsim_numops_toBoolDecr(s.vy___17987); if (!r0) { step = 5; continue; } - r0 = (s.s___315802).fields["_vy"] = (0); + r0 = (s.s___17985).fields["_vy"] = (0); case 5: case 6: case 7: @@ -14576,48 +14321,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___315803; + s.tmp_2 = r0 = s.vx___17986; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___315804; + r0 = s.vy___17987; 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___315802; + s.tmp_4 = r0 = s.s___17985; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___315803); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___17986); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___315802; + s.tmp_0 = r0 = s.s___17985; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___315804); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___17987); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___315803); + r0 = pxsim_numops_toBoolDecr(s.vx___17986); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___315802; + s.tmp_0 = r0 = s.s___17985; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___315803); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___17986); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___315804); + r0 = pxsim_numops_toBoolDecr(s.vy___17987); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___315802; + s.tmp_0 = r0 = s.s___17985; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___315804); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___17987); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -14634,13 +14379,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P315799.info = {"start":16077,"length":1171,"line":497,"column":44,"endLine":525,"endColumn":13,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} -inline__P315799.info = {"start":16077,"length":1171,"line":497,"column":44,"endLine":525,"endColumn":13,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +inline__P17982.info = {"start":16077,"length":1171,"line":497,"column":44,"endLine":525,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +inline__P17982.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__P315799_mk(s) { +function inline__P17982_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P315799, depth: s.depth + 1, + parent: s, fn: inline__P17982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14649,9 +14394,9 @@ function inline__P315799_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___315802: undefined, - vx___315803: undefined, - vy___315804: undefined, + s___17985: undefined, + vx___17986: undefined, + vy___17987: undefined, arg0: undefined, } } @@ -14659,7 +14404,7 @@ function inline__P315799_mk(s) { -function inline__P315860(s) { +function inline__P18043(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14684,13 +14429,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P315860.info = {"start":17375,"length":42,"line":529,"column":28,"endLine":529,"endColumn":70,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":["s"]} -inline__P315860.info = {"start":17375,"length":42,"line":529,"column":28,"endLine":529,"endColumn":70,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":["s"]} +inline__P18043.info = {"start":17375,"length":42,"line":529,"column":28,"endLine":529,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} +inline__P18043.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__P315860_mk(s) { +function inline__P18043_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P315860, depth: s.depth + 1, + parent: s, fn: inline__P18043, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14702,7 +14447,7 @@ function inline__P315860_mk(s) { -function controller_Controller_down__P298184(s) { +function controller_Controller_down__P692(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14717,7 +14462,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C298176_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C684_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (4 - 1); @@ -14726,14 +14471,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_down__P298184.info = {"start":9528,"length":77,"line":312,"column":8,"endLine":314,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"down","argumentNames":["this"]} -controller_Controller_down__P298184.isGetter = true; -controller_Controller_down__P298184.info = {"start":9528,"length":77,"line":312,"column":8,"endLine":314,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"down","argumentNames":["this"]} +controller_Controller_down__P692.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__P692.isGetter = true; +controller_Controller_down__P692.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__P298184_mk(s) { +function controller_Controller_down__P692_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P298184, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P692, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14744,7 +14489,7 @@ function controller_Controller_down__P298184_mk(s) { -function controller_Controller_button__P298189(s) { +function controller_Controller_button__P697(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14760,7 +14505,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C298176_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C684_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (s.arg1 - 1); @@ -14769,13 +14514,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P298189.info = {"start":11484,"length":105,"line":373,"column":8,"endLine":375,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"button","argumentNames":["this","button"]} -controller_Controller_button__P298189.info = {"start":11484,"length":105,"line":373,"column":8,"endLine":375,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"button","argumentNames":["this","button"]} +controller_Controller_button__P697.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__P697.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__P298189_mk(s) { +function controller_Controller_button__P697_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P298189, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P697, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14787,7 +14532,7 @@ function controller_Controller_button__P298189_mk(s) { -function controller_Controller_up__P298183(s) { +function controller_Controller_up__P691(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14802,7 +14547,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C298176_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C684_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (2 - 1); @@ -14811,14 +14556,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_up__P298183.info = {"start":9376,"length":73,"line":304,"column":8,"endLine":306,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"up","argumentNames":["this"]} -controller_Controller_up__P298183.isGetter = true; -controller_Controller_up__P298183.info = {"start":9376,"length":73,"line":304,"column":8,"endLine":306,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"up","argumentNames":["this"]} +controller_Controller_up__P691.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__P691.isGetter = true; +controller_Controller_up__P691.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__P298183_mk(s) { +function controller_Controller_up__P691_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P298183, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P691, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14829,7 +14574,7 @@ function controller_Controller_up__P298183_mk(s) { -function controller_Controller_right__P298182(s) { +function controller_Controller_right__P690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14844,7 +14589,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C298176_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C684_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (3 - 1); @@ -14853,14 +14598,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_right__P298182.info = {"start":9220,"length":79,"line":296,"column":8,"endLine":298,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"right","argumentNames":["this"]} -controller_Controller_right__P298182.isGetter = true; -controller_Controller_right__P298182.info = {"start":9220,"length":79,"line":296,"column":8,"endLine":298,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"right","argumentNames":["this"]} +controller_Controller_right__P690.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__P690.isGetter = true; +controller_Controller_right__P690.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__P298182_mk(s) { +function controller_Controller_right__P690_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P298182, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P690, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14871,7 +14616,7 @@ function controller_Controller_right__P298182_mk(s) { -function controller_Controller_left__P298181(s) { +function controller_Controller_left__P689(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14886,7 +14631,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C298176_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C684_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (1 - 1); @@ -14895,14 +14640,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_left__P298181.info = {"start":9063,"length":77,"line":288,"column":8,"endLine":290,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"left","argumentNames":["this"]} -controller_Controller_left__P298181.isGetter = true; -controller_Controller_left__P298181.info = {"start":9063,"length":77,"line":288,"column":8,"endLine":290,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"left","argumentNames":["this"]} +controller_Controller_left__P689.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__P689.isGetter = true; +controller_Controller_left__P689.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__P298181_mk(s) { +function controller_Controller_left__P689_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P298181, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P689, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14913,7 +14658,7 @@ function controller_Controller_left__P298181_mk(s) { -function controller_Controller__controlledSprites__P298178(s) { +function controller_Controller__controlledSprites__P686(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14929,8 +14674,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C298176_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P298414_mk(s); + if (!checkSubtype(r0, controller_Controller__C684_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P922_mk(s); s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -14943,13 +14688,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P298178.info = {"start":8697,"length":134,"line":272,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} -controller_Controller__controlledSprites__P298178.info = {"start":8697,"length":134,"line":272,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} +controller_Controller__controlledSprites__P686.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__P686.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__P298178_mk(s) { +function controller_Controller__controlledSprites__P686_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P298178, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P686, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14962,7 +14707,7 @@ function controller_Controller__controlledSprites__P298178_mk(s) { -function controller_Controller__controlledSprites__P298177(s) { +function controller_Controller__controlledSprites__P685(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14977,8 +14722,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C298176_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P298414_mk(s); + if (!checkSubtype(r0, controller_Controller__C684_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P922_mk(s); s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -14990,14 +14735,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P298177.info = {"start":8555,"length":132,"line":268,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} -controller_Controller__controlledSprites__P298177.isGetter = true; -controller_Controller__controlledSprites__P298177.info = {"start":8555,"length":132,"line":268,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} +controller_Controller__controlledSprites__P685.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__P685.isGetter = true; +controller_Controller__controlledSprites__P685.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__P298177_mk(s) { +function controller_Controller__controlledSprites__P685_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P298177, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P685, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15009,7 +14754,7 @@ function controller_Controller__controlledSprites__P298177_mk(s) { -function controller_Button_pressureLevel__P298161(s) { +function controller_Button_pressureLevel__P669(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15024,16 +14769,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C298153_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C661_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__C298153_v0_1_mk(s); + s.tmp_3 = controller_Button__C661_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C298153_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C661_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: @@ -15062,13 +14807,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_pressureLevel__P298161.info = {"start":4279,"length":311,"line":139,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"pressureLevel","argumentNames":["this"]} -controller_Button_pressureLevel__P298161.info = {"start":4279,"length":311,"line":139,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"pressureLevel","argumentNames":["this"]} +controller_Button_pressureLevel__P669.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__P669.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__P298161_mk(s) { +function controller_Button_pressureLevel__P669_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P298161, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P669, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15083,7 +14828,7 @@ function controller_Button_pressureLevel__P298161_mk(s) { -function controller_Button_isPressed__P298160(s) { +function controller_Button_isPressed__P668(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15098,18 +14843,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C298153_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C661_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -controller_Button_isPressed__P298160.info = {"start":4129,"length":57,"line":132,"column":8,"endLine":134,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"isPressed","argumentNames":["this"]} -controller_Button_isPressed__P298160.info = {"start":4129,"length":57,"line":132,"column":8,"endLine":134,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"isPressed","argumentNames":["this"]} +controller_Button_isPressed__P668.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__P668.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__P298160_mk(s) { +function controller_Button_isPressed__P668_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P298160, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P668, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15118,7 +14863,7 @@ function controller_Button_isPressed__P298160_mk(s) { -function Fx_imul__P297686(s) { +function Fx_imul__P115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15137,13 +14882,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_imul__P297686.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__P297686.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__P115.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__P115.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__P297686_mk(s) { +function Fx_imul__P115_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P297686, depth: s.depth + 1, + parent: s, fn: Fx_imul__P115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -15153,7 +14898,7 @@ function Fx_imul__P297686_mk(s) { -function power_checkDeepSleep__P297967(s) { +function power_checkDeepSleep__P465(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15163,13 +14908,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.p___314931 = undefined; - s.to___314934 = undefined; - s.tmp_0 = power_init__P297969_mk(s); + s.p___17114 = undefined; + s.to___17117 = undefined; + s.tmp_0 = power_init__P467_mk(s); s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___297963; + s.tmp_0 = r0 = globals._poked___461; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -15179,8 +14924,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___314931 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___297964; + s.p___17114 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___462; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -15190,8 +14935,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___314934 = (s.tmp_1); - r0 = (s.to___314934 > 0); + s.to___17117 = (s.tmp_1); + r0 = (s.to___17117 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -15200,9 +14945,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___314931); + r0 = (s.tmp_2 - s.p___17114); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___314934); + r0 = (s.tmp_1 > s.to___17117); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -15228,13 +14973,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_checkDeepSleep__P297967.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} -power_checkDeepSleep__P297967.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P465.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P465.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__P297967_mk(s) { +function power_checkDeepSleep__P465_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P297967, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P465, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15243,15 +14988,15 @@ function power_checkDeepSleep__P297967_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___314931: undefined, - to___314934: undefined, + p___17114: undefined, + to___17117: undefined, } } -function power_init__P297969(s) { +function power_init__P467(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15261,7 +15006,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = (globals._timeout___297964 !== undefined); + r0 = (globals._timeout___462 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -15271,21 +15016,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___297964 = (r0); - r0 = (globals._timeout___297964 > 0); + globals._timeout___462 = (r0); + r0 = (globals._timeout___462 > 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___297964 < 300000); + r0 = (globals._timeout___462 < 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___297964 = (300000); + globals._timeout___462 = (300000); case 5: case 6: case 7: @@ -15293,13 +15038,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P297969.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} -power_init__P297969.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P467.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P467.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__P297969_mk(s) { +function power_init__P467_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P297969, depth: s.depth + 1, + parent: s, fn: power_init__P467, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15309,7 +15054,7 @@ function power_init__P297969_mk(s) { -function power_poke__P297966(s) { +function power_poke__P464(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15319,23 +15064,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = power_init__P297969_mk(s); + s.tmp_0 = power_init__P467_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___297963 = (r0); + globals._poked___461 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -power_poke__P297966.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} -power_poke__P297966.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P464.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P464.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__P297966_mk(s) { +function power_poke__P464_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P297966, depth: s.depth + 1, + parent: s, fn: power_poke__P464, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -15344,7 +15089,7 @@ function power_poke__P297966_mk(s) { -function control_EventContext_deltaTime__P297840(s) { +function control_EventContext_deltaTime__P269(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15359,21 +15104,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C297839_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C268_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__P297840.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__P297840.isGetter = true; -control_EventContext_deltaTime__P297840.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__P269.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__P269.isGetter = true; +control_EventContext_deltaTime__P269.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__P297840_mk(s) { +function control_EventContext_deltaTime__P269_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P297840, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P269, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15383,7 +15128,7 @@ function control_EventContext_deltaTime__P297840_mk(s) { -function control_pushEventContext__P297855(s) { +function music_Melody_constructor__P424(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15393,64 +15138,102 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ctx___316143 = undefined; - s.n___316149 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___297853); + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, music_Melody__C412_VT)) failedCast(r0); + r0 = (s.arg0).fields["_text"] = (s.arg1); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +music_Melody_constructor__P424.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__P424.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__P424_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: music_Melody_constructor__P424, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + arg0: undefined, + arg1: undefined, +} } + + + + + +function control_pushEventContext__P284(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.ctx___18326 = undefined; + s.n___18332 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___282); 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___297853 = (r0); + globals.eventContexts___282 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P297854_mk(s); + s.tmp_0 = control_eventContext__P283_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___316143 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___316143); + s.ctx___18326 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___18326); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P297844_mk(s); - s.tmp_0.arg0 = s.ctx___316143; + s.tmp_0 = control_EventContext_unregister__P273_mk(s); + s.tmp_0.arg0 = s.ctx___18326; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C297839_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C268_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P297852_mk(s); + s.tmp_1 = control_EventContext_constructor__P281_mk(s); s.tmp_1.arg0 = s.tmp_0; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___316149 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___297853, s.n___316149); - r0 = s.n___316149; + s.n___18332 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___282, s.n___18332); + r0 = s.n___18332; return leave(s, r0) default: oops() } } } -control_pushEventContext__P297855.info = {"start":6695,"length":340,"line":205,"column":4,"endLine":216,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} -control_pushEventContext__P297855.info = {"start":6695,"length":340,"line":205,"column":4,"endLine":216,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +control_pushEventContext__P284.info = {"start":6695,"length":340,"line":205,"column":4,"endLine":216,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +control_pushEventContext__P284.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__P297855_mk(s) { +function control_pushEventContext__P284_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P297855, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P284, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___316143: undefined, - n___316149: undefined, + ctx___18326: undefined, + n___18332: undefined, } } -function control_EventContext_constructor__P297852(s) { +function control_EventContext_constructor__P281(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15465,7 +15248,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C297839_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C268_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -15479,13 +15262,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_constructor__P297852.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__P297852.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__P281.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__P281.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__P297852_mk(s) { +function control_EventContext_constructor__P281_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P297852, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P281, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15496,7 +15279,7 @@ function control_EventContext_constructor__P297852_mk(s) { -function control_EventContext_unregister__P297844(s) { +function control_EventContext_unregister__P273(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15506,37 +15289,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.h___316175 = undefined; - s.unnamed2874___U1 = undefined; - s.unnamed2875___U2 = undefined; + s.h___18358 = undefined; + s.unnamed52___U1 = undefined; + s.unnamed53___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C297839_VT)) failedCast(r0); - s.h___316175 = (undefined); + if (!checkSubtype(r0, control_EventContext__C268_VT)) failedCast(r0); + s.h___18358 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed2874___U1 = (r0); - s.unnamed2875___U2 = (0); + s.unnamed52___U1 = (r0); + s.unnamed53___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed2875___U2; - r0 = pxsim_Array__length(s.unnamed2874___U1); + s.tmp_0 = r0 = s.unnamed53___U2; + r0 = pxsim_Array__length(s.unnamed52___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed2874___U1, s.unnamed2875___U2); - s.h___316175 = (r0); - s.tmp_2 = control_EventHandler_unregister__P297836_mk(s); - s.tmp_2.arg0 = s.h___316175; + r0 = pxsim_Array__getAt(s.unnamed52___U1, s.unnamed53___U2); + s.h___18358 = (r0); + s.tmp_2 = control_EventHandler_unregister__P265_mk(s); + s.tmp_2.arg0 = s.h___18358; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed2875___U2 + 1); - s.unnamed2875___U2 = (r0); + r0 = (s.unnamed53___U2 + 1); + s.unnamed53___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed2874___U1 = (undefined); + s.unnamed52___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -15547,20 +15330,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_unregister__P297844.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__P297844.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__P273.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__P273.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__P297844_mk(s) { +function control_EventContext_unregister__P273_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P297844, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P273, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___316175: undefined, - unnamed2874___U1: undefined, - unnamed2875___U2: undefined, + h___18358: undefined, + unnamed52___U1: undefined, + unnamed53___U2: undefined, arg0: undefined, } } @@ -15568,7 +15351,7 @@ function control_EventContext_unregister__P297844_mk(s) { -function control_EventHandler_unregister__P297836(s) { +function control_EventHandler_unregister__P265(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15583,25 +15366,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C297834_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C263_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__P297838, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P267, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P297836.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__P297836.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__P265.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__P265.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__P297836_mk(s) { +function control_EventHandler_unregister__P265_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P297836, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P265, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15613,7 +15396,7 @@ function control_EventHandler_unregister__P297836_mk(s) { -function control_doNothing__P297838(s) { +function control_doNothing__P267(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15627,13 +15410,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P297838.info = {"start":1247,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} -control_doNothing__P297838.info = {"start":1247,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P267.info = {"start":1247,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P267.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__P297838_mk(s) { +function control_doNothing__P267_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P297838, depth: s.depth + 1, + parent: s, fn: control_doNothing__P267, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -15641,7 +15424,7 @@ function control_doNothing__P297838_mk(s) { -function image_getFontForText__P298002(s) { +function image_getFontForText__P500(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15651,53 +15434,53 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.i___313336 = undefined; + s.i___15519 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___313336 = (0); + s.i___15519 = (0); case 1: - s.tmp_1 = r0 = s.i___313336; + s.tmp_1 = r0 = s.i___15519; 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___313336); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___15519); 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___298001; + r0 = globals.font12___499; { step = 5; continue; } case 2: case 3: - r0 = (s.i___313336 + 1); - s.i___313336 = (r0); + r0 = (s.i___15519 + 1); + s.i___15519 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___297999; + r0 = globals.font8___497; case 5: return leave(s, r0) default: oops() } } } -image_getFontForText__P298002.info = {"start":11713,"length":259,"line":136,"column":4,"endLine":143,"endColumn":5,"fileName":"pxt_modules/screen---st7735/text.ts","functionName":"getFontForText","argumentNames":["text"]} -image_getFontForText__P298002.info = {"start":11713,"length":259,"line":136,"column":4,"endLine":143,"endColumn":5,"fileName":"pxt_modules/screen---st7735/text.ts","functionName":"getFontForText","argumentNames":["text"]} +image_getFontForText__P500.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__P500.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__P298002_mk(s) { +function image_getFontForText__P500_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P298002, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P500, 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___313336: undefined, + i___15519: undefined, arg0: undefined, } } @@ -15705,7 +15488,7 @@ function image_getFontForText__P298002_mk(s) { -function helpers_imageDrawLine__P297988(s) { +function helpers_imageDrawLine__P486(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15725,14 +15508,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P297983_mk(s); + s.tmp_2 = helpers_pack__P481_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__P297983_mk(s); + s.tmp_4 = helpers_pack__P481_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.pc = 2; return s.tmp_4; @@ -15744,13 +15527,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawLine__P297988.info = {"start":3977,"length":159,"line":137,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/screen---st7735/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} -helpers_imageDrawLine__P297988.info = {"start":3977,"length":159,"line":137,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/screen---st7735/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawLine__P486.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__P486.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__P297988_mk(s) { +function helpers_imageDrawLine__P486_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P297988, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P486, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15769,7 +15552,7 @@ function helpers_imageDrawLine__P297988_mk(s) { -function helpers_pack__P297983(s) { +function helpers_pack__P481(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15784,7 +15567,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = Math_clamp__P297643_mk(s); + s.tmp_2 = Math_clamp__P72_mk(s); s.tmp_2.arg0 = -30000; s.tmp_2.arg1 = 30000; r0 = (s.arg0 | 0); @@ -15795,7 +15578,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 & 65535); s.tmp_0 = r0; - s.tmp_5 = Math_clamp__P297643_mk(s); + s.tmp_5 = Math_clamp__P72_mk(s); s.tmp_5.arg0 = -30000; s.tmp_5.arg1 = 30000; r0 = (s.arg1 | 0); @@ -15810,13 +15593,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P297983.info = {"start":3152,"length":145,"line":120,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/screen---st7735/image.ts","functionName":"pack","argumentNames":["x","y"]} -helpers_pack__P297983.info = {"start":3152,"length":145,"line":120,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/screen---st7735/image.ts","functionName":"pack","argumentNames":["x","y"]} +helpers_pack__P481.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__P481.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__P297983_mk(s) { +function helpers_pack__P481_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P297983, depth: s.depth + 1, + parent: s, fn: helpers_pack__P481, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15832,7 +15615,7 @@ function helpers_pack__P297983_mk(s) { -function Sprite_setFlag__P298266(s) { +function Sprite_setFlag__P774(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15849,7 +15632,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -15884,7 +15667,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 5; continue; } - s.tmp_2 = Sprite_setFlag__P298266_mk(s); + s.tmp_2 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 512; @@ -15898,13 +15681,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setFlag__P298266.info = {"start":22877,"length":292,"line":697,"column":4,"endLine":704,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} -Sprite_setFlag__P298266.info = {"start":22877,"length":292,"line":697,"column":4,"endLine":704,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} +Sprite_setFlag__P774.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__P774.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__P298266_mk(s) { +function Sprite_setFlag__P774_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P298266, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P774, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15920,7 +15703,7 @@ function Sprite_setFlag__P298266_mk(s) { -function tileworld_Project_getWorld__P303123(s) { +function tileworld_Project_getWorld__P4971(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15935,18 +15718,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); r0 = s.arg0.fields["_world"]; return leave(s, r0) default: oops() } } } -tileworld_Project_getWorld__P303123.info = {"start":931,"length":61,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"project.ts","functionName":"getWorld","argumentNames":["this"]} -tileworld_Project_getWorld__P303123.info = {"start":931,"length":61,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"project.ts","functionName":"getWorld","argumentNames":["this"]} +tileworld_Project_getWorld__P4971.info = {"start":931,"length":61,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"project.ts","functionName":"getWorld","argumentNames":["this"]} +tileworld_Project_getWorld__P4971.info = {"start":931,"length":61,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"project.ts","functionName":"getWorld","argumentNames":["this"]} -function tileworld_Project_getWorld__P303123_mk(s) { +function tileworld_Project_getWorld__P4971_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getWorld__P303123, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getWorld__P4971, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15955,7 +15738,7 @@ function tileworld_Project_getWorld__P303123_mk(s) { -function tileworld_RuleVisualsBase_drawImage__P306469(s) { +function tileworld_RuleVisualsBase_drawImage__P8654(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15973,8 +15756,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___298046; + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___545; s.tmp_1 = r0 = s.arg3; r0 = (s.arg1 << 4); s.tmp_2 = r0; @@ -15987,13 +15770,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_drawImage__P306469.info = {"start":4390,"length":136,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawImage","argumentNames":["this","c","r","img"]} -tileworld_RuleVisualsBase_drawImage__P306469.info = {"start":4390,"length":136,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawImage","argumentNames":["this","c","r","img"]} +tileworld_RuleVisualsBase_drawImage__P8654.info = {"start":4390,"length":136,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawImage","argumentNames":["this","c","r","img"]} +tileworld_RuleVisualsBase_drawImage__P8654.info = {"start":4390,"length":136,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawImage","argumentNames":["this","c","r","img"]} -function tileworld_RuleVisualsBase_drawImage__P306469_mk(s) { +function tileworld_RuleVisualsBase_drawImage__P8654_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_drawImage__P306469, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_drawImage__P8654, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16010,7 +15793,7 @@ function tileworld_RuleVisualsBase_drawImage__P306469_mk(s) { -function helpers_imagePrint__P298010(s) { +function helpers_imagePrint__P508(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16020,31 +15803,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.x0___317693 = undefined; - s.cp___317695 = undefined; - s.mult___317696 = undefined; - s.dataW___317702 = undefined; - s.dataH___317708 = undefined; - s.byteHeight___317714 = undefined; - s.charSize___317720 = undefined; - s.dataSize___317724 = undefined; - s.fontdata___317728 = undefined; - s.lastchar___317732 = undefined; - s.imgBuf___317739 = undefined; - s.xOffset___317763 = undefined; - s.yOffset___317764 = undefined; - s.ch___317780 = undefined; - s.l___317799 = undefined; - s.r___317800 = undefined; - s.off___317802 = undefined; - s.guess___317803 = undefined; - s.m___317823 = undefined; - s.v___317832 = undefined; - s.i___317890 = undefined; - s.j___317895 = undefined; - s.mask___317896 = undefined; - s.c___317897 = undefined; - s.n___317914 = undefined; + s.x0___19876 = undefined; + s.cp___19878 = undefined; + s.mult___19879 = undefined; + s.dataW___19885 = undefined; + s.dataH___19891 = undefined; + s.byteHeight___19897 = undefined; + s.charSize___19903 = undefined; + s.dataSize___19907 = undefined; + s.fontdata___19911 = undefined; + s.lastchar___19915 = undefined; + s.imgBuf___19922 = undefined; + s.xOffset___19946 = undefined; + s.yOffset___19947 = undefined; + s.ch___19963 = undefined; + s.l___19982 = undefined; + s.r___19983 = undefined; + s.off___19985 = undefined; + s.guess___19986 = undefined; + s.m___20006 = undefined; + s.v___20015 = undefined; + s.i___20073 = undefined; + s.j___20078 = undefined; + s.mask___20079 = undefined; + s.c___20080 = undefined; + s.n___20097 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16065,7 +15848,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P298002_mk(s); + s.tmp_2 = image_getFontForText__P500_mk(s); s.tmp_2.arg0 = s.arg1; s.pc = 39; return s.tmp_2; case 39: @@ -16082,8 +15865,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___317693 = (s.arg2); - s.cp___317695 = (0); + s.x0___19876 = (s.arg2); + s.cp___19878 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -16117,7 +15900,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___317696 = (s.tmp_3); + s.mult___19879 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -16131,8 +15914,8 @@ switch (step) { case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___317696); - s.dataW___317702 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___19879); + s.dataW___19885 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -16146,16 +15929,16 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___317696); - s.dataH___317708 = (r0); - r0 = (s.dataH___317708 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___19879); + s.dataH___19891 = (r0); + r0 = (s.dataH___19891 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___317714 = (r0); - r0 = (s.byteHeight___317714 * s.dataW___317702); - s.charSize___317720 = (r0); - r0 = (2 + s.charSize___317720); - s.dataSize___317724 = (r0); + s.byteHeight___19897 = (r0); + r0 = (s.byteHeight___19897 * s.dataW___19885); + s.charSize___19903 = (r0); + r0 = (2 + s.charSize___19903); + s.dataSize___19907 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -16168,44 +15951,44 @@ switch (step) { } case 44: r0 = s.retval; - s.fontdata___317728 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___317728); + s.fontdata___19911 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___19911); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___317724); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___19907); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___317732 = (r0); - r0 = (s.mult___317696 == 1); + s.lastchar___19915 = (r0); + r0 = (s.mult___19879 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___317720); + r0 = (8 + s.charSize___19903); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___317739 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___317739, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___317739, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___317739, 2, s.dataW___317702); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___317739, 4, s.dataH___317708); + s.imgBuf___19922 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___19922, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___19922, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___19922, 2, s.dataW___19885); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___19922, 4, s.dataH___19891); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___317695; + s.tmp_1 = r0 = s.cp___19878; 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___317763 = (0); - s.yOffset___317764 = (0); + s.xOffset___19946 = (0); + s.yOffset___19947 = (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___317695; + s.tmp_1 = r0 = s.cp___19878; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -16215,7 +15998,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___317695); + r0 = pxsim_Array__getAt(s.arg6, s.cp___19878); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -16227,9 +16010,9 @@ switch (step) { } case 45: r0 = s.retval; - s.xOffset___317763 = (r0); + s.xOffset___19946 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___317695); + r0 = pxsim_Array__getAt(s.arg6, s.cp___19878); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -16241,15 +16024,15 @@ switch (step) { } case 46: r0 = s.retval; - s.yOffset___317764 = (r0); + s.yOffset___19947 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___317695; + s.tmp_0 = r0 = s.cp___19878; r0 = (s.tmp_0 + 1); - s.cp___317695 = (r0); + s.cp___19878 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___317780 = (r0); - r0 = (s.ch___317780 == 10); + s.ch___19963 = (r0); + r0 = (s.ch___19963 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -16271,89 +16054,89 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___317693); + s.arg2 = (s.x0___19876); case 14: case 15: - r0 = (s.ch___317780 < 32); + r0 = (s.ch___19963 < 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___317799 = (0); - s.r___317800 = (s.lastchar___317732); - s.off___317802 = (0); - r0 = (s.ch___317780 - 32); + s.l___19982 = (0); + s.r___19983 = (s.lastchar___19915); + s.off___19985 = (0); + r0 = (s.ch___19963 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___317724); - s.guess___317803 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___317728, 4, s.guess___317803); + r0 = (s.tmp_0 * s.dataSize___19907); + s.guess___19986 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___19911, 4, s.guess___19986); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___317780); + r0 = (s.tmp_1 == s.ch___19963); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___317802 = (s.guess___317803); + s.off___19985 = (s.guess___19986); { step = 25; continue; } case 18: case 19: - r0 = (s.l___317799 <= s.r___317800); + r0 = (s.l___19982 <= s.r___19983); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___317799; - r0 = (s.r___317800 - s.l___317799); + s.tmp_1 = r0 = s.l___19982; + r0 = (s.r___19983 - s.l___19982); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___317823 = (r0); - s.tmp_0 = r0 = s.fontdata___317728; - r0 = (s.m___317823 * s.dataSize___317724); + s.m___20006 = (r0); + s.tmp_0 = r0 = s.fontdata___19911; + r0 = (s.m___20006 * s.dataSize___19907); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___317832 = (r0); - r0 = (s.v___317832 == s.ch___317780); + s.v___20015 = (r0); + r0 = (s.v___20015 == s.ch___19963); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___317823 * s.dataSize___317724); - s.off___317802 = (r0); + r0 = (s.m___20006 * s.dataSize___19907); + s.off___19985 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___317832 < s.ch___317780); + r0 = (s.v___20015 < s.ch___19963); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___317823 + 1); - s.l___317799 = (r0); + r0 = (s.m___20006 + 1); + s.l___19982 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___317823 - 1); - s.r___317800 = (r0); + r0 = (s.m___20006 - 1); + s.r___19983 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___317696 == 1); + r0 = (s.mult___19879 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___317739; - s.tmp_3 = r0 = s.fontdata___317728; - r0 = (s.off___317802 + 2); + s.tmp_1 = r0 = s.imgBuf___19922; + s.tmp_3 = r0 = s.fontdata___19911; + r0 = (s.off___19985 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___317720); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___19903); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P297985_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P483_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___317739; - r0 = (s.arg2 + s.xOffset___317763); + s.tmp_0.arg1 = s.imgBuf___19922; + r0 = (s.arg2 + s.xOffset___19946); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___317764); + r0 = (s.arg3 + s.yOffset___19947); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; s.pc = 48; return s.tmp_0; @@ -16377,88 +16160,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___317802 + 2); - s.off___317802 = (r0); - s.i___317890 = (0); + r0 = (s.off___19985 + 2); + s.off___19985 = (r0); + s.i___20073 = (0); case 27: - r0 = (s.i___317890 < s.dataW___317702); + r0 = (s.i___20073 < s.dataW___19885); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___317895 = (0); - s.mask___317896 = (1); - s.tmp_0 = r0 = s.off___317802; + s.j___20078 = (0); + s.mask___20079 = (1); + s.tmp_0 = r0 = s.off___19985; r0 = (s.tmp_0 + 1); - s.off___317802 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___317728, s.tmp_0); - s.c___317897 = (r0); + s.off___19985 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___19911, s.tmp_0); + s.c___20080 = (r0); case 28: - r0 = (s.j___317895 < s.dataH___317708); + r0 = (s.j___20078 < s.dataH___19891); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___317896 == 256); + r0 = (s.mask___20079 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___317802; + s.tmp_2 = r0 = s.off___19985; r0 = (s.tmp_2 + 1); - s.off___317802 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___317728, s.tmp_2); - s.c___317897 = (r0); - s.mask___317896 = (1); + s.off___19985 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___19911, s.tmp_2); + s.c___20080 = (r0); + s.mask___20079 = (1); case 29: case 30: - s.n___317914 = (0); + s.n___20097 = (0); case 31: - r0 = (s.c___317897 & s.mask___317896); + r0 = (s.c___20080 & s.mask___20079); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___317914 + 1); - s.n___317914 = (r0); - r0 = (s.mask___317896 << 1); - s.mask___317896 = (r0); + r0 = (s.n___20097 + 1); + s.n___20097 = (r0); + r0 = (s.mask___20079 << 1); + s.mask___20079 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___317914); + r0 = pxsim_numops_toBoolDecr(s.n___20097); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___317763 * s.mult___317696); + r0 = (s.xOffset___19946 * s.mult___19879); 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___317895 + s.yOffset___317764); + r0 = (s.j___20078 + s.yOffset___19947); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___317696); + r0 = (s.tmp_5 * s.mult___19879); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___317696; - r0 = (s.mult___317696 * s.n___317914); + s.tmp_0.arg3 = s.mult___19879; + r0 = (s.mult___19879 * s.n___20097); 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___317895 + s.n___317914); - s.j___317895 = (r0); + r0 = (s.j___20078 + s.n___20097); + s.j___20078 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___317896 << 1); - s.mask___317896 = (r0); - r0 = (s.j___317895 + 1); - s.j___317895 = (r0); + r0 = (s.mask___20079 << 1); + s.mask___20079 = (r0); + r0 = (s.j___20078 + 1); + s.j___20078 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___317696); + r0 = (s.arg2 + s.mult___19879); s.arg2 = (r0); - r0 = (s.i___317890 + 1); - s.i___317890 = (r0); + r0 = (s.i___20073 + 1); + s.i___20073 = (r0); { step = 27; continue; } case 36: case 37: @@ -16468,13 +16251,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrint__P298010.info = {"start":15326,"length":3300,"line":213,"column":4,"endLine":306,"endColumn":5,"fileName":"pxt_modules/screen---st7735/text.ts","functionName":"imagePrint","argumentNames":["img","text","x","y","color","font","offsets"]} -helpers_imagePrint__P298010.info = {"start":15326,"length":3300,"line":213,"column":4,"endLine":306,"endColumn":5,"fileName":"pxt_modules/screen---st7735/text.ts","functionName":"imagePrint","argumentNames":["img","text","x","y","color","font","offsets"]} +helpers_imagePrint__P508.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__P508.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__P298010_mk(s) { +function helpers_imagePrint__P508_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P298010, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P508, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16482,31 +16265,31 @@ function helpers_imagePrint__P298010_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___317693: undefined, - cp___317695: undefined, - mult___317696: undefined, - dataW___317702: undefined, - dataH___317708: undefined, - byteHeight___317714: undefined, - charSize___317720: undefined, - dataSize___317724: undefined, - fontdata___317728: undefined, - lastchar___317732: undefined, - imgBuf___317739: undefined, - xOffset___317763: undefined, - yOffset___317764: undefined, - ch___317780: undefined, - l___317799: undefined, - r___317800: undefined, - off___317802: undefined, - guess___317803: undefined, - m___317823: undefined, - v___317832: undefined, - i___317890: undefined, - j___317895: undefined, - mask___317896: undefined, - c___317897: undefined, - n___317914: undefined, + x0___19876: undefined, + cp___19878: undefined, + mult___19879: undefined, + dataW___19885: undefined, + dataH___19891: undefined, + byteHeight___19897: undefined, + charSize___19903: undefined, + dataSize___19907: undefined, + fontdata___19911: undefined, + lastchar___19915: undefined, + imgBuf___19922: undefined, + xOffset___19946: undefined, + yOffset___19947: undefined, + ch___19963: undefined, + l___19982: undefined, + r___19983: undefined, + off___19985: undefined, + guess___19986: undefined, + m___20006: undefined, + v___20015: undefined, + i___20073: undefined, + j___20078: undefined, + mask___20079: undefined, + c___20080: undefined, + n___20097: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -16520,7 +16303,7 @@ function helpers_imagePrint__P298010_mk(s) { -function helpers_imageDrawIcon__P297985(s) { +function helpers_imageDrawIcon__P483(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16540,7 +16323,7 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P297983_mk(s); + s.tmp_3 = helpers_pack__P481_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; s.pc = 1; return s.tmp_3; @@ -16552,13 +16335,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawIcon__P297985.info = {"start":3500,"length":145,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"pxt_modules/screen---st7735/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} -helpers_imageDrawIcon__P297985.info = {"start":3500,"length":145,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"pxt_modules/screen---st7735/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} +helpers_imageDrawIcon__P483.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__P483.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__P297985_mk(s) { +function helpers_imageDrawIcon__P483_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P297985, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P483, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16575,7 +16358,7 @@ function helpers_imageDrawIcon__P297985_mk(s) { -function helpers_imageFillRect__P297986(s) { +function helpers_imageFillRect__P484(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16595,14 +16378,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P297983_mk(s); + s.tmp_2 = helpers_pack__P481_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__P297983_mk(s); + s.tmp_4 = helpers_pack__P481_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.pc = 2; return s.tmp_4; @@ -16614,13 +16397,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageFillRect__P297986.info = {"start":3650,"length":159,"line":131,"column":4,"endLine":133,"endColumn":5,"fileName":"pxt_modules/screen---st7735/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} -helpers_imageFillRect__P297986.info = {"start":3650,"length":159,"line":131,"column":4,"endLine":133,"endColumn":5,"fileName":"pxt_modules/screen---st7735/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageFillRect__P484.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__P484.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__P297986_mk(s) { +function helpers_imageFillRect__P484_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P297986, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P484, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16639,7 +16422,7 @@ function helpers_imageFillRect__P297986_mk(s) { -function tileworld_Project_saveHelp__P303136(s) { +function tileworld_Project_saveHelp__P4984(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16654,7 +16437,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); r0 = s.arg0.fields["help"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -16666,7 +16449,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = settings_writeNumber__P298072_mk(s); + s.tmp_2 = settings_writeNumber__P580_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_4 = r0; if ((s.tmp_4) && (s.tmp_4).vtable) { @@ -16688,13 +16471,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_saveHelp__P303136.info = {"start":3046,"length":100,"line":103,"column":8,"endLine":105,"endColumn":9,"fileName":"project.ts","functionName":"saveHelp","argumentNames":["this"]} -tileworld_Project_saveHelp__P303136.info = {"start":3046,"length":100,"line":103,"column":8,"endLine":105,"endColumn":9,"fileName":"project.ts","functionName":"saveHelp","argumentNames":["this"]} +tileworld_Project_saveHelp__P4984.info = {"start":3046,"length":100,"line":103,"column":8,"endLine":105,"endColumn":9,"fileName":"project.ts","functionName":"saveHelp","argumentNames":["this"]} +tileworld_Project_saveHelp__P4984.info = {"start":3046,"length":100,"line":103,"column":8,"endLine":105,"endColumn":9,"fileName":"project.ts","functionName":"saveHelp","argumentNames":["this"]} -function tileworld_Project_saveHelp__P303136_mk(s) { +function tileworld_Project_saveHelp__P4984_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_saveHelp__P303136, depth: s.depth + 1, + parent: s, fn: tileworld_Project_saveHelp__P4984, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16708,7 +16491,7 @@ function tileworld_Project_saveHelp__P303136_mk(s) { -function settings_writeNumber__P298072(s) { +function settings_writeNumber__P580(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16726,9 +16509,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__P298070_mk(s); + s.tmp_1 = settings_writeBuffer__P578_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P297709_mk(s); + s.tmp_2 = msgpack_packNumberArray__P138_mk(s); s.tmp_2.arg0 = s.tmp_0; s.pc = 2; return s.tmp_2; case 2: @@ -16741,13 +16524,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeNumber__P298072.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__P298072.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__P580.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__P580.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__P298072_mk(s) { +function settings_writeNumber__P580_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P298072, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P580, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16760,7 +16543,7 @@ function settings_writeNumber__P298072_mk(s) { -function settings_writeBuffer__P298070(s) { +function settings_writeBuffer__P578(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16787,13 +16570,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeBuffer__P298070.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__P298070.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__P578.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__P578.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__P298070_mk(s) { +function settings_writeBuffer__P578_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P298070, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P578, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16804,7 +16587,7 @@ function settings_writeBuffer__P298070_mk(s) { -function msgpack_packNumberArray__P297709(s) { +function msgpack_packNumberArray__P138(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16814,101 +16597,101 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.off___321931 = undefined; - s.n___321933 = undefined; - s.unnamed2866___U2 = undefined; - s.unnamed2867___U3 = undefined; - s.buf___321943 = undefined; - s.n___321949 = undefined; - s.unnamed2868___U6 = undefined; - s.unnamed2869___U7 = undefined; + s.off___24153 = undefined; + s.n___24155 = undefined; + s.unnamed44___U2 = undefined; + s.unnamed45___U3 = undefined; + s.buf___24165 = undefined; + s.n___24171 = undefined; + s.unnamed46___U6 = undefined; + s.unnamed47___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___321931 = (0); - s.n___321933 = (undefined); - s.unnamed2866___U2 = (s.arg0); - s.unnamed2867___U3 = (0); + s.off___24153 = (0); + s.n___24155 = (undefined); + s.unnamed44___U2 = (s.arg0); + s.unnamed45___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed2867___U3; - r0 = pxsim_Array__length(s.unnamed2866___U2); + s.tmp_0 = r0 = s.unnamed45___U3; + r0 = pxsim_Array__length(s.unnamed44___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed2866___U2, s.unnamed2867___U3); - s.n___321933 = (r0); - s.tmp_2 = r0 = s.off___321931; - s.tmp_4 = msgpack_packNumberCore__P297707_mk(s); + r0 = pxsim_Array__getAt(s.unnamed44___U2, s.unnamed45___U3); + s.n___24155 = (r0); + s.tmp_2 = r0 = s.off___24153; + s.tmp_4 = msgpack_packNumberCore__P136_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___321931; - s.tmp_4.arg2 = s.n___321933; + s.tmp_4.arg1 = s.off___24153; + s.tmp_4.arg2 = s.n___24155; 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___321931 = (r0); - r0 = (s.unnamed2867___U3 + 1); - s.unnamed2867___U3 = (r0); + s.off___24153 = (r0); + r0 = (s.unnamed45___U3 + 1); + s.unnamed45___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed2866___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___321931); - s.buf___321943 = (r0); - s.off___321931 = (0); - s.n___321949 = (undefined); - s.unnamed2868___U6 = (s.arg0); - s.unnamed2869___U7 = (0); + s.unnamed44___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___24153); + s.buf___24165 = (r0); + s.off___24153 = (0); + s.n___24171 = (undefined); + s.unnamed46___U6 = (s.arg0); + s.unnamed47___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed2869___U7; - r0 = pxsim_Array__length(s.unnamed2868___U6); + s.tmp_0 = r0 = s.unnamed47___U7; + r0 = pxsim_Array__length(s.unnamed46___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed2868___U6, s.unnamed2869___U7); - s.n___321949 = (r0); - s.tmp_2 = r0 = s.off___321931; - s.tmp_4 = msgpack_packNumberCore__P297707_mk(s); - s.tmp_4.arg0 = s.buf___321943; - s.tmp_4.arg1 = s.off___321931; - s.tmp_4.arg2 = s.n___321949; + r0 = pxsim_Array__getAt(s.unnamed46___U6, s.unnamed47___U7); + s.n___24171 = (r0); + s.tmp_2 = r0 = s.off___24153; + s.tmp_4 = msgpack_packNumberCore__P136_mk(s); + s.tmp_4.arg0 = s.buf___24165; + s.tmp_4.arg1 = s.off___24153; + s.tmp_4.arg2 = s.n___24171; 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___321931 = (r0); - r0 = (s.unnamed2869___U7 + 1); - s.unnamed2869___U7 = (r0); + s.off___24153 = (r0); + r0 = (s.unnamed47___U7 + 1); + s.unnamed47___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed2868___U6 = (undefined); - r0 = s.buf___321943; + s.unnamed46___U6 = (undefined); + r0 = s.buf___24165; return leave(s, r0) default: oops() } } } -msgpack_packNumberArray__P297709.info = {"start":6884,"length":337,"line":219,"column":4,"endLine":230,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberArray","argumentNames":["nums"]} -msgpack_packNumberArray__P297709.info = {"start":6884,"length":337,"line":219,"column":4,"endLine":230,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberArray","argumentNames":["nums"]} +msgpack_packNumberArray__P138.info = {"start":6884,"length":337,"line":219,"column":4,"endLine":230,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberArray","argumentNames":["nums"]} +msgpack_packNumberArray__P138.info = {"start":6884,"length":337,"line":219,"column":4,"endLine":230,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberArray","argumentNames":["nums"]} -function msgpack_packNumberArray__P297709_mk(s) { +function msgpack_packNumberArray__P138_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P297709, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P138, 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___321931: undefined, - n___321933: undefined, - unnamed2866___U2: undefined, - unnamed2867___U3: undefined, - buf___321943: undefined, - n___321949: undefined, - unnamed2868___U6: undefined, - unnamed2869___U7: undefined, + off___24153: undefined, + n___24155: undefined, + unnamed44___U2: undefined, + unnamed45___U3: undefined, + buf___24165: undefined, + n___24171: undefined, + unnamed46___U6: undefined, + unnamed47___U7: undefined, arg0: undefined, } } @@ -16916,7 +16699,7 @@ function msgpack_packNumberArray__P297709_mk(s) { -function msgpack_packNumberCore__P297707(s) { +function msgpack_packNumberCore__P136(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16926,15 +16709,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tag___321963 = undefined; - s.fmt___322006 = undefined; + s.tag___24185 = undefined; + s.fmt___24228 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___321963 = (203); + s.tag___24185 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -16984,17 +16767,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___321963 = (204); + s.tag___24185 = (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___321963 = (205); + s.tag___24185 = (205); { step = 10; continue; } case 9: - s.tag___321963 = (206); + s.tag___24185 = (206); case 10: case 11: { step = 17; continue; } @@ -17003,41 +16786,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___321963 = (208); + s.tag___24185 = (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___321963 = (209); + s.tag___24185 = (209); { step = 15; continue; } case 14: - s.tag___321963 = (210); + s.tag___24185 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P297706_mk(s); - s.tmp_0.arg0 = s.tag___321963; + s.tmp_0 = msgpack_tagFormat__P135_mk(s); + s.tmp_0.arg0 = s.tag___24185; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___322006 = (r0); + s.fmt___24228 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___321963); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___24185); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___322006; + s.tmp_1 = r0 = s.fmt___24228; 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__P297697_mk(s); - s.tmp_1.arg0 = s.fmt___322006; + s.tmp_1 = pins_sizeOf__P126_mk(s); + s.tmp_1.arg0 = s.fmt___24228; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -17047,13 +16830,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P297707.info = {"start":5089,"length":951,"line":158,"column":4,"endLine":188,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberCore","argumentNames":["buf","offset","num"]} -msgpack_packNumberCore__P297707.info = {"start":5089,"length":951,"line":158,"column":4,"endLine":188,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberCore","argumentNames":["buf","offset","num"]} +msgpack_packNumberCore__P136.info = {"start":5089,"length":951,"line":158,"column":4,"endLine":188,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberCore","argumentNames":["buf","offset","num"]} +msgpack_packNumberCore__P136.info = {"start":5089,"length":951,"line":158,"column":4,"endLine":188,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberCore","argumentNames":["buf","offset","num"]} -function msgpack_packNumberCore__P297707_mk(s) { +function msgpack_packNumberCore__P136_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P297707, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P136, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17063,8 +16846,8 @@ function msgpack_packNumberCore__P297707_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___321963: undefined, - fmt___322006: undefined, + tag___24185: undefined, + fmt___24228: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -17074,7 +16857,7 @@ function msgpack_packNumberCore__P297707_mk(s) { -function msgpack_tagFormat__P297706(s) { +function msgpack_tagFormat__P135(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17134,13 +16917,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P297706.info = {"start":4602,"length":481,"line":144,"column":4,"endLine":156,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"tagFormat","argumentNames":["tag"]} -msgpack_tagFormat__P297706.info = {"start":4602,"length":481,"line":144,"column":4,"endLine":156,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"tagFormat","argumentNames":["tag"]} +msgpack_tagFormat__P135.info = {"start":4602,"length":481,"line":144,"column":4,"endLine":156,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"tagFormat","argumentNames":["tag"]} +msgpack_tagFormat__P135.info = {"start":4602,"length":481,"line":144,"column":4,"endLine":156,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"tagFormat","argumentNames":["tag"]} -function msgpack_tagFormat__P297706_mk(s) { +function msgpack_tagFormat__P135_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P297706, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P135, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17150,7 +16933,7 @@ function msgpack_tagFormat__P297706_mk(s) { -function pins_sizeOf__P297697(s) { +function pins_sizeOf__P126(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17229,13 +17012,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -pins_sizeOf__P297697.info = {"start":102,"length":844,"line":5,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOf","argumentNames":["format"]} -pins_sizeOf__P297697.info = {"start":102,"length":844,"line":5,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOf","argumentNames":["format"]} +pins_sizeOf__P126.info = {"start":102,"length":844,"line":5,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOf","argumentNames":["format"]} +pins_sizeOf__P126.info = {"start":102,"length":844,"line":5,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOf","argumentNames":["format"]} -function pins_sizeOf__P297697_mk(s) { +function pins_sizeOf__P126_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P297697, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P126, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17245,7 +17028,7 @@ function pins_sizeOf__P297697_mk(s) { -function settings_clear__P298069(s) { +function settings_clear__P577(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17260,13 +17043,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_clear__P298069.info = {"start":1414,"length":58,"line":56,"column":4,"endLine":58,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"clear","argumentNames":[]} -settings_clear__P298069.info = {"start":1414,"length":58,"line":56,"column":4,"endLine":58,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"clear","argumentNames":[]} +settings_clear__P577.info = {"start":1414,"length":58,"line":56,"column":4,"endLine":58,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"clear","argumentNames":[]} +settings_clear__P577.info = {"start":1414,"length":58,"line":56,"column":4,"endLine":58,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"clear","argumentNames":[]} -function settings_clear__P298069_mk(s) { +function settings_clear__P577_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_clear__P298069, depth: s.depth + 1, + parent: s, fn: settings_clear__P577, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -17274,7 +17057,7 @@ function settings_clear__P298069_mk(s) { -function game_popScene__P298729(s) { +function game_popScene__P1237(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17284,57 +17067,57 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.oldScene___320693 = undefined; - s.tmp_0 = game_currentScene__P298414_mk(s); + s.oldScene___22876 = undefined; + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___320693 = (r0); - s.tmp_0 = r0 = globals._sceneStack___298717; + s.oldScene___22876 = (r0); + s.tmp_0 = r0 = globals._sceneStack___1225; 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___298717); + r0 = pxsim_Array__length(globals._sceneStack___1225); 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___298717); - globals._scene___298716 = (r0); - s.tmp_0 = control_popEventContext__P297856_mk(s); + r0 = pxsim_Array_.pop(globals._sceneStack___1225); + globals._scene___1224 = (r0); + s.tmp_0 = control_popEventContext__P285_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___298716); + r0 = pxsim_numops_toBoolDecr(globals._scene___1224); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P297856_mk(s); + s.tmp_0 = control_popEventContext__P285_mk(s); s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___298716 = (undefined); + globals._scene___1224 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___298716); + r0 = pxsim_numops_toBoolDecr(globals._scene___1224); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P299187_mk(s); + s.tmp_0 = particles_enableAll__P1695_mk(s); s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___298719); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___1227); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P320714); + r0 = pxsim_pxtcore_mkAction(1, inline__P22897); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___320693); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___298719; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___22876); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___1227; s.tmp_1.arg1 = s.tmp_0; s.pc = 15; return s.tmp_1; case 15: @@ -17345,24 +17128,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene__P298729.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"popScene","argumentNames":[]} -game_popScene__P298729.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P1237.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P1237.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__P298729_mk(s) { +function game_popScene__P1237_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P298729, depth: s.depth + 1, + parent: s, fn: game_popScene__P1237, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___320693: undefined, + oldScene___22876: undefined, } } -function inline__P320714(s) { +function inline__P22897(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17387,13 +17170,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P320714.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game---hw/game.ts","functionName":"inline","argumentNames":["cb"]} -inline__P320714.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game---hw/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P22897.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P22897.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__P320714_mk(s) { +function inline__P22897_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P320714, depth: s.depth + 1, + parent: s, fn: inline__P22897, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17403,7 +17186,7 @@ function inline__P320714_mk(s) { -function particles_enableAll__P299187(s) { +function particles_enableAll__P1695(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17413,21 +17196,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sources___320718 = undefined; - s.tmp_0 = particles_particleSources__P299188_mk(s); + s.sources___22901 = undefined; + s.tmp_0 = particles_particleSources__P1696_mk(s); s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___320718 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___320718); + s.sources___22901 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___22901); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P297630_mk(s); - s.tmp_0.arg0 = s.sources___320718; - s.tmp_0.arg1 = inline__P320724; + s.tmp_0 = helpers_arrayForEach__P59_mk(s); + s.tmp_0.arg0 = s.sources___22901; + s.tmp_0.arg1 = inline__P22907; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P299175_mk(s); + s.tmp_0 = particles_pruneParticles__P1683_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -17437,23 +17220,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll__P299187.info = {"start":12632,"length":193,"line":412,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"enableAll","argumentNames":[]} -particles_enableAll__P299187.info = {"start":12632,"length":193,"line":412,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P1695.info = {"start":12632,"length":193,"line":412,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P1695.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__P299187_mk(s) { +function particles_enableAll__P1695_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P299187, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P1695, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___320718: undefined, + sources___22901: undefined, } } -function inline__P320724(s) { +function inline__P22907(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17467,7 +17250,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P299160_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P1668_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.pc = 1; return s.tmp_0; @@ -17477,13 +17260,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P320724.info = {"start":12756,"length":21,"line":415,"column":28,"endLine":415,"endColumn":49,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"inline","argumentNames":["s"]} -inline__P320724.info = {"start":12756,"length":21,"line":415,"column":28,"endLine":415,"endColumn":49,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P22907.info = {"start":12756,"length":21,"line":415,"column":28,"endLine":415,"endColumn":49,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P22907.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__P320724_mk(s) { +function inline__P22907_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P320724, depth: s.depth + 1, + parent: s, fn: inline__P22907, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17493,7 +17276,7 @@ function inline__P320724_mk(s) { -function control_popEventContext__P297856(s) { +function control_popEventContext__P285(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17503,9 +17286,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ctx___320731 = undefined; - s.context___320739 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___297853); + s.ctx___22914 = undefined; + s.context___22922 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___282); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -17514,9 +17297,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___297853); - s.ctx___320731 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___320731); + r0 = pxsim_Array_.pop(globals.eventContexts___282); + s.ctx___22914 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___22914); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -17525,54 +17308,54 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_2 = control_EventContext_unregister__P297844_mk(s); - s.tmp_2.arg0 = s.ctx___320731; + s.tmp_2 = control_EventContext_unregister__P273_mk(s); + s.tmp_2.arg0 = s.ctx___22914; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___297853; - r0 = pxsim_Array__length(globals.eventContexts___297853); + s.tmp_0 = r0 = globals.eventContexts___282; + r0 = pxsim_Array__length(globals.eventContexts___282); 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___320739 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___320739); + s.context___22922 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___22922); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P297843_mk(s); - s.tmp_0.arg0 = s.context___320739; + s.tmp_0 = control_EventContext_register__P272_mk(s); + s.tmp_0.arg0 = s.context___22922; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___297853 = (undefined); + globals.eventContexts___282 = (undefined); case 6: case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_popEventContext__P297856.info = {"start":7140,"length":413,"line":221,"column":4,"endLine":235,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} -control_popEventContext__P297856.info = {"start":7140,"length":413,"line":221,"column":4,"endLine":235,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +control_popEventContext__P285.info = {"start":7140,"length":413,"line":221,"column":4,"endLine":235,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +control_popEventContext__P285.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__P297856_mk(s) { +function control_popEventContext__P285_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P297856, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P285, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___320731: undefined, - context___320739: undefined, + ctx___22914: undefined, + context___22922: undefined, } } -function control_EventContext_register__P297843(s) { +function control_EventContext_register__P272(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17582,38 +17365,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.h___320752 = undefined; - s.unnamed2872___U1 = undefined; - s.unnamed2873___U2 = undefined; + s.h___22935 = undefined; + s.unnamed50___U1 = undefined; + s.unnamed51___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C297839_VT)) failedCast(r0); - s.h___320752 = (undefined); + if (!checkSubtype(r0, control_EventContext__C268_VT)) failedCast(r0); + s.h___22935 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed2872___U1 = (r0); - s.unnamed2873___U2 = (0); + s.unnamed50___U1 = (r0); + s.unnamed51___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed2873___U2; - r0 = pxsim_Array__length(s.unnamed2872___U1); + s.tmp_0 = r0 = s.unnamed51___U2; + r0 = pxsim_Array__length(s.unnamed50___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed2872___U1, s.unnamed2873___U2); - s.h___320752 = (r0); - s.tmp_2 = control_EventHandler_register__P297835_mk(s); - s.tmp_2.arg0 = s.h___320752; + r0 = pxsim_Array__getAt(s.unnamed50___U1, s.unnamed51___U2); + s.h___22935 = (r0); + s.tmp_2 = control_EventHandler_register__P264_mk(s); + s.tmp_2.arg0 = s.h___22935; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed2873___U2 + 1); - s.unnamed2873___U2 = (r0); + r0 = (s.unnamed51___U2 + 1); + s.unnamed51___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed2872___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P297842_mk(s); + s.unnamed50___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P271_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 4; return s.tmp_0; case 4: @@ -17622,20 +17405,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_register__P297843.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__P297843.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__P272.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__P272.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__P297843_mk(s) { +function control_EventContext_register__P272_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P297843, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P272, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___320752: undefined, - unnamed2872___U1: undefined, - unnamed2873___U2: undefined, + h___22935: undefined, + unnamed50___U1: undefined, + unnamed51___U2: undefined, arg0: undefined, } } @@ -17643,7 +17426,7 @@ function control_EventContext_register__P297843_mk(s) { -function settings_remove__P298079(s) { +function settings_remove__P587(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17662,13 +17445,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_remove__P298079.info = {"start":3702,"length":64,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"remove","argumentNames":["key"]} -settings_remove__P298079.info = {"start":3702,"length":64,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"remove","argumentNames":["key"]} +settings_remove__P587.info = {"start":3702,"length":64,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"remove","argumentNames":["key"]} +settings_remove__P587.info = {"start":3702,"length":64,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"remove","argumentNames":["key"]} -function settings_remove__P298079_mk(s) { +function settings_remove__P587_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_remove__P298079, depth: s.depth + 1, + parent: s, fn: settings_remove__P587, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17677,7 +17460,7 @@ function settings_remove__P298079_mk(s) { -function helpers_arrayForEach__P297630(s) { +function helpers_arrayForEach__P59(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17687,50 +17470,50 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.len___322043 = undefined; - s.i___322046 = undefined; + s.len___24265 = undefined; + s.i___24268 = 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___322043 = (r0); - s.i___322046 = (0); + s.len___24265 = (r0); + s.i___24268 = (0); case 1: - r0 = (s.i___322046 < s.len___322043); + r0 = (s.i___24268 < s.len___24265); 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___322046); + r0 = pxsim_Array__getAt(s.arg0, s.i___24268); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___322046; + s.tmp_1.arg1 = s.i___24268; setupLambda(s.tmp_1, s.tmp_1.argL); s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.i___322046 + 1); - s.i___322046 = (r0); + r0 = (s.i___24268 + 1); + s.i___24268 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_arrayForEach__P297630.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__P297630.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__P59.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__P59.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 helpers_arrayForEach__P297630_mk(s) { +function helpers_arrayForEach__P59_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P297630, depth: s.depth + 1, + parent: s, fn: helpers_arrayForEach__P59, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___322043: undefined, - i___322046: undefined, + len___24265: undefined, + i___24268: undefined, arg0: undefined, arg1: undefined, } } @@ -17739,7 +17522,7 @@ function helpers_arrayForEach__P297630_mk(s) { -function settings_list__P298078(s) { +function settings_list__P586(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17767,13 +17550,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_list__P298078.info = {"start":3544,"length":107,"line":140,"column":4,"endLine":143,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"list","argumentNames":["prefix"]} -settings_list__P298078.info = {"start":3544,"length":107,"line":140,"column":4,"endLine":143,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"list","argumentNames":["prefix"]} +settings_list__P586.info = {"start":3544,"length":107,"line":140,"column":4,"endLine":143,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"list","argumentNames":["prefix"]} +settings_list__P586.info = {"start":3544,"length":107,"line":140,"column":4,"endLine":143,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"list","argumentNames":["prefix"]} -function settings_list__P298078_mk(s) { +function settings_list__P586_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_list__P298078, depth: s.depth + 1, + parent: s, fn: settings_list__P586, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17784,7 +17567,7 @@ function settings_list__P298078_mk(s) { -function tileworld_RuleVisualsBase_setRow__P306466(s) { +function tileworld_RuleVisualsBase_setRow__P8651(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17800,8 +17583,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); - s.tmp_0 = Sprite_y__P298232_mk(s); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); + s.tmp_0 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; r0 = (s.arg1 << 4); @@ -17817,13 +17600,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_setRow__P306466.info = {"start":4016,"length":92,"line":100,"column":8,"endLine":102,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setRow","argumentNames":["this","row"]} -tileworld_RuleVisualsBase_setRow__P306466.info = {"start":4016,"length":92,"line":100,"column":8,"endLine":102,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setRow","argumentNames":["this","row"]} +tileworld_RuleVisualsBase_setRow__P8651.info = {"start":4016,"length":92,"line":100,"column":8,"endLine":102,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setRow","argumentNames":["this","row"]} +tileworld_RuleVisualsBase_setRow__P8651.info = {"start":4016,"length":92,"line":100,"column":8,"endLine":102,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setRow","argumentNames":["this","row"]} -function tileworld_RuleVisualsBase_setRow__P306466_mk(s) { +function tileworld_RuleVisualsBase_setRow__P8651_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_setRow__P306466, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_setRow__P8651, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17836,7 +17619,7 @@ function tileworld_RuleVisualsBase_setRow__P306466_mk(s) { -function Sprite_y__P298232(s) { +function Sprite_y__P740(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17852,8 +17635,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P298254_mk(s); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P762_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -17871,13 +17654,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_y__P298232.info = {"start":1971,"length":73,"line":84,"column":4,"endLine":86,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"y","argumentNames":["this","v"]} -Sprite_y__P298232.info = {"start":1971,"length":73,"line":84,"column":4,"endLine":86,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"y","argumentNames":["this","v"]} +Sprite_y__P740.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__P740.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__P298232_mk(s) { +function Sprite_y__P740_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P298232, depth: s.depth + 1, + parent: s, fn: Sprite_y__P740, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17892,7 +17675,7 @@ function Sprite_y__P298232_mk(s) { -function Sprite_top__P298254(s) { +function Sprite_top__P762(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17902,22 +17685,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.physics___321344 = undefined; + s.physics___23527 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P298414_mk(s); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___321344 = (r0); - s.tmp_0 = PhysicsEngine__C298333_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___321344; + s.physics___23527 = (r0); + s.tmp_0 = PhysicsEngine__C841_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___23527; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -17928,7 +17711,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__C298333_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C841_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: @@ -17937,19 +17720,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_top__P298254.info = {"start":8840,"length":256,"line":322,"column":4,"endLine":332,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"top","argumentNames":["this","value"]} -Sprite_top__P298254.info = {"start":8840,"length":256,"line":322,"column":4,"endLine":332,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"top","argumentNames":["this","value"]} +Sprite_top__P762.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__P762.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__P298254_mk(s) { +function Sprite_top__P762_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P298254, depth: s.depth + 1, + parent: s, fn: Sprite_top__P762, 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___321344: undefined, + physics___23527: undefined, arg0: undefined, arg1: undefined, } } @@ -17958,7 +17741,7 @@ function Sprite_top__P298254_mk(s) { -function PhysicsEngine_moveSprite__P298336(s) { +function PhysicsEngine_moveSprite__P844(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17976,18 +17759,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C298333_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C841_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_moveSprite__P298336.info = {"start":230,"length":43,"line":13,"column":4,"endLine":13,"endColumn":47,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} -PhysicsEngine_moveSprite__P298336.info = {"start":230,"length":43,"line":13,"column":4,"endLine":13,"endColumn":47,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} +PhysicsEngine_moveSprite__P844.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__P844.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__P298336_mk(s) { +function PhysicsEngine_moveSprite__P844_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P298336, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P844, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -17999,7 +17782,7 @@ function PhysicsEngine_moveSprite__P298336_mk(s) { -function Fx_sub__P297684(s) { +function Fx_sub__P113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18018,13 +17801,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_sub__P297684.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__P297684.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__P113.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__P113.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__P297684_mk(s) { +function Fx_sub__P113_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P297684, depth: s.depth + 1, + parent: s, fn: Fx_sub__P113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -18034,7 +17817,7 @@ function Fx_sub__P297684_mk(s) { -function Sprite_top__P298253(s) { +function Sprite_top__P761(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18049,7 +17832,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -18058,14 +17841,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_top__P298253.info = {"start":8699,"length":51,"line":317,"column":4,"endLine":319,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"top","argumentNames":["this"]} -Sprite_top__P298253.isGetter = true; -Sprite_top__P298253.info = {"start":8699,"length":51,"line":317,"column":4,"endLine":319,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"top","argumentNames":["this"]} +Sprite_top__P761.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__P761.isGetter = true; +Sprite_top__P761.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__P298253_mk(s) { +function Sprite_top__P761_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P298253, depth: s.depth + 1, + parent: s, fn: Sprite_top__P761, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18076,7 +17859,7 @@ function Sprite_top__P298253_mk(s) { -function tileworld_RuleVisualsBase_setCol__P306465(s) { +function tileworld_RuleVisualsBase_setCol__P8650(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18092,8 +17875,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); - s.tmp_0 = Sprite_x__P298230_mk(s); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); + s.tmp_0 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; r0 = (s.arg1 << 4); @@ -18107,13 +17890,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_setCol__P306465.info = {"start":3921,"length":85,"line":96,"column":8,"endLine":98,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setCol","argumentNames":["this","col"]} -tileworld_RuleVisualsBase_setCol__P306465.info = {"start":3921,"length":85,"line":96,"column":8,"endLine":98,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setCol","argumentNames":["this","col"]} +tileworld_RuleVisualsBase_setCol__P8650.info = {"start":3921,"length":85,"line":96,"column":8,"endLine":98,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setCol","argumentNames":["this","col"]} +tileworld_RuleVisualsBase_setCol__P8650.info = {"start":3921,"length":85,"line":96,"column":8,"endLine":98,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setCol","argumentNames":["this","col"]} -function tileworld_RuleVisualsBase_setCol__P306465_mk(s) { +function tileworld_RuleVisualsBase_setCol__P8650_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_setCol__P306465, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_setCol__P8650, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18125,7 +17908,7 @@ function tileworld_RuleVisualsBase_setCol__P306465_mk(s) { -function Sprite_x__P298230(s) { +function Sprite_x__P738(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18141,8 +17924,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P298250_mk(s); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P758_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -18160,13 +17943,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_x__P298230.info = {"start":1622,"length":73,"line":73,"column":4,"endLine":75,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"x","argumentNames":["this","v"]} -Sprite_x__P298230.info = {"start":1622,"length":73,"line":73,"column":4,"endLine":75,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"x","argumentNames":["this","v"]} +Sprite_x__P738.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__P738.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__P298230_mk(s) { +function Sprite_x__P738_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P298230, depth: s.depth + 1, + parent: s, fn: Sprite_x__P738, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18181,7 +17964,7 @@ function Sprite_x__P298230_mk(s) { -function Sprite_left__P298250(s) { +function Sprite_left__P758(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18191,22 +17974,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.physics___316793 = undefined; + s.physics___18976 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P298414_mk(s); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___316793 = (r0); - s.tmp_0 = PhysicsEngine__C298333_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___316793; + s.physics___18976 = (r0); + s.tmp_0 = PhysicsEngine__C841_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___18976; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -18217,7 +18000,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__C298333_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C841_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: @@ -18226,19 +18009,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_left__P298250.info = {"start":8038,"length":257,"line":292,"column":4,"endLine":302,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"left","argumentNames":["this","value"]} -Sprite_left__P298250.info = {"start":8038,"length":257,"line":292,"column":4,"endLine":302,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"left","argumentNames":["this","value"]} +Sprite_left__P758.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__P758.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__P298250_mk(s) { +function Sprite_left__P758_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P298250, depth: s.depth + 1, + parent: s, fn: Sprite_left__P758, 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___316793: undefined, + physics___18976: undefined, arg0: undefined, arg1: undefined, } } @@ -18247,7 +18030,7 @@ function Sprite_left__P298250_mk(s) { -function Sprite_left__P298249(s) { +function Sprite_left__P757(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18262,7 +18045,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -18271,14 +18054,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_left__P298249.info = {"start":7896,"length":51,"line":287,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"left","argumentNames":["this"]} -Sprite_left__P298249.isGetter = true; -Sprite_left__P298249.info = {"start":7896,"length":51,"line":287,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"left","argumentNames":["this"]} +Sprite_left__P757.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__P757.isGetter = true; +Sprite_left__P757.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__P298249_mk(s) { +function Sprite_left__P757_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P298249, depth: s.depth + 1, + parent: s, fn: Sprite_left__P757, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18289,7 +18072,7 @@ function Sprite_left__P298249_mk(s) { -function tileworld_GameHome_constructor__P311628(s) { +function tileworld_GameHome_constructor__P13813(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18305,39 +18088,39 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_GameHome__C311623_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleVisualsBase_constructor__P306480_mk(s); + if (!checkSubtype(r0, tileworld_GameHome__C13808_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleVisualsBase_constructor__P8665_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 = tileworld_RuleVisualsBase_setCol__P306465_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P8650_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 = tileworld_RuleVisualsBase_setRow__P306466_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P8651_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; - r0 = pxsim_pxtcore_mkAction(1, inline__P312077); + r0 = pxsim_pxtcore_mkAction(1, inline__P14260); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.A___298124; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.A___632; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P298158_mk(s); - s.tmp_0.arg0 = globals.B___298126; + s.tmp_0 = controller_Button_onEvent__P666_mk(s); + s.tmp_0.arg0 = globals.B___634; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = inline__P312174; + s.tmp_0.arg2 = inline__P14357; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -18345,13 +18128,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_GameHome_constructor__P311628.info = {"start":192,"length":1928,"line":8,"column":8,"endLine":56,"endColumn":9,"fileName":"home.ts","functionName":"inline","argumentNames":["this","p"]} -tileworld_GameHome_constructor__P311628.info = {"start":192,"length":1928,"line":8,"column":8,"endLine":56,"endColumn":9,"fileName":"home.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_GameHome_constructor__P13813.info = {"start":192,"length":1928,"line":8,"column":8,"endLine":56,"endColumn":9,"fileName":"home.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_GameHome_constructor__P13813.info = {"start":192,"length":1928,"line":8,"column":8,"endLine":56,"endColumn":9,"fileName":"home.ts","functionName":"inline","argumentNames":["this","p"]} -function tileworld_GameHome_constructor__P311628_mk(s) { +function tileworld_GameHome_constructor__P13813_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_GameHome_constructor__P311628, depth: s.depth + 1, + parent: s, fn: tileworld_GameHome_constructor__P13813, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18363,7 +18146,7 @@ function tileworld_GameHome_constructor__P311628_mk(s) { -function inline__P312077(s) { +function inline__P14260(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18373,20 +18156,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.index___312078 = undefined; - s.command___312104 = undefined; - s.rules___312111 = undefined; - s.g___312119 = undefined; + s.index___14261 = undefined; + s.command___14287 = undefined; + s.rules___14294 = undefined; + s.g___14302 = undefined; r0 = s.caps[0].fields["dirMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; s.pc = 23; return s.tmp_4; @@ -18394,18 +18177,18 @@ switch (step) { r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_3); - s.index___312078 = (r0); - r0 = (s.index___312078 != 15); + s.index___14261 = (r0); + r0 = (s.index___14261 != 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = game_pushScene__P298728_mk(s); + s.tmp_1 = game_pushScene__P1236_mk(s); s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Gallery__C311927_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Gallery__C14112_VT); s.tmp_0 = r0; - s.tmp_2 = r0 = s.index___312078; + s.tmp_2 = r0 = s.index___14261; r0 = s.caps[0].fields["p"]; s.tmp_5 = r0; r0 = s.tmp_5.fields["fixedImages"]; @@ -18416,18 +18199,18 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 1; continue; } - r0 = globals.galleryTiles___304441; + r0 = globals.galleryTiles___6289; { step = 2; continue; } case 1: - r0 = globals.gallerySprites___304465; + r0 = globals.gallerySprites___6313; case 2: // jmp value (already in r0) s.tmp_6 = r0; - s.tmp_7 = tileworld_Gallery_constructor__P311930_mk(s); + s.tmp_7 = tileworld_Gallery_constructor__P14115_mk(s); s.tmp_7.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_7.arg1 = r0; - s.tmp_7.arg2 = s.index___312078; + s.tmp_7.arg2 = s.index___14261; s.tmp_7.arg3 = s.tmp_6; s.pc = 25; return s.tmp_7; case 25: @@ -18435,7 +18218,7 @@ switch (step) { { step = 21; continue; } case 3: case 4: - s.tmp_2 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 26; return s.tmp_2; @@ -18449,8 +18232,8 @@ switch (step) { { step = 21; continue; } case 5: case 6: - s.tmp_3 = r0 = globals.commandImages___304679; - s.tmp_5 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_3 = r0 = globals.commandImages___6527; + s.tmp_5 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_5.arg0 = s.caps[0]; s.tmp_5.arg1 = true; s.pc = 27; return s.tmp_5; @@ -18458,41 +18241,41 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_Array__getAt(s.tmp_3, s.tmp_4); - s.command___312104 = (r0); - r0 = (s.command___312104 == globals.play___304523); + s.command___14287 = (r0); + r0 = (s.command___14287 == globals.play___6371); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_1 = tileworld_Project_getRuleIds__P303140_mk(s); + s.tmp_1 = tileworld_Project_getRuleIds__P4988_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_1.arg0 = r0; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.rules___312111 = (r0); - r0 = pxsim_Array__length(s.rules___312111); + s.rules___14294 = (r0); + r0 = pxsim_Array__length(s.rules___14294); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = game_pushScene__P298728_mk(s); + s.tmp_2 = game_pushScene__P1236_mk(s); s.pc = 29; return s.tmp_2; case 29: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RunGame__C1086049_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RunGame__C8239_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_RunGame_constructor__P1086055_mk(s); + s.tmp_1 = tileworld_RunGame_constructor__P8247_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.rules___312111; + s.tmp_1.arg2 = s.rules___14294; s.pc = 30; return s.tmp_1; case 30: r0 = s.retval; - s.g___312119 = (s.tmp_0); - s.tmp_0 = tileworld_RunGame_setWorld__P1086051_mk(s); - s.tmp_0.arg0 = s.g___312119; + s.g___14302 = (s.tmp_0); + s.tmp_0 = tileworld_RunGame_setWorld__P8243_mk(s); + s.tmp_0.arg0 = s.g___14302; r0 = s.caps[0].fields["p"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_world"]; @@ -18504,8 +18287,8 @@ switch (step) { s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.tmp_0 = tileworld_RunGame_start__P1086052_mk(s); - s.tmp_0.arg0 = s.g___312119; + s.tmp_0 = tileworld_RunGame_start__P8244_mk(s); + s.tmp_0.arg0 = s.g___14302; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; @@ -18513,17 +18296,17 @@ switch (step) { case 8: { step = 20; continue; } case 9: - r0 = (s.command___312104 == globals.map___304520); + r0 = (s.command___14287 == globals.map___6368); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.tmp_1 = game_pushScene__P298728_mk(s); + s.tmp_1 = game_pushScene__P1236_mk(s); s.pc = 33; return s.tmp_1; case 33: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_MapEditor__C310873_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_MapEditor__C13058_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_MapEditor_constructor__P310887_mk(s); + s.tmp_1 = tileworld_MapEditor_constructor__P13072_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; @@ -18532,17 +18315,17 @@ switch (step) { r0 = s.retval; { step = 19; continue; } case 10: - r0 = (s.command___312104 == globals.paint___304532); + r0 = (s.command___14287 == globals.paint___6380); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = game_pushScene__P298728_mk(s); + s.tmp_1 = game_pushScene__P1236_mk(s); s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_ImageEditor__C306563_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_ImageEditor__C8748_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_ImageEditor_constructor__P306573_mk(s); + s.tmp_1 = tileworld_ImageEditor_constructor__P8758_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; @@ -18551,17 +18334,17 @@ switch (step) { r0 = s.retval; { step = 18; continue; } case 11: - r0 = (s.command___312104 == globals.code___304529); + r0 = (s.command___14287 == globals.code___6377); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_1 = game_pushScene__P298728_mk(s); + s.tmp_1 = game_pushScene__P1236_mk(s); s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleRoom__C307843_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleRoom__C10028_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_RuleRoom_constructor__P307852_mk(s); + s.tmp_1 = tileworld_RuleRoom_constructor__P10037_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; @@ -18570,7 +18353,7 @@ switch (step) { r0 = s.retval; { step = 17; continue; } case 12: - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 39; return s.tmp_2; @@ -18584,7 +18367,7 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 13: - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; s.pc = 40; return s.tmp_4; @@ -18597,13 +18380,13 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 15; continue; } - s.tmp_6 = game_pushScene__P298728_mk(s); + s.tmp_6 = game_pushScene__P1236_mk(s); s.pc = 41; return s.tmp_6; case 41: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_ProjectSettings__C311640_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_ProjectSettings__C13825_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_ProjectSettings_constructor__P311644_mk(s); + s.tmp_1 = tileworld_ProjectSettings_constructor__P13829_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; @@ -18621,13 +18404,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P312077.info = {"start":362,"length":1624,"line":14,"column":64,"endLine":51,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":[]} -inline__P312077.info = {"start":362,"length":1624,"line":14,"column":64,"endLine":51,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":[]} +inline__P14260.info = {"start":362,"length":1624,"line":14,"column":64,"endLine":51,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":[]} +inline__P14260.info = {"start":362,"length":1624,"line":14,"column":64,"endLine":51,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":[]} -function inline__P312077_mk(s) { +function inline__P14260_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P312077, depth: s.depth + 1, + parent: s, fn: inline__P14260, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18637,17 +18420,17 @@ function inline__P312077_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - index___312078: undefined, - command___312104: undefined, - rules___312111: undefined, - g___312119: undefined, + index___14261: undefined, + command___14287: undefined, + rules___14294: undefined, + g___14302: undefined, } } -function inline__P312174(s) { +function inline__P14357(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18657,7 +18440,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = game_popScene__P298729_mk(s); + s.tmp_0 = game_popScene__P1237_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -18665,13 +18448,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P312174.info = {"start":2054,"length":54,"line":53,"column":64,"endLine":55,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":[]} -inline__P312174.info = {"start":2054,"length":54,"line":53,"column":64,"endLine":55,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":[]} +inline__P14357.info = {"start":2054,"length":54,"line":53,"column":64,"endLine":55,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":[]} +inline__P14357.info = {"start":2054,"length":54,"line":53,"column":64,"endLine":55,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":[]} -function inline__P312174_mk(s) { +function inline__P14357_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P312174, depth: s.depth + 1, + parent: s, fn: inline__P14357, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18680,7 +18463,7 @@ function inline__P312174_mk(s) { -function tileworld_RuleRoom_constructor__P307852(s) { +function tileworld_RuleRoom_constructor__P10037(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18696,8 +18479,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleRoom__C307843_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleVisualsBase_constructor__P306480_mk(s); + if (!checkSubtype(r0, tileworld_RuleRoom__C10028_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleVisualsBase_constructor__P8665_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.pc = 1; return s.tmp_0; @@ -18711,13 +18494,13 @@ switch (step) { r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["kind"] = (s.tmp_1); - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P306465_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P8650_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 = tileworld_RuleVisualsBase_setRow__P306466_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P8651_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["kind"]; s.tmp_2 = r0; @@ -18734,27 +18517,27 @@ switch (step) { s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P306473_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P8658_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P306466_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P8651_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 = r0 = s.arg0; - s.tmp_2 = sprites_create__P298222_mk(s); - s.tmp_2.arg0 = globals.cursorIn___304541; + s.tmp_2 = sprites_create__P730_mk(s); + s.tmp_2.arg0 = globals.cursorIn___6389; s.tmp_2.arg1 = undefined; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["moreHelp"] = (s.tmp_1); - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + s.tmp_0 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["moreHelp"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; @@ -18762,41 +18545,41 @@ switch (step) { s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = Sprite_x__P298230_mk(s); + s.tmp_0 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["moreHelp"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 84; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); + s.tmp_0 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["moreHelp"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 77; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom__C307843_v0_1_mk(s); + s.tmp_0 = tileworld_RuleRoom__C10028_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleRoom__C307843_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleRoom__C10028_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P307903); + r0 = pxsim_pxtcore_mkAction(1, inline__P10088); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.A___298124; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.A___632; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P298158_mk(s); - s.tmp_0.arg0 = globals.B___298126; + s.tmp_0 = controller_Button_onEvent__P666_mk(s); + s.tmp_0.arg0 = globals.B___634; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = inline__P308030; + s.tmp_0.arg2 = inline__P10215; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; @@ -18804,13 +18587,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleRoom_constructor__P307852.info = {"start":463,"length":1630,"line":9,"column":8,"endLine":45,"endColumn":9,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":["this","p"]} -tileworld_RuleRoom_constructor__P307852.info = {"start":463,"length":1630,"line":9,"column":8,"endLine":45,"endColumn":9,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_RuleRoom_constructor__P10037.info = {"start":463,"length":1630,"line":9,"column":8,"endLine":45,"endColumn":9,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_RuleRoom_constructor__P10037.info = {"start":463,"length":1630,"line":9,"column":8,"endLine":45,"endColumn":9,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":["this","p"]} -function tileworld_RuleRoom_constructor__P307852_mk(s) { +function tileworld_RuleRoom_constructor__P10037_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleRoom_constructor__P307852, depth: s.depth + 1, + parent: s, fn: tileworld_RuleRoom_constructor__P10037, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18826,7 +18609,7 @@ function tileworld_RuleRoom_constructor__P307852_mk(s) { -function inline__P307903(s) { +function inline__P10088(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18836,9 +18619,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.rt___308002 = undefined; - s.dir___308009 = undefined; - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.rt___10187 = undefined; + s.dir___10194 = undefined; + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 13; return s.tmp_2; @@ -18849,7 +18632,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_5 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_5 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_5.arg0 = s.caps[0]; s.tmp_5.arg1 = true; s.pc = 14; return s.tmp_5; @@ -18863,7 +18646,7 @@ switch (step) { r0 = s.tmp_3; { step = 2; continue; } case 1: - s.tmp_8 = tileworld_Project_getRulesForKind__P303141_mk(s); + s.tmp_8 = tileworld_Project_getRulesForKind__P4989_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_8.arg0 = r0; r0 = s.caps[0].fields["kind"]; @@ -18880,13 +18663,13 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 3; continue; } - s.tmp_10 = game_pushScene__P298728_mk(s); + s.tmp_10 = game_pushScene__P1236_mk(s); s.pc = 16; return s.tmp_10; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleEditor__C307920_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleEditor__C10105_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_RuleEditor_constructor__P307970_mk(s); + s.tmp_1 = tileworld_RuleEditor_constructor__P10155_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; @@ -18899,7 +18682,7 @@ switch (step) { r0 = s.retval; { step = 8; continue; } case 3: - s.tmp_2 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 18; return s.tmp_2; @@ -18913,7 +18696,7 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 4: - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; s.pc = 19; return s.tmp_4; @@ -18939,7 +18722,7 @@ switch (step) { s.tmp_13 = r0; r0 = pxsim_Array__length(s.tmp_13); s.tmp_12 = r0; - s.tmp_16 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_16 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_16.arg0 = s.caps[0]; s.tmp_16.arg1 = true; s.pc = 20; return s.tmp_16; @@ -18951,7 +18734,7 @@ switch (step) { r0 = (s.tmp_11 - 1); s.tmp_10 = r0; r0 = (s.tmp_9).fields["kind"] = (s.tmp_10); - s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P306473_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P8658_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 21; return s.tmp_0; case 21: @@ -18959,9 +18742,9 @@ switch (step) { case 6: case 7: case 8: - s.tmp_0 = tileworld_RuleRoom__C307843_v0_1_mk(s); + s.tmp_0 = tileworld_RuleRoom__C10028_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleRoom__C307843_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleRoom__C10028_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 22; return s.tmp_0; case 22: @@ -18970,14 +18753,14 @@ switch (step) { case 9: r0 = s.caps[0].fields["ruleTypeMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; s.pc = 24; return s.tmp_4; @@ -18985,17 +18768,17 @@ switch (step) { r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_3); - s.rt___308002 = (r0); + s.rt___10187 = (r0); r0 = s.caps[0].fields["dirMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 25; return s.tmp_2; case 25: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; s.pc = 26; return s.tmp_4; @@ -19003,25 +18786,25 @@ switch (step) { r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_3); - s.dir___308009 = (r0); - r0 = (s.rt___308002 != 15); + s.dir___10194 = (r0); + r0 = (s.rt___10187 != 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.tmp_1 = game_pushScene__P298728_mk(s); + s.tmp_1 = game_pushScene__P1236_mk(s); s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleEditor__C307920_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleEditor__C10105_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_RuleEditor_constructor__P307970_mk(s); + s.tmp_1 = tileworld_RuleEditor_constructor__P10155_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; r0 = s.caps[0].fields["kind"]; s.tmp_1.arg2 = r0; - s.tmp_1.arg3 = s.rt___308002; - s.tmp_1.arg4 = s.dir___308009; + s.tmp_1.arg3 = s.rt___10187; + s.tmp_1.arg4 = s.dir___10194; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; @@ -19032,13 +18815,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P307903.info = {"start":1041,"length":915,"line":23,"column":64,"endLine":41,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":[]} -inline__P307903.info = {"start":1041,"length":915,"line":23,"column":64,"endLine":41,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":[]} +inline__P10088.info = {"start":1041,"length":915,"line":23,"column":64,"endLine":41,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":[]} +inline__P10088.info = {"start":1041,"length":915,"line":23,"column":64,"endLine":41,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":[]} -function inline__P307903_mk(s) { +function inline__P10088_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P307903, depth: s.depth + 1, + parent: s, fn: inline__P10088, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19057,15 +18840,15 @@ function inline__P307903_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - rt___308002: undefined, - dir___308009: undefined, + rt___10187: undefined, + dir___10194: undefined, } } -function inline__P308030(s) { +function inline__P10215(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19075,7 +18858,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = game_popScene__P298729_mk(s); + s.tmp_0 = game_popScene__P1237_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -19083,13 +18866,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P308030.info = {"start":2024,"length":56,"line":42,"column":64,"endLine":44,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":[]} -inline__P308030.info = {"start":2024,"length":56,"line":42,"column":64,"endLine":44,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":[]} +inline__P10215.info = {"start":2024,"length":56,"line":42,"column":64,"endLine":44,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":[]} +inline__P10215.info = {"start":2024,"length":56,"line":42,"column":64,"endLine":44,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":[]} -function inline__P308030_mk(s) { +function inline__P10215_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P308030, depth: s.depth + 1, + parent: s, fn: inline__P10215, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -19098,7 +18881,7 @@ function inline__P308030_mk(s) { -function tileworld_Project_movable__P303127(s) { +function tileworld_Project_movable__P4975(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19113,18 +18896,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); r0 = s.arg0.fields["movableImages"]; return leave(s, r0) default: oops() } } } -tileworld_Project_movable__P303127.info = {"start":1234,"length":47,"line":50,"column":8,"endLine":50,"endColumn":55,"fileName":"project.ts","functionName":"movable","argumentNames":["this"]} -tileworld_Project_movable__P303127.info = {"start":1234,"length":47,"line":50,"column":8,"endLine":50,"endColumn":55,"fileName":"project.ts","functionName":"movable","argumentNames":["this"]} +tileworld_Project_movable__P4975.info = {"start":1234,"length":47,"line":50,"column":8,"endLine":50,"endColumn":55,"fileName":"project.ts","functionName":"movable","argumentNames":["this"]} +tileworld_Project_movable__P4975.info = {"start":1234,"length":47,"line":50,"column":8,"endLine":50,"endColumn":55,"fileName":"project.ts","functionName":"movable","argumentNames":["this"]} -function tileworld_Project_movable__P303127_mk(s) { +function tileworld_Project_movable__P4975_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_movable__P303127, depth: s.depth + 1, + parent: s, fn: tileworld_Project_movable__P4975, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -19133,7 +18916,7 @@ function tileworld_Project_movable__P303127_mk(s) { -function tileworld_RuleEditor_constructor__P307970(s) { +function tileworld_RuleEditor_constructor__P10155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19143,7 +18926,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.rules___308510 = undefined; + s.rules___10695 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -19153,42 +18936,42 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); r0 = (s.arg0).fields["kind"] = (s.arg2); r0 = (s.arg0).fields["rt"] = (s.arg3); r0 = (s.arg0).fields["dir"] = (s.arg4); - s.tmp_0 = tileworld_RuleVisualsBase_constructor__P306480_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_constructor__P8665_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.tmp_0 = tileworld_RuleVisualsBase_setCol__P306465_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P8650_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 = tileworld_RuleVisualsBase_setRow__P306466_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P8651_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 = tileworld_RuleEditor_currentRules__P307929_mk(s); + s.tmp_0 = tileworld_RuleEditor_currentRules__P10114_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.rules___308510 = (r0); - r0 = pxsim_Array__length(s.rules___308510); + s.rules___10695 = (r0); + r0 = pxsim_Array__length(s.rules___10695); 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; } - s.tmp_2 = r0 = s.rules___308510; - s.tmp_4 = tileworld_Project_makeRule__P303133_mk(s); + s.tmp_2 = r0 = s.rules___10695; + s.tmp_4 = tileworld_Project_makeRule__P4981_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = s.arg2; s.tmp_4.arg2 = s.arg3; @@ -19201,22 +18984,22 @@ switch (step) { case 1: case 2: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_Array__getAt(s.rules___308510, 0); + r0 = pxsim_Array__getAt(s.rules___10695, 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["rule"] = (s.tmp_1); r0 = (s.arg0).fields["askDeleteRule"] = (false); r0 = (s.arg0).fields["attrSelected"] = (-1); r0 = (s.arg0).fields["menu"] = (0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P298222_mk(s); - s.tmp_2.arg0 = globals.cursorOut___304544; + s.tmp_2 = sprites_create__P730_mk(s); + s.tmp_2.arg0 = globals.cursorOut___6392; s.tmp_2.arg1 = undefined; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["otherCursor"] = (s.tmp_1); - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + s.tmp_0 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; @@ -19224,14 +19007,14 @@ switch (step) { s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = Sprite_x__P298230_mk(s); + s.tmp_0 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 88; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); + s.tmp_0 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 46; @@ -19252,29 +19035,29 @@ switch (step) { } case 12: r0 = s.retval; - s.tmp_0 = tileworld_RuleEditor__C307920_v0_1_mk(s); + s.tmp_0 = tileworld_RuleEditor__C10105_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleEditor__C307920_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleEditor__C10105_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(2, inline__P308566); + r0 = pxsim_pxtcore_mkAction(2, inline__P10751); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg1); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.A___298124; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.A___632; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P308802); + r0 = pxsim_pxtcore_mkAction(1, inline__P10987); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.B___298126; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.B___634; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 15; return s.tmp_1; @@ -19284,20 +19067,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_constructor__P307970.info = {"start":1020,"length":4981,"line":24,"column":8,"endLine":133,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["this","p","kind","rt","dir"]} -tileworld_RuleEditor_constructor__P307970.info = {"start":1020,"length":4981,"line":24,"column":8,"endLine":133,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["this","p","kind","rt","dir"]} +tileworld_RuleEditor_constructor__P10155.info = {"start":1020,"length":4981,"line":24,"column":8,"endLine":133,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["this","p","kind","rt","dir"]} +tileworld_RuleEditor_constructor__P10155.info = {"start":1020,"length":4981,"line":24,"column":8,"endLine":133,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["this","p","kind","rt","dir"]} -function tileworld_RuleEditor_constructor__P307970_mk(s) { +function tileworld_RuleEditor_constructor__P10155_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_constructor__P307970, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_constructor__P10155, 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, - rules___308510: undefined, + rules___10695: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -19309,7 +19092,7 @@ function tileworld_RuleEditor_constructor__P307970_mk(s) { -function inline__P308566(s) { +function inline__P10751(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19319,14 +19102,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.index___308574 = undefined; - s.kinds___308581 = undefined; - s.rules___308606 = undefined; - s.kind___308649 = undefined; - s.kinds___308658 = undefined; - s.rules___308701 = undefined; - s.index___308703 = undefined; - s.tmp_0 = Sprite_say__P298261_mk(s); + s.index___10759 = undefined; + s.kinds___10766 = undefined; + s.rules___10791 = undefined; + s.kind___10834 = undefined; + s.kinds___10843 = undefined; + s.rules___10886 = undefined; + s.index___10888 = undefined; + s.tmp_0 = Sprite_say__P769_mk(s); r0 = s.caps[0].fields["helpCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = null; @@ -19340,7 +19123,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = tileworld_RuleEditor_currentRules__P307929_mk(s); + s.tmp_2 = tileworld_RuleEditor_currentRules__P10114_mk(s); s.tmp_2.arg0 = s.caps[0]; s.pc = 61; return s.tmp_2; case 61: @@ -19349,8 +19132,8 @@ switch (step) { r0 = s.caps[0].fields["rule"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.tmp_3, undefined); - s.index___308574 = (r0); - s.tmp_0 = tileworld_Project_getKinds__P303142_mk(s); + s.index___10759 = (r0); + s.tmp_0 = tileworld_Project_getKinds__P4990_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["rule"]; @@ -19358,14 +19141,14 @@ switch (step) { s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; - s.kinds___308581 = (r0); - r0 = pxsim_Array__length(s.kinds___308581); + s.kinds___10766 = (r0); + r0 = pxsim_Array__length(s.kinds___10766); s.tmp_1 = r0; r0 = (s.tmp_1 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = tileworld_Project_removeRule__P303134_mk(s); + s.tmp_2 = tileworld_Project_removeRule__P4982_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_2.arg0 = r0; r0 = s.caps[0].fields["rule"]; @@ -19377,48 +19160,48 @@ switch (step) { case 1: r0 = s.caps[0].fields["kind"]; s.tmp_0 = r0; - r0 = pxsim_Array_.removeElement(s.kinds___308581, s.tmp_0); - s.tmp_0 = tileworld_Project_setKinds__P303143_mk(s); + r0 = pxsim_Array_.removeElement(s.kinds___10766, s.tmp_0); + s.tmp_0 = tileworld_Project_setKinds__P4991_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["rule"]; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.kinds___308581; + s.tmp_0.arg2 = s.kinds___10766; s.pc = 64; return s.tmp_0; case 64: r0 = s.retval; case 2: - s.tmp_0 = tileworld_RuleEditor_currentRules__P307929_mk(s); + s.tmp_0 = tileworld_RuleEditor_currentRules__P10114_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 65; return s.tmp_0; case 65: r0 = s.retval; - s.rules___308606 = (r0); - r0 = pxsim_Array__length(s.rules___308606); + s.rules___10791 = (r0); + r0 = pxsim_Array__length(s.rules___10791); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = game_popScene__P298729_mk(s); + s.tmp_2 = game_popScene__P1237_mk(s); s.pc = 66; return s.tmp_2; case 66: r0 = s.retval; { step = 59; continue; } { step = 6; continue; } case 3: - s.tmp_1 = r0 = s.index___308574; - r0 = pxsim_Array__length(s.rules___308606); + s.tmp_1 = r0 = s.index___10759; + r0 = pxsim_Array__length(s.rules___10791); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.rules___308606, s.index___308574); + r0 = pxsim_Array__getAt(s.rules___10791, s.index___10759); { step = 5; continue; } case 4: - s.tmp_3 = r0 = s.rules___308606; - r0 = (s.index___308574 - 1); + s.tmp_3 = r0 = s.rules___10791; + r0 = (s.index___10759 - 1); s.tmp_4 = r0; r0 = pxsim_Array__getAt(s.tmp_3, s.tmp_4); case 5: @@ -19438,7 +19221,7 @@ switch (step) { r0 = s.tmp_0; { step = 9; continue; } case 8: - s.tmp_3 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_3.arg0 = s.caps[0]; s.tmp_3.arg1 = true; s.pc = 67; return s.tmp_3; @@ -19451,7 +19234,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 10; continue; } - s.tmp_5 = tileworld_RuleEditor_attrUpdate__P307961_mk(s); + s.tmp_5 = tileworld_RuleEditor_attrUpdate__P10146_mk(s); s.tmp_5.arg0 = s.caps[0]; s.pc = 68; return s.tmp_5; case 68: @@ -19464,7 +19247,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_2 = tileworld_RuleEditor_commandUpdate__P307954_mk(s); + s.tmp_2 = tileworld_RuleEditor_commandUpdate__P10139_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = false; s.pc = 69; return s.tmp_2; @@ -19478,7 +19261,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; s.pc = 70; return s.tmp_4; @@ -19491,14 +19274,14 @@ switch (step) { if (!r0) { step = 16; continue; } r0 = s.caps[0].fields["dirMap"]; s.tmp_5 = r0; - s.tmp_7 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_7.arg0 = s.caps[0]; s.tmp_7.arg1 = true; s.pc = 71; return s.tmp_7; case 71: r0 = s.retval; s.tmp_6 = r0; - s.tmp_9 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_9 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_9.arg0 = s.caps[0]; s.tmp_9.arg1 = true; s.pc = 72; return s.tmp_9; @@ -19506,12 +19289,12 @@ switch (step) { r0 = s.retval; s.tmp_8 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_5, s.tmp_6, s.tmp_8); - s.kind___308649 = (r0); - r0 = (s.kind___308649 != 15); + s.kind___10834 = (r0); + r0 = (s.kind___10834 != 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = tileworld_Project_getKinds__P303142_mk(s); + s.tmp_1 = tileworld_Project_getKinds__P4990_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_1.arg0 = r0; r0 = s.caps[0].fields["rule"]; @@ -19519,24 +19302,24 @@ switch (step) { s.pc = 73; return s.tmp_1; case 73: r0 = s.retval; - s.kinds___308658 = (r0); - r0 = pxsim_Array_.indexOf(s.kinds___308658, s.kind___308649, undefined); + s.kinds___10843 = (r0); + r0 = pxsim_Array_.indexOf(s.kinds___10843, s.kind___10834, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - r0 = pxsim_Array__push(s.kinds___308658, s.kind___308649); + r0 = pxsim_Array__push(s.kinds___10843, s.kind___10834); { step = 13; continue; } case 12: - r0 = pxsim_Array_.removeElement(s.kinds___308658, s.kind___308649); + r0 = pxsim_Array_.removeElement(s.kinds___10843, s.kind___10834); case 13: - s.tmp_0 = tileworld_Project_setKinds__P303143_mk(s); + s.tmp_0 = tileworld_Project_setKinds__P4991_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["rule"]; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.kinds___308658; + s.tmp_0.arg2 = s.kinds___10843; s.pc = 74; return s.tmp_0; case 74: r0 = s.retval; @@ -19552,7 +19335,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 53; continue; } - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; s.pc = 75; return s.tmp_4; @@ -19563,7 +19346,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 39; continue; } - s.tmp_7 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_7.arg0 = s.caps[0]; s.tmp_7.arg1 = true; s.pc = 76; return s.tmp_7; @@ -19577,7 +19360,7 @@ switch (step) { r0 = s.tmp_5; { step = 20; continue; } case 19: - s.tmp_9 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_9 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_9.arg0 = s.caps[0]; s.tmp_9.arg1 = true; s.pc = 77; return s.tmp_9; @@ -19590,17 +19373,17 @@ switch (step) { s.tmp_10 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_10); if (!r0) { step = 33; continue; } - s.tmp_11 = tileworld_RuleEditor_currentRules__P307929_mk(s); + s.tmp_11 = tileworld_RuleEditor_currentRules__P10114_mk(s); s.tmp_11.arg0 = s.caps[0]; s.pc = 78; return s.tmp_11; case 78: r0 = s.retval; - s.rules___308701 = (r0); + s.rules___10886 = (r0); r0 = s.caps[0].fields["rule"]; s.tmp_0 = r0; - r0 = pxsim_Array_.indexOf(s.rules___308701, s.tmp_0, undefined); - s.index___308703 = (r0); - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + r0 = pxsim_Array_.indexOf(s.rules___10886, s.tmp_0, undefined); + s.index___10888 = (r0); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 79; return s.tmp_2; @@ -19614,16 +19397,16 @@ switch (step) { r0 = s.tmp_0; { step = 22; continue; } case 21: - r0 = (s.index___308703 > 0); + r0 = (s.index___10888 > 0); case 22: // jmp value (already in r0) s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 23; continue; } - s.tmp_4 = tileworld_RuleEditor_changeRule__P307927_mk(s); + s.tmp_4 = tileworld_RuleEditor_changeRule__P10112_mk(s); s.tmp_4.arg0 = s.caps[0]; - s.tmp_5 = r0 = s.rules___308701; - r0 = (s.index___308703 - 1); + s.tmp_5 = r0 = s.rules___10886; + r0 = (s.index___10888 - 1); s.tmp_6 = r0; r0 = pxsim_Array__getAt(s.tmp_5, s.tmp_6); s.tmp_4.arg1 = r0; @@ -19632,7 +19415,7 @@ switch (step) { r0 = s.retval; { step = 32; continue; } case 23: - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 81; return s.tmp_2; @@ -19646,8 +19429,8 @@ switch (step) { r0 = s.tmp_0; { step = 25; continue; } case 24: - s.tmp_3 = r0 = s.index___308703; - r0 = pxsim_Array__length(s.rules___308701); + s.tmp_3 = r0 = s.index___10888; + r0 = pxsim_Array__length(s.rules___10886); s.tmp_5 = r0; r0 = (s.tmp_5 - 1); s.tmp_4 = r0; @@ -19657,10 +19440,10 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 26; continue; } - s.tmp_7 = tileworld_RuleEditor_changeRule__P307927_mk(s); + s.tmp_7 = tileworld_RuleEditor_changeRule__P10112_mk(s); s.tmp_7.arg0 = s.caps[0]; - s.tmp_8 = r0 = s.rules___308701; - r0 = (s.index___308703 + 1); + s.tmp_8 = r0 = s.rules___10886; + r0 = (s.index___10888 + 1); s.tmp_9 = r0; r0 = pxsim_Array__getAt(s.tmp_8, s.tmp_9); s.tmp_7.arg1 = r0; @@ -19669,7 +19452,7 @@ switch (step) { r0 = s.retval; { step = 31; continue; } case 26: - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 83; return s.tmp_2; @@ -19691,9 +19474,9 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 29; continue; } - s.tmp_5 = tileworld_RuleEditor_changeRule__P307927_mk(s); + s.tmp_5 = tileworld_RuleEditor_changeRule__P10112_mk(s); s.tmp_5.arg0 = s.caps[0]; - s.tmp_6 = tileworld_Project_makeRule__P303133_mk(s); + s.tmp_6 = tileworld_Project_makeRule__P4981_mk(s); s.tmp_6.arg0 = s.caps[1]; r0 = s.caps[0].fields["kind"]; s.tmp_6.arg1 = r0; @@ -19714,7 +19497,7 @@ switch (step) { case 32: { step = 38; continue; } case 33: - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 86; return s.tmp_2; @@ -19728,7 +19511,7 @@ switch (step) { r0 = (s.caps[0]).fields["askDeleteRule"] = (true); { step = 37; continue; } case 34: - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 87; return s.tmp_2; @@ -19746,7 +19529,7 @@ switch (step) { case 38: { step = 52; continue; } case 39: - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 88; return s.tmp_2; @@ -19760,7 +19543,7 @@ switch (step) { r0 = s.tmp_0; { step = 41; continue; } case 40: - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; s.pc = 89; return s.tmp_4; @@ -19773,14 +19556,14 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 42; continue; } - s.tmp_6 = tileworld_RuleEditor_tryEditCommand__P307944_mk(s); + s.tmp_6 = tileworld_RuleEditor_tryEditCommand__P10129_mk(s); s.tmp_6.arg0 = s.caps[0]; s.pc = 90; return s.tmp_6; case 90: r0 = s.retval; { step = 51; continue; } case 42: - s.tmp_2 = tileworld_RuleEditor_manhattanDistance2__P307932_mk(s); + s.tmp_2 = tileworld_RuleEditor_manhattanDistance2__P10117_mk(s); s.tmp_2.arg0 = s.caps[0]; s.pc = 91; return s.tmp_2; case 91: @@ -19790,7 +19573,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 49; continue; } - s.tmp_5 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_5 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_5.arg0 = s.caps[0]; s.tmp_5.arg1 = true; s.pc = 92; return s.tmp_5; @@ -19804,7 +19587,7 @@ switch (step) { r0 = s.tmp_3; { step = 44; continue; } case 43: - s.tmp_8 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_8.arg0 = s.caps[0]; s.tmp_8.arg1 = true; s.pc = 93; return s.tmp_8; @@ -19819,16 +19602,16 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 47; continue; } - s.tmp_11 = tileworld_RuleEditor_active__P307937_mk(s); + s.tmp_11 = tileworld_RuleEditor_active__P10122_mk(s); s.tmp_11.arg0 = s.caps[0]; - s.tmp_12 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_12 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_12.arg0 = s.caps[0]; s.tmp_12.arg1 = true; s.pc = 95; return s.tmp_12; case 95: r0 = s.retval; s.tmp_11.arg1 = r0; - s.tmp_14 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_14 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_14.arg0 = s.caps[0]; s.tmp_14.arg1 = true; s.pc = 96; return s.tmp_14; @@ -19844,7 +19627,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_10); if (!r0) { step = 45; continue; } r0 = (s.caps[0]).fields["menu"] = (1); - s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P306473_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P8658_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 97; return s.tmp_0; case 97: @@ -19854,7 +19637,7 @@ switch (step) { { step = 48; continue; } case 47: r0 = (s.caps[0]).fields["menu"] = (3); - s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P306473_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P8658_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 98; return s.tmp_0; case 98: @@ -19870,9 +19653,9 @@ switch (step) { case 56: case 57: case 58: - s.tmp_0 = tileworld_RuleEditor__C307920_v0_1_mk(s); + s.tmp_0 = tileworld_RuleEditor__C10105_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleEditor__C307920_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleEditor__C10105_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 99; return s.tmp_0; case 99: @@ -19882,13 +19665,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P308566.info = {"start":1967,"length":3600,"line":52,"column":64,"endLine":120,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":[]} -inline__P308566.info = {"start":1967,"length":3600,"line":52,"column":64,"endLine":120,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":[]} +inline__P10751.info = {"start":1967,"length":3600,"line":52,"column":64,"endLine":120,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":[]} +inline__P10751.info = {"start":1967,"length":3600,"line":52,"column":64,"endLine":120,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P308566_mk(s) { +function inline__P10751_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P308566, depth: s.depth + 1, + parent: s, fn: inline__P10751, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19905,20 +19688,20 @@ function inline__P308566_mk(s) { tmp_12: undefined, tmp_13: undefined, tmp_14: undefined, - index___308574: undefined, - kinds___308581: undefined, - rules___308606: undefined, - kind___308649: undefined, - kinds___308658: undefined, - rules___308701: undefined, - index___308703: undefined, + index___10759: undefined, + kinds___10766: undefined, + rules___10791: undefined, + kind___10834: undefined, + kinds___10843: undefined, + rules___10886: undefined, + index___10888: undefined, } } -function inline__P308802(s) { +function inline__P10987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19941,14 +19724,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_2 = tileworld_RuleEditor_noMenu__P307923_mk(s); + s.tmp_2 = tileworld_RuleEditor_noMenu__P10108_mk(s); s.tmp_2.arg0 = s.caps[0]; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; { step = 3; continue; } case 2: - s.tmp_0 = tileworld_RuleEditor_saveAndPop__P307928_mk(s); + s.tmp_0 = tileworld_RuleEditor_saveAndPop__P10113_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 7; return s.tmp_0; case 7: @@ -19956,9 +19739,9 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_0 = tileworld_RuleEditor__C307920_v0_1_mk(s); + s.tmp_0 = tileworld_RuleEditor__C10105_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleEditor__C307920_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleEditor__C10105_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 8; return s.tmp_0; case 8: @@ -19968,13 +19751,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P308802.info = {"start":5634,"length":355,"line":122,"column":64,"endLine":132,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":[]} -inline__P308802.info = {"start":5634,"length":355,"line":122,"column":64,"endLine":132,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":[]} +inline__P10987.info = {"start":5634,"length":355,"line":122,"column":64,"endLine":132,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":[]} +inline__P10987.info = {"start":5634,"length":355,"line":122,"column":64,"endLine":132,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P308802_mk(s) { +function inline__P10987_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P308802, depth: s.depth + 1, + parent: s, fn: inline__P10987, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19985,7 +19768,7 @@ function inline__P308802_mk(s) { -function tileworld_RuleEditor_saveAndPop__P307928(s) { +function tileworld_RuleEditor_saveAndPop__P10113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20000,8 +19783,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_saveRule__P303132_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_saveRule__P4980_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -20009,7 +19792,7 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_popScene__P298729_mk(s); + s.tmp_0 = game_popScene__P1237_mk(s); s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -20017,13 +19800,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_saveAndPop__P307928.info = {"start":6938,"length":101,"line":166,"column":8,"endLine":169,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"saveAndPop","argumentNames":["this"]} -tileworld_RuleEditor_saveAndPop__P307928.info = {"start":6938,"length":101,"line":166,"column":8,"endLine":169,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"saveAndPop","argumentNames":["this"]} +tileworld_RuleEditor_saveAndPop__P10113.info = {"start":6938,"length":101,"line":166,"column":8,"endLine":169,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"saveAndPop","argumentNames":["this"]} +tileworld_RuleEditor_saveAndPop__P10113.info = {"start":6938,"length":101,"line":166,"column":8,"endLine":169,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"saveAndPop","argumentNames":["this"]} -function tileworld_RuleEditor_saveAndPop__P307928_mk(s) { +function tileworld_RuleEditor_saveAndPop__P10113_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_saveAndPop__P307928, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_saveAndPop__P10113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20033,7 +19816,7 @@ function tileworld_RuleEditor_saveAndPop__P307928_mk(s) { -function tileworld_Project_saveRule__P303132(s) { +function tileworld_Project_saveRule__P4980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20049,12 +19832,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - s.tmp_0 = tileworld_storeRule__P303288_mk(s); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + s.tmp_0 = tileworld_storeRule__P5136_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.tmp_1 = tileworld_Project_getRule__P303138_mk(s); + s.tmp_1 = tileworld_Project_getRule__P4986_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.pc = 2; return s.tmp_1; @@ -20068,13 +19851,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_saveRule__P303132.info = {"start":2172,"length":100,"line":78,"column":8,"endLine":80,"endColumn":9,"fileName":"project.ts","functionName":"saveRule","argumentNames":["this","rid"]} -tileworld_Project_saveRule__P303132.info = {"start":2172,"length":100,"line":78,"column":8,"endLine":80,"endColumn":9,"fileName":"project.ts","functionName":"saveRule","argumentNames":["this","rid"]} +tileworld_Project_saveRule__P4980.info = {"start":2172,"length":100,"line":78,"column":8,"endLine":80,"endColumn":9,"fileName":"project.ts","functionName":"saveRule","argumentNames":["this","rid"]} +tileworld_Project_saveRule__P4980.info = {"start":2172,"length":100,"line":78,"column":8,"endLine":80,"endColumn":9,"fileName":"project.ts","functionName":"saveRule","argumentNames":["this","rid"]} -function tileworld_Project_saveRule__P303132_mk(s) { +function tileworld_Project_saveRule__P4980_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_saveRule__P303132, depth: s.depth + 1, + parent: s, fn: tileworld_Project_saveRule__P4980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20086,7 +19869,7 @@ function tileworld_Project_saveRule__P303132_mk(s) { -function tileworld_Project_getRule__P303138(s) { +function tileworld_Project_getRule__P4986(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20102,7 +19885,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); r0 = s.arg0.fields["lastRule"]; s.tmp_1 = r0; r0 = (s.tmp_1 == null); @@ -20121,11 +19904,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P303396); + r0 = pxsim_pxtcore_mkAction(1, inline__P5244); s.tmp_4 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.arg1); s.tmp_5 = r0 = s.arg0; - s.tmp_7 = helpers_arrayFind__P297632_mk(s); + s.tmp_7 = helpers_arrayFind__P61_mk(s); r0 = s.arg0.fields["rules"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = s.tmp_4; @@ -20141,13 +19924,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_getRule__P303138.info = {"start":3225,"length":227,"line":111,"column":8,"endLine":116,"endColumn":9,"fileName":"project.ts","functionName":"getRule","argumentNames":["this","rid"]} -tileworld_Project_getRule__P303138.info = {"start":3225,"length":227,"line":111,"column":8,"endLine":116,"endColumn":9,"fileName":"project.ts","functionName":"getRule","argumentNames":["this","rid"]} +tileworld_Project_getRule__P4986.info = {"start":3225,"length":227,"line":111,"column":8,"endLine":116,"endColumn":9,"fileName":"project.ts","functionName":"getRule","argumentNames":["this","rid"]} +tileworld_Project_getRule__P4986.info = {"start":3225,"length":227,"line":111,"column":8,"endLine":116,"endColumn":9,"fileName":"project.ts","functionName":"getRule","argumentNames":["this","rid"]} -function tileworld_Project_getRule__P303138_mk(s) { +function tileworld_Project_getRule__P4986_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getRule__P303138, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getRule__P4986, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20165,7 +19948,7 @@ function tileworld_Project_getRule__P303138_mk(s) { -function inline__P303396(s) { +function inline__P5244(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20185,13 +19968,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P303396.info = {"start":3371,"length":16,"line":113,"column":48,"endLine":113,"endColumn":64,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -inline__P303396.info = {"start":3371,"length":16,"line":113,"column":48,"endLine":113,"endColumn":64,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P5244.info = {"start":3371,"length":16,"line":113,"column":48,"endLine":113,"endColumn":64,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P5244.info = {"start":3371,"length":16,"line":113,"column":48,"endLine":113,"endColumn":64,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -function inline__P303396_mk(s) { +function inline__P5244_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P303396, depth: s.depth + 1, + parent: s, fn: inline__P5244, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20201,7 +19984,7 @@ function inline__P303396_mk(s) { -function helpers_arrayFind__P297632(s) { +function helpers_arrayFind__P61(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20211,28 +19994,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.len___322078 = undefined; - s.i___322081 = undefined; - s.v___322086 = undefined; + s.len___24300 = undefined; + s.i___24303 = undefined; + s.v___24308 = 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___322078 = (r0); - s.i___322081 = (0); + s.len___24300 = (r0); + s.i___24303 = (0); case 1: - r0 = (s.i___322081 < s.len___322078); + r0 = (s.i___24303 < s.len___24300); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___322081); - s.v___322086 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___24303); + s.v___24308 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___322086; - s.tmp_1.arg1 = s.i___322081; + s.tmp_1.arg0 = s.v___24308; + s.tmp_1.arg1 = s.i___24303; setupLambda(s.tmp_1, s.tmp_1.argL); s.pc = 6; return s.tmp_1; case 6: @@ -20240,12 +20023,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = s.v___322086; + r0 = s.v___24308; { step = 5; continue; } case 2: case 3: - r0 = (s.i___322081 + 1); - s.i___322081 = (r0); + r0 = (s.i___24303 + 1); + s.i___24303 = (r0); { step = 1; continue; } case 4: r0 = undefined; @@ -20253,19 +20036,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayFind__P297632.info = {"start":6160,"length":292,"line":211,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFind","argumentNames":["arr","callbackfn"]} -helpers_arrayFind__P297632.info = {"start":6160,"length":292,"line":211,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFind","argumentNames":["arr","callbackfn"]} +helpers_arrayFind__P61.info = {"start":6160,"length":292,"line":211,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFind","argumentNames":["arr","callbackfn"]} +helpers_arrayFind__P61.info = {"start":6160,"length":292,"line":211,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFind","argumentNames":["arr","callbackfn"]} -function helpers_arrayFind__P297632_mk(s) { +function helpers_arrayFind__P61_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFind__P297632, depth: s.depth + 1, + parent: s, fn: helpers_arrayFind__P61, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___322078: undefined, - i___322081: undefined, - v___322086: undefined, + len___24300: undefined, + i___24303: undefined, + v___24308: undefined, arg0: undefined, arg1: undefined, } } @@ -20274,7 +20057,7 @@ function helpers_arrayFind__P297632_mk(s) { -function tileworld_storeRule__P303288(s) { +function tileworld_storeRule__P5136(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20284,20 +20067,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.buf___304234 = undefined; + s.buf___6082 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_packRule__P302823_mk(s); + s.tmp_0 = tileworld_packRule__P4671_mk(s); s.tmp_0.arg0 = s.arg2; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.buf___304234 = (r0); - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.buf___6082 = (r0); + s.tmp_0 = settings_writeBuffer__P578_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 3); pxsim_String__stringConv(s.arg0); @@ -20331,21 +20114,21 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_4); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.buf___304234; + s.tmp_0.arg1 = s.buf___6082; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - r0 = s.buf___304234; + r0 = s.buf___6082; return leave(s, r0) default: oops() } } } -tileworld_storeRule__P303288.info = {"start":11222,"length":195,"line":324,"column":4,"endLine":328,"endColumn":5,"fileName":"project.ts","functionName":"storeRule","argumentNames":["prefix","rid","rule"]} -tileworld_storeRule__P303288.info = {"start":11222,"length":195,"line":324,"column":4,"endLine":328,"endColumn":5,"fileName":"project.ts","functionName":"storeRule","argumentNames":["prefix","rid","rule"]} +tileworld_storeRule__P5136.info = {"start":11222,"length":195,"line":324,"column":4,"endLine":328,"endColumn":5,"fileName":"project.ts","functionName":"storeRule","argumentNames":["prefix","rid","rule"]} +tileworld_storeRule__P5136.info = {"start":11222,"length":195,"line":324,"column":4,"endLine":328,"endColumn":5,"fileName":"project.ts","functionName":"storeRule","argumentNames":["prefix","rid","rule"]} -function tileworld_storeRule__P303288_mk(s) { +function tileworld_storeRule__P5136_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_storeRule__P303288, depth: s.depth + 1, + parent: s, fn: tileworld_storeRule__P5136, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20353,7 +20136,7 @@ function tileworld_storeRule__P303288_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - buf___304234: undefined, + buf___6082: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20363,7 +20146,7 @@ function tileworld_storeRule__P303288_mk(s) { -function tileworld_packRule__P302823(s) { +function tileworld_packRule__P4671(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20373,14 +20156,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.len___302826 = undefined; - s.i___302833 = undefined; - s.i___302865 = undefined; + s.len___4674 = undefined; + s.i___4681 = undefined; + s.i___4713 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.bitIndex___302641 = (0); + globals.bitIndex___4485 = (0); r0 = s.arg0.fields["whenDo"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); @@ -20388,10 +20171,10 @@ switch (step) { r0 = (s.tmp_1 * 3); s.tmp_0 = r0; r0 = (4 + s.tmp_0); - s.len___302826 = (r0); - s.i___302833 = (0); + s.len___4674 = (r0); + s.i___4681 = (0); case 1: - s.tmp_1 = r0 = s.i___302833; + s.tmp_1 = r0 = s.i___4681; r0 = s.arg0.fields["whenDo"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -20402,7 +20185,7 @@ switch (step) { if (!r0) { step = 4; continue; } r0 = s.arg0.fields["whenDo"]; s.tmp_7 = r0; - r0 = pxsim_Array__getAt(s.tmp_7, s.i___302833); + r0 = pxsim_Array__getAt(s.tmp_7, s.i___4681); r0 = r0.fields["commands"]; s.tmp_6 = r0; r0 = pxsim_Array__length(s.tmp_6); @@ -20418,55 +20201,55 @@ switch (step) { case 3: // jmp value (already in r0) s.tmp_8 = r0; - r0 = (s.len___302826 + s.tmp_8); - s.len___302826 = (r0); - r0 = (s.i___302833 + 1); - s.i___302833 = (r0); + r0 = (s.len___4674 + s.tmp_8); + s.len___4674 = (r0); + r0 = (s.i___4681 + 1); + s.i___4681 = (r0); { step = 1; continue; } case 4: - r0 = pxsim.control.createBuffer(s.len___302826); - globals.ruleBuf___302639 = (r0); - s.tmp_0 = helpers_arrayForEach__P297630_mk(s); + r0 = pxsim.control.createBuffer(s.len___4674); + globals.ruleBuf___4483 = (r0); + s.tmp_0 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["kind"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P302861; + s.tmp_0.arg1 = inline__P4709; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = s.arg0.fields["kind"]; s.tmp_0 = r0; r0 = pxsim_Array__length(s.tmp_0); - s.i___302865 = (r0); + s.i___4713 = (r0); case 5: - r0 = (s.i___302865 < 4); + r0 = (s.i___4713 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_1 = tileworld_writeBuf__P302731_mk(s); + s.tmp_1 = tileworld_writeBuf__P4579_mk(s); s.tmp_1.arg0 = 15; s.tmp_1.arg1 = 4; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = (s.i___302865 + 1); - s.i___302865 = (r0); + r0 = (s.i___4713 + 1); + s.i___4713 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = tileworld_writeBuf__P302731_mk(s); + s.tmp_0 = tileworld_writeBuf__P4579_mk(s); r0 = s.arg0.fields["rt"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P302731_mk(s); + s.tmp_0 = tileworld_writeBuf__P4579_mk(s); r0 = s.arg0.fields["dir"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P302731_mk(s); + s.tmp_0 = tileworld_writeBuf__P4579_mk(s); r0 = s.arg0.fields["whenDo"]; s.tmp_1 = r0; r0 = pxsim_Array__length(s.tmp_1); @@ -20475,37 +20258,37 @@ switch (step) { s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = helpers_arrayForEach__P297630_mk(s); + s.tmp_0 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["whenDo"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P302888; + s.tmp_0.arg1 = inline__P4736; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P302731_mk(s); + s.tmp_0 = tileworld_writeBuf__P4579_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 4; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = helpers_arrayForEach__P297630_mk(s); + s.tmp_0 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["whenDo"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P302920; + s.tmp_0.arg1 = inline__P4768; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - r0 = globals.ruleBuf___302639; + r0 = globals.ruleBuf___4483; return leave(s, r0) default: oops() } } } -tileworld_packRule__P302823.info = {"start":9013,"length":1790,"line":253,"column":4,"endLine":294,"endColumn":5,"fileName":"rule.ts","functionName":"packRule","argumentNames":["r"]} -tileworld_packRule__P302823.info = {"start":9013,"length":1790,"line":253,"column":4,"endLine":294,"endColumn":5,"fileName":"rule.ts","functionName":"packRule","argumentNames":["r"]} +tileworld_packRule__P4671.info = {"start":9102,"length":1790,"line":255,"column":4,"endLine":296,"endColumn":5,"fileName":"rule.ts","functionName":"packRule","argumentNames":["r"]} +tileworld_packRule__P4671.info = {"start":9102,"length":1790,"line":255,"column":4,"endLine":296,"endColumn":5,"fileName":"rule.ts","functionName":"packRule","argumentNames":["r"]} -function tileworld_packRule__P302823_mk(s) { +function tileworld_packRule__P4671_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_packRule__P302823, depth: s.depth + 1, + parent: s, fn: tileworld_packRule__P4671, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20516,9 +20299,9 @@ function tileworld_packRule__P302823_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - len___302826: undefined, - i___302833: undefined, - i___302865: undefined, + len___4674: undefined, + i___4681: undefined, + i___4713: undefined, arg0: undefined, } } @@ -20526,7 +20309,7 @@ function tileworld_packRule__P302823_mk(s) { -function inline__P302861(s) { +function inline__P4709(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20540,7 +20323,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_writeBuf__P302731_mk(s); + s.tmp_0 = tileworld_writeBuf__P4579_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 4; s.pc = 1; return s.tmp_0; @@ -20550,13 +20333,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P302861.info = {"start":9420,"length":24,"line":263,"column":23,"endLine":263,"endColumn":47,"fileName":"rule.ts","functionName":"inline","argumentNames":["v"]} -inline__P302861.info = {"start":9420,"length":24,"line":263,"column":23,"endLine":263,"endColumn":47,"fileName":"rule.ts","functionName":"inline","argumentNames":["v"]} +inline__P4709.info = {"start":9509,"length":24,"line":265,"column":23,"endLine":265,"endColumn":47,"fileName":"rule.ts","functionName":"inline","argumentNames":["v"]} +inline__P4709.info = {"start":9509,"length":24,"line":265,"column":23,"endLine":265,"endColumn":47,"fileName":"rule.ts","functionName":"inline","argumentNames":["v"]} -function inline__P302861_mk(s) { +function inline__P4709_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P302861, depth: s.depth + 1, + parent: s, fn: inline__P4709, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20566,7 +20349,7 @@ function inline__P302861_mk(s) { -function inline__P302888(s) { +function inline__P4736(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20576,12 +20359,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.cnt___302902 = undefined; + s.cnt___4750 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_colRowToLRUD__P302741_mk(s); + s.tmp_0 = tileworld_colRowToLRUD__P4589_mk(s); r0 = s.arg0.fields["col"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["row"]; @@ -20589,33 +20372,33 @@ switch (step) { s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = helpers_arrayForEach__P297630_mk(s); + s.tmp_0 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["attrs"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P302898; + s.tmp_0.arg1 = inline__P4746; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = s.arg0.fields["attrs"]; s.tmp_0 = r0; r0 = pxsim_Array__length(s.tmp_0); - s.cnt___302902 = (r0); + s.cnt___4750 = (r0); case 1: - r0 = (s.cnt___302902 < 8); + r0 = (s.cnt___4750 < 8); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = tileworld_writeBuf__P302731_mk(s); + s.tmp_1 = tileworld_writeBuf__P4579_mk(s); s.tmp_1.arg0 = 0; s.tmp_1.arg1 = 2; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = (s.cnt___302902 + 1); - s.cnt___302902 = (r0); + r0 = (s.cnt___4750 + 1); + s.cnt___4750 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = tileworld_writeBuf__P302731_mk(s); + s.tmp_0 = tileworld_writeBuf__P4579_mk(s); r0 = s.arg0.fields["commands"]; s.tmp_1 = r0; r0 = pxsim_Array__length(s.tmp_1); @@ -20628,17 +20411,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P302888.info = {"start":9931,"length":325,"line":273,"column":25,"endLine":278,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} -inline__P302888.info = {"start":9931,"length":325,"line":273,"column":25,"endLine":278,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} +inline__P4736.info = {"start":10020,"length":325,"line":275,"column":25,"endLine":280,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} +inline__P4736.info = {"start":10020,"length":325,"line":275,"column":25,"endLine":280,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} -function inline__P302888_mk(s) { +function inline__P4736_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P302888, depth: s.depth + 1, + parent: s, fn: inline__P4736, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - cnt___302902: undefined, + cnt___4750: undefined, arg0: undefined, } } @@ -20646,7 +20429,7 @@ function inline__P302888_mk(s) { -function inline__P302898(s) { +function inline__P4746(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20660,7 +20443,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_writeBuf__P302731_mk(s); + s.tmp_0 = tileworld_writeBuf__P4579_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.pc = 1; return s.tmp_0; @@ -20670,13 +20453,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P302898.info = {"start":10045,"length":25,"line":275,"column":29,"endLine":275,"endColumn":54,"fileName":"rule.ts","functionName":"inline","argumentNames":["a"]} -inline__P302898.info = {"start":10045,"length":25,"line":275,"column":29,"endLine":275,"endColumn":54,"fileName":"rule.ts","functionName":"inline","argumentNames":["a"]} +inline__P4746.info = {"start":10134,"length":25,"line":277,"column":29,"endLine":277,"endColumn":54,"fileName":"rule.ts","functionName":"inline","argumentNames":["a"]} +inline__P4746.info = {"start":10134,"length":25,"line":277,"column":29,"endLine":277,"endColumn":54,"fileName":"rule.ts","functionName":"inline","argumentNames":["a"]} -function inline__P302898_mk(s) { +function inline__P4746_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P302898, depth: s.depth + 1, + parent: s, fn: inline__P4746, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20686,7 +20469,7 @@ function inline__P302898_mk(s) { -function inline__P302920(s) { +function inline__P4768(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20696,8 +20479,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.i___302926 = undefined; - s.j___302947 = undefined; + s.i___4774 = undefined; + s.j___4795 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -20710,9 +20493,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.i___302926 = (0); + s.i___4774 = (0); case 1: - s.tmp_1 = r0 = s.i___302926; + s.tmp_1 = r0 = s.i___4774; r0 = s.arg0.fields["commands"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -20721,47 +20504,47 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_4 = tileworld_writeBuf__P302731_mk(s); + s.tmp_4 = tileworld_writeBuf__P4579_mk(s); r0 = s.arg0.fields["commands"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___302926); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___4774); r0 = r0.fields["inst"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 4; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P302731_mk(s); + s.tmp_0 = tileworld_writeBuf__P4579_mk(s); r0 = s.arg0.fields["commands"]; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.i___302926); + r0 = pxsim_Array__getAt(s.tmp_1, s.i___4774); r0 = r0.fields["arg"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = (s.i___302926 + 1); - s.i___302926 = (r0); + r0 = (s.i___4774 + 1); + s.i___4774 = (r0); { step = 1; continue; } case 2: r0 = s.arg0.fields["commands"]; s.tmp_0 = r0; r0 = pxsim_Array__length(s.tmp_0); - s.j___302947 = (r0); + s.j___4795 = (r0); case 3: - r0 = (s.j___302947 < 4); + r0 = (s.j___4795 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = tileworld_writeBuf__P302731_mk(s); + s.tmp_1 = tileworld_writeBuf__P4579_mk(s); s.tmp_1.arg0 = 255; s.tmp_1.arg1 = 8; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = (s.j___302947 + 1); - s.j___302947 = (r0); + r0 = (s.j___4795 + 1); + s.j___4795 = (r0); { step = 3; continue; } case 4: case 5: @@ -20770,13 +20553,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P302920.info = {"start":10392,"length":379,"line":282,"column":25,"endLine":292,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} -inline__P302920.info = {"start":10392,"length":379,"line":282,"column":25,"endLine":292,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} +inline__P4768.info = {"start":10481,"length":379,"line":284,"column":25,"endLine":294,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} +inline__P4768.info = {"start":10481,"length":379,"line":284,"column":25,"endLine":294,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} -function inline__P302920_mk(s) { +function inline__P4768_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P302920, depth: s.depth + 1, + parent: s, fn: inline__P4768, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20784,8 +20567,8 @@ function inline__P302920_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - i___302926: undefined, - j___302947: undefined, + i___4774: undefined, + j___4795: undefined, arg0: undefined, } } @@ -20793,7 +20576,7 @@ function inline__P302920_mk(s) { -function tileworld_colRowToLRUD__P302741(s) { +function tileworld_colRowToLRUD__P4589(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20803,20 +20586,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.dist___302744 = undefined; + s.dist___4592 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_1 = Math_abs__P297644_mk(s); + s.tmp_1 = Math_abs__P73_mk(s); r0 = (2 - s.arg0); s.tmp_1.arg0 = r0; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Math_abs__P297644_mk(s); + s.tmp_3 = Math_abs__P73_mk(s); r0 = (2 - s.arg1); s.tmp_3.arg0 = r0; s.pc = 27; return s.tmp_3; @@ -20824,18 +20607,18 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.dist___302744 = (r0); - r0 = (s.dist___302744 == 0); + s.dist___4592 = (r0); + r0 = (s.dist___4592 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = tileworld_writeBuf__P302731_mk(s); + s.tmp_1 = tileworld_writeBuf__P4579_mk(s); s.tmp_1.arg0 = 0; s.tmp_1.arg1 = 2; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P302731_mk(s); + s.tmp_0 = tileworld_writeBuf__P4579_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = 2; s.pc = 29; return s.tmp_0; @@ -20844,7 +20627,7 @@ switch (step) { { step = 25; continue; } { step = 24; continue; } case 1: - r0 = (s.dist___302744 == 1); + r0 = (s.dist___4592 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -20861,13 +20644,13 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_3 = tileworld_writeBuf__P302731_mk(s); + s.tmp_3 = tileworld_writeBuf__P4579_mk(s); s.tmp_3.arg0 = 1; s.tmp_3.arg1 = 2; s.pc = 30; return s.tmp_3; case 30: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P302731_mk(s); + s.tmp_0 = tileworld_writeBuf__P4579_mk(s); s.tmp_0.arg0 = 2; s.tmp_0.arg1 = 2; s.pc = 31; return s.tmp_0; @@ -20888,13 +20671,13 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_2 = tileworld_writeBuf__P302731_mk(s); + s.tmp_2 = tileworld_writeBuf__P4579_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = 2; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P302731_mk(s); + s.tmp_0 = tileworld_writeBuf__P4579_mk(s); s.tmp_0.arg0 = 3; s.tmp_0.arg1 = 2; s.pc = 33; return s.tmp_0; @@ -20915,13 +20698,13 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 10; continue; } - s.tmp_2 = tileworld_writeBuf__P302731_mk(s); + s.tmp_2 = tileworld_writeBuf__P4579_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = 2; s.pc = 34; return s.tmp_2; case 34: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P302731_mk(s); + s.tmp_0 = tileworld_writeBuf__P4579_mk(s); s.tmp_0.arg0 = 2; s.tmp_0.arg1 = 2; s.pc = 35; return s.tmp_0; @@ -20929,13 +20712,13 @@ switch (step) { r0 = s.retval; { step = 11; continue; } case 10: - s.tmp_0 = tileworld_writeBuf__P302731_mk(s); + s.tmp_0 = tileworld_writeBuf__P4579_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = 2; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P302731_mk(s); + s.tmp_0 = tileworld_writeBuf__P4579_mk(s); s.tmp_0.arg0 = 3; s.tmp_0.arg1 = 2; s.pc = 37; return s.tmp_0; @@ -20951,7 +20734,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - s.tmp_1 = tileworld_writeBuf__P302731_mk(s); + s.tmp_1 = tileworld_writeBuf__P4579_mk(s); s.tmp_1.arg0 = 2; s.tmp_1.arg1 = 2; s.pc = 38; return s.tmp_1; @@ -20966,7 +20749,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.tmp_1 = tileworld_writeBuf__P302731_mk(s); + s.tmp_1 = tileworld_writeBuf__P4579_mk(s); s.tmp_1.arg0 = 3; s.tmp_1.arg1 = 2; s.pc = 39; return s.tmp_1; @@ -20981,7 +20764,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = tileworld_writeBuf__P302731_mk(s); + s.tmp_1 = tileworld_writeBuf__P4579_mk(s); s.tmp_1.arg0 = 0; s.tmp_1.arg1 = 2; s.pc = 40; return s.tmp_1; @@ -20996,7 +20779,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - s.tmp_1 = tileworld_writeBuf__P302731_mk(s); + s.tmp_1 = tileworld_writeBuf__P4579_mk(s); s.tmp_1.arg0 = 1; s.tmp_1.arg1 = 2; s.pc = 41; return s.tmp_1; @@ -21013,19 +20796,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_colRowToLRUD__P302741.info = {"start":7700,"length":1252,"line":222,"column":4,"endLine":250,"endColumn":5,"fileName":"rule.ts","functionName":"colRowToLRUD","argumentNames":["col","row"]} -tileworld_colRowToLRUD__P302741.info = {"start":7700,"length":1252,"line":222,"column":4,"endLine":250,"endColumn":5,"fileName":"rule.ts","functionName":"colRowToLRUD","argumentNames":["col","row"]} +tileworld_colRowToLRUD__P4589.info = {"start":7789,"length":1252,"line":224,"column":4,"endLine":252,"endColumn":5,"fileName":"rule.ts","functionName":"colRowToLRUD","argumentNames":["col","row"]} +tileworld_colRowToLRUD__P4589.info = {"start":7789,"length":1252,"line":224,"column":4,"endLine":252,"endColumn":5,"fileName":"rule.ts","functionName":"colRowToLRUD","argumentNames":["col","row"]} -function tileworld_colRowToLRUD__P302741_mk(s) { +function tileworld_colRowToLRUD__P4589_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_colRowToLRUD__P302741, depth: s.depth + 1, + parent: s, fn: tileworld_colRowToLRUD__P4589, 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, - dist___302744: undefined, + dist___4592: undefined, arg0: undefined, arg1: undefined, } } @@ -21034,7 +20817,7 @@ function tileworld_colRowToLRUD__P302741_mk(s) { -function tileworld_writeBuf__P302731(s) { +function tileworld_writeBuf__P4579(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21049,7 +20832,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_readWriteBuf__P302642_mk(s); + s.tmp_0 = tileworld_readWriteBuf__P4486_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = true; @@ -21060,13 +20843,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_writeBuf__P302731.info = {"start":7518,"length":87,"line":214,"column":4,"endLine":216,"endColumn":5,"fileName":"rule.ts","functionName":"writeBuf","argumentNames":["v","bits"]} -tileworld_writeBuf__P302731.info = {"start":7518,"length":87,"line":214,"column":4,"endLine":216,"endColumn":5,"fileName":"rule.ts","functionName":"writeBuf","argumentNames":["v","bits"]} +tileworld_writeBuf__P4579.info = {"start":7607,"length":87,"line":216,"column":4,"endLine":218,"endColumn":5,"fileName":"rule.ts","functionName":"writeBuf","argumentNames":["v","bits"]} +tileworld_writeBuf__P4579.info = {"start":7607,"length":87,"line":216,"column":4,"endLine":218,"endColumn":5,"fileName":"rule.ts","functionName":"writeBuf","argumentNames":["v","bits"]} -function tileworld_writeBuf__P302731_mk(s) { +function tileworld_writeBuf__P4579_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_writeBuf__P302731, depth: s.depth + 1, + parent: s, fn: tileworld_writeBuf__P4579, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21077,7 +20860,7 @@ function tileworld_writeBuf__P302731_mk(s) { -function tileworld_readWriteBuf__P302642(s) { +function tileworld_readWriteBuf__P4486(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21087,30 +20870,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.byteIndex___302646 = undefined; - s.shift___302654 = undefined; - s.byte___302668 = undefined; - s.mask___302673 = undefined; - s.i___302674 = undefined; - s.writeMask___302691 = undefined; - s.newVal___302695 = undefined; - s.ret___302718 = undefined; + s.byteIndex___4490 = undefined; + s.shift___4498 = undefined; + s.byte___4512 = undefined; + s.mask___4517 = undefined; + s.i___4518 = undefined; + s.writeMask___4539 = undefined; + s.newVal___4543 = undefined; + s.ret___4566 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - r0 = (globals.bitIndex___302641 >> 3); - s.byteIndex___302646 = (r0); - s.tmp_1 = r0 = s.byteIndex___302646; - r0 = pxsim.BufferMethods.length(globals.ruleBuf___302639); + r0 = (globals.bitIndex___4485 >> 3); + s.byteIndex___4490 = (r0); + s.tmp_1 = r0 = s.byteIndex___4490; + r0 = pxsim.BufferMethods.length(globals.ruleBuf___4483); s.tmp_2 = r0; r0 = (s.tmp_1 >= s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = control_assert__P297769_mk(s); + s.tmp_3 = control_assert__P198_mk(s); s.tmp_3.arg0 = false; s.tmp_3.arg1 = 43; s.pc = 11; return s.tmp_3; @@ -21118,30 +20901,30 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = r0 = globals.bitIndex___302641; - r0 = (s.byteIndex___302646 << 3); + s.tmp_0 = r0 = globals.bitIndex___4485; + r0 = (s.byteIndex___4490 << 3); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.shift___302654 = (r0); - r0 = (s.shift___302654 + s.arg1); + s.shift___4498 = (r0); + r0 = (s.shift___4498 + s.arg1); s.tmp_1 = r0; r0 = (s.tmp_1 > 8); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = console_logValue__P297811_mk(s); + s.tmp_2 = console_logValue__P240_mk(s); s.tmp_2.arg0 = "shift"; - s.tmp_2.arg1 = s.shift___302654; + s.tmp_2.arg1 = s.shift___4498; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - s.tmp_0 = console_logValue__P297811_mk(s); + s.tmp_0 = console_logValue__P240_mk(s); s.tmp_0.arg0 = "bits"; s.tmp_0.arg1 = s.arg1; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = control_assert__P297769_mk(s); + s.tmp_0 = control_assert__P198_mk(s); s.tmp_0.arg0 = false; s.tmp_0.arg1 = 44; s.pc = 14; return s.tmp_0; @@ -21149,50 +20932,52 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim.BufferMethods.getUint8(globals.ruleBuf___302639, s.byteIndex___302646); - s.byte___302668 = (r0); - s.mask___302673 = (0); - s.i___302674 = (0); + r0 = pxsim.BufferMethods.getUint8(globals.ruleBuf___4483, s.byteIndex___4490); + s.byte___4512 = (r0); + s.mask___4517 = (0); + s.i___4518 = (0); case 5: - r0 = (s.i___302674 < s.arg1); + r0 = (s.i___4518 < s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = (s.mask___302673 << 1); + r0 = (s.mask___4517 << 1); s.tmp_1 = r0; r0 = (1 | s.tmp_1); - s.mask___302673 = (r0); - r0 = (s.i___302674 + 1); - s.i___302674 = (r0); + s.mask___4517 = (r0); + r0 = (s.i___4518 + 1); + s.i___4518 = (r0); { step = 5; continue; } case 6: - r0 = (s.mask___302673 << s.shift___302654); - s.mask___302673 = (r0); - r0 = (s.mask___302673 ^ 4294967295); - s.writeMask___302691 = (r0); + r0 = (s.arg0 & s.mask___4517); + s.arg0 = (r0); + r0 = (s.mask___4517 << s.shift___4498); + s.mask___4517 = (r0); + r0 = (s.mask___4517 ^ 4294967295); + s.writeMask___4539 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 7; continue; } - r0 = (s.byte___302668 & s.writeMask___302691); + r0 = (s.byte___4512 & s.writeMask___4539); s.tmp_0 = r0; - r0 = (s.arg0 << s.shift___302654); + r0 = (s.arg0 << s.shift___4498); s.tmp_1 = r0; r0 = (s.tmp_0 | s.tmp_1); - s.newVal___302695 = (r0); - r0 = pxsim.BufferMethods.setUint8(globals.ruleBuf___302639, s.byteIndex___302646, s.newVal___302695); + s.newVal___4543 = (r0); + r0 = pxsim.BufferMethods.setUint8(globals.ruleBuf___4483, s.byteIndex___4490, s.newVal___4543); case 7: case 8: - r0 = (globals.bitIndex___302641 + s.arg1); - globals.bitIndex___302641 = (r0); - r0 = pxsim.BufferMethods.getUint8(globals.ruleBuf___302639, s.byteIndex___302646); - s.byte___302668 = (r0); - r0 = (s.byte___302668 & s.mask___302673); - s.tmp_0 = r0; - r0 = (s.tmp_0 >> s.shift___302654); - s.ret___302718 = (r0); + r0 = (globals.bitIndex___4485 + s.arg1); + globals.bitIndex___4485 = (r0); + r0 = pxsim.BufferMethods.getUint8(globals.ruleBuf___4483, s.byteIndex___4490); + s.byte___4512 = (r0); + r0 = (s.byte___4512 & s.mask___4517); + s.tmp_0 = r0; + r0 = (s.tmp_0 >> s.shift___4498); + s.ret___4566 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 9; continue; } - s.tmp_0 = control_assert__P297769_mk(s); - r0 = (s.ret___302718 == s.arg0); + s.tmp_0 = control_assert__P198_mk(s); + r0 = (s.ret___4566 == s.arg0); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 42; s.pc = 15; return s.tmp_0; @@ -21200,30 +20985,30 @@ switch (step) { r0 = s.retval; case 9: case 10: - r0 = s.ret___302718; + r0 = s.ret___4566; return leave(s, r0) default: oops() } } } -tileworld_readWriteBuf__P302642.info = {"start":6422,"length":1090,"line":180,"column":4,"endLine":212,"endColumn":5,"fileName":"rule.ts","functionName":"readWriteBuf","argumentNames":["v","bits","write"]} -tileworld_readWriteBuf__P302642.info = {"start":6422,"length":1090,"line":180,"column":4,"endLine":212,"endColumn":5,"fileName":"rule.ts","functionName":"readWriteBuf","argumentNames":["v","bits","write"]} +tileworld_readWriteBuf__P4486.info = {"start":6422,"length":1179,"line":180,"column":4,"endLine":214,"endColumn":5,"fileName":"rule.ts","functionName":"readWriteBuf","argumentNames":["v","bits","write"]} +tileworld_readWriteBuf__P4486.info = {"start":6422,"length":1179,"line":180,"column":4,"endLine":214,"endColumn":5,"fileName":"rule.ts","functionName":"readWriteBuf","argumentNames":["v","bits","write"]} -function tileworld_readWriteBuf__P302642_mk(s) { +function tileworld_readWriteBuf__P4486_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_readWriteBuf__P302642, depth: s.depth + 1, + parent: s, fn: tileworld_readWriteBuf__P4486, 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, - byteIndex___302646: undefined, - shift___302654: undefined, - byte___302668: undefined, - mask___302673: undefined, - i___302674: undefined, - writeMask___302691: undefined, - newVal___302695: undefined, - ret___302718: undefined, + byteIndex___4490: undefined, + shift___4498: undefined, + byte___4512: undefined, + mask___4517: undefined, + i___4518: undefined, + writeMask___4539: undefined, + newVal___4543: undefined, + ret___4566: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21233,7 +21018,7 @@ function tileworld_readWriteBuf__P302642_mk(s) { -function console_logValue__P297811(s) { +function console_logValue__P240(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21252,7 +21037,7 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_2 = r0; - s.tmp_5 = console_inspect__P297812_mk(s); + s.tmp_5 = console_inspect__P241_mk(s); s.tmp_5.arg0 = s.arg0; s.tmp_5.arg1 = 20; s.pc = 3; return s.tmp_5; @@ -21299,7 +21084,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_9 = r0; - s.tmp_10 = console_log__P297810_mk(s); + s.tmp_10 = console_log__P239_mk(s); s.tmp_10.arg0 = s.tmp_9; s.pc = 7; return s.tmp_10; case 7: @@ -21308,13 +21093,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_logValue__P297811.info = {"start":1872,"length":126,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"logValue","argumentNames":["name","value"]} -console_logValue__P297811.info = {"start":1872,"length":126,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"logValue","argumentNames":["name","value"]} +console_logValue__P240.info = {"start":1872,"length":126,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"logValue","argumentNames":["name","value"]} +console_logValue__P240.info = {"start":1872,"length":126,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"logValue","argumentNames":["name","value"]} -function console_logValue__P297811_mk(s) { +function console_logValue__P240_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_logValue__P297811, depth: s.depth + 1, + parent: s, fn: console_logValue__P240, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21335,7 +21120,7 @@ function console_logValue__P297811_mk(s) { -function console_inspect__P297812(s) { +function console_inspect__P241(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21345,10 +21130,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.asArr___317421 = undefined; - s.asString___317439 = undefined; - s.keys___317451 = undefined; - s.snipped___317455 = undefined; + s.asArr___19604 = undefined; + s.asString___19622 = undefined; + s.keys___19634 = undefined; + s.snipped___19638 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21389,15 +21174,15 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___317421 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___317421); + s.asArr___19604 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___19604); 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__P297622_mk(s); - s.tmp_2.arg0 = s.asArr___317421; + s.tmp_2 = helpers_arrayJoin__P51_mk(s); + s.tmp_2.arg0 = s.asArr___19604; s.tmp_2.arg1 = ","; s.pc = 19; return s.tmp_2; case 19: @@ -21407,9 +21192,9 @@ switch (step) { case 3: r0 = pxsim_String_.mkEmpty(); s.tmp_4 = r0; - s.tmp_7 = helpers_arrayJoin__P297622_mk(s); - s.tmp_8 = helpers_arraySlice__P297635_mk(s); - s.tmp_8.arg0 = s.asArr___317421; + s.tmp_7 = helpers_arrayJoin__P51_mk(s); + s.tmp_8 = helpers_arraySlice__P64_mk(s); + s.tmp_8.arg0 = s.asArr___19604; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; s.pc = 21; return s.tmp_8; @@ -21449,46 +21234,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___317439 = (r0); - r0 = (s.asString___317439 != "[object Object]"); + s.asString___19622 = (r0); + r0 = (s.asString___19622 != "[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___317439 != "[Object]"); + r0 = (s.asString___19622 != "[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___317439; + r0 = s.asString___19622; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___317451 = (r0); - r0 = pxsim_Array__length(s.keys___317451); + s.keys___19634 = (r0); + r0 = pxsim_Array__length(s.keys___19634); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___317455 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___317455); + s.snipped___19638 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___19638); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P297635_mk(s); - s.tmp_0.arg0 = s.keys___317451; + s.tmp_0 = helpers_arraySlice__P64_mk(s); + s.tmp_0.arg0 = s.keys___19634; 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___317451 = (r0); + s.keys___19634 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, inline__P317473); + r0 = pxsim_pxtcore_mkAction(1, inline__P19656); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___317455); + r0 = pxsim_numops_toBoolDecr(s.snipped___19638); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -21497,8 +21282,8 @@ switch (step) { case 13: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_7 = helpers_arrayReduce__P297633_mk(s); - s.tmp_7.arg0 = s.keys___317451; + s.tmp_7 = helpers_arrayReduce__P62_mk(s); + s.tmp_7.arg0 = s.keys___19634; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; @@ -21547,13 +21332,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect__P297812.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__P297812.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__P241.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__P241.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__P297812_mk(s) { +function console_inspect__P241_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P297812, depth: s.depth + 1, + parent: s, fn: console_inspect__P241, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21566,10 +21351,10 @@ function console_inspect__P297812_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___317421: undefined, - asString___317439: undefined, - keys___317451: undefined, - snipped___317455: undefined, + asArr___19604: undefined, + asString___19622: undefined, + keys___19634: undefined, + snipped___19638: undefined, arg0: undefined, arg1: undefined, } } @@ -21578,7 +21363,7 @@ function console_inspect__P297812_mk(s) { -function inline__P317473(s) { +function inline__P19656(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21641,13 +21426,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P317473.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__P317473.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__P19656.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__P19656.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__P317473_mk(s) { +function inline__P19656_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P317473, depth: s.depth + 1, + parent: s, fn: inline__P19656, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21665,7 +21450,7 @@ function inline__P317473_mk(s) { -function helpers_arrayReduce__P297633(s) { +function helpers_arrayReduce__P62(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21675,8 +21460,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.len___317500 = undefined; - s.i___317503 = undefined; + s.len___19683 = undefined; + s.i___19686 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21684,44 +21469,44 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___317500 = (r0); - s.i___317503 = (0); + s.len___19683 = (r0); + s.i___19686 = (0); case 1: - r0 = (s.i___317503 < s.len___317500); + r0 = (s.i___19686 < s.len___19683); 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___317503); + r0 = pxsim_Array__getAt(s.arg0, s.i___19686); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___317503; + s.tmp_1.arg2 = s.i___19686; 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___317503 + 1); - s.i___317503 = (r0); + r0 = (s.i___19686 + 1); + s.i___19686 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; return leave(s, r0) default: oops() } } } -helpers_arrayReduce__P297633.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__P297633.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__P62.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__P62.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__P297633_mk(s) { +function helpers_arrayReduce__P62_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P297633, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P62, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___317500: undefined, - i___317503: undefined, + len___19683: undefined, + i___19686: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21731,7 +21516,7 @@ function helpers_arrayReduce__P297633_mk(s) { -function helpers_arrayJoin__P297622(s) { +function helpers_arrayJoin__P51(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21741,9 +21526,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.r___317528 = undefined; - s.len___317529 = undefined; - s.i___317532 = undefined; + s.r___19711 = undefined; + s.len___19712 = undefined; + s.i___19715 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21766,16 +21551,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___317528 = (r0); + s.r___19711 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___317529 = (r0); - s.i___317532 = (0); + s.len___19712 = (r0); + s.i___19715 = (0); case 5: - r0 = (s.i___317532 < s.len___317529); + r0 = (s.i___19715 < s.len___19712); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___317532 > 0); + r0 = (s.i___19715 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -21788,12 +21573,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___317528) && (s.r___317528).vtable) { + if ((s.r___19711) && (s.r___19711).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___317528); + pxsim_String__stringConv(s.r___19711); checkResumeConsumed(); return; - } else { s.retval = (s.r___317528) + ""; } + } else { s.retval = (s.r___19711) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -21807,10 +21592,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___317528 = (r0); + s.r___19711 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___317532); + r0 = pxsim_Array__getAt(s.arg0, s.i___19715); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -21819,7 +21604,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___317532); + r0 = pxsim_Array__getAt(s.arg0, s.i___19715); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -21830,16 +21615,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___317532); + r0 = pxsim_Array__getAt(s.arg0, s.i___19715); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___317528) && (s.r___317528).vtable) { + if ((s.r___19711) && (s.r___19711).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___317528); + pxsim_String__stringConv(s.r___19711); checkResumeConsumed(); return; - } else { s.retval = (s.r___317528) + ""; } + } else { s.retval = (s.r___19711) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -21853,22 +21638,22 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___317528 = (r0); - r0 = (s.i___317532 + 1); - s.i___317532 = (r0); + s.r___19711 = (r0); + r0 = (s.i___19715 + 1); + s.i___19715 = (r0); { step = 5; continue; } case 14: - r0 = s.r___317528; + r0 = s.r___19711; return leave(s, r0) default: oops() } } } -helpers_arrayJoin__P297622.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__P297622.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__P51.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__P51.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__P297622_mk(s) { +function helpers_arrayJoin__P51_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P297622, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P51, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21877,71 +21662,9 @@ function helpers_arrayJoin__P297622_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___317528: undefined, - len___317529: undefined, - i___317532: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function control_assert__P297769(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.arg0); - 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 = control_fail__P297770_mk(s); - if ((s.arg1) && (s.arg1).vtable) { - setupResume(s, 4); - pxsim_String__stringConv(s.arg1); - checkResumeConsumed(); - return; - } else { s.retval = (s.arg1) + ""; } - case 4: - r0 = s.retval; - s.tmp_3 = r0; - r0 = pxsim_String__concat("Assertion failed, code=", s.tmp_3); - s.tmp_2.arg0 = r0; - s.pc = 3; return s.tmp_2; - case 3: - r0 = s.retval; - case 1: - case 2: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -control_assert__P297769.info = {"start":2509,"length":141,"line":83,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"assert","argumentNames":["cond","code"]} -control_assert__P297769.info = {"start":2509,"length":141,"line":83,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"assert","argumentNames":["cond","code"]} - -function control_assert__P297769_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: control_assert__P297769, 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, + r___19711: undefined, + len___19712: undefined, + i___19715: undefined, arg0: undefined, arg1: undefined, } } @@ -21950,7 +21673,7 @@ function control_assert__P297769_mk(s) { -function control_fail__P297770(s) { +function console_log__P239(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21964,29 +21687,23 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_log__P297810_mk(s); - s.tmp_0.arg0 = "Fatal failure: "; + s.tmp_0 = console_add__P235_mk(s); + s.tmp_0.arg0 = 1; + s.tmp_0.arg1 = s.arg0; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = console_log__P297810_mk(s); - s.tmp_0.arg0 = s.arg0; - s.pc = 2; return s.tmp_0; - case 2: - r0 = s.retval; - r0 = pxsim.control.dmesg(s.arg0); - r0 = pxsim_pxtrt.panic(108); r0 = undefined; return leave(s, r0) default: oops() } } } -control_fail__P297770.info = {"start":2656,"length":155,"line":89,"column":4,"endLine":94,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"fail","argumentNames":["message"]} -control_fail__P297770.info = {"start":2656,"length":155,"line":89,"column":4,"endLine":94,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"fail","argumentNames":["message"]} +console_log__P239.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__P239.info = {"start":1450,"length":86,"line":58,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"log","argumentNames":["value"]} -function control_fail__P297770_mk(s) { +function console_log__P239_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_fail__P297770, depth: s.depth + 1, + parent: s, fn: console_log__P239, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21996,7 +21713,242 @@ function control_fail__P297770_mk(s) { -function tileworld_RuleEditor_noMenu__P307923(s) { +function console_add__P235(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.text___23969 = undefined; + s.i___23981 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + s.tmp_0 = console_inspect__P241_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___23969 = (r0); + r0 = (s.arg0 < globals.minPriority___232); + 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___23969) && (s.text___23969).vtable) { + setupResume(s, 7); + pxsim_String__stringConv(s.text___23969); + checkResumeConsumed(); + return; + } else { s.retval = (s.text___23969) + ""; } + case 7: + r0 = s.retval; + s.tmp_1 = r0; + r0 = pxsim_String__concat(s.tmp_1, "\n"); + s.text___23969 = (r0); + s.i___23981 = (0); + case 3: + s.tmp_1 = r0 = s.i___23981; + r0 = pxsim_Array__length(globals.listeners___234); + 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___234, s.i___23981); + s.tmp_3.argL = r0; + s.tmp_3.arg0 = s.arg0; + s.tmp_3.arg1 = s.text___23969; + setupLambda(s.tmp_3, s.tmp_3.argL); + s.pc = 8; return s.tmp_3; + case 8: + r0 = s.retval; + r0 = (s.i___23981 + 1); + s.i___23981 = (r0); + { step = 3; continue; } + case 4: + case 5: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +console_add__P235.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__P235.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__P235_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: console_add__P235, 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___23969: undefined, + i___23981: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function inline__P233(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.control.__log(s.arg0, s.arg1); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +inline__P233.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__P233.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__P233_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P233, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + arg0: undefined, + arg1: undefined, +} } + + + + + +function control_assert__P198(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.arg0); + 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 = control_fail__P199_mk(s); + if ((s.arg1) && (s.arg1).vtable) { + setupResume(s, 4); + pxsim_String__stringConv(s.arg1); + checkResumeConsumed(); + return; + } else { s.retval = (s.arg1) + ""; } + case 4: + r0 = s.retval; + s.tmp_3 = r0; + r0 = pxsim_String__concat("Assertion failed, code=", s.tmp_3); + s.tmp_2.arg0 = r0; + s.pc = 3; return s.tmp_2; + case 3: + r0 = s.retval; + case 1: + case 2: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +control_assert__P198.info = {"start":2509,"length":141,"line":83,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"assert","argumentNames":["cond","code"]} +control_assert__P198.info = {"start":2509,"length":141,"line":83,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"assert","argumentNames":["cond","code"]} + +function control_assert__P198_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: control_assert__P198, 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 control_fail__P199(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 = console_log__P239_mk(s); + s.tmp_0.arg0 = "Fatal failure: "; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + s.tmp_0 = console_log__P239_mk(s); + s.tmp_0.arg0 = s.arg0; + s.pc = 2; return s.tmp_0; + case 2: + r0 = s.retval; + r0 = pxsim.control.dmesg(s.arg0); + r0 = pxsim_pxtrt.panic(108); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +control_fail__P199.info = {"start":2656,"length":155,"line":89,"column":4,"endLine":94,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"fail","argumentNames":["message"]} +control_fail__P199.info = {"start":2656,"length":155,"line":89,"column":4,"endLine":94,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"fail","argumentNames":["message"]} + +function control_fail__P199_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: control_fail__P199, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + arg0: undefined, +} } + + + + + +function tileworld_RuleEditor_noMenu__P10108(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22011,14 +21963,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); r0 = s.arg0.fields["menu"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = tileworld_RuleEditor_checkCommand__P307953_mk(s); + s.tmp_2 = tileworld_RuleEditor_checkCommand__P10138_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 3; return s.tmp_2; case 3: @@ -22029,7 +21981,7 @@ switch (step) { r0 = (s.arg0).fields["currentCommand"] = (-1); r0 = (s.arg0).fields["attrSelected"] = (-1); r0 = (s.arg0).fields["menu"] = (0); - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + s.tmp_0 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; @@ -22041,13 +21993,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_noMenu__P307923.info = {"start":6011,"length":357,"line":135,"column":8,"endLine":144,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"noMenu","argumentNames":["this"]} -tileworld_RuleEditor_noMenu__P307923.info = {"start":6011,"length":357,"line":135,"column":8,"endLine":144,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"noMenu","argumentNames":["this"]} +tileworld_RuleEditor_noMenu__P10108.info = {"start":6011,"length":357,"line":135,"column":8,"endLine":144,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"noMenu","argumentNames":["this"]} +tileworld_RuleEditor_noMenu__P10108.info = {"start":6011,"length":357,"line":135,"column":8,"endLine":144,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"noMenu","argumentNames":["this"]} -function tileworld_RuleEditor_noMenu__P307923_mk(s) { +function tileworld_RuleEditor_noMenu__P10108_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_noMenu__P307923, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_noMenu__P10108, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22059,7 +22011,7 @@ function tileworld_RuleEditor_noMenu__P307923_mk(s) { -function tileworld_RuleEditor_checkCommand__P307953(s) { +function tileworld_RuleEditor_checkCommand__P10138(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22069,14 +22021,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.arg___310026 = undefined; + s.arg___12211 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_getArg__P303153_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_getArg__P5001_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -22088,12 +22040,12 @@ switch (step) { s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.arg___310026 = (r0); - r0 = (s.arg___310026 == -1); + s.arg___12211 = (r0); + r0 = (s.arg___12211 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = tileworld_RuleEditor_setCommand__P307955_mk(s); + s.tmp_1 = tileworld_RuleEditor_setCommand__P10140_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = -1; s.tmp_1.arg2 = -1; @@ -22106,17 +22058,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_checkCommand__P307953.info = {"start":22402,"length":248,"line":530,"column":8,"endLine":536,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"checkCommand","argumentNames":["this"]} -tileworld_RuleEditor_checkCommand__P307953.info = {"start":22402,"length":248,"line":530,"column":8,"endLine":536,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"checkCommand","argumentNames":["this"]} +tileworld_RuleEditor_checkCommand__P10138.info = {"start":22385,"length":248,"line":530,"column":8,"endLine":536,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"checkCommand","argumentNames":["this"]} +tileworld_RuleEditor_checkCommand__P10138.info = {"start":22385,"length":248,"line":530,"column":8,"endLine":536,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"checkCommand","argumentNames":["this"]} -function tileworld_RuleEditor_checkCommand__P307953_mk(s) { +function tileworld_RuleEditor_checkCommand__P10138_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_checkCommand__P307953, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_checkCommand__P10138, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - arg___310026: undefined, + arg___12211: undefined, arg0: undefined, } } @@ -22124,7 +22076,7 @@ function tileworld_RuleEditor_checkCommand__P307953_mk(s) { -function tileworld_RuleEditor_setCommand__P307955(s) { +function tileworld_RuleEditor_setCommand__P10140(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22141,8 +22093,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_setInst__P303154_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_setInst__P5002_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -22155,7 +22107,7 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_Project_setArg__P303155_mk(s); + s.tmp_0 = tileworld_Project_setArg__P5003_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -22172,13 +22124,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_setCommand__P307955.info = {"start":24092,"length":213,"line":570,"column":8,"endLine":573,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setCommand","argumentNames":["this","inst","arg"]} -tileworld_RuleEditor_setCommand__P307955.info = {"start":24092,"length":213,"line":570,"column":8,"endLine":573,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setCommand","argumentNames":["this","inst","arg"]} +tileworld_RuleEditor_setCommand__P10140.info = {"start":24075,"length":213,"line":570,"column":8,"endLine":573,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setCommand","argumentNames":["this","inst","arg"]} +tileworld_RuleEditor_setCommand__P10140.info = {"start":24075,"length":213,"line":570,"column":8,"endLine":573,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setCommand","argumentNames":["this","inst","arg"]} -function tileworld_RuleEditor_setCommand__P307955_mk(s) { +function tileworld_RuleEditor_setCommand__P10140_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_setCommand__P307955, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_setCommand__P10140, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22190,7 +22142,7 @@ function tileworld_RuleEditor_setCommand__P307955_mk(s) { -function tileworld_Project_setArg__P303155(s) { +function tileworld_Project_setArg__P5003(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22200,7 +22152,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.commands___303692 = undefined; + s.commands___5540 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22210,8 +22162,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - s.tmp_1 = tileworld_Project_getRule__P303138_mk(s); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + s.tmp_1 = tileworld_Project_getRule__P4986_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.pc = 5; return s.tmp_1; @@ -22221,10 +22173,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg2); r0 = r0.fields["commands"]; - s.commands___303692 = (r0); + s.commands___5540 = (r0); case 1: s.tmp_1 = r0 = s.arg3; - r0 = pxsim_Array__length(s.commands___303692); + r0 = pxsim_Array__length(s.commands___5540); s.tmp_2 = r0; r0 = (s.tmp_1 >= s.tmp_2); s.tmp_0 = r0; @@ -22239,32 +22191,32 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkClassInstance(Command__C302316_VT); + r0 = pxsim_pxtcore_mkClassInstance(Command__C4160_VT); s.tmp_4 = r0; - s.tmp_5 = Command_constructor__P302317_mk(s); + s.tmp_5 = Command_constructor__P4161_mk(s); s.tmp_5.arg0 = s.tmp_4; s.tmp_5.arg1 = -1; s.tmp_5.arg2 = -1; s.pc = 6; return s.tmp_5; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.commands___303692, s.tmp_4); + r0 = pxsim_Array__push(s.commands___5540, s.tmp_4); { step = 1; continue; } case 4: - r0 = pxsim_Array__getAt(s.commands___303692, s.arg3); + r0 = pxsim_Array__getAt(s.commands___5540, s.arg3); s.tmp_0 = r0; r0 = (s.tmp_0).fields["arg"] = (s.arg4); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_setArg__P303155.info = {"start":6349,"length":301,"line":204,"column":8,"endLine":210,"endColumn":9,"fileName":"project.ts","functionName":"setArg","argumentNames":["this","rid","wdid","cid","n"]} -tileworld_Project_setArg__P303155.info = {"start":6349,"length":301,"line":204,"column":8,"endLine":210,"endColumn":9,"fileName":"project.ts","functionName":"setArg","argumentNames":["this","rid","wdid","cid","n"]} +tileworld_Project_setArg__P5003.info = {"start":6349,"length":301,"line":204,"column":8,"endLine":210,"endColumn":9,"fileName":"project.ts","functionName":"setArg","argumentNames":["this","rid","wdid","cid","n"]} +tileworld_Project_setArg__P5003.info = {"start":6349,"length":301,"line":204,"column":8,"endLine":210,"endColumn":9,"fileName":"project.ts","functionName":"setArg","argumentNames":["this","rid","wdid","cid","n"]} -function tileworld_Project_setArg__P303155_mk(s) { +function tileworld_Project_setArg__P5003_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_setArg__P303155, depth: s.depth + 1, + parent: s, fn: tileworld_Project_setArg__P5003, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22272,7 +22224,7 @@ function tileworld_Project_setArg__P303155_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - commands___303692: undefined, + commands___5540: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22284,7 +22236,7 @@ function tileworld_Project_setArg__P303155_mk(s) { -function tileworld_Project_setInst__P303154(s) { +function tileworld_Project_setInst__P5002(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22294,7 +22246,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.commands___303657 = undefined; + s.commands___5505 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22304,8 +22256,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - s.tmp_1 = tileworld_Project_getRule__P303138_mk(s); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + s.tmp_1 = tileworld_Project_getRule__P4986_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.pc = 5; return s.tmp_1; @@ -22315,10 +22267,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg2); r0 = r0.fields["commands"]; - s.commands___303657 = (r0); + s.commands___5505 = (r0); case 1: s.tmp_1 = r0 = s.arg3; - r0 = pxsim_Array__length(s.commands___303657); + r0 = pxsim_Array__length(s.commands___5505); s.tmp_2 = r0; r0 = (s.tmp_1 >= s.tmp_2); s.tmp_0 = r0; @@ -22333,32 +22285,32 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkClassInstance(Command__C302316_VT); + r0 = pxsim_pxtcore_mkClassInstance(Command__C4160_VT); s.tmp_4 = r0; - s.tmp_5 = Command_constructor__P302317_mk(s); + s.tmp_5 = Command_constructor__P4161_mk(s); s.tmp_5.arg0 = s.tmp_4; s.tmp_5.arg1 = -1; s.tmp_5.arg2 = -1; s.pc = 6; return s.tmp_5; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.commands___303657, s.tmp_4); + r0 = pxsim_Array__push(s.commands___5505, s.tmp_4); { step = 1; continue; } case 4: - r0 = pxsim_Array__getAt(s.commands___303657, s.arg3); + r0 = pxsim_Array__getAt(s.commands___5505, s.arg3); s.tmp_0 = r0; r0 = (s.tmp_0).fields["inst"] = (s.arg4); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_setInst__P303154.info = {"start":6036,"length":303,"line":196,"column":8,"endLine":202,"endColumn":9,"fileName":"project.ts","functionName":"setInst","argumentNames":["this","rid","wdid","cid","n"]} -tileworld_Project_setInst__P303154.info = {"start":6036,"length":303,"line":196,"column":8,"endLine":202,"endColumn":9,"fileName":"project.ts","functionName":"setInst","argumentNames":["this","rid","wdid","cid","n"]} +tileworld_Project_setInst__P5002.info = {"start":6036,"length":303,"line":196,"column":8,"endLine":202,"endColumn":9,"fileName":"project.ts","functionName":"setInst","argumentNames":["this","rid","wdid","cid","n"]} +tileworld_Project_setInst__P5002.info = {"start":6036,"length":303,"line":196,"column":8,"endLine":202,"endColumn":9,"fileName":"project.ts","functionName":"setInst","argumentNames":["this","rid","wdid","cid","n"]} -function tileworld_Project_setInst__P303154_mk(s) { +function tileworld_Project_setInst__P5002_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_setInst__P303154, depth: s.depth + 1, + parent: s, fn: tileworld_Project_setInst__P5002, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22366,7 +22318,7 @@ function tileworld_Project_setInst__P303154_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - commands___303657: undefined, + commands___5505: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22378,7 +22330,7 @@ function tileworld_Project_setInst__P303154_mk(s) { -function tileworld_Project_getArg__P303153(s) { +function tileworld_Project_getArg__P5001(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22388,7 +22340,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.c___303636 = undefined; + s.c___5484 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22397,8 +22349,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - s.tmp_2 = tileworld_Project_getRule__P303138_mk(s); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + s.tmp_2 = tileworld_Project_getRule__P4986_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.pc = 3; return s.tmp_2; @@ -22410,15 +22362,15 @@ switch (step) { r0 = r0.fields["commands"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg3); - s.c___303636 = (r0); - r0 = (s.c___303636 == null); + s.c___5484 = (r0); + r0 = (s.c___5484 == null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = -1; { step = 2; continue; } case 1: - r0 = s.c___303636.fields["arg"]; + r0 = s.c___5484.fields["arg"]; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -22426,18 +22378,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_getArg__P303153.info = {"start":5850,"length":176,"line":191,"column":8,"endLine":194,"endColumn":9,"fileName":"project.ts","functionName":"getArg","argumentNames":["this","rid","wdid","cid"]} -tileworld_Project_getArg__P303153.info = {"start":5850,"length":176,"line":191,"column":8,"endLine":194,"endColumn":9,"fileName":"project.ts","functionName":"getArg","argumentNames":["this","rid","wdid","cid"]} +tileworld_Project_getArg__P5001.info = {"start":5850,"length":176,"line":191,"column":8,"endLine":194,"endColumn":9,"fileName":"project.ts","functionName":"getArg","argumentNames":["this","rid","wdid","cid"]} +tileworld_Project_getArg__P5001.info = {"start":5850,"length":176,"line":191,"column":8,"endLine":194,"endColumn":9,"fileName":"project.ts","functionName":"getArg","argumentNames":["this","rid","wdid","cid"]} -function tileworld_Project_getArg__P303153_mk(s) { +function tileworld_Project_getArg__P5001_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getArg__P303153, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getArg__P5001, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - c___303636: undefined, + c___5484: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22448,7 +22400,7 @@ function tileworld_Project_getArg__P303153_mk(s) { -function tileworld_RuleEditor_active__P307937(s) { +function tileworld_RuleEditor_active__P10122(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22465,7 +22417,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); r0 = s.arg0.fields["collideCol"]; s.tmp_1 = r0; r0 = (s.tmp_1 != -1); @@ -22516,13 +22468,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_active__P307937.info = {"start":13379,"length":229,"line":307,"column":8,"endLine":312,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"active","argumentNames":["this","col","row"]} -tileworld_RuleEditor_active__P307937.info = {"start":13379,"length":229,"line":307,"column":8,"endLine":312,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"active","argumentNames":["this","col","row"]} +tileworld_RuleEditor_active__P10122.info = {"start":13379,"length":229,"line":307,"column":8,"endLine":312,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"active","argumentNames":["this","col","row"]} +tileworld_RuleEditor_active__P10122.info = {"start":13379,"length":229,"line":307,"column":8,"endLine":312,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"active","argumentNames":["this","col","row"]} -function tileworld_RuleEditor_active__P307937_mk(s) { +function tileworld_RuleEditor_active__P10122_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_active__P307937, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_active__P10122, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22542,7 +22494,7 @@ function tileworld_RuleEditor_active__P307937_mk(s) { -function tileworld_RuleEditor_manhattanDistance2__P307932(s) { +function tileworld_RuleEditor_manhattanDistance2__P10117(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22557,9 +22509,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_1 = Math_abs__P297644_mk(s); - s.tmp_3 = tileworld_RuleVisualsBase_col__P306467_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_1 = Math_abs__P73_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; s.pc = 2; return s.tmp_3; @@ -22572,8 +22524,8 @@ switch (step) { case 1: r0 = s.retval; s.tmp_0 = r0; - s.tmp_5 = Math_abs__P297644_mk(s); - s.tmp_8 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_5 = Math_abs__P73_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_8.arg0 = s.arg0; s.tmp_8.arg1 = true; s.pc = 4; return s.tmp_8; @@ -22592,13 +22544,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_manhattanDistance2__P307932.info = {"start":9337,"length":128,"line":218,"column":8,"endLine":220,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"manhattanDistance2","argumentNames":["this"]} -tileworld_RuleEditor_manhattanDistance2__P307932.info = {"start":9337,"length":128,"line":218,"column":8,"endLine":220,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"manhattanDistance2","argumentNames":["this"]} +tileworld_RuleEditor_manhattanDistance2__P10117.info = {"start":9337,"length":128,"line":218,"column":8,"endLine":220,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"manhattanDistance2","argumentNames":["this"]} +tileworld_RuleEditor_manhattanDistance2__P10117.info = {"start":9337,"length":128,"line":218,"column":8,"endLine":220,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"manhattanDistance2","argumentNames":["this"]} -function tileworld_RuleEditor_manhattanDistance2__P307932_mk(s) { +function tileworld_RuleEditor_manhattanDistance2__P10117_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_manhattanDistance2__P307932, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_manhattanDistance2__P10117, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22616,7 +22568,7 @@ function tileworld_RuleEditor_manhattanDistance2__P307932_mk(s) { -function tileworld_RuleEditor_tryEditCommand__P307944(s) { +function tileworld_RuleEditor_tryEditCommand__P10129(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22626,17 +22578,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.row___309673 = undefined; - s.col___309680 = undefined; - s.newCol___309701 = undefined; - s.newRow___309704 = undefined; + s.row___11858 = undefined; + s.col___11865 = undefined; + s.newCol___11886 = undefined; + s.newRow___11889 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_1 = tileworld_RuleVisualsBase_row__P306468_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_1 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = true; s.pc = 10; return s.tmp_1; @@ -22644,8 +22596,8 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 - 2); - s.row___309673 = (r0); - r0 = (s.row___309673 > 4); + s.row___11858 = (r0); + r0 = (s.row___11858 > 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -22653,7 +22605,7 @@ switch (step) { { step = 9; continue; } case 1: case 2: - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 11; return s.tmp_2; @@ -22661,12 +22613,12 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 - 6); - s.col___309680 = (r0); - s.tmp_1 = r0 = s.col___309680; - s.tmp_3 = Math_abs__P297644_mk(s); + s.col___11865 = (r0); + s.tmp_1 = r0 = s.col___11865; + s.tmp_3 = Math_abs__P73_mk(s); r0 = s.arg0.fields["commandLengths"]; s.tmp_4 = r0; - r0 = pxsim_Array__getAt(s.tmp_4, s.row___309673); + r0 = pxsim_Array__getAt(s.tmp_4, s.row___11858); s.tmp_3.arg0 = r0; s.pc = 12; return s.tmp_3; case 12: @@ -22687,24 +22639,24 @@ switch (step) { r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, 15); - s.tmp_0 = tileworld_RuleEditor_rowToColCoord__P307939_mk(s); + s.tmp_0 = tileworld_RuleEditor_rowToColCoord__P10124_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.row___309673; + s.tmp_0.arg1 = s.row___11858; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.newCol___309701 = (r0); - s.tmp_0 = tileworld_RuleEditor_rowToRowCoord__P307940_mk(s); + s.newCol___11886 = (r0); + s.tmp_0 = tileworld_RuleEditor_rowToRowCoord__P10125_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.row___309673; + s.tmp_0.arg1 = s.row___11858; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.newRow___309704 = (r0); - s.tmp_3 = tileworld_RuleEditor_active__P307937_mk(s); + s.newRow___11889 = (r0); + s.tmp_3 = tileworld_RuleEditor_active__P10122_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.newCol___309701; - s.tmp_3.arg2 = s.newRow___309704; + s.tmp_3.arg1 = s.newCol___11886; + s.tmp_3.arg2 = s.newRow___11889; s.pc = 15; return s.tmp_3; case 15: r0 = s.retval; @@ -22720,29 +22672,29 @@ switch (step) { case 5: case 6: s.tmp_4 = r0 = s.arg0; - s.tmp_6 = tileworld_RuleEditor_getWhenDo__P307962_mk(s); + s.tmp_6 = tileworld_RuleEditor_getWhenDo__P10147_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.newCol___309701; - s.tmp_6.arg2 = s.newRow___309704; + s.tmp_6.arg1 = s.newCol___11886; + s.tmp_6.arg2 = s.newRow___11889; s.pc = 16; return s.tmp_6; case 16: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_4).fields["whenDo"] = (s.tmp_5); - s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P306473_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P8658_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - r0 = (s.arg0).fields["currentCommand"] = (s.col___309680); - s.tmp_2 = tileworld_Project_getInst__P303152_mk(s); + r0 = (s.arg0).fields["currentCommand"] = (s.col___11865); + s.tmp_2 = tileworld_Project_getInst__P5000_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["rule"]; s.tmp_2.arg1 = r0; r0 = s.arg0.fields["whenDo"]; s.tmp_2.arg2 = r0; - s.tmp_2.arg3 = s.col___309680; + s.tmp_2.arg3 = s.col___11865; s.pc = 18; return s.tmp_2; case 18: r0 = s.retval; @@ -22751,16 +22703,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_3 = tileworld_RuleEditor_showCommandsAt__P307942_mk(s); + s.tmp_3 = tileworld_RuleEditor_showCommandsAt__P10127_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.row___309673; - s.tmp_3.arg2 = s.newCol___309701; - s.tmp_3.arg3 = s.newRow___309704; + s.tmp_3.arg1 = s.row___11858; + s.tmp_3.arg2 = s.newCol___11886; + s.tmp_3.arg3 = s.newRow___11889; s.tmp_3.arg4 = false; s.pc = 19; return s.tmp_3; case 19: r0 = s.retval; - s.tmp_0 = tileworld_RuleEditor_makeCommandMenu__P307945_mk(s); + s.tmp_0 = tileworld_RuleEditor_makeCommandMenu__P10130_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; s.tmp_0.arg2 = -1; @@ -22773,7 +22725,7 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["tokens"] = (s.tmp_1); - s.tmp_0 = tileworld_RuleEditor_modifyCommandMenu__P307947_mk(s); + s.tmp_0 = tileworld_RuleEditor_modifyCommandMenu__P10132_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 21; return s.tmp_0; case 21: @@ -22784,13 +22736,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_tryEditCommand__P307944.info = {"start":16855,"length":1011,"line":391,"column":8,"endLine":415,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"tryEditCommand","argumentNames":["this"]} -tileworld_RuleEditor_tryEditCommand__P307944.info = {"start":16855,"length":1011,"line":391,"column":8,"endLine":415,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"tryEditCommand","argumentNames":["this"]} +tileworld_RuleEditor_tryEditCommand__P10129.info = {"start":16855,"length":1011,"line":391,"column":8,"endLine":415,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"tryEditCommand","argumentNames":["this"]} +tileworld_RuleEditor_tryEditCommand__P10129.info = {"start":16855,"length":1011,"line":391,"column":8,"endLine":415,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"tryEditCommand","argumentNames":["this"]} -function tileworld_RuleEditor_tryEditCommand__P307944_mk(s) { +function tileworld_RuleEditor_tryEditCommand__P10129_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_tryEditCommand__P307944, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_tryEditCommand__P10129, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22799,10 +22751,10 @@ function tileworld_RuleEditor_tryEditCommand__P307944_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - row___309673: undefined, - col___309680: undefined, - newCol___309701: undefined, - newRow___309704: undefined, + row___11858: undefined, + col___11865: undefined, + newCol___11886: undefined, + newRow___11889: undefined, arg0: undefined, } } @@ -22810,7 +22762,7 @@ function tileworld_RuleEditor_tryEditCommand__P307944_mk(s) { -function tileworld_RuleEditor_modifyCommandMenu__P307947(s) { +function tileworld_RuleEditor_modifyCommandMenu__P10132(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22820,15 +22772,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.inst___309844 = undefined; - s.arg___309854 = undefined; + s.inst___12029 = undefined; + s.arg___12039 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_getInst__P303152_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_getInst__P5000_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -22840,8 +22792,8 @@ switch (step) { s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.inst___309844 = (r0); - s.tmp_0 = tileworld_Project_getArg__P303153_mk(s); + s.inst___12029 = (r0); + s.tmp_0 = tileworld_Project_getArg__P5001_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -22853,7 +22805,7 @@ switch (step) { s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.arg___309854 = (r0); + s.arg___12039 = (r0); r0 = s.arg0.fields["tokens"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); @@ -22862,28 +22814,28 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = tileworld_RuleEditor_makeCommandMenu__P307945_mk(s); + s.tmp_3 = tileworld_RuleEditor_makeCommandMenu__P10130_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.inst___309844; - s.tmp_3.arg2 = s.arg___309854; + s.tmp_3.arg1 = s.inst___12029; + s.tmp_3.arg2 = s.arg___12039; s.pc = 7; return s.tmp_3; case 7: r0 = s.retval; { step = 4; continue; } case 1: - r0 = (s.inst___309844 != -1); + r0 = (s.inst___12029 != -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } r0 = pxsim_Array__mk(); s.tmp_1 = r0; - r0 = pxsim_Array__push(s.tmp_1, s.inst___309844); + r0 = pxsim_Array__push(s.tmp_1, s.inst___12029); r0 = pxsim_Array__push(s.tmp_1, 10); r0 = (s.arg0).fields["tokens"] = (s.tmp_1); - s.tmp_0 = tileworld_RuleEditor_makeCommandMenu__P307945_mk(s); + s.tmp_0 = tileworld_RuleEditor_makeCommandMenu__P10130_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.inst___309844; - s.tmp_0.arg2 = s.arg___309854; + s.tmp_0.arg1 = s.inst___12029; + s.tmp_0.arg2 = s.arg___12039; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -22894,20 +22846,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_modifyCommandMenu__P307947.info = {"start":19130,"length":456,"line":449,"column":8,"endLine":458,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"modifyCommandMenu","argumentNames":["this"]} -tileworld_RuleEditor_modifyCommandMenu__P307947.info = {"start":19130,"length":456,"line":449,"column":8,"endLine":458,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"modifyCommandMenu","argumentNames":["this"]} +tileworld_RuleEditor_modifyCommandMenu__P10132.info = {"start":19130,"length":456,"line":449,"column":8,"endLine":458,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"modifyCommandMenu","argumentNames":["this"]} +tileworld_RuleEditor_modifyCommandMenu__P10132.info = {"start":19130,"length":456,"line":449,"column":8,"endLine":458,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"modifyCommandMenu","argumentNames":["this"]} -function tileworld_RuleEditor_modifyCommandMenu__P307947_mk(s) { +function tileworld_RuleEditor_modifyCommandMenu__P10132_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_modifyCommandMenu__P307947, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_modifyCommandMenu__P10132, 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, - inst___309844: undefined, - arg___309854: undefined, + inst___12029: undefined, + arg___12039: undefined, arg0: undefined, } } @@ -22915,7 +22867,7 @@ function tileworld_RuleEditor_modifyCommandMenu__P307947_mk(s) { -function tileworld_RuleEditor_makeCommandMenu__P307945(s) { +function tileworld_RuleEditor_makeCommandMenu__P10130(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22925,8 +22877,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.col___309749 = undefined; - s.row___309750 = undefined; + s.col___11934 = undefined; + s.row___11935 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22934,18 +22886,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); - s.col___309749 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.col___309749, 5); - s.row___309750 = (0); - r0 = pxsim_pxtcore_mkAction(4, inline__P309754); + s.col___11934 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.col___11934, 5); + s.row___11935 = (0); + r0 = pxsim_pxtcore_mkAction(4, inline__P11939); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.col___309749); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.row___309750); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.col___11934); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.row___11935); r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.arg1); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["tokens"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -22956,7 +22908,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = tileworld_RuleEditor_makeArgMenu__P307946_mk(s); + s.tmp_1 = tileworld_RuleEditor_makeArgMenu__P10131_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -22969,18 +22921,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_makeCommandMenu__P307945.info = {"start":17876,"length":632,"line":417,"column":8,"endLine":432,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeCommandMenu","argumentNames":["this","inst","arg"]} -tileworld_RuleEditor_makeCommandMenu__P307945.info = {"start":17876,"length":632,"line":417,"column":8,"endLine":432,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeCommandMenu","argumentNames":["this","inst","arg"]} +tileworld_RuleEditor_makeCommandMenu__P10130.info = {"start":17876,"length":632,"line":417,"column":8,"endLine":432,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeCommandMenu","argumentNames":["this","inst","arg"]} +tileworld_RuleEditor_makeCommandMenu__P10130.info = {"start":17876,"length":632,"line":417,"column":8,"endLine":432,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeCommandMenu","argumentNames":["this","inst","arg"]} -function tileworld_RuleEditor_makeCommandMenu__P307945_mk(s) { +function tileworld_RuleEditor_makeCommandMenu__P10130_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_makeCommandMenu__P307945, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_makeCommandMenu__P10130, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - col___309749: undefined, - row___309750: undefined, + col___11934: undefined, + row___11935: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22990,7 +22942,7 @@ function tileworld_RuleEditor_makeCommandMenu__P307945_mk(s) { -function inline__P309754(s) { +function inline__P11939(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23008,14 +22960,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_Array__getAt(globals.categoryImages___304691, s.arg0); + r0 = pxsim_Array__getAt(globals.categoryImages___6539, s.arg0); { step = 2; continue; } case 1: - r0 = globals.garbageCan___304610; + r0 = globals.garbageCan___6458; case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_2.arg0 = s.caps[0]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2.arg1 = r0; @@ -23024,7 +22976,7 @@ switch (step) { s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P306471_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P8656_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg1 = r0; @@ -23037,12 +22989,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_1.arg0 = s.caps[0]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_1.arg1 = r0; s.tmp_1.arg2 = s.caps[2]; - s.tmp_1.arg3 = globals.cursorOut___304544; + s.tmp_1.arg3 = globals.cursorOut___6392; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -23063,13 +23015,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P309754.info = {"start":18094,"length":313,"line":422,"column":32,"endLine":428,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["ct"]} -inline__P309754.info = {"start":18094,"length":313,"line":422,"column":32,"endLine":428,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["ct"]} +inline__P11939.info = {"start":18094,"length":313,"line":422,"column":32,"endLine":428,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["ct"]} +inline__P11939.info = {"start":18094,"length":313,"line":422,"column":32,"endLine":428,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["ct"]} -function inline__P309754_mk(s) { +function inline__P11939_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P309754, depth: s.depth + 1, + parent: s, fn: inline__P11939, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23081,7 +23033,7 @@ function inline__P309754_mk(s) { -function tileworld_RuleEditor_makeArgMenu__P307946(s) { +function tileworld_RuleEditor_makeArgMenu__P10131(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23091,10 +23043,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.col___309795 = undefined; - s.row___309796 = undefined; - s.last___309801 = undefined; - s.i___309809 = undefined; + s.col___11980 = undefined; + s.row___11981 = undefined; + s.last___11986 = undefined; + s.i___11994 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23102,20 +23054,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.col___309795 = (4); - s.row___309796 = (1); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.col___11980 = (4); + s.row___11981 = (1); r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, 15); - s.tmp_1 = tileworld_RuleEditor_instToStartArg__P307949_mk(s); + s.tmp_1 = tileworld_RuleEditor_instToStartArg__P10134_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = tileworld_RuleEditor_instToNumArgs__P307951_mk(s); + s.tmp_3 = tileworld_RuleEditor_instToNumArgs__P10136_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = s.arg1; s.pc = 6; return s.tmp_3; @@ -23123,27 +23075,27 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.last___309801 = (r0); - s.tmp_0 = tileworld_RuleEditor_instToStartArg__P307949_mk(s); + s.last___11986 = (r0); + s.tmp_0 = tileworld_RuleEditor_instToStartArg__P10134_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.i___309809 = (r0); + s.i___11994 = (r0); case 1: - r0 = (s.i___309809 < s.last___309801); + r0 = (s.i___11994 < s.last___11986); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.col___309795; - s.tmp_1.arg2 = s.row___309796; - s.tmp_2 = tileworld_RuleEditor_instToImage__P307952_mk(s); + s.tmp_1.arg1 = s.col___11980; + s.tmp_1.arg2 = s.row___11981; + s.tmp_2 = tileworld_RuleEditor_instToImage__P10137_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - s.tmp_2.arg2 = s.i___309809; + s.tmp_2.arg2 = s.i___11994; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; @@ -23151,23 +23103,23 @@ switch (step) { s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P306471_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P8656_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.col___309795; - s.tmp_0.arg2 = s.row___309796; + s.tmp_0.arg1 = s.col___11980; + s.tmp_0.arg2 = s.row___11981; s.tmp_0.arg3 = 12; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = (s.arg2 == s.i___309809); + r0 = (s.arg2 == s.i___11994); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.col___309795; - s.tmp_1.arg2 = s.row___309796; - s.tmp_1.arg3 = globals.cursorOut___304544; + s.tmp_1.arg1 = s.col___11980; + s.tmp_1.arg2 = s.row___11981; + s.tmp_1.arg3 = globals.cursorOut___6392; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -23175,33 +23127,33 @@ switch (step) { case 3: r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.col___309795, s.row___309796, s.i___309809); - r0 = (s.col___309795 + 1); - s.col___309795 = (r0); - r0 = (s.i___309809 + 1); - s.i___309809 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.col___11980, s.row___11981, s.i___11994); + r0 = (s.col___11980 + 1); + s.col___11980 = (r0); + r0 = (s.i___11994 + 1); + s.i___11994 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_makeArgMenu__P307946.info = {"start":18563,"length":557,"line":435,"column":8,"endLine":447,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeArgMenu","argumentNames":["this","inst","arg"]} -tileworld_RuleEditor_makeArgMenu__P307946.info = {"start":18563,"length":557,"line":435,"column":8,"endLine":447,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeArgMenu","argumentNames":["this","inst","arg"]} +tileworld_RuleEditor_makeArgMenu__P10131.info = {"start":18563,"length":557,"line":435,"column":8,"endLine":447,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeArgMenu","argumentNames":["this","inst","arg"]} +tileworld_RuleEditor_makeArgMenu__P10131.info = {"start":18563,"length":557,"line":435,"column":8,"endLine":447,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeArgMenu","argumentNames":["this","inst","arg"]} -function tileworld_RuleEditor_makeArgMenu__P307946_mk(s) { +function tileworld_RuleEditor_makeArgMenu__P10131_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_makeArgMenu__P307946, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_makeArgMenu__P10131, 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, - col___309795: undefined, - row___309796: undefined, - last___309801: undefined, - i___309809: undefined, + col___11980: undefined, + row___11981: undefined, + last___11986: undefined, + i___11994: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23211,7 +23163,7 @@ function tileworld_RuleEditor_makeArgMenu__P307946_mk(s) { -function tileworld_RuleEditor_instToImage__P307952(s) { +function tileworld_RuleEditor_instToImage__P10137(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23221,7 +23173,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.img___310011 = undefined; + s.img___12196 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23229,7 +23181,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); r0 = (s.arg1 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -23243,7 +23195,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 3; continue; } - r0 = globals.emptyTile___304538; + r0 = globals.emptyTile___6386; { step = 11; continue; } case 3: case 4: @@ -23261,7 +23213,7 @@ switch (step) { r0 = s.tmp_2; { step = 10; continue; } case 5: - r0 = pxsim_Array__getAt(globals.moveImages___304634, s.arg2); + r0 = pxsim_Array__getAt(globals.moveImages___6482, s.arg2); { step = 11; continue; } case 6: r0 = s.arg0.fields["p"]; @@ -23271,10 +23223,10 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_3, s.arg2); { step = 11; continue; } case 7: - r0 = pxsim_Array__getAt(globals.spriteImages___304700, s.arg2); + r0 = pxsim_Array__getAt(globals.spriteImages___6548, s.arg2); { step = 11; continue; } case 8: - r0 = pxsim_Array__getAt(globals.gameImages___304685, s.arg2); + r0 = pxsim_Array__getAt(globals.gameImages___6533, s.arg2); { step = 11; continue; } case 9: r0 = s.arg0.fields["p"]; @@ -23284,23 +23236,23 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_6, s.arg2); s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.img___310011 = (r0); - r0 = pxsim_ImageMethods.drawTransparentImage(s.img___310011, globals.equalZero___304631, 0, 0); - r0 = s.img___310011; + s.img___12196 = (r0); + r0 = pxsim_ImageMethods.drawTransparentImage(s.img___12196, globals.equalZero___6479, 0, 0); + r0 = s.img___12196; { step = 11; continue; } case 10: - r0 = globals.emptyTile___304538; + r0 = globals.emptyTile___6386; case 11: return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_instToImage__P307952.info = {"start":21698,"length":694,"line":513,"column":8,"endLine":528,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToImage","argumentNames":["this","inst","arg"]} -tileworld_RuleEditor_instToImage__P307952.info = {"start":21698,"length":694,"line":513,"column":8,"endLine":528,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToImage","argumentNames":["this","inst","arg"]} +tileworld_RuleEditor_instToImage__P10137.info = {"start":21681,"length":694,"line":513,"column":8,"endLine":528,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToImage","argumentNames":["this","inst","arg"]} +tileworld_RuleEditor_instToImage__P10137.info = {"start":21681,"length":694,"line":513,"column":8,"endLine":528,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToImage","argumentNames":["this","inst","arg"]} -function tileworld_RuleEditor_instToImage__P307952_mk(s) { +function tileworld_RuleEditor_instToImage__P10137_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_instToImage__P307952, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_instToImage__P10137, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23310,7 +23262,7 @@ function tileworld_RuleEditor_instToImage__P307952_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - img___310011: undefined, + img___12196: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23320,7 +23272,7 @@ function tileworld_RuleEditor_instToImage__P307952_mk(s) { -function tileworld_RuleEditor_instToNumArgs__P307951(s) { +function tileworld_RuleEditor_instToNumArgs__P10136(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23336,7 +23288,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg1; r0 = pxsim_pxtcore.switch_eq(0, s.tmp_0); if (r0) { step = 1; continue; } @@ -23351,7 +23303,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 1: - s.tmp_3 = tileworld_RuleEditor_getType__P307925_mk(s); + s.tmp_3 = tileworld_RuleEditor_getType__P10110_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 10; return s.tmp_3; case 10: @@ -23371,7 +23323,7 @@ switch (step) { r0 = s.tmp_4; { step = 9; continue; } case 4: - r0 = 3; + r0 = 4; { step = 9; continue; } case 5: r0 = 1; @@ -23388,13 +23340,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_instToNumArgs__P307951.info = {"start":21257,"length":431,"line":502,"column":8,"endLine":511,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToNumArgs","argumentNames":["this","inst"]} -tileworld_RuleEditor_instToNumArgs__P307951.info = {"start":21257,"length":431,"line":502,"column":8,"endLine":511,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToNumArgs","argumentNames":["this","inst"]} +tileworld_RuleEditor_instToNumArgs__P10136.info = {"start":21257,"length":414,"line":502,"column":8,"endLine":511,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToNumArgs","argumentNames":["this","inst"]} +tileworld_RuleEditor_instToNumArgs__P10136.info = {"start":21257,"length":414,"line":502,"column":8,"endLine":511,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToNumArgs","argumentNames":["this","inst"]} -function tileworld_RuleEditor_instToNumArgs__P307951_mk(s) { +function tileworld_RuleEditor_instToNumArgs__P10136_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_instToNumArgs__P307951, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_instToNumArgs__P10136, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23409,7 +23361,7 @@ function tileworld_RuleEditor_instToNumArgs__P307951_mk(s) { -function tileworld_RuleEditor_getType__P307925(s) { +function tileworld_RuleEditor_getType__P10110(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23424,8 +23376,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_getType__P303144_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_getType__P4992_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -23436,13 +23388,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_getType__P307925.info = {"start":6460,"length":75,"line":150,"column":8,"endLine":152,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"getType","argumentNames":["this"]} -tileworld_RuleEditor_getType__P307925.info = {"start":6460,"length":75,"line":150,"column":8,"endLine":152,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"getType","argumentNames":["this"]} +tileworld_RuleEditor_getType__P10110.info = {"start":6460,"length":75,"line":150,"column":8,"endLine":152,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"getType","argumentNames":["this"]} +tileworld_RuleEditor_getType__P10110.info = {"start":6460,"length":75,"line":150,"column":8,"endLine":152,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"getType","argumentNames":["this"]} -function tileworld_RuleEditor_getType__P307925_mk(s) { +function tileworld_RuleEditor_getType__P10110_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_getType__P307925, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_getType__P10110, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23452,7 +23404,7 @@ function tileworld_RuleEditor_getType__P307925_mk(s) { -function tileworld_Project_getType__P303144(s) { +function tileworld_Project_getType__P4992(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23468,8 +23420,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_getRule__P303138_mk(s); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_getRule__P4986_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.pc = 1; return s.tmp_0; @@ -23479,13 +23431,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_getType__P303144.info = {"start":4402,"length":80,"line":148,"column":8,"endLine":150,"endColumn":9,"fileName":"project.ts","functionName":"getType","argumentNames":["this","rid"]} -tileworld_Project_getType__P303144.info = {"start":4402,"length":80,"line":148,"column":8,"endLine":150,"endColumn":9,"fileName":"project.ts","functionName":"getType","argumentNames":["this","rid"]} +tileworld_Project_getType__P4992.info = {"start":4402,"length":80,"line":148,"column":8,"endLine":150,"endColumn":9,"fileName":"project.ts","functionName":"getType","argumentNames":["this","rid"]} +tileworld_Project_getType__P4992.info = {"start":4402,"length":80,"line":148,"column":8,"endLine":150,"endColumn":9,"fileName":"project.ts","functionName":"getType","argumentNames":["this","rid"]} -function tileworld_Project_getType__P303144_mk(s) { +function tileworld_Project_getType__P4992_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getType__P303144, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getType__P4992, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23496,7 +23448,7 @@ function tileworld_Project_getType__P303144_mk(s) { -function tileworld_RuleEditor_instToStartArg__P307949(s) { +function tileworld_RuleEditor_instToStartArg__P10134(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23512,7 +23464,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg1; r0 = pxsim_pxtcore.switch_eq(0, s.tmp_0); if (r0) { step = 1; continue; } @@ -23527,7 +23479,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 1: - s.tmp_3 = tileworld_RuleEditor_getType__P307925_mk(s); + s.tmp_3 = tileworld_RuleEditor_getType__P10110_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 10; return s.tmp_3; case 10: @@ -23556,13 +23508,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_instToStartArg__P307949.info = {"start":20448,"length":388,"line":480,"column":8,"endLine":489,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToStartArg","argumentNames":["this","inst"]} -tileworld_RuleEditor_instToStartArg__P307949.info = {"start":20448,"length":388,"line":480,"column":8,"endLine":489,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToStartArg","argumentNames":["this","inst"]} +tileworld_RuleEditor_instToStartArg__P10134.info = {"start":20448,"length":388,"line":480,"column":8,"endLine":489,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToStartArg","argumentNames":["this","inst"]} +tileworld_RuleEditor_instToStartArg__P10134.info = {"start":20448,"length":388,"line":480,"column":8,"endLine":489,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToStartArg","argumentNames":["this","inst"]} -function tileworld_RuleEditor_instToStartArg__P307949_mk(s) { +function tileworld_RuleEditor_instToStartArg__P10134_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_instToStartArg__P307949, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_instToStartArg__P10134, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23577,7 +23529,7 @@ function tileworld_RuleEditor_instToStartArg__P307949_mk(s) { -function tileworld_RuleVisualsBase_drawOutline__P306471(s) { +function tileworld_RuleVisualsBase_drawOutline__P8656(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23595,9 +23547,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); - s.tmp_0 = helpers_imageDrawRect__P297989_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); + s.tmp_0 = helpers_imageDrawRect__P487_mk(s); + s.tmp_0.arg0 = globals.screen___545; r0 = (s.arg1 << 4); s.tmp_0.arg1 = r0; r0 = (s.arg2 << 4); @@ -23614,13 +23566,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_drawOutline__P306471.info = {"start":4666,"length":140,"line":120,"column":8,"endLine":122,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawOutline","argumentNames":["this","c","r","col"]} -tileworld_RuleVisualsBase_drawOutline__P306471.info = {"start":4666,"length":140,"line":120,"column":8,"endLine":122,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawOutline","argumentNames":["this","c","r","col"]} +tileworld_RuleVisualsBase_drawOutline__P8656.info = {"start":4666,"length":140,"line":120,"column":8,"endLine":122,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawOutline","argumentNames":["this","c","r","col"]} +tileworld_RuleVisualsBase_drawOutline__P8656.info = {"start":4666,"length":140,"line":120,"column":8,"endLine":122,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawOutline","argumentNames":["this","c","r","col"]} -function tileworld_RuleVisualsBase_drawOutline__P306471_mk(s) { +function tileworld_RuleVisualsBase_drawOutline__P8656_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_drawOutline__P306471, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_drawOutline__P8656, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23634,7 +23586,7 @@ function tileworld_RuleVisualsBase_drawOutline__P306471_mk(s) { -function tileworld_RuleEditor_showCommandsAt__P307942(s) { +function tileworld_RuleEditor_showCommandsAt__P10127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23644,15 +23596,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.whendo___309512 = undefined; - s.index___309517 = undefined; - s.img1___309521 = undefined; - s.img2___309533 = undefined; - s.col___309556 = undefined; - s.tokens___309557 = undefined; - s.cid___309567 = undefined; - s.inst___309571 = undefined; - s.arg___309579 = undefined; + s.whendo___11697 = undefined; + s.index___11702 = undefined; + s.img1___11706 = undefined; + s.img2___11718 = undefined; + s.col___11741 = undefined; + s.tokens___11742 = undefined; + s.cid___11752 = undefined; + s.inst___11756 = undefined; + s.arg___11764 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23662,25 +23614,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleEditor_getWhenDo__P307962_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleEditor_getWhenDo__P10147_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.whendo___309512 = (r0); + s.whendo___11697 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg4); if (!r0) { step = 9; continue; } - s.tmp_0 = tileworld_RuleEditor_findWitnessColRow__P307958_mk(s); + s.tmp_0 = tileworld_RuleEditor_findWitnessColRow__P10143_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.index___309517 = (r0); + s.index___11702 = (r0); r0 = s.arg0.fields["collideCol"]; s.tmp_1 = r0; r0 = (s.tmp_1 == s.arg2); @@ -23698,51 +23650,51 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - r0 = globals.collisionRestingSprite___304547; + r0 = globals.collisionRestingSprite___6395; { step = 4; continue; } case 3: - r0 = globals.genericSprite___304553; + r0 = globals.genericSprite___6401; case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.img1___309521 = (s.tmp_4); - r0 = (s.index___309517 == -1); + s.img1___11706 = (s.tmp_4); + r0 = (s.index___11702 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.img1___309521; + r0 = s.img1___11706; { step = 6; continue; } case 5: - s.tmp_1 = tileworld_Project_getImage__P303129_mk(s); + s.tmp_1 = tileworld_Project_getImage__P4977_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.index___309517; + s.tmp_1.arg1 = s.index___11702; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.img2___309533 = (s.tmp_2); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.img2___11718 = (s.tmp_2); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; r0 = (s.arg1 + 2); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.img2___309533; + s.tmp_0.arg3 = s.img2___11718; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - r0 = (s.img1___309521 == globals.collisionRestingSprite___304547); + r0 = (s.img1___11706 == globals.collisionRestingSprite___6395); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 5; r0 = (s.arg1 + 2); s.tmp_1.arg2 = r0; - s.tmp_1.arg3 = s.img1___309521; + s.tmp_1.arg3 = s.img1___11706; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -23750,91 +23702,91 @@ switch (step) { case 8: case 9: case 10: - s.col___309556 = (6); - s.tmp_0 = tileworld_RuleEditor_getTokens__P307948_mk(s); + s.col___11741 = (6); + s.tmp_0 = tileworld_RuleEditor_getTokens__P10133_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.tokens___309557 = (r0); + s.tokens___11742 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg4); 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; } - r0 = (s.arg0).fields["tokens"] = (s.tokens___309557); + r0 = (s.arg0).fields["tokens"] = (s.tokens___11742); case 11: case 12: - s.cid___309567 = (0); + s.cid___11752 = (0); case 13: - r0 = (s.cid___309567 < 4); + r0 = (s.cid___11752 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = tileworld_Project_getInst__P303152_mk(s); + s.tmp_1 = tileworld_Project_getInst__P5000_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["rule"]; s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.whendo___309512; - s.tmp_1.arg3 = s.cid___309567; + s.tmp_1.arg2 = s.whendo___11697; + s.tmp_1.arg3 = s.cid___11752; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; - s.inst___309571 = (r0); - s.tmp_0 = tileworld_Project_getArg__P303153_mk(s); + s.inst___11756 = (r0); + s.tmp_0 = tileworld_Project_getArg__P5001_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.whendo___309512; - s.tmp_0.arg3 = s.cid___309567; + s.tmp_0.arg2 = s.whendo___11697; + s.tmp_0.arg3 = s.cid___11752; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.arg___309579 = (r0); - r0 = (s.inst___309571 != -1); + s.arg___11764 = (r0); + r0 = (s.inst___11756 != -1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 14; continue; } r0 = s.tmp_0; { step = 15; continue; } case 14: - r0 = (s.arg___309579 != -1); + r0 = (s.arg___11764 != -1); case 15: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 16; continue; } - s.tmp_2 = tileworld_RuleEditor_showCommand__P307943_mk(s); + s.tmp_2 = tileworld_RuleEditor_showCommand__P10128_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___309556; + s.tmp_2.arg1 = s.col___11741; s.tmp_2.arg2 = s.arg1; - s.tmp_2.arg3 = s.whendo___309512; - s.tmp_2.arg4 = s.cid___309567; - s.tmp_2.arg5 = s.tokens___309557; + s.tmp_2.arg3 = s.whendo___11697; + s.tmp_2.arg4 = s.cid___11752; + s.tmp_2.arg5 = s.tokens___11742; s.tmp_2.arg6 = s.arg4; s.pc = 29; return s.tmp_2; case 29: r0 = s.retval; { step = 19; continue; } case 16: - r0 = pxsim_Array__length(s.tokens___309557); + r0 = pxsim_Array__length(s.tokens___11742); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - s.tmp_2 = tileworld_RuleEditor_showCommand__P307943_mk(s); + s.tmp_2 = tileworld_RuleEditor_showCommand__P10128_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___309556; + s.tmp_2.arg1 = s.col___11741; s.tmp_2.arg2 = s.arg1; - s.tmp_2.arg3 = s.whendo___309512; - s.tmp_2.arg4 = s.cid___309567; - s.tmp_2.arg5 = s.tokens___309557; + s.tmp_2.arg3 = s.whendo___11697; + s.tmp_2.arg4 = s.cid___11752; + s.tmp_2.arg5 = s.tokens___11742; s.tmp_2.arg6 = s.arg4; s.pc = 30; return s.tmp_2; case 30: @@ -23843,40 +23795,40 @@ switch (step) { case 18: { step = 20; continue; } case 19: - r0 = (s.cid___309567 + 1); - s.cid___309567 = (r0); - s.tmp_0 = r0 = s.col___309556; + r0 = (s.cid___11752 + 1); + s.cid___11752 = (r0); + s.tmp_0 = r0 = s.col___11741; r0 = (s.tmp_0 + 1); - s.col___309556 = (r0); + s.col___11741 = (r0); r0 = s.tmp_0; { step = 13; continue; } case 20: - r0 = (s.cid___309567 + 1); + r0 = (s.cid___11752 + 1); return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_showCommandsAt__P307942.info = {"start":14845,"length":1367,"line":346,"column":8,"endLine":374,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showCommandsAt","argumentNames":["this","crow","wcol","wrow","draw"]} -tileworld_RuleEditor_showCommandsAt__P307942.info = {"start":14845,"length":1367,"line":346,"column":8,"endLine":374,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showCommandsAt","argumentNames":["this","crow","wcol","wrow","draw"]} +tileworld_RuleEditor_showCommandsAt__P10127.info = {"start":14845,"length":1367,"line":346,"column":8,"endLine":374,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showCommandsAt","argumentNames":["this","crow","wcol","wrow","draw"]} +tileworld_RuleEditor_showCommandsAt__P10127.info = {"start":14845,"length":1367,"line":346,"column":8,"endLine":374,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showCommandsAt","argumentNames":["this","crow","wcol","wrow","draw"]} -function tileworld_RuleEditor_showCommandsAt__P307942_mk(s) { +function tileworld_RuleEditor_showCommandsAt__P10127_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_showCommandsAt__P307942, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_showCommandsAt__P10127, 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, - whendo___309512: undefined, - index___309517: undefined, - img1___309521: undefined, - img2___309533: undefined, - col___309556: undefined, - tokens___309557: undefined, - cid___309567: undefined, - inst___309571: undefined, - arg___309579: undefined, + whendo___11697: undefined, + index___11702: undefined, + img1___11706: undefined, + img2___11718: undefined, + col___11741: undefined, + tokens___11742: undefined, + cid___11752: undefined, + inst___11756: undefined, + arg___11764: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23888,7 +23840,7 @@ function tileworld_RuleEditor_showCommandsAt__P307942_mk(s) { -function tileworld_RuleEditor_showCommand__P307943(s) { +function tileworld_RuleEditor_showCommand__P10128(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23898,8 +23850,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.inst___309629 = undefined; - s.arg___309637 = undefined; + s.inst___11814 = undefined; + s.arg___11822 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23911,8 +23863,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_getInst__P303152_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_getInst__P5000_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -23922,8 +23874,8 @@ switch (step) { s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.inst___309629 = (r0); - s.tmp_0 = tileworld_Project_getArg__P303153_mk(s); + s.inst___11814 = (r0); + s.tmp_0 = tileworld_Project_getArg__P5001_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -23933,19 +23885,19 @@ switch (step) { s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.arg___309637 = (r0); - r0 = (s.inst___309629 == -1); + s.arg___11822 = (r0); + r0 = (s.inst___11814 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } r0 = pxsim_numops_toBoolDecr(s.arg6); if (!r0) { step = 1; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; r0 = (s.arg2 + 2); s.tmp_1.arg2 = r0; - s.tmp_1.arg3 = globals.emptyTile___304538; + s.tmp_1.arg3 = globals.emptyTile___6386; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -23955,15 +23907,15 @@ switch (step) { case 3: r0 = pxsim_numops_toBoolDecr(s.arg6); if (!r0) { step = 4; continue; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; r0 = (s.arg2 + 2); s.tmp_0.arg2 = r0; - s.tmp_1 = tileworld_RuleEditor_instToImage__P307952_mk(s); + s.tmp_1 = tileworld_RuleEditor_instToImage__P10137_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.inst___309629; - s.tmp_1.arg2 = s.arg___309637; + s.tmp_1.arg1 = s.inst___11814; + s.tmp_1.arg2 = s.arg___11822; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -23973,7 +23925,7 @@ switch (step) { r0 = s.retval; case 4: case 5: - r0 = pxsim_Array_.removeElement(s.arg5, s.inst___309629); + r0 = pxsim_Array_.removeElement(s.arg5, s.inst___11814); r0 = (s.arg1 + 1); s.arg1 = (r0); case 6: @@ -23981,18 +23933,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_showCommand__P307943.info = {"start":16222,"length":623,"line":376,"column":8,"endLine":389,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showCommand","argumentNames":["this","col","row","whendo","cid","tokens","draw"]} -tileworld_RuleEditor_showCommand__P307943.info = {"start":16222,"length":623,"line":376,"column":8,"endLine":389,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showCommand","argumentNames":["this","col","row","whendo","cid","tokens","draw"]} +tileworld_RuleEditor_showCommand__P10128.info = {"start":16222,"length":623,"line":376,"column":8,"endLine":389,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showCommand","argumentNames":["this","col","row","whendo","cid","tokens","draw"]} +tileworld_RuleEditor_showCommand__P10128.info = {"start":16222,"length":623,"line":376,"column":8,"endLine":389,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showCommand","argumentNames":["this","col","row","whendo","cid","tokens","draw"]} -function tileworld_RuleEditor_showCommand__P307943_mk(s) { +function tileworld_RuleEditor_showCommand__P10128_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_showCommand__P307943, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_showCommand__P10128, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - inst___309629: undefined, - arg___309637: undefined, + inst___11814: undefined, + arg___11822: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24006,7 +23958,7 @@ function tileworld_RuleEditor_showCommand__P307943_mk(s) { -function tileworld_RuleEditor_getTokens__P307948(s) { +function tileworld_RuleEditor_getTokens__P10133(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24016,7 +23968,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tokens___309887 = undefined; + s.tokens___12072 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24024,10 +23976,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.tokens___309887 = (r0); - s.tmp_2 = tileworld_RuleEditor_findWitnessColRow__P307958_mk(s); + s.tokens___12072 = (r0); + s.tmp_2 = tileworld_RuleEditor_findWitnessColRow__P10143_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; @@ -24055,7 +24007,7 @@ switch (step) { r0 = s.tmp_4; { step = 4; continue; } case 3: - s.tmp_6 = tileworld_RuleEditor_getType__P307925_mk(s); + s.tmp_6 = tileworld_RuleEditor_getType__P10110_mk(s); s.tmp_6.arg0 = s.arg0; s.pc = 14; return s.tmp_6; case 14: @@ -24067,12 +24019,12 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 5; continue; } - r0 = pxsim_Array__push(s.tokens___309887, 0); + r0 = pxsim_Array__push(s.tokens___12072, 0); case 5: case 6: case 7: case 8: - s.tmp_2 = tileworld_RuleEditor_getType__P307925_mk(s); + s.tmp_2 = tileworld_RuleEditor_getType__P10110_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 15; return s.tmp_2; case 15: @@ -24082,10 +24034,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__push(s.tokens___309887, 1); + r0 = pxsim_Array__push(s.tokens___12072, 1); case 9: case 10: - s.tmp_2 = tileworld_RuleEditor_findWitnessColRow__P307958_mk(s); + s.tmp_2 = tileworld_RuleEditor_findWitnessColRow__P10143_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; @@ -24097,22 +24049,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = pxsim_Array__push(s.tokens___309887, 2); + r0 = pxsim_Array__push(s.tokens___12072, 2); case 11: case 12: - r0 = pxsim_Array__push(s.tokens___309887, 3); - r0 = pxsim_Array__push(s.tokens___309887, 4); - r0 = s.tokens___309887; + r0 = pxsim_Array__push(s.tokens___12072, 3); + r0 = pxsim_Array__push(s.tokens___12072, 4); + r0 = s.tokens___12072; return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_getTokens__P307948.info = {"start":19728,"length":672,"line":462,"column":8,"endLine":477,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"getTokens","argumentNames":["this","col","row"]} -tileworld_RuleEditor_getTokens__P307948.info = {"start":19728,"length":672,"line":462,"column":8,"endLine":477,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"getTokens","argumentNames":["this","col","row"]} +tileworld_RuleEditor_getTokens__P10133.info = {"start":19728,"length":672,"line":462,"column":8,"endLine":477,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"getTokens","argumentNames":["this","col","row"]} +tileworld_RuleEditor_getTokens__P10133.info = {"start":19728,"length":672,"line":462,"column":8,"endLine":477,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"getTokens","argumentNames":["this","col","row"]} -function tileworld_RuleEditor_getTokens__P307948_mk(s) { +function tileworld_RuleEditor_getTokens__P10133_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_getTokens__P307948, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_getTokens__P10133, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24122,7 +24074,7 @@ function tileworld_RuleEditor_getTokens__P307948_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tokens___309887: undefined, + tokens___12072: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24132,7 +24084,7 @@ function tileworld_RuleEditor_getTokens__P307948_mk(s) { -function tileworld_Project_getImage__P303129(s) { +function tileworld_Project_getImage__P4977(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24148,7 +24100,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); r0 = (0 <= s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -24157,7 +24109,7 @@ switch (step) { { step = 2; continue; } case 1: s.tmp_1 = r0 = s.arg1; - s.tmp_4 = tileworld_Project_all__P303128_mk(s); + s.tmp_4 = tileworld_Project_all__P4976_mk(s); s.tmp_4.arg0 = s.arg0; s.pc = 5; return s.tmp_4; case 5: @@ -24171,7 +24123,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 3; continue; } - s.tmp_7 = tileworld_Project_all__P303128_mk(s); + s.tmp_7 = tileworld_Project_all__P4976_mk(s); s.tmp_7.arg0 = s.arg0; s.pc = 6; return s.tmp_7; case 6: @@ -24188,13 +24140,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_getImage__P303129.info = {"start":1599,"length":125,"line":60,"column":8,"endLine":62,"endColumn":9,"fileName":"project.ts","functionName":"getImage","argumentNames":["this","kind"]} -tileworld_Project_getImage__P303129.info = {"start":1599,"length":125,"line":60,"column":8,"endLine":62,"endColumn":9,"fileName":"project.ts","functionName":"getImage","argumentNames":["this","kind"]} +tileworld_Project_getImage__P4977.info = {"start":1599,"length":125,"line":60,"column":8,"endLine":62,"endColumn":9,"fileName":"project.ts","functionName":"getImage","argumentNames":["this","kind"]} +tileworld_Project_getImage__P4977.info = {"start":1599,"length":125,"line":60,"column":8,"endLine":62,"endColumn":9,"fileName":"project.ts","functionName":"getImage","argumentNames":["this","kind"]} -function tileworld_Project_getImage__P303129_mk(s) { +function tileworld_Project_getImage__P4977_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getImage__P303129, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getImage__P4977, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24213,7 +24165,7 @@ function tileworld_Project_getImage__P303129_mk(s) { -function tileworld_Project_all__P303128(s) { +function tileworld_Project_all__P4976(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24228,7 +24180,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); r0 = s.arg0.fields["allImages"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -24241,20 +24193,20 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = (s.tmp_3).fields["allImages"] = (s.tmp_4); - r0 = pxsim_pxtcore_mkAction(1, inline__P303216); + r0 = pxsim_pxtcore_mkAction(1, inline__P5064); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["fixedImages"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P303226); + r0 = pxsim_pxtcore_mkAction(1, inline__P5074); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["movableImages"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -24267,13 +24219,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_all__P303128.info = {"start":1290,"length":299,"line":51,"column":8,"endLine":58,"endColumn":9,"fileName":"project.ts","functionName":"all","argumentNames":["this"]} -tileworld_Project_all__P303128.info = {"start":1290,"length":299,"line":51,"column":8,"endLine":58,"endColumn":9,"fileName":"project.ts","functionName":"all","argumentNames":["this"]} +tileworld_Project_all__P4976.info = {"start":1290,"length":299,"line":51,"column":8,"endLine":58,"endColumn":9,"fileName":"project.ts","functionName":"all","argumentNames":["this"]} +tileworld_Project_all__P4976.info = {"start":1290,"length":299,"line":51,"column":8,"endLine":58,"endColumn":9,"fileName":"project.ts","functionName":"all","argumentNames":["this"]} -function tileworld_Project_all__P303128_mk(s) { +function tileworld_Project_all__P4976_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_all__P303128, depth: s.depth + 1, + parent: s, fn: tileworld_Project_all__P4976, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24287,7 +24239,7 @@ function tileworld_Project_all__P303128_mk(s) { -function inline__P303216(s) { +function inline__P5064(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24308,13 +24260,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P303216.info = {"start":1419,"length":31,"line":54,"column":41,"endLine":54,"endColumn":72,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} -inline__P303216.info = {"start":1419,"length":31,"line":54,"column":41,"endLine":54,"endColumn":72,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} +inline__P5064.info = {"start":1419,"length":31,"line":54,"column":41,"endLine":54,"endColumn":72,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} +inline__P5064.info = {"start":1419,"length":31,"line":54,"column":41,"endLine":54,"endColumn":72,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} -function inline__P303216_mk(s) { +function inline__P5064_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P303216, depth: s.depth + 1, + parent: s, fn: inline__P5064, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24324,7 +24276,7 @@ function inline__P303216_mk(s) { -function inline__P303226(s) { +function inline__P5074(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24345,13 +24297,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P303226.info = {"start":1496,"length":31,"line":55,"column":43,"endLine":55,"endColumn":74,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} -inline__P303226.info = {"start":1496,"length":31,"line":55,"column":43,"endLine":55,"endColumn":74,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} +inline__P5074.info = {"start":1496,"length":31,"line":55,"column":43,"endLine":55,"endColumn":74,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} +inline__P5074.info = {"start":1496,"length":31,"line":55,"column":43,"endLine":55,"endColumn":74,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} -function inline__P303226_mk(s) { +function inline__P5074_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P303226, depth: s.depth + 1, + parent: s, fn: inline__P5074, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24361,7 +24313,7 @@ function inline__P303226_mk(s) { -function tileworld_RuleEditor_findWitnessColRow__P307958(s) { +function tileworld_RuleEditor_findWitnessColRow__P10143(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24371,8 +24323,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.whendo___310226 = undefined; - s.wit___310230 = undefined; + s.whendo___12411 = undefined; + s.wit___12415 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24380,7 +24332,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); r0 = (s.arg1 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -24398,39 +24350,39 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_2 = tileworld_RuleEditor_getWhenDo__P307962_mk(s); + s.tmp_2 = tileworld_RuleEditor_getWhenDo__P10147_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.whendo___310226 = (r0); - s.tmp_0 = tileworld_RuleEditor_findWitnessWhenDo__P307957_mk(s); + s.whendo___12411 = (r0); + s.tmp_0 = tileworld_RuleEditor_findWitnessWhenDo__P10142_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.whendo___310226; + s.tmp_0.arg1 = s.whendo___12411; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.wit___310230 = (r0); - r0 = s.wit___310230; + s.wit___12415 = (r0); + r0 = s.wit___12415; case 5: return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_findWitnessColRow__P307958.info = {"start":24842,"length":256,"line":588,"column":8,"endLine":593,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"findWitnessColRow","argumentNames":["this","col","row"]} -tileworld_RuleEditor_findWitnessColRow__P307958.info = {"start":24842,"length":256,"line":588,"column":8,"endLine":593,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"findWitnessColRow","argumentNames":["this","col","row"]} +tileworld_RuleEditor_findWitnessColRow__P10143.info = {"start":24825,"length":256,"line":588,"column":8,"endLine":593,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"findWitnessColRow","argumentNames":["this","col","row"]} +tileworld_RuleEditor_findWitnessColRow__P10143.info = {"start":24825,"length":256,"line":588,"column":8,"endLine":593,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"findWitnessColRow","argumentNames":["this","col","row"]} -function tileworld_RuleEditor_findWitnessColRow__P307958_mk(s) { +function tileworld_RuleEditor_findWitnessColRow__P10143_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_findWitnessColRow__P307958, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_findWitnessColRow__P10143, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - whendo___310226: undefined, - wit___310230: undefined, + whendo___12411: undefined, + wit___12415: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24440,7 +24392,7 @@ function tileworld_RuleEditor_findWitnessColRow__P307958_mk(s) { -function tileworld_RuleEditor_findWitnessWhenDo__P307957(s) { +function tileworld_RuleEditor_findWitnessWhenDo__P10142(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24456,7 +24408,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); r0 = (s.arg1 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -24465,7 +24417,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = tileworld_RuleEditor_posSpritePosition__P307956_mk(s); + s.tmp_1 = tileworld_RuleEditor_posSpritePosition__P10141_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; r0 = s.arg0.fields["p"]; @@ -24481,13 +24433,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_findWitnessWhenDo__P307957.info = {"start":24578,"length":184,"line":580,"column":8,"endLine":584,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"findWitnessWhenDo","argumentNames":["this","whendo"]} -tileworld_RuleEditor_findWitnessWhenDo__P307957.info = {"start":24578,"length":184,"line":580,"column":8,"endLine":584,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"findWitnessWhenDo","argumentNames":["this","whendo"]} +tileworld_RuleEditor_findWitnessWhenDo__P10142.info = {"start":24561,"length":184,"line":580,"column":8,"endLine":584,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"findWitnessWhenDo","argumentNames":["this","whendo"]} +tileworld_RuleEditor_findWitnessWhenDo__P10142.info = {"start":24561,"length":184,"line":580,"column":8,"endLine":584,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"findWitnessWhenDo","argumentNames":["this","whendo"]} -function tileworld_RuleEditor_findWitnessWhenDo__P307957_mk(s) { +function tileworld_RuleEditor_findWitnessWhenDo__P10142_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_findWitnessWhenDo__P307957, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_findWitnessWhenDo__P10142, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24501,7 +24453,7 @@ function tileworld_RuleEditor_findWitnessWhenDo__P307957_mk(s) { -function tileworld_RuleEditor_posSpritePosition__P307956(s) { +function tileworld_RuleEditor_posSpritePosition__P10141(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24511,7 +24463,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.index___310184 = undefined; + s.index___12369 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24519,8 +24471,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleEditor_attrIndex__P307966_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleEditor_attrIndex__P10151_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["rule"]; s.tmp_0.arg1 = r0; @@ -24530,12 +24482,12 @@ switch (step) { s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.index___310184 = (r0); - r0 = (s.index___310184 == -1); + s.index___12369 = (r0); + r0 = (s.index___12369 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = tileworld_RuleEditor_attrIndex__P307966_mk(s); + s.tmp_1 = tileworld_RuleEditor_attrIndex__P10151_mk(s); s.tmp_1.arg0 = s.arg0; r0 = s.arg0.fields["rule"]; s.tmp_1.arg1 = r0; @@ -24547,7 +24499,7 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - r0 = s.index___310184; + r0 = s.index___12369; case 2: // jmp value (already in r0) s.tmp_2 = r0; @@ -24555,18 +24507,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_posSpritePosition__P307956.info = {"start":24315,"length":253,"line":575,"column":8,"endLine":578,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"posSpritePosition","argumentNames":["this","whendo","begin"]} -tileworld_RuleEditor_posSpritePosition__P307956.info = {"start":24315,"length":253,"line":575,"column":8,"endLine":578,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"posSpritePosition","argumentNames":["this","whendo","begin"]} +tileworld_RuleEditor_posSpritePosition__P10141.info = {"start":24298,"length":253,"line":575,"column":8,"endLine":578,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"posSpritePosition","argumentNames":["this","whendo","begin"]} +tileworld_RuleEditor_posSpritePosition__P10141.info = {"start":24298,"length":253,"line":575,"column":8,"endLine":578,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"posSpritePosition","argumentNames":["this","whendo","begin"]} -function tileworld_RuleEditor_posSpritePosition__P307956_mk(s) { +function tileworld_RuleEditor_posSpritePosition__P10141_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_posSpritePosition__P307956, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_posSpritePosition__P10141, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - index___310184: undefined, + index___12369: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24576,7 +24528,7 @@ function tileworld_RuleEditor_posSpritePosition__P307956_mk(s) { -function tileworld_RuleEditor_attrIndex__P307966(s) { +function tileworld_RuleEditor_attrIndex__P10151(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24586,7 +24538,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.i___310630 = undefined; + s.i___12815 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24596,11 +24548,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.i___310630 = (s.arg4); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.i___12815 = (s.arg4); case 1: - s.tmp_1 = r0 = s.i___310630; - s.tmp_4 = tileworld_Project_all__P303128_mk(s); + s.tmp_1 = r0 = s.i___12815; + s.tmp_4 = tileworld_Project_all__P4976_mk(s); r0 = s.arg0.fields["p"]; s.tmp_4.arg0 = r0; s.pc = 6; return s.tmp_4; @@ -24613,12 +24565,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_7 = tileworld_Project_getAttr__P303150_mk(s); + s.tmp_7 = tileworld_Project_getAttr__P4998_mk(s); r0 = s.arg0.fields["p"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = s.arg1; s.tmp_7.arg2 = s.arg2; - s.tmp_7.arg3 = s.i___310630; + s.tmp_7.arg3 = s.i___12815; s.pc = 7; return s.tmp_7; case 7: r0 = s.retval; @@ -24627,12 +24579,12 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 2; continue; } - r0 = s.i___310630; + r0 = s.i___12815; { step = 5; continue; } case 2: case 3: - r0 = (s.i___310630 + 1); - s.i___310630 = (r0); + r0 = (s.i___12815 + 1); + s.i___12815 = (r0); { step = 1; continue; } case 4: r0 = -1; @@ -24640,13 +24592,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_attrIndex__P307966.info = {"start":29835,"length":280,"line":704,"column":8,"endLine":710,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrIndex","argumentNames":["this","rid","whendo","a","begin"]} -tileworld_RuleEditor_attrIndex__P307966.info = {"start":29835,"length":280,"line":704,"column":8,"endLine":710,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrIndex","argumentNames":["this","rid","whendo","a","begin"]} +tileworld_RuleEditor_attrIndex__P10151.info = {"start":29818,"length":280,"line":704,"column":8,"endLine":710,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrIndex","argumentNames":["this","rid","whendo","a","begin"]} +tileworld_RuleEditor_attrIndex__P10151.info = {"start":29818,"length":280,"line":704,"column":8,"endLine":710,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrIndex","argumentNames":["this","rid","whendo","a","begin"]} -function tileworld_RuleEditor_attrIndex__P307966_mk(s) { +function tileworld_RuleEditor_attrIndex__P10151_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_attrIndex__P307966, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_attrIndex__P10151, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24656,7 +24608,7 @@ function tileworld_RuleEditor_attrIndex__P307966_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - i___310630: undefined, + i___12815: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24668,7 +24620,7 @@ function tileworld_RuleEditor_attrIndex__P307966_mk(s) { -function tileworld_Project_getAttr__P303150(s) { +function tileworld_Project_getAttr__P4998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24686,8 +24638,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - s.tmp_2 = tileworld_Project_getRule__P303138_mk(s); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + s.tmp_2 = tileworld_Project_getRule__P4986_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.pc = 1; return s.tmp_2; @@ -24702,13 +24654,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_getAttr__P303150.info = {"start":5360,"length":138,"line":178,"column":8,"endLine":180,"endColumn":9,"fileName":"project.ts","functionName":"getAttr","argumentNames":["this","rid","wdid","aid"]} -tileworld_Project_getAttr__P303150.info = {"start":5360,"length":138,"line":178,"column":8,"endLine":180,"endColumn":9,"fileName":"project.ts","functionName":"getAttr","argumentNames":["this","rid","wdid","aid"]} +tileworld_Project_getAttr__P4998.info = {"start":5360,"length":138,"line":178,"column":8,"endLine":180,"endColumn":9,"fileName":"project.ts","functionName":"getAttr","argumentNames":["this","rid","wdid","aid"]} +tileworld_Project_getAttr__P4998.info = {"start":5360,"length":138,"line":178,"column":8,"endLine":180,"endColumn":9,"fileName":"project.ts","functionName":"getAttr","argumentNames":["this","rid","wdid","aid"]} -function tileworld_Project_getAttr__P303150_mk(s) { +function tileworld_Project_getAttr__P4998_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getAttr__P303150, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getAttr__P4998, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24723,7 +24675,7 @@ function tileworld_Project_getAttr__P303150_mk(s) { -function tileworld_Project_getInst__P303152(s) { +function tileworld_Project_getInst__P5000(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24733,7 +24685,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.c___303616 = undefined; + s.c___5464 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24742,8 +24694,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - s.tmp_2 = tileworld_Project_getRule__P303138_mk(s); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + s.tmp_2 = tileworld_Project_getRule__P4986_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.pc = 3; return s.tmp_2; @@ -24755,15 +24707,15 @@ switch (step) { r0 = r0.fields["commands"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg3); - s.c___303616 = (r0); - r0 = (s.c___303616 == null); + s.c___5464 = (r0); + r0 = (s.c___5464 == null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = -1; { step = 2; continue; } case 1: - r0 = s.c___303616.fields["inst"]; + r0 = s.c___5464.fields["inst"]; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -24771,18 +24723,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_getInst__P303152.info = {"start":5662,"length":178,"line":186,"column":8,"endLine":189,"endColumn":9,"fileName":"project.ts","functionName":"getInst","argumentNames":["this","rid","wdid","cid"]} -tileworld_Project_getInst__P303152.info = {"start":5662,"length":178,"line":186,"column":8,"endLine":189,"endColumn":9,"fileName":"project.ts","functionName":"getInst","argumentNames":["this","rid","wdid","cid"]} +tileworld_Project_getInst__P5000.info = {"start":5662,"length":178,"line":186,"column":8,"endLine":189,"endColumn":9,"fileName":"project.ts","functionName":"getInst","argumentNames":["this","rid","wdid","cid"]} +tileworld_Project_getInst__P5000.info = {"start":5662,"length":178,"line":186,"column":8,"endLine":189,"endColumn":9,"fileName":"project.ts","functionName":"getInst","argumentNames":["this","rid","wdid","cid"]} -function tileworld_Project_getInst__P303152_mk(s) { +function tileworld_Project_getInst__P5000_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getInst__P303152, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getInst__P5000, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - c___303616: undefined, + c___5464: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24793,7 +24745,7 @@ function tileworld_Project_getInst__P303152_mk(s) { -function tileworld_RuleEditor_getWhenDo__P307962(s) { +function tileworld_RuleEditor_getWhenDo__P10147(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24803,7 +24755,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.whendo___310480 = undefined; + s.whendo___12665 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24811,11 +24763,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); - s.whendo___310480 = (r0); - s.tmp_0 = r0 = s.whendo___310480; - s.tmp_2 = tileworld_Project_getWhenDo__P303148_mk(s); + s.whendo___12665 = (r0); + s.tmp_0 = r0 = s.whendo___12665; + s.tmp_2 = tileworld_Project_getWhenDo__P4996_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -24827,14 +24779,14 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.whendo___310480); + r0 = pxsim_pxtrt_ldlocRef(s.whendo___12665); s.tmp_1 = r0; r0 = (s.tmp_1 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = r0 = s.whendo___310480; - s.tmp_4 = tileworld_Project_makeWhenDo__P303149_mk(s); + s.tmp_2 = r0 = s.whendo___12665; + s.tmp_4 = tileworld_Project_makeWhenDo__P4997_mk(s); r0 = s.arg0.fields["p"]; s.tmp_4.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -24846,12 +24798,12 @@ switch (step) { r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); - r0 = pxsim_pxtcore_mkAction(2, inline__P310504); + r0 = pxsim_pxtcore_mkAction(2, inline__P12689); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.whendo___310480); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); - s.tmp_2 = tileworld_Project_all__P303128_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.whendo___12665); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); + s.tmp_2 = tileworld_Project_all__P4976_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; s.pc = 6; return s.tmp_2; @@ -24864,24 +24816,24 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtrt_ldlocRef(s.whendo___310480); + r0 = pxsim_pxtrt_ldlocRef(s.whendo___12665); return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_getWhenDo__P307962.info = {"start":28309,"length":458,"line":668,"column":8,"endLine":678,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"getWhenDo","argumentNames":["this","col","row"]} -tileworld_RuleEditor_getWhenDo__P307962.info = {"start":28309,"length":458,"line":668,"column":8,"endLine":678,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"getWhenDo","argumentNames":["this","col","row"]} +tileworld_RuleEditor_getWhenDo__P10147.info = {"start":28292,"length":458,"line":668,"column":8,"endLine":678,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"getWhenDo","argumentNames":["this","col","row"]} +tileworld_RuleEditor_getWhenDo__P10147.info = {"start":28292,"length":458,"line":668,"column":8,"endLine":678,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"getWhenDo","argumentNames":["this","col","row"]} -function tileworld_RuleEditor_getWhenDo__P307962_mk(s) { +function tileworld_RuleEditor_getWhenDo__P10147_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_getWhenDo__P307962, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_getWhenDo__P10147, 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, - whendo___310480: undefined, + whendo___12665: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24891,7 +24843,7 @@ function tileworld_RuleEditor_getWhenDo__P307962_mk(s) { -function inline__P310504(s) { +function inline__P12689(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24906,7 +24858,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_Project_setAttr__P303151_mk(s); + s.tmp_0 = tileworld_Project_setAttr__P4999_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["rule"]; @@ -24922,13 +24874,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P310504.info = {"start":28612,"length":102,"line":673,"column":37,"endLine":675,"endColumn":17,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} -inline__P310504.info = {"start":28612,"length":102,"line":673,"column":37,"endLine":675,"endColumn":17,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P12689.info = {"start":28595,"length":102,"line":673,"column":37,"endLine":675,"endColumn":17,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P12689.info = {"start":28595,"length":102,"line":673,"column":37,"endLine":675,"endColumn":17,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P310504_mk(s) { +function inline__P12689_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P310504, depth: s.depth + 1, + parent: s, fn: inline__P12689, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24939,7 +24891,7 @@ function inline__P310504_mk(s) { -function tileworld_Project_setAttr__P303151(s) { +function tileworld_Project_setAttr__P4999(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24958,8 +24910,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - s.tmp_2 = tileworld_Project_getRule__P303138_mk(s); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + s.tmp_2 = tileworld_Project_getRule__P4986_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.pc = 1; return s.tmp_2; @@ -24975,13 +24927,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_setAttr__P303151.info = {"start":5508,"length":144,"line":182,"column":8,"endLine":184,"endColumn":9,"fileName":"project.ts","functionName":"setAttr","argumentNames":["this","rid","wdid","aid","attr"]} -tileworld_Project_setAttr__P303151.info = {"start":5508,"length":144,"line":182,"column":8,"endLine":184,"endColumn":9,"fileName":"project.ts","functionName":"setAttr","argumentNames":["this","rid","wdid","aid","attr"]} +tileworld_Project_setAttr__P4999.info = {"start":5508,"length":144,"line":182,"column":8,"endLine":184,"endColumn":9,"fileName":"project.ts","functionName":"setAttr","argumentNames":["this","rid","wdid","aid","attr"]} +tileworld_Project_setAttr__P4999.info = {"start":5508,"length":144,"line":182,"column":8,"endLine":184,"endColumn":9,"fileName":"project.ts","functionName":"setAttr","argumentNames":["this","rid","wdid","aid","attr"]} -function tileworld_Project_setAttr__P303151_mk(s) { +function tileworld_Project_setAttr__P4999_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_setAttr__P303151, depth: s.depth + 1, + parent: s, fn: tileworld_Project_setAttr__P4999, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24997,7 +24949,7 @@ function tileworld_Project_setAttr__P303151_mk(s) { -function tileworld_Project_makeWhenDo__P303149(s) { +function tileworld_Project_makeWhenDo__P4997(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25007,7 +24959,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.whenDo___303565 = undefined; + s.whenDo___5413 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25016,10 +24968,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C302321_VT); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C4165_VT); s.tmp_0 = r0; - s.tmp_1 = WhenDo_constructor__P302322_mk(s); + s.tmp_1 = WhenDo_constructor__P4166_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg2; s.tmp_1.arg2 = s.arg3; @@ -25030,8 +24982,8 @@ switch (step) { s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - s.whenDo___303565 = (s.tmp_0); - s.tmp_1 = tileworld_Project_getRule__P303138_mk(s); + s.whenDo___5413 = (s.tmp_0); + s.tmp_1 = tileworld_Project_getRule__P4986_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.pc = 2; return s.tmp_1; @@ -25039,8 +24991,8 @@ switch (step) { r0 = s.retval; r0 = r0.fields["whenDo"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.whenDo___303565); - s.tmp_2 = tileworld_Project_getRule__P303138_mk(s); + r0 = pxsim_Array__push(s.tmp_0, s.whenDo___5413); + s.tmp_2 = tileworld_Project_getRule__P4986_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.pc = 3; return s.tmp_2; @@ -25054,18 +25006,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_makeWhenDo__P303149.info = {"start":5120,"length":230,"line":172,"column":8,"endLine":176,"endColumn":9,"fileName":"project.ts","functionName":"makeWhenDo","argumentNames":["this","rid","col","row"]} -tileworld_Project_makeWhenDo__P303149.info = {"start":5120,"length":230,"line":172,"column":8,"endLine":176,"endColumn":9,"fileName":"project.ts","functionName":"makeWhenDo","argumentNames":["this","rid","col","row"]} +tileworld_Project_makeWhenDo__P4997.info = {"start":5120,"length":230,"line":172,"column":8,"endLine":176,"endColumn":9,"fileName":"project.ts","functionName":"makeWhenDo","argumentNames":["this","rid","col","row"]} +tileworld_Project_makeWhenDo__P4997.info = {"start":5120,"length":230,"line":172,"column":8,"endLine":176,"endColumn":9,"fileName":"project.ts","functionName":"makeWhenDo","argumentNames":["this","rid","col","row"]} -function tileworld_Project_makeWhenDo__P303149_mk(s) { +function tileworld_Project_makeWhenDo__P4997_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_makeWhenDo__P303149, depth: s.depth + 1, + parent: s, fn: tileworld_Project_makeWhenDo__P4997, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - whenDo___303565: undefined, + whenDo___5413: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25076,7 +25028,7 @@ function tileworld_Project_makeWhenDo__P303149_mk(s) { -function tileworld_Project_getWhenDo__P303148(s) { +function tileworld_Project_getWhenDo__P4996(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25086,7 +25038,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.whendo___303531 = undefined; + s.whendo___5379 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25095,13 +25047,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P303537); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P5385); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg2); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg3); - s.tmp_1 = helpers_arrayFind__P297632_mk(s); - s.tmp_2 = tileworld_Project_getRule__P303138_mk(s); + s.tmp_1 = helpers_arrayFind__P61_mk(s); + s.tmp_2 = tileworld_Project_getRule__P4986_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.pc = 5; return s.tmp_2; @@ -25113,8 +25065,8 @@ switch (step) { s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - s.whendo___303531 = (r0); - r0 = (s.whendo___303531 == null); + s.whendo___5379 = (r0); + r0 = (s.whendo___5379 == null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -25122,7 +25074,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - s.tmp_2 = tileworld_Project_getRule__P303138_mk(s); + s.tmp_2 = tileworld_Project_getRule__P4986_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.pc = 6; return s.tmp_2; @@ -25130,7 +25082,7 @@ switch (step) { r0 = s.retval; r0 = r0.fields["whenDo"]; s.tmp_1 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_1, s.whendo___303531, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_1, s.whendo___5379, undefined); { step = 3; continue; } case 2: r0 = undefined; @@ -25138,18 +25090,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_getWhenDo__P303148.info = {"start":4808,"length":302,"line":164,"column":8,"endLine":170,"endColumn":9,"fileName":"project.ts","functionName":"getWhenDo","argumentNames":["this","rid","col","row"]} -tileworld_Project_getWhenDo__P303148.info = {"start":4808,"length":302,"line":164,"column":8,"endLine":170,"endColumn":9,"fileName":"project.ts","functionName":"getWhenDo","argumentNames":["this","rid","col","row"]} +tileworld_Project_getWhenDo__P4996.info = {"start":4808,"length":302,"line":164,"column":8,"endLine":170,"endColumn":9,"fileName":"project.ts","functionName":"getWhenDo","argumentNames":["this","rid","col","row"]} +tileworld_Project_getWhenDo__P4996.info = {"start":4808,"length":302,"line":164,"column":8,"endLine":170,"endColumn":9,"fileName":"project.ts","functionName":"getWhenDo","argumentNames":["this","rid","col","row"]} -function tileworld_Project_getWhenDo__P303148_mk(s) { +function tileworld_Project_getWhenDo__P4996_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getWhenDo__P303148, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getWhenDo__P4996, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - whendo___303531: undefined, + whendo___5379: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25160,7 +25112,7 @@ function tileworld_Project_getWhenDo__P303148_mk(s) { -function inline__P303537(s) { +function inline__P5385(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25193,13 +25145,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P303537.info = {"start":4921,"length":36,"line":165,"column":55,"endLine":165,"endColumn":91,"fileName":"project.ts","functionName":"inline","argumentNames":["wd"]} -inline__P303537.info = {"start":4921,"length":36,"line":165,"column":55,"endLine":165,"endColumn":91,"fileName":"project.ts","functionName":"inline","argumentNames":["wd"]} +inline__P5385.info = {"start":4921,"length":36,"line":165,"column":55,"endLine":165,"endColumn":91,"fileName":"project.ts","functionName":"inline","argumentNames":["wd"]} +inline__P5385.info = {"start":4921,"length":36,"line":165,"column":55,"endLine":165,"endColumn":91,"fileName":"project.ts","functionName":"inline","argumentNames":["wd"]} -function inline__P303537_mk(s) { +function inline__P5385_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P303537, depth: s.depth + 1, + parent: s, fn: inline__P5385, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25212,7 +25164,7 @@ function inline__P303537_mk(s) { -function tileworld_RuleEditor_rowToRowCoord__P307940(s) { +function tileworld_RuleEditor_rowToRowCoord__P10125(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25228,7 +25180,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); r0 = (s.arg1 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -25255,13 +25207,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_rowToRowCoord__P307940.info = {"start":14230,"length":77,"line":329,"column":8,"endLine":329,"endColumn":85,"fileName":"ruleeditor.ts","functionName":"rowToRowCoord","argumentNames":["this","lr"]} -tileworld_RuleEditor_rowToRowCoord__P307940.info = {"start":14230,"length":77,"line":329,"column":8,"endLine":329,"endColumn":85,"fileName":"ruleeditor.ts","functionName":"rowToRowCoord","argumentNames":["this","lr"]} +tileworld_RuleEditor_rowToRowCoord__P10125.info = {"start":14230,"length":77,"line":329,"column":8,"endLine":329,"endColumn":85,"fileName":"ruleeditor.ts","functionName":"rowToRowCoord","argumentNames":["this","lr"]} +tileworld_RuleEditor_rowToRowCoord__P10125.info = {"start":14230,"length":77,"line":329,"column":8,"endLine":329,"endColumn":85,"fileName":"ruleeditor.ts","functionName":"rowToRowCoord","argumentNames":["this","lr"]} -function tileworld_RuleEditor_rowToRowCoord__P307940_mk(s) { +function tileworld_RuleEditor_rowToRowCoord__P10125_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_rowToRowCoord__P307940, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_rowToRowCoord__P10125, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25275,7 +25227,7 @@ function tileworld_RuleEditor_rowToRowCoord__P307940_mk(s) { -function tileworld_RuleEditor_rowToColCoord__P307939(s) { +function tileworld_RuleEditor_rowToColCoord__P10124(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25291,7 +25243,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); r0 = (s.arg1 % 2); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); @@ -25309,13 +25261,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_rowToColCoord__P307939.info = {"start":14155,"length":66,"line":328,"column":8,"endLine":328,"endColumn":74,"fileName":"ruleeditor.ts","functionName":"rowToColCoord","argumentNames":["this","lr"]} -tileworld_RuleEditor_rowToColCoord__P307939.info = {"start":14155,"length":66,"line":328,"column":8,"endLine":328,"endColumn":74,"fileName":"ruleeditor.ts","functionName":"rowToColCoord","argumentNames":["this","lr"]} +tileworld_RuleEditor_rowToColCoord__P10124.info = {"start":14155,"length":66,"line":328,"column":8,"endLine":328,"endColumn":74,"fileName":"ruleeditor.ts","functionName":"rowToColCoord","argumentNames":["this","lr"]} +tileworld_RuleEditor_rowToColCoord__P10124.info = {"start":14155,"length":66,"line":328,"column":8,"endLine":328,"endColumn":74,"fileName":"ruleeditor.ts","functionName":"rowToColCoord","argumentNames":["this","lr"]} -function tileworld_RuleEditor_rowToColCoord__P307939_mk(s) { +function tileworld_RuleEditor_rowToColCoord__P10124_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_rowToColCoord__P307939, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_rowToColCoord__P10124, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25328,7 +25280,7 @@ function tileworld_RuleEditor_rowToColCoord__P307939_mk(s) { -function tileworld_RuleEditor_changeRule__P307927(s) { +function tileworld_RuleEditor_changeRule__P10112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25344,8 +25296,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_saveRule__P303132_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_saveRule__P4980_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -25358,13 +25310,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_changeRule__P307927.info = {"start":6816,"length":112,"line":161,"column":8,"endLine":164,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"changeRule","argumentNames":["this","rid"]} -tileworld_RuleEditor_changeRule__P307927.info = {"start":6816,"length":112,"line":161,"column":8,"endLine":164,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"changeRule","argumentNames":["this","rid"]} +tileworld_RuleEditor_changeRule__P10112.info = {"start":6816,"length":112,"line":161,"column":8,"endLine":164,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"changeRule","argumentNames":["this","rid"]} +tileworld_RuleEditor_changeRule__P10112.info = {"start":6816,"length":112,"line":161,"column":8,"endLine":164,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"changeRule","argumentNames":["this","rid"]} -function tileworld_RuleEditor_changeRule__P307927_mk(s) { +function tileworld_RuleEditor_changeRule__P10112_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_changeRule__P307927, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_changeRule__P10112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25375,7 +25327,7 @@ function tileworld_RuleEditor_changeRule__P307927_mk(s) { -function tileworld_RuleEditor_commandUpdate__P307954(s) { +function tileworld_RuleEditor_commandUpdate__P10139(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25385,26 +25337,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tok___310047 = undefined; - s.arg___310054 = undefined; - s.inst___310061 = undefined; + s.tok___12232 = undefined; + s.arg___12239 = undefined; + s.inst___12246 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); r0 = s.arg0.fields["ruleTypeMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 27; return s.tmp_2; case 27: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; s.pc = 28; return s.tmp_4; @@ -25412,17 +25364,17 @@ switch (step) { r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_3); - s.tok___310047 = (r0); + s.tok___12232 = (r0); r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 29; return s.tmp_2; case 29: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; s.pc = 30; return s.tmp_4; @@ -25430,8 +25382,8 @@ switch (step) { r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_3); - s.arg___310054 = (r0); - s.tmp_0 = tileworld_Project_getInst__P303152_mk(s); + s.arg___12239 = (r0); + s.tmp_0 = tileworld_Project_getInst__P5000_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -25443,8 +25395,8 @@ switch (step) { s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.inst___310061 = (r0); - r0 = (s.tok___310047 == 10); + s.inst___12246 = (r0); + r0 = (s.tok___12232 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -25455,7 +25407,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 1; continue; } - s.tmp_2 = Sprite_say__P298261_mk(s); + s.tmp_2 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = "delete command"; @@ -25469,7 +25421,7 @@ switch (step) { case 2: { step = 4; continue; } case 3: - s.tmp_0 = tileworld_Project_removeCommand__P303156_mk(s); + s.tmp_0 = tileworld_Project_removeCommand__P5004_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -25481,7 +25433,7 @@ switch (step) { s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = tileworld_RuleEditor_noMenu__P307923_mk(s); + s.tmp_0 = tileworld_RuleEditor_noMenu__P10108_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 34; return s.tmp_0; case 34: @@ -25489,7 +25441,7 @@ switch (step) { case 4: { step = 26; continue; } case 5: - s.tmp_2 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 35; return s.tmp_2; @@ -25503,7 +25455,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = (s.tok___310047 != 15); + r0 = (s.tok___12232 != 15); case 7: // jmp value (already in r0) s.tmp_3 = r0; @@ -25516,10 +25468,10 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 8; continue; } - s.tmp_5 = Sprite_say__P298261_mk(s); + s.tmp_5 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_5.arg0 = r0; - r0 = pxsim_Array__getAt(globals.categoryText___304697, s.tok___310047); + r0 = pxsim_Array__getAt(globals.categoryText___6545, s.tok___12232); s.tmp_5.arg1 = r0; s.tmp_5.arg2 = undefined; s.tmp_5.arg3 = 15; @@ -25531,22 +25483,22 @@ switch (step) { case 9: { step = 13; continue; } case 10: - r0 = (s.tok___310047 != s.inst___310061); + r0 = (s.tok___12232 != s.inst___12246); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = tileworld_RuleEditor_setCommand__P307955_mk(s); + s.tmp_1 = tileworld_RuleEditor_setCommand__P10140_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.tok___310047; + s.tmp_1.arg1 = s.tok___12232; s.tmp_1.arg2 = -1; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); + s.tmp_0 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1 = r0; s.tmp_0.arg0 = r0; - s.tmp_3 = Sprite_y__P298231_mk(s); + s.tmp_3 = Sprite_y__P739_mk(s); s.tmp_3.arg0 = s.tmp_1; s.pc = 39; return s.tmp_3; case 39: @@ -25557,7 +25509,7 @@ switch (step) { s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - s.tmp_0 = Sprite_say__P298261_mk(s); + s.tmp_0 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = null; @@ -25572,7 +25524,7 @@ switch (step) { case 13: { step = 25; continue; } case 14: - s.tmp_2 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 41; return s.tmp_2; @@ -25586,7 +25538,7 @@ switch (step) { r0 = s.tmp_0; { step = 16; continue; } case 15: - r0 = (s.arg___310054 != 15); + r0 = (s.arg___12239 != 15); case 16: // jmp value (already in r0) s.tmp_3 = r0; @@ -25594,17 +25546,17 @@ switch (step) { if (!r0) { step = 19; continue; } r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 17; continue; } - s.tmp_4 = Sprite_say__P298261_mk(s); + s.tmp_4 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_4.arg0 = r0; - s.tmp_6 = tileworld_RuleEditor_instToArgText__P307950_mk(s); + s.tmp_6 = tileworld_RuleEditor_instToArgText__P10135_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.inst___310061; + s.tmp_6.arg1 = s.inst___12246; s.pc = 43; return s.tmp_6; case 43: r0 = s.retval; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.arg___310054); + r0 = pxsim_Array__getAt(s.tmp_5, s.arg___12239); s.tmp_4.arg1 = r0; s.tmp_4.arg2 = undefined; s.tmp_4.arg3 = 15; @@ -25614,7 +25566,7 @@ switch (step) { r0 = s.retval; { step = 18; continue; } case 17: - s.tmp_0 = tileworld_Project_setArg__P303155_mk(s); + s.tmp_0 = tileworld_Project_setArg__P5003_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -25623,7 +25575,7 @@ switch (step) { s.tmp_0.arg2 = r0; r0 = s.arg0.fields["currentCommand"]; s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = s.arg___310054; + s.tmp_0.arg4 = s.arg___12239; s.pc = 44; return s.tmp_0; case 44: r0 = s.retval; @@ -25639,7 +25591,7 @@ switch (step) { r0 = s.tmp_0; { step = 21; continue; } case 20: - s.tmp_3 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; s.pc = 45; return s.tmp_3; @@ -25652,7 +25604,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 22; continue; } - s.tmp_5 = tileworld_RuleEditor_noMenu__P307923_mk(s); + s.tmp_5 = tileworld_RuleEditor_noMenu__P10108_mk(s); s.tmp_5.arg0 = s.arg0; s.pc = 46; return s.tmp_5; case 46: @@ -25666,13 +25618,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_commandUpdate__P307954.info = {"start":22660,"length":1422,"line":538,"column":8,"endLine":568,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"commandUpdate","argumentNames":["this","hover"]} -tileworld_RuleEditor_commandUpdate__P307954.info = {"start":22660,"length":1422,"line":538,"column":8,"endLine":568,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"commandUpdate","argumentNames":["this","hover"]} +tileworld_RuleEditor_commandUpdate__P10139.info = {"start":22643,"length":1422,"line":538,"column":8,"endLine":568,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"commandUpdate","argumentNames":["this","hover"]} +tileworld_RuleEditor_commandUpdate__P10139.info = {"start":22643,"length":1422,"line":538,"column":8,"endLine":568,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"commandUpdate","argumentNames":["this","hover"]} -function tileworld_RuleEditor_commandUpdate__P307954_mk(s) { +function tileworld_RuleEditor_commandUpdate__P10139_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_commandUpdate__P307954, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_commandUpdate__P10139, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25681,9 +25633,9 @@ function tileworld_RuleEditor_commandUpdate__P307954_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - tok___310047: undefined, - arg___310054: undefined, - inst___310061: undefined, + tok___12232: undefined, + arg___12239: undefined, + inst___12246: undefined, arg0: undefined, arg1: undefined, } } @@ -25692,7 +25644,7 @@ function tileworld_RuleEditor_commandUpdate__P307954_mk(s) { -function tileworld_RuleEditor_instToArgText__P307950(s) { +function tileworld_RuleEditor_instToArgText__P10135(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25708,7 +25660,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg1; r0 = pxsim_pxtcore.switch_eq(0, s.tmp_0); if (r0) { step = 1; continue; } @@ -25723,16 +25675,16 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 1: - r0 = globals.moveText___304641; + r0 = globals.moveText___6489; { step = 7; continue; } case 2: r0 = pxsim_Array__mk(); { step = 7; continue; } case 3: - r0 = globals.spriteText___304702; + r0 = globals.spriteText___6550; { step = 7; continue; } case 4: - r0 = globals.gameText___304688; + r0 = globals.gameText___6536; { step = 7; continue; } case 5: r0 = pxsim_Array__mk(); @@ -25743,13 +25695,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_instToArgText__P307950.info = {"start":20846,"length":401,"line":491,"column":8,"endLine":500,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToArgText","argumentNames":["this","inst"]} -tileworld_RuleEditor_instToArgText__P307950.info = {"start":20846,"length":401,"line":491,"column":8,"endLine":500,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToArgText","argumentNames":["this","inst"]} +tileworld_RuleEditor_instToArgText__P10135.info = {"start":20846,"length":401,"line":491,"column":8,"endLine":500,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToArgText","argumentNames":["this","inst"]} +tileworld_RuleEditor_instToArgText__P10135.info = {"start":20846,"length":401,"line":491,"column":8,"endLine":500,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToArgText","argumentNames":["this","inst"]} -function tileworld_RuleEditor_instToArgText__P307950_mk(s) { +function tileworld_RuleEditor_instToArgText__P10135_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_instToArgText__P307950, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_instToArgText__P10135, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25760,7 +25712,7 @@ function tileworld_RuleEditor_instToArgText__P307950_mk(s) { -function tileworld_Project_removeCommand__P303156(s) { +function tileworld_Project_removeCommand__P5004(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25770,7 +25722,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.commands___303726 = undefined; + s.commands___5574 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25779,8 +25731,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - s.tmp_1 = tileworld_Project_getRule__P303138_mk(s); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + s.tmp_1 = tileworld_Project_getRule__P4986_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.pc = 3; return s.tmp_1; @@ -25790,33 +25742,33 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg2); r0 = r0.fields["commands"]; - s.commands___303726 = (r0); + s.commands___5574 = (r0); s.tmp_1 = r0 = s.arg3; - r0 = pxsim_Array__length(s.commands___303726); + r0 = pxsim_Array__length(s.commands___5574); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_Array_.removeAt(s.commands___303726, s.arg3); + r0 = pxsim_Array_.removeAt(s.commands___5574, s.arg3); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_removeCommand__P303156.info = {"start":6660,"length":235,"line":212,"column":8,"endLine":217,"endColumn":9,"fileName":"project.ts","functionName":"removeCommand","argumentNames":["this","rid","wdid","cid"]} -tileworld_Project_removeCommand__P303156.info = {"start":6660,"length":235,"line":212,"column":8,"endLine":217,"endColumn":9,"fileName":"project.ts","functionName":"removeCommand","argumentNames":["this","rid","wdid","cid"]} +tileworld_Project_removeCommand__P5004.info = {"start":6660,"length":235,"line":212,"column":8,"endLine":217,"endColumn":9,"fileName":"project.ts","functionName":"removeCommand","argumentNames":["this","rid","wdid","cid"]} +tileworld_Project_removeCommand__P5004.info = {"start":6660,"length":235,"line":212,"column":8,"endLine":217,"endColumn":9,"fileName":"project.ts","functionName":"removeCommand","argumentNames":["this","rid","wdid","cid"]} -function tileworld_Project_removeCommand__P303156_mk(s) { +function tileworld_Project_removeCommand__P5004_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_removeCommand__P303156, depth: s.depth + 1, + parent: s, fn: tileworld_Project_removeCommand__P5004, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - commands___303726: undefined, + commands___5574: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25827,7 +25779,7 @@ function tileworld_Project_removeCommand__P303156_mk(s) { -function tileworld_RuleEditor_attrUpdate__P307961(s) { +function tileworld_RuleEditor_attrUpdate__P10146(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25837,20 +25789,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.a___310321 = undefined; - s.i___310330 = undefined; - s.m___310354 = undefined; - s.val___310383 = undefined; - s.cnt___310433 = undefined; - s.i___310434 = undefined; - s.whenDo___310457 = undefined; + s.a___12506 = undefined; + s.i___12515 = undefined; + s.m___12539 = undefined; + s.val___12568 = undefined; + s.cnt___12618 = undefined; + s.i___12619 = undefined; + s.whenDo___12642 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_2 = tileworld_RuleVisualsBase_row__P306468_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_2 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 38; return s.tmp_2; @@ -25861,7 +25813,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; s.pc = 39; return s.tmp_3; @@ -25873,15 +25825,15 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.a___310321 = (s.tmp_4); - r0 = (s.a___310321 == 9); + s.a___12506 = (s.tmp_4); + r0 = (s.a___12506 == 9); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.i___310330 = (0); + s.i___12515 = (0); case 3: - s.tmp_1 = r0 = s.i___310330; - s.tmp_4 = tileworld_Project_all__P303128_mk(s); + s.tmp_1 = r0 = s.i___12515; + s.tmp_4 = tileworld_Project_all__P4976_mk(s); r0 = s.arg0.fields["p"]; s.tmp_4.arg0 = r0; s.pc = 40; return s.tmp_4; @@ -25894,29 +25846,29 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_5 = tileworld_RuleEditor_setAttr__P307965_mk(s); + s.tmp_5 = tileworld_RuleEditor_setAttr__P10150_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.i___310330; + s.tmp_5.arg1 = s.i___12515; s.tmp_5.arg2 = 0; s.pc = 41; return s.tmp_5; case 41: r0 = s.retval; - r0 = (s.i___310330 + 1); - s.i___310330 = (r0); + r0 = (s.i___12515 + 1); + s.i___12515 = (r0); { step = 3; continue; } case 4: { step = 37; continue; } case 5: case 6: - r0 = (s.a___310321 != -1); + r0 = (s.a___12506 != -1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 7; continue; } r0 = s.tmp_0; { step = 8; continue; } case 7: - s.tmp_1 = r0 = s.a___310321; - r0 = pxsim_Array__length(globals.attrValues___304661); + s.tmp_1 = r0 = s.a___12506; + r0 = pxsim_Array__length(globals.attrValues___6509); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); case 8: @@ -25924,16 +25876,16 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 9; continue; } - s.tmp_4 = tileworld_RuleEditor_selectAttr__P307960_mk(s); + s.tmp_4 = tileworld_RuleEditor_selectAttr__P10145_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.a___310321; + s.tmp_4.arg1 = s.a___12506; s.pc = 42; return s.tmp_4; case 42: r0 = s.retval; { step = 37; continue; } case 9: case 10: - s.tmp_2 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 43; return s.tmp_2; @@ -25944,7 +25896,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_3 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; s.pc = 44; return s.tmp_3; @@ -25956,16 +25908,16 @@ switch (step) { case 12: // jmp value (already in r0) s.tmp_4 = r0; - s.m___310354 = (s.tmp_4); - r0 = (s.m___310354 != -1); + s.m___12539 = (s.tmp_4); + r0 = (s.m___12539 != -1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 13; continue; } r0 = s.tmp_0; { step = 14; continue; } case 13: - s.tmp_1 = r0 = s.m___310354; - s.tmp_4 = tileworld_Project_all__P303128_mk(s); + s.tmp_1 = r0 = s.m___12539; + s.tmp_4 = tileworld_Project_all__P4976_mk(s); r0 = s.arg0.fields["p"]; s.tmp_4.arg0 = r0; s.pc = 45; return s.tmp_4; @@ -25980,7 +25932,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 35; continue; } - s.tmp_7 = r0 = s.m___310354; + s.tmp_7 = r0 = s.m___12539; r0 = s.arg0.fields["p"]; s.tmp_10 = r0; r0 = s.tmp_10.fields["fixedImages"]; @@ -25994,7 +25946,7 @@ switch (step) { r0 = s.tmp_6; { step = 16; continue; } case 15: - s.tmp_12 = tileworld_RuleEditor_getType__P307925_mk(s); + s.tmp_12 = tileworld_RuleEditor_getType__P10110_mk(s); s.tmp_12.arg0 = s.arg0; s.pc = 46; return s.tmp_12; case 46: @@ -26011,13 +25963,13 @@ switch (step) { case 18: r0 = s.arg0.fields["attrSelected"]; s.tmp_14 = r0; - r0 = pxsim_Array__getAt(globals.attrValues___304661, s.tmp_14); - s.val___310383 = (r0); - r0 = (s.val___310383 == 1); + r0 = pxsim_Array__getAt(globals.attrValues___6509, s.tmp_14); + s.val___12568 = (r0); + r0 = (s.val___12568 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 21; continue; } - s.tmp_2 = r0 = s.m___310354; + s.tmp_2 = r0 = s.m___12539; r0 = s.arg0.fields["p"]; s.tmp_5 = r0; r0 = s.tmp_5.fields["fixedImages"]; @@ -26028,17 +25980,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 19; continue; } - s.tmp_6 = tileworld_RuleEditor_setFixedOther__P307963_mk(s); + s.tmp_6 = tileworld_RuleEditor_setFixedOther__P10148_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.m___310354; + s.tmp_6.arg1 = s.m___12539; s.tmp_6.arg2 = -1; s.tmp_6.arg3 = 3; s.pc = 47; return s.tmp_6; case 47: r0 = s.retval; - s.tmp_0 = tileworld_RuleEditor_setMovableOther__P307964_mk(s); + s.tmp_0 = tileworld_RuleEditor_setMovableOther__P10149_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.m___310354; + s.tmp_0.arg1 = s.m___12539; s.tmp_0.arg2 = -1; s.tmp_0.arg3 = 3; s.pc = 48; return s.tmp_0; @@ -26046,17 +25998,17 @@ switch (step) { r0 = s.retval; { step = 20; continue; } case 19: - s.tmp_0 = tileworld_RuleEditor_setMovableOther__P307964_mk(s); + s.tmp_0 = tileworld_RuleEditor_setMovableOther__P10149_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.m___310354; + s.tmp_0.arg1 = s.m___12539; s.tmp_0.arg2 = -1; s.tmp_0.arg3 = 3; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; - s.tmp_0 = tileworld_RuleEditor_setFixedOther__P307963_mk(s); + s.tmp_0 = tileworld_RuleEditor_setFixedOther__P10148_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.m___310354; + s.tmp_0.arg1 = s.m___12539; s.tmp_0.arg2 = -1; s.tmp_0.arg3 = 0; s.pc = 50; return s.tmp_0; @@ -26065,21 +26017,21 @@ switch (step) { case 20: { step = 34; continue; } case 21: - r0 = (s.val___310383 == 2); + r0 = (s.val___12568 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - s.tmp_1 = tileworld_RuleEditor_setFixedOther__P307963_mk(s); + s.tmp_1 = tileworld_RuleEditor_setFixedOther__P10148_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.m___310354; + s.tmp_1.arg1 = s.m___12539; s.tmp_1.arg2 = 1; s.tmp_1.arg3 = 2; s.pc = 51; return s.tmp_1; case 51: r0 = s.retval; - s.tmp_0 = tileworld_RuleEditor_setMovableOther__P307964_mk(s); + s.tmp_0 = tileworld_RuleEditor_setMovableOther__P10149_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.m___310354; + s.tmp_0.arg1 = s.m___12539; s.tmp_0.arg2 = 1; s.tmp_0.arg3 = 2; s.pc = 52; return s.tmp_0; @@ -26087,7 +26039,7 @@ switch (step) { r0 = s.retval; { step = 33; continue; } case 22: - s.tmp_1 = r0 = s.m___310354; + s.tmp_1 = r0 = s.m___12539; r0 = s.arg0.fields["p"]; s.tmp_4 = r0; r0 = s.tmp_4.fields["fixedImages"]; @@ -26098,10 +26050,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - s.cnt___310433 = (0); - s.i___310434 = (0); + s.cnt___12618 = (0); + s.i___12619 = (0); case 23: - s.tmp_1 = r0 = s.i___310434; + s.tmp_1 = r0 = s.i___12619; r0 = s.arg0.fields["p"]; s.tmp_4 = r0; r0 = s.tmp_4.fields["fixedImages"]; @@ -26114,15 +26066,15 @@ switch (step) { if (!r0) { step = 28; continue; } r0 = s.arg0.fields["dirMap"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.getPixel(s.tmp_7, 6, s.i___310434); + r0 = pxsim_ImageMethods.getPixel(s.tmp_7, 6, s.i___12619); s.tmp_6 = r0; r0 = (s.tmp_6 == 3); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 26; continue; } - r0 = (s.cnt___310433 + 1); - s.cnt___310433 = (r0); - r0 = (s.cnt___310433 == 2); + r0 = (s.cnt___12618 + 1); + s.cnt___12618 = (r0); + r0 = (s.cnt___12618 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } @@ -26131,24 +26083,24 @@ switch (step) { case 25: case 26: case 27: - r0 = (s.i___310434 + 1); - s.i___310434 = (r0); + r0 = (s.i___12619 + 1); + s.i___12619 = (r0); { step = 23; continue; } case 28: - r0 = (s.cnt___310433 == 2); + r0 = (s.cnt___12618 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - s.tmp_1 = tileworld_RuleEditor_getWhenDo__P307962_mk(s); + s.tmp_1 = tileworld_RuleEditor_getWhenDo__P10147_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = false; s.pc = 54; return s.tmp_2; case 54: r0 = s.retval; s.tmp_1.arg1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = false; s.pc = 55; return s.tmp_4; @@ -26160,17 +26112,17 @@ switch (step) { s.pc = 53; return s.tmp_1; case 53: r0 = s.retval; - s.whenDo___310457 = (r0); - s.tmp_0 = tileworld_RuleEditor_setAttr__P307965_mk(s); + s.whenDo___12642 = (r0); + s.tmp_0 = tileworld_RuleEditor_setAttr__P10150_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.i___310434; - s.tmp_1 = tileworld_Project_getAttr__P303150_mk(s); + s.tmp_0.arg1 = s.i___12619; + s.tmp_1 = tileworld_Project_getAttr__P4998_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["rule"]; s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.whenDo___310457; - s.tmp_1.arg3 = s.m___310354; + s.tmp_1.arg2 = s.whenDo___12642; + s.tmp_1.arg3 = s.m___12539; s.pc = 57; return s.tmp_1; case 57: r0 = s.retval; @@ -26184,10 +26136,10 @@ switch (step) { case 32: case 33: case 34: - s.tmp_0 = tileworld_RuleEditor_setAttr__P307965_mk(s); + s.tmp_0 = tileworld_RuleEditor_setAttr__P10150_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.m___310354; - s.tmp_0.arg2 = s.val___310383; + s.tmp_0.arg1 = s.m___12539; + s.tmp_0.arg2 = s.val___12568; s.pc = 58; return s.tmp_0; case 58: r0 = s.retval; @@ -26198,13 +26150,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_attrUpdate__P307961.info = {"start":26228,"length":2071,"line":622,"column":8,"endLine":666,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrUpdate","argumentNames":["this"]} -tileworld_RuleEditor_attrUpdate__P307961.info = {"start":26228,"length":2071,"line":622,"column":8,"endLine":666,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrUpdate","argumentNames":["this"]} +tileworld_RuleEditor_attrUpdate__P10146.info = {"start":26211,"length":2071,"line":622,"column":8,"endLine":666,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrUpdate","argumentNames":["this"]} +tileworld_RuleEditor_attrUpdate__P10146.info = {"start":26211,"length":2071,"line":622,"column":8,"endLine":666,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrUpdate","argumentNames":["this"]} -function tileworld_RuleEditor_attrUpdate__P307961_mk(s) { +function tileworld_RuleEditor_attrUpdate__P10146_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_attrUpdate__P307961, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_attrUpdate__P10146, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26221,13 +26173,13 @@ function tileworld_RuleEditor_attrUpdate__P307961_mk(s) { tmp_12: undefined, tmp_13: undefined, tmp_14: undefined, - a___310321: undefined, - i___310330: undefined, - m___310354: undefined, - val___310383: undefined, - cnt___310433: undefined, - i___310434: undefined, - whenDo___310457: undefined, + a___12506: undefined, + i___12515: undefined, + m___12539: undefined, + val___12568: undefined, + cnt___12618: undefined, + i___12619: undefined, + whenDo___12642: undefined, arg0: undefined, } } @@ -26235,7 +26187,7 @@ function tileworld_RuleEditor_attrUpdate__P307961_mk(s) { -function tileworld_RuleEditor_setMovableOther__P307964(s) { +function tileworld_RuleEditor_setMovableOther__P10149(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26245,8 +26197,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.whenDo___310563 = undefined; - s.o___310571 = undefined; + s.whenDo___12748 = undefined; + s.o___12756 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26255,17 +26207,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleEditor_getWhenDo__P307962_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleEditor_getWhenDo__P10147_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = false; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_3 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = false; s.pc = 11; return s.tmp_3; @@ -26277,16 +26229,16 @@ switch (step) { s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.whenDo___310563 = (r0); + s.whenDo___12748 = (r0); r0 = s.arg0.fields["p"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["fixedImages"]; s.tmp_0 = r0; r0 = pxsim_Array__length(s.tmp_0); - s.o___310571 = (r0); + s.o___12756 = (r0); case 1: - s.tmp_1 = r0 = s.o___310571; - s.tmp_4 = tileworld_Project_all__P303128_mk(s); + s.tmp_1 = r0 = s.o___12756; + s.tmp_4 = tileworld_Project_all__P4976_mk(s); r0 = s.arg0.fields["p"]; s.tmp_4.arg0 = r0; s.pc = 12; return s.tmp_4; @@ -26299,7 +26251,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - r0 = (s.o___310571 != s.arg1); + r0 = (s.o___12756 != s.arg1); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 6; continue; } @@ -26310,13 +26262,13 @@ switch (step) { r0 = s.tmp_6; { step = 3; continue; } case 2: - s.tmp_8 = tileworld_Project_getAttr__P303150_mk(s); + s.tmp_8 = tileworld_Project_getAttr__P4998_mk(s); r0 = s.arg0.fields["p"]; s.tmp_8.arg0 = r0; r0 = s.arg0.fields["rule"]; s.tmp_8.arg1 = r0; - s.tmp_8.arg2 = s.whenDo___310563; - s.tmp_8.arg3 = s.o___310571; + s.tmp_8.arg2 = s.whenDo___12748; + s.tmp_8.arg3 = s.o___12756; s.pc = 13; return s.tmp_8; case 13: r0 = s.retval; @@ -26327,9 +26279,9 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 4; continue; } - s.tmp_10 = tileworld_RuleEditor_setAttr__P307965_mk(s); + s.tmp_10 = tileworld_RuleEditor_setAttr__P10150_mk(s); s.tmp_10.arg0 = s.arg0; - s.tmp_10.arg1 = s.o___310571; + s.tmp_10.arg1 = s.o___12756; s.tmp_10.arg2 = s.arg3; s.pc = 14; return s.tmp_10; case 14: @@ -26338,21 +26290,21 @@ switch (step) { case 5: case 6: case 7: - r0 = (s.o___310571 + 1); - s.o___310571 = (r0); + r0 = (s.o___12756 + 1); + s.o___12756 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_setMovableOther__P307964.info = {"start":29197,"length":426,"line":689,"column":8,"endLine":697,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setMovableOther","argumentNames":["this","m","src","val"]} -tileworld_RuleEditor_setMovableOther__P307964.info = {"start":29197,"length":426,"line":689,"column":8,"endLine":697,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setMovableOther","argumentNames":["this","m","src","val"]} +tileworld_RuleEditor_setMovableOther__P10149.info = {"start":29180,"length":426,"line":689,"column":8,"endLine":697,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setMovableOther","argumentNames":["this","m","src","val"]} +tileworld_RuleEditor_setMovableOther__P10149.info = {"start":29180,"length":426,"line":689,"column":8,"endLine":697,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setMovableOther","argumentNames":["this","m","src","val"]} -function tileworld_RuleEditor_setMovableOther__P307964_mk(s) { +function tileworld_RuleEditor_setMovableOther__P10149_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_setMovableOther__P307964, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_setMovableOther__P10149, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26365,8 +26317,8 @@ function tileworld_RuleEditor_setMovableOther__P307964_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - whenDo___310563: undefined, - o___310571: undefined, + whenDo___12748: undefined, + o___12756: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26377,7 +26329,7 @@ function tileworld_RuleEditor_setMovableOther__P307964_mk(s) { -function tileworld_RuleEditor_setFixedOther__P307963(s) { +function tileworld_RuleEditor_setFixedOther__P10148(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26387,8 +26339,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.whenDo___310520 = undefined; - s.o___310528 = undefined; + s.whenDo___12705 = undefined; + s.o___12713 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26397,17 +26349,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleEditor_getWhenDo__P307962_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleEditor_getWhenDo__P10147_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = false; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_3 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = false; s.pc = 11; return s.tmp_3; @@ -26419,10 +26371,10 @@ switch (step) { s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.whenDo___310520 = (r0); - s.o___310528 = (0); + s.whenDo___12705 = (r0); + s.o___12713 = (0); case 1: - s.tmp_1 = r0 = s.o___310528; + s.tmp_1 = r0 = s.o___12713; r0 = s.arg0.fields["p"]; s.tmp_4 = r0; r0 = s.tmp_4.fields["fixedImages"]; @@ -26433,7 +26385,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - r0 = (s.o___310528 != s.arg1); + r0 = (s.o___12713 != s.arg1); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 6; continue; } @@ -26444,13 +26396,13 @@ switch (step) { r0 = s.tmp_6; { step = 3; continue; } case 2: - s.tmp_8 = tileworld_Project_getAttr__P303150_mk(s); + s.tmp_8 = tileworld_Project_getAttr__P4998_mk(s); r0 = s.arg0.fields["p"]; s.tmp_8.arg0 = r0; r0 = s.arg0.fields["rule"]; s.tmp_8.arg1 = r0; - s.tmp_8.arg2 = s.whenDo___310520; - s.tmp_8.arg3 = s.o___310528; + s.tmp_8.arg2 = s.whenDo___12705; + s.tmp_8.arg3 = s.o___12713; s.pc = 12; return s.tmp_8; case 12: r0 = s.retval; @@ -26461,9 +26413,9 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 4; continue; } - s.tmp_10 = tileworld_RuleEditor_setAttr__P307965_mk(s); + s.tmp_10 = tileworld_RuleEditor_setAttr__P10150_mk(s); s.tmp_10.arg0 = s.arg0; - s.tmp_10.arg1 = s.o___310528; + s.tmp_10.arg1 = s.o___12713; s.tmp_10.arg2 = s.arg3; s.pc = 13; return s.tmp_10; case 13: @@ -26472,21 +26424,21 @@ switch (step) { case 5: case 6: case 7: - r0 = (s.o___310528 + 1); - s.o___310528 = (r0); + r0 = (s.o___12713 + 1); + s.o___12713 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_setFixedOther__P307963.info = {"start":28785,"length":403,"line":680,"column":8,"endLine":688,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setFixedOther","argumentNames":["this","m","src","val"]} -tileworld_RuleEditor_setFixedOther__P307963.info = {"start":28785,"length":403,"line":680,"column":8,"endLine":688,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setFixedOther","argumentNames":["this","m","src","val"]} +tileworld_RuleEditor_setFixedOther__P10148.info = {"start":28768,"length":403,"line":680,"column":8,"endLine":688,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setFixedOther","argumentNames":["this","m","src","val"]} +tileworld_RuleEditor_setFixedOther__P10148.info = {"start":28768,"length":403,"line":680,"column":8,"endLine":688,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setFixedOther","argumentNames":["this","m","src","val"]} -function tileworld_RuleEditor_setFixedOther__P307963_mk(s) { +function tileworld_RuleEditor_setFixedOther__P10148_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_setFixedOther__P307963, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_setFixedOther__P10148, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26499,8 +26451,8 @@ function tileworld_RuleEditor_setFixedOther__P307963_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - whenDo___310520: undefined, - o___310528: undefined, + whenDo___12705: undefined, + o___12713: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26511,7 +26463,7 @@ function tileworld_RuleEditor_setFixedOther__P307963_mk(s) { -function tileworld_RuleEditor_selectAttr__P307960(s) { +function tileworld_RuleEditor_selectAttr__P10145(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26527,19 +26479,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); r0 = (s.arg0).fields["attrSelected"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_selectAttr__P307960.info = {"start":26142,"length":76,"line":618,"column":8,"endLine":620,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"selectAttr","argumentNames":["this","a"]} -tileworld_RuleEditor_selectAttr__P307960.info = {"start":26142,"length":76,"line":618,"column":8,"endLine":620,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"selectAttr","argumentNames":["this","a"]} +tileworld_RuleEditor_selectAttr__P10145.info = {"start":26125,"length":76,"line":618,"column":8,"endLine":620,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"selectAttr","argumentNames":["this","a"]} +tileworld_RuleEditor_selectAttr__P10145.info = {"start":26125,"length":76,"line":618,"column":8,"endLine":620,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"selectAttr","argumentNames":["this","a"]} -function tileworld_RuleEditor_selectAttr__P307960_mk(s) { +function tileworld_RuleEditor_selectAttr__P10145_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_selectAttr__P307960, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_selectAttr__P10145, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26549,7 +26501,7 @@ function tileworld_RuleEditor_selectAttr__P307960_mk(s) { -function tileworld_RuleEditor_setAttr__P307965(s) { +function tileworld_RuleEditor_setAttr__P10150(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26559,7 +26511,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.whenDo___310609 = undefined; + s.whenDo___12794 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26567,17 +26519,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleEditor_getWhenDo__P307962_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleEditor_getWhenDo__P10147_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = false; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_3 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = false; s.pc = 3; return s.tmp_3; @@ -26589,13 +26541,13 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.whenDo___310609 = (r0); - s.tmp_0 = tileworld_Project_setAttr__P303151_mk(s); + s.whenDo___12794 = (r0); + s.tmp_0 = tileworld_Project_setAttr__P4999_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.whenDo___310609; + s.tmp_0.arg2 = s.whenDo___12794; s.tmp_0.arg3 = s.arg1; s.tmp_0.arg4 = s.arg2; s.pc = 4; return s.tmp_0; @@ -26605,19 +26557,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_setAttr__P307965.info = {"start":29633,"length":192,"line":699,"column":8,"endLine":702,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setAttr","argumentNames":["this","m","val"]} -tileworld_RuleEditor_setAttr__P307965.info = {"start":29633,"length":192,"line":699,"column":8,"endLine":702,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setAttr","argumentNames":["this","m","val"]} +tileworld_RuleEditor_setAttr__P10150.info = {"start":29616,"length":192,"line":699,"column":8,"endLine":702,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setAttr","argumentNames":["this","m","val"]} +tileworld_RuleEditor_setAttr__P10150.info = {"start":29616,"length":192,"line":699,"column":8,"endLine":702,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setAttr","argumentNames":["this","m","val"]} -function tileworld_RuleEditor_setAttr__P307965_mk(s) { +function tileworld_RuleEditor_setAttr__P10150_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_setAttr__P307965, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_setAttr__P10150, 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, - whenDo___310609: undefined, + whenDo___12794: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26627,7 +26579,7 @@ function tileworld_RuleEditor_setAttr__P307965_mk(s) { -function tileworld_Project_setKinds__P303143(s) { +function tileworld_Project_setKinds__P4991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26644,8 +26596,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - s.tmp_1 = tileworld_Project_getRule__P303138_mk(s); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + s.tmp_1 = tileworld_Project_getRule__P4986_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.pc = 1; return s.tmp_1; @@ -26657,13 +26609,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_setKinds__P303143.info = {"start":4293,"length":99,"line":144,"column":8,"endLine":146,"endColumn":9,"fileName":"project.ts","functionName":"setKinds","argumentNames":["this","rid","kind"]} -tileworld_Project_setKinds__P303143.info = {"start":4293,"length":99,"line":144,"column":8,"endLine":146,"endColumn":9,"fileName":"project.ts","functionName":"setKinds","argumentNames":["this","rid","kind"]} +tileworld_Project_setKinds__P4991.info = {"start":4293,"length":99,"line":144,"column":8,"endLine":146,"endColumn":9,"fileName":"project.ts","functionName":"setKinds","argumentNames":["this","rid","kind"]} +tileworld_Project_setKinds__P4991.info = {"start":4293,"length":99,"line":144,"column":8,"endLine":146,"endColumn":9,"fileName":"project.ts","functionName":"setKinds","argumentNames":["this","rid","kind"]} -function tileworld_Project_setKinds__P303143_mk(s) { +function tileworld_Project_setKinds__P4991_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_setKinds__P303143, depth: s.depth + 1, + parent: s, fn: tileworld_Project_setKinds__P4991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26676,7 +26628,7 @@ function tileworld_Project_setKinds__P303143_mk(s) { -function tileworld_Project_removeRule__P303134(s) { +function tileworld_Project_removeRule__P4982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26686,31 +26638,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.r___303310 = undefined; + s.r___5158 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P303314); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P5162); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFind__P297632_mk(s); + s.tmp_1 = helpers_arrayFind__P61_mk(s); r0 = s.arg0.fields["rules"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.r___303310 = (r0); - r0 = pxsim_numops_toBoolDecr(s.r___303310); + s.r___5158 = (r0); + r0 = pxsim_numops_toBoolDecr(s.r___5158); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["rules"]; s.tmp_0 = r0; - r0 = pxsim_Array_.removeElement(s.tmp_0, s.r___303310); - s.tmp_0 = settings_remove__P298079_mk(s); + r0 = pxsim_Array_.removeElement(s.tmp_0, s.r___5158); + s.tmp_0 = settings_remove__P587_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_4 = r0; if ((s.tmp_4) && (s.tmp_4).vtable) { @@ -26755,13 +26707,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_removeRule__P303134.info = {"start":2498,"length":247,"line":88,"column":8,"endLine":94,"endColumn":9,"fileName":"project.ts","functionName":"removeRule","argumentNames":["this","rid"]} -tileworld_Project_removeRule__P303134.info = {"start":2498,"length":247,"line":88,"column":8,"endLine":94,"endColumn":9,"fileName":"project.ts","functionName":"removeRule","argumentNames":["this","rid"]} +tileworld_Project_removeRule__P4982.info = {"start":2498,"length":247,"line":88,"column":8,"endLine":94,"endColumn":9,"fileName":"project.ts","functionName":"removeRule","argumentNames":["this","rid"]} +tileworld_Project_removeRule__P4982.info = {"start":2498,"length":247,"line":88,"column":8,"endLine":94,"endColumn":9,"fileName":"project.ts","functionName":"removeRule","argumentNames":["this","rid"]} -function tileworld_Project_removeRule__P303134_mk(s) { +function tileworld_Project_removeRule__P4982_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_removeRule__P303134, depth: s.depth + 1, + parent: s, fn: tileworld_Project_removeRule__P4982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26770,7 +26722,7 @@ function tileworld_Project_removeRule__P303134_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___303310: undefined, + r___5158: undefined, arg0: undefined, arg1: undefined, } } @@ -26779,7 +26731,7 @@ function tileworld_Project_removeRule__P303134_mk(s) { -function inline__P303314(s) { +function inline__P5162(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26799,13 +26751,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P303314.info = {"start":2567,"length":16,"line":89,"column":36,"endLine":89,"endColumn":52,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -inline__P303314.info = {"start":2567,"length":16,"line":89,"column":36,"endLine":89,"endColumn":52,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P5162.info = {"start":2567,"length":16,"line":89,"column":36,"endLine":89,"endColumn":52,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P5162.info = {"start":2567,"length":16,"line":89,"column":36,"endLine":89,"endColumn":52,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -function inline__P303314_mk(s) { +function inline__P5162_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P303314, depth: s.depth + 1, + parent: s, fn: inline__P5162, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26815,7 +26767,7 @@ function inline__P303314_mk(s) { -function tileworld_Project_getKinds__P303142(s) { +function tileworld_Project_getKinds__P4990(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26831,8 +26783,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_getRule__P303138_mk(s); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_getRule__P4986_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.pc = 1; return s.tmp_0; @@ -26842,13 +26794,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_getKinds__P303142.info = {"start":4190,"length":93,"line":140,"column":8,"endLine":142,"endColumn":9,"fileName":"project.ts","functionName":"getKinds","argumentNames":["this","rid"]} -tileworld_Project_getKinds__P303142.info = {"start":4190,"length":93,"line":140,"column":8,"endLine":142,"endColumn":9,"fileName":"project.ts","functionName":"getKinds","argumentNames":["this","rid"]} +tileworld_Project_getKinds__P4990.info = {"start":4190,"length":93,"line":140,"column":8,"endLine":142,"endColumn":9,"fileName":"project.ts","functionName":"getKinds","argumentNames":["this","rid"]} +tileworld_Project_getKinds__P4990.info = {"start":4190,"length":93,"line":140,"column":8,"endLine":142,"endColumn":9,"fileName":"project.ts","functionName":"getKinds","argumentNames":["this","rid"]} -function tileworld_Project_getKinds__P303142_mk(s) { +function tileworld_Project_getKinds__P4990_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getKinds__P303142, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getKinds__P4990, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26859,7 +26811,7 @@ function tileworld_Project_getKinds__P303142_mk(s) { -function Sprite_say__P298261(s) { +function Sprite_say__P769(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26869,24 +26821,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.textToDisplay___316373 = undefined; - s.SAYKEY___316382 = undefined; - s.key___316384 = undefined; - s.pixelsOffset___316406 = undefined; - s.holdTextSeconds___316407 = undefined; - s.bubblePadding___316408 = undefined; - s.maxTextWidth___316409 = undefined; - s.font___316410 = undefined; - s.startX___316413 = undefined; - s.startY___316414 = undefined; - s.bubbleWidth___316415 = undefined; - s.maxOffset___316423 = undefined; - s.bubbleOffset___316431 = undefined; - s.needsRedraw___316438 = undefined; - s.speed___316439 = undefined; - s.currentScene___316440 = undefined; - s.imgh___316487 = undefined; - s.sayImg___316509 = undefined; + s.textToDisplay___18556 = undefined; + s.SAYKEY___18565 = undefined; + s.key___18567 = undefined; + s.pixelsOffset___18589 = undefined; + s.holdTextSeconds___18590 = undefined; + s.bubblePadding___18591 = undefined; + s.maxTextWidth___18592 = undefined; + s.font___18593 = undefined; + s.startX___18596 = undefined; + s.startY___18597 = undefined; + s.bubbleWidth___18598 = undefined; + s.maxOffset___18606 = undefined; + s.bubbleOffset___18614 = undefined; + s.needsRedraw___18621 = undefined; + s.speed___18622 = undefined; + s.currentScene___18623 = undefined; + s.imgh___18670 = undefined; + s.sayImg___18692 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26896,7 +26848,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg2); @@ -26912,7 +26864,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = Sprite_destroy__P298274_mk(s); + s.tmp_1 = Sprite_destroy__P782_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -26926,9 +26878,9 @@ switch (step) { { step = 27; continue; } case 3: case 4: - s.tmp_0 = helpers_arrayJoin__P297622_mk(s); - s.tmp_1 = helpers_stringSplit__P297640_mk(s); - s.tmp_2 = console_inspect__P297812_mk(s); + s.tmp_0 = helpers_arrayJoin__P51_mk(s); + s.tmp_1 = helpers_stringSplit__P69_mk(s); + s.tmp_2 = console_inspect__P241_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = 20; s.pc = 31; return s.tmp_2; @@ -26945,21 +26897,21 @@ switch (step) { s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.textToDisplay___316373 = (r0); - s.SAYKEY___316382 = ("__saykey"); + s.textToDisplay___18556 = (r0); + s.SAYKEY___18565 = ("__saykey"); r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "text", s.textToDisplay___316373); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "text", s.textToDisplay___18556); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "textColor", s.arg3); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "textBoxColor", s.arg4); - s.tmp_1 = JSON_stringify__P297829_mk(s); + s.tmp_1 = JSON_stringify__P258_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = null; s.tmp_1.arg2 = 0; s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; - s.key___316384 = (r0); + s.key___18567 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.arg2); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); @@ -26978,16 +26930,16 @@ switch (step) { r0 = s.tmp_2; { step = 8; continue; } case 7: - s.tmp_5 = Sprite_data__P298241_mk(s); + s.tmp_5 = Sprite_data__P749_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_5.arg0 = r0; s.pc = 33; return s.tmp_5; case 33: r0 = s.retval; s.tmp_4 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_4, s.SAYKEY___316382); + r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_4, s.SAYKEY___18565); s.tmp_3 = r0; - r0 = (s.tmp_3 == s.key___316384); + r0 = (s.tmp_3 == s.key___18567); case 8: // jmp value (already in r0) s.tmp_6 = r0; @@ -26997,28 +26949,28 @@ switch (step) { case 9: case 10: r0 = pxsim_pxtrt.mklocRef(); - s.pixelsOffset___316406 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pixelsOffset___316406, 0); + s.pixelsOffset___18589 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pixelsOffset___18589, 0); r0 = pxsim_pxtrt.mklocRef(); - s.holdTextSeconds___316407 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.holdTextSeconds___316407, 1.5); - s.bubblePadding___316408 = (4); - s.maxTextWidth___316409 = (100); - s.tmp_0 = image_getFontForText__P298002_mk(s); - s.tmp_0.arg0 = s.textToDisplay___316373; + s.holdTextSeconds___18590 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.holdTextSeconds___18590, 1.5); + s.bubblePadding___18591 = (4); + s.maxTextWidth___18592 = (100); + s.tmp_0 = image_getFontForText__P500_mk(s); + s.tmp_0.arg0 = s.textToDisplay___18556; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.font___316410 = (r0); - s.startX___316413 = (2); - s.startY___316414 = (2); + s.font___18593 = (r0); + s.startX___18596 = (2); + s.startY___18597 = (2); r0 = pxsim_pxtrt.mklocRef(); - s.bubbleWidth___316415 = (r0); - s.tmp_0 = r0 = s.bubbleWidth___316415; - r0 = pxsim_String_.length(s.textToDisplay___316373); + s.bubbleWidth___18598 = (r0); + s.tmp_0 = r0 = s.bubbleWidth___18598; + r0 = pxsim_String_.length(s.textToDisplay___18556); s.tmp_3 = r0; s.tmp_5 = if_charWidth_1_mk(s); - s.tmp_5.arg0 = s.font___316410; + s.tmp_5.arg0 = s.font___18593; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charWidth"); } else { @@ -27032,16 +26984,16 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.bubblePadding___316408); + r0 = (s.tmp_2 + s.bubblePadding___18591); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.maxOffset___316423 = (r0); - s.tmp_0 = r0 = s.maxOffset___316423; - r0 = pxsim_String_.length(s.textToDisplay___316373); + s.maxOffset___18606 = (r0); + s.tmp_0 = r0 = s.maxOffset___18606; + r0 = pxsim_String_.length(s.textToDisplay___18556); s.tmp_3 = r0; s.tmp_5 = if_charWidth_1_mk(s); - s.tmp_5.arg0 = s.font___316410; + s.tmp_5.arg0 = s.font___18593; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charWidth"); } else { @@ -27055,7 +27007,7 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.maxTextWidth___316409); + r0 = (s.tmp_2 - s.maxTextWidth___18592); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = s.arg0.fields["_hitbox"]; @@ -27064,18 +27016,18 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.bubbleOffset___316431 = (r0); + s.bubbleOffset___18614 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.needsRedraw___316438 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.needsRedraw___316438, true); + s.needsRedraw___18621 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.needsRedraw___18621, true); r0 = pxsim_pxtrt.mklocRef(); - s.speed___316439 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.speed___316439, 45); - s.tmp_0 = game_currentScene__P298414_mk(s); + s.speed___18622 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.speed___18622, 45); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.currentScene___316440 = (r0); + s.currentScene___18623 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -27083,7 +27035,7 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 11: - r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___316423); + r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___18606); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); case 12: @@ -27091,10 +27043,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 13; continue; } - s.tmp_3 = r0 = s.speed___316439; - r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___316423); + s.tmp_3 = r0 = s.speed___18622; + r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___18606); s.tmp_6 = r0; - r0 = (2 * s.maxTextWidth___316409); + r0 = (2 * s.maxTextWidth___18592); s.tmp_7 = r0; r0 = (s.tmp_6 + s.tmp_7); s.tmp_5 = r0; @@ -27105,9 +27057,9 @@ switch (step) { r0 = (s.tmp_5 / s.tmp_8); s.tmp_4 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_3, s.tmp_4); - s.tmp_0 = r0 = s.speed___316439; - s.tmp_2 = Math_max__P297646_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.speed___316439); + s.tmp_0 = r0 = s.speed___18622; + s.tmp_2 = Math_max__P75_mk(s); + r0 = pxsim_pxtrt_ldlocRef(s.speed___18622); s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 45; s.pc = 38; return s.tmp_2; @@ -27115,16 +27067,16 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - s.tmp_0 = r0 = s.holdTextSeconds___316407; - s.tmp_2 = r0 = s.maxTextWidth___316409; - r0 = pxsim_pxtrt_ldlocRef(s.speed___316439); + s.tmp_0 = r0 = s.holdTextSeconds___18590; + s.tmp_2 = r0 = s.maxTextWidth___18592; + r0 = pxsim_pxtrt_ldlocRef(s.speed___18622); s.tmp_3 = r0; r0 = (s.tmp_2 / s.tmp_3); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - s.tmp_0 = r0 = s.holdTextSeconds___316407; - s.tmp_2 = Math_min__P297647_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.holdTextSeconds___316407); + s.tmp_0 = r0 = s.holdTextSeconds___18590; + s.tmp_2 = Math_min__P76_mk(s); + r0 = pxsim_pxtrt_ldlocRef(s.holdTextSeconds___18590); s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1.5; s.pc = 39; return s.tmp_2; @@ -27141,31 +27093,31 @@ switch (step) { s.tmp_1 = r0 = s.arg2; r0 = pxsim_pxtrt_ldlocRef(s.arg2); s.tmp_3 = r0; - r0 = s.currentScene___316440.fields["_millis"]; + r0 = s.currentScene___18623.fields["_millis"]; s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_1, s.tmp_2); case 15: case 16: - r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___316415); + r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___18598); s.tmp_1 = r0; - r0 = (s.maxTextWidth___316409 + s.bubblePadding___316408); + r0 = (s.maxTextWidth___18592 + s.bubblePadding___18591); 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 = 17; continue; } - s.tmp_3 = r0 = s.bubbleWidth___316415; - r0 = (s.maxTextWidth___316409 + s.bubblePadding___316408); + s.tmp_3 = r0 = s.bubbleWidth___18598; + r0 = (s.maxTextWidth___18592 + s.bubblePadding___18591); s.tmp_4 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_3, s.tmp_4); { step = 18; continue; } case 17: - r0 = pxsim_pxtrt_stlocRef(s.maxOffset___316423, -1); + r0 = pxsim_pxtrt_stlocRef(s.maxOffset___18606, -1); case 18: s.tmp_1 = if_charHeight_1_mk(s); - s.tmp_1.arg0 = s.font___316410; + s.tmp_1.arg0 = s.font___18593; if (!s.tmp_1.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "charHeight"); } else { @@ -27177,8 +27129,8 @@ switch (step) { case 40: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 + s.bubblePadding___316408); - s.imgh___316487 = (r0); + r0 = (s.tmp_0 + s.bubblePadding___18591); + s.imgh___18670 = (r0); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -27196,7 +27148,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___316415); + r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___18598); s.tmp_6 = r0; r0 = (s.tmp_3 != s.tmp_6); case 20: @@ -27213,39 +27165,39 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_ImageMethods.height(s.tmp_9); s.tmp_8 = r0; - r0 = (s.tmp_8 != s.imgh___316487); + r0 = (s.tmp_8 != s.imgh___18670); case 22: // jmp value (already in r0) s.tmp_11 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_11); if (!r0) { step = 25; continue; } - r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___316415); + r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___18598); s.tmp_12 = r0; - r0 = pxsim.image.create(s.tmp_12, s.imgh___316487); - s.sayImg___316509 = (r0); + r0 = pxsim.image.create(s.tmp_12, s.imgh___18670); + s.sayImg___18692 = (r0); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_1 = Sprite_setImage__P298245_mk(s); + s.tmp_1 = Sprite_setImage__P753_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.sayImg___316509; + s.tmp_1.arg1 = s.sayImg___18692; s.pc = 41; return s.tmp_1; case 41: r0 = s.retval; { step = 24; continue; } case 23: s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P298222_mk(s); - s.tmp_2.arg0 = s.sayImg___316509; + s.tmp_2 = sprites_create__P730_mk(s); + s.tmp_2.arg0 = s.sayImg___18692; s.tmp_2.arg1 = -1; s.pc = 42; return s.tmp_2; case 42: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["sayBubbleSprite"] = (s.tmp_1); - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + s.tmp_0 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 1; @@ -27253,7 +27205,7 @@ switch (step) { s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + s.tmp_0 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 512; @@ -27275,39 +27227,39 @@ switch (step) { case 24: case 25: case 26: - s.tmp_1 = Sprite_data__P298241_mk(s); + s.tmp_1 = Sprite_data__P749_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; s.pc = 45; return s.tmp_1; case 45: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_0, s.SAYKEY___316382, s.key___316384); - r0 = pxsim_pxtcore_mkAction(18, inline__P316551); + r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_0, s.SAYKEY___18565, s.key___18567); + r0 = pxsim_pxtcore_mkAction(18, inline__P18734); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg2); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.currentScene___316440); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.currentScene___18623); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.holdTextSeconds___316407); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.pixelsOffset___316406); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.maxTextWidth___316409); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.speed___316439); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.needsRedraw___316438); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.maxOffset___316423); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.bubbleOffset___316431); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.font___316410); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.bubblePadding___316408); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.holdTextSeconds___18590); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.pixelsOffset___18589); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.maxTextWidth___18592); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.speed___18622); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.needsRedraw___18621); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.maxOffset___18606); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.bubbleOffset___18614); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.font___18593); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.bubblePadding___18591); r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.arg4); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 13, s.textToDisplay___316373); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 14, s.startX___316413); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 15, s.startY___316414); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 13, s.textToDisplay___18556); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 14, s.startX___18596); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 15, s.startY___18597); r0 = pxsim_pxtrt_stclo(s.tmp_0, 16, s.arg3); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 17, s.bubbleWidth___316415); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 17, s.bubbleWidth___18598); r0 = (s.arg0).fields["updateSay"] = (s.tmp_0); s.tmp_0 = if_updateSay_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - r0 = s.currentScene___316440.fields["camera"]; + r0 = s.currentScene___18623.fields["camera"]; s.tmp_0.arg2 = r0; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "updateSay"), 3); @@ -27325,13 +27277,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_say__P298261.info = {"start":12138,"length":6791,"line":434,"column":4,"endLine":584,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"say","argumentNames":["this","text","timeOnScreen","textColor","textBoxColor"]} -Sprite_say__P298261.info = {"start":12138,"length":6791,"line":434,"column":4,"endLine":584,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"say","argumentNames":["this","text","timeOnScreen","textColor","textBoxColor"]} +Sprite_say__P769.info = {"start":12138,"length":6791,"line":434,"column":4,"endLine":584,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"say","argumentNames":["this","text","timeOnScreen","textColor","textBoxColor"]} +Sprite_say__P769.info = {"start":12138,"length":6791,"line":434,"column":4,"endLine":584,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"say","argumentNames":["this","text","timeOnScreen","textColor","textBoxColor"]} -function Sprite_say__P298261_mk(s) { +function Sprite_say__P769_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_say__P298261, depth: s.depth + 1, + parent: s, fn: Sprite_say__P769, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27346,24 +27298,24 @@ function Sprite_say__P298261_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - textToDisplay___316373: undefined, - SAYKEY___316382: undefined, - key___316384: undefined, - pixelsOffset___316406: undefined, - holdTextSeconds___316407: undefined, - bubblePadding___316408: undefined, - maxTextWidth___316409: undefined, - font___316410: undefined, - startX___316413: undefined, - startY___316414: undefined, - bubbleWidth___316415: undefined, - maxOffset___316423: undefined, - bubbleOffset___316431: undefined, - needsRedraw___316438: undefined, - speed___316439: undefined, - currentScene___316440: undefined, - imgh___316487: undefined, - sayImg___316509: undefined, + textToDisplay___18556: undefined, + SAYKEY___18565: undefined, + key___18567: undefined, + pixelsOffset___18589: undefined, + holdTextSeconds___18590: undefined, + bubblePadding___18591: undefined, + maxTextWidth___18592: undefined, + font___18593: undefined, + startX___18596: undefined, + startY___18597: undefined, + bubbleWidth___18598: undefined, + maxOffset___18606: undefined, + bubbleOffset___18614: undefined, + needsRedraw___18621: undefined, + speed___18622: undefined, + currentScene___18623: undefined, + imgh___18670: undefined, + sayImg___18692: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27375,7 +27327,7 @@ function Sprite_say__P298261_mk(s) { -function inline__P316551(s) { +function inline__P18734(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27385,8 +27337,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ox___316565 = undefined; - s.oy___316568 = undefined; + s.ox___18748 = undefined; + s.oy___18751 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27413,7 +27365,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 23; continue; } - s.tmp_9 = Sprite_isOutOfScreen__P298263_mk(s); + s.tmp_9 = Sprite_isOutOfScreen__P771_mk(s); s.tmp_9.arg0 = s.caps[2]; s.tmp_9.arg1 = s.arg1; s.pc = 25; return s.tmp_9; @@ -27427,23 +27379,23 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 9; continue; } r0 = s.arg1.fields["_offsetX"]; - s.ox___316565 = (r0); + s.ox___18748 = (r0); r0 = s.arg1.fields["_offsetY"]; - s.oy___316568 = (r0); - s.tmp_3 = Sprite_left__P298249_mk(s); + s.oy___18751 = (r0); + s.tmp_3 = Sprite_left__P757_mk(s); r0 = s.caps[2].fields["sayBubbleSprite"]; s.tmp_3.arg0 = r0; s.pc = 26; return s.tmp_3; case 26: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___316565); + r0 = (s.tmp_2 - s.ox___18748); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_left__P298250_mk(s); + s.tmp_4 = Sprite_left__P758_mk(s); r0 = s.caps[2].fields["sayBubbleSprite"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; @@ -27452,55 +27404,55 @@ switch (step) { r0 = s.retval; case 3: case 4: - s.tmp_3 = Sprite_right__P298251_mk(s); + s.tmp_3 = Sprite_right__P759_mk(s); r0 = s.caps[2].fields["sayBubbleSprite"]; s.tmp_3.arg0 = r0; s.pc = 28; return s.tmp_3; case 28: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___316565); + r0 = (s.tmp_2 - s.ox___18748); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_4 = r0; r0 = (s.tmp_1 > s.tmp_4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_5 = Sprite_right__P298252_mk(s); + s.tmp_5 = Sprite_right__P760_mk(s); r0 = s.caps[2].fields["sayBubbleSprite"]; s.tmp_5.arg0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_5.arg1 = r0; s.pc = 29; return s.tmp_5; case 29: r0 = s.retval; case 5: case 6: - s.tmp_3 = Sprite_top__P298253_mk(s); + s.tmp_3 = Sprite_top__P761_mk(s); r0 = s.caps[2].fields["sayBubbleSprite"]; s.tmp_3.arg0 = r0; s.pc = 30; return s.tmp_3; case 30: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.oy___316568); + r0 = (s.tmp_2 - s.oy___18751); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_y__P298232_mk(s); + s.tmp_4 = Sprite_y__P740_mk(s); r0 = s.caps[2].fields["sayBubbleSprite"]; s.tmp_4.arg0 = r0; - s.tmp_7 = Sprite_y__P298231_mk(s); + s.tmp_7 = Sprite_y__P739_mk(s); r0 = s.caps[2].fields["sayBubbleSprite"]; s.tmp_7.arg0 = r0; s.pc = 32; return s.tmp_7; case 32: r0 = s.retval; s.tmp_6 = r0; - s.tmp_10 = Sprite_y__P298231_mk(s); + s.tmp_10 = Sprite_y__P739_mk(s); s.tmp_10.arg0 = s.caps[2]; s.pc = 33; return s.tmp_10; case 33: @@ -27528,7 +27480,7 @@ switch (step) { s.tmp_2 = r0 = s.caps[3]; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_4 = r0; - s.tmp_7 = game_eventContext__P298726_mk(s); + s.tmp_7 = game_eventContext__P1234_mk(s); s.pc = 34; return s.tmp_7; case 34: r0 = s.retval; @@ -27604,10 +27556,10 @@ switch (step) { case 16: case 17: case 18: - s.tmp_0 = Sprite_y__P298232_mk(s); + s.tmp_0 = Sprite_y__P740_mk(s); r0 = s.caps[2].fields["sayBubbleSprite"]; s.tmp_0.arg0 = r0; - s.tmp_4 = Sprite_top__P298253_mk(s); + s.tmp_4 = Sprite_top__P761_mk(s); s.tmp_4.arg0 = s.caps[2]; s.pc = 36; return s.tmp_4; case 36: @@ -27639,10 +27591,10 @@ switch (step) { s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = Sprite_x__P298230_mk(s); + s.tmp_0 = Sprite_x__P738_mk(s); r0 = s.caps[2].fields["sayBubbleSprite"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P298229_mk(s); + s.tmp_1 = Sprite_x__P737_mk(s); s.tmp_1.arg0 = s.caps[2]; s.pc = 39; return s.tmp_1; case 39: @@ -27667,7 +27619,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - s.tmp_2 = helpers_imagePrint__P298010_mk(s); + s.tmp_2 = helpers_imagePrint__P508_mk(s); r0 = s.caps[2].fields["sayBubbleSprite"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_image"]; @@ -27683,7 +27635,7 @@ switch (step) { r0 = s.retval; { step = 20; continue; } case 19: - s.tmp_0 = helpers_imagePrint__P298010_mk(s); + s.tmp_0 = helpers_imagePrint__P508_mk(s); r0 = s.caps[2].fields["sayBubbleSprite"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_image"]; @@ -27702,7 +27654,7 @@ switch (step) { case 41: r0 = s.retval; case 20: - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); r0 = s.caps[2].fields["sayBubbleSprite"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_image"]; @@ -27730,7 +27682,7 @@ switch (step) { s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); r0 = s.caps[2].fields["sayBubbleSprite"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_image"]; @@ -27830,7 +27782,7 @@ switch (step) { { step = 24; continue; } case 23: r0 = (s.caps[2]).fields["updateSay"] = (undefined); - s.tmp_0 = Sprite_destroy__P298274_mk(s); + s.tmp_0 = Sprite_destroy__P782_mk(s); r0 = s.caps[2].fields["sayBubbleSprite"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; @@ -27844,13 +27796,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P316551.info = {"start":15108,"length":3767,"line":509,"column":25,"endLine":582,"endColumn":9,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"inline","argumentNames":["dt","camera"]} -inline__P316551.info = {"start":15108,"length":3767,"line":509,"column":25,"endLine":582,"endColumn":9,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"inline","argumentNames":["dt","camera"]} +inline__P18734.info = {"start":15108,"length":3767,"line":509,"column":25,"endLine":582,"endColumn":9,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["dt","camera"]} +inline__P18734.info = {"start":15108,"length":3767,"line":509,"column":25,"endLine":582,"endColumn":9,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["dt","camera"]} -function inline__P316551_mk(s) { +function inline__P18734_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P316551, depth: s.depth + 1, + parent: s, fn: inline__P18734, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27863,8 +27815,8 @@ function inline__P316551_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - ox___316565: undefined, - oy___316568: undefined, + ox___18748: undefined, + oy___18751: undefined, arg0: undefined, arg1: undefined, } } @@ -27873,7 +27825,7 @@ function inline__P316551_mk(s) { -function Sprite_destroy__P298274(s) { +function Sprite_destroy__P782(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27890,7 +27842,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -27908,7 +27860,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__P299280_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P1788_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; @@ -27918,7 +27870,7 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite__destroyCore__P298275_mk(s); + s.tmp_0 = Sprite__destroyCore__P783_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 7; return s.tmp_0; case 7: @@ -27929,13 +27881,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_destroy__P298274.info = {"start":27078,"length":293,"line":819,"column":4,"endLine":828,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} -Sprite_destroy__P298274.info = {"start":27078,"length":293,"line":819,"column":4,"endLine":828,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} +Sprite_destroy__P782.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__P782.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__P298274_mk(s) { +function Sprite_destroy__P782_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P298274, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P782, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27951,7 +27903,7 @@ function Sprite_destroy__P298274_mk(s) { -function effects_ParticleEffect_destroy__P299280(s) { +function effects_ParticleEffect_destroy__P1788(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27969,15 +27921,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C299278_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C1786_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P774_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__P299279_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P1787_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -28009,8 +27961,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__P299330_mk(s); - s.tmp_0.arg0 = globals.dissolve___299335; + s.tmp_0 = effects_ImageEffect_applyTo__P1838_mk(s); + s.tmp_0.arg0 = globals.dissolve___1843; s.tmp_0.arg1 = s.arg1; s.pc = 5; return s.tmp_0; case 5: @@ -28019,13 +27971,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_destroy__P299280.info = {"start":1736,"length":368,"line":41,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"destroy","argumentNames":["this","anchor","duration","particlesPerSecond"]} -effects_ParticleEffect_destroy__P299280.info = {"start":1736,"length":368,"line":41,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"destroy","argumentNames":["this","anchor","duration","particlesPerSecond"]} +effects_ParticleEffect_destroy__P1788.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__P1788.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__P299280_mk(s) { +function effects_ParticleEffect_destroy__P1788_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P299280, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P1788, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28043,7 +27995,7 @@ function effects_ParticleEffect_destroy__P299280_mk(s) { -function inline__P320579(s) { +function inline__P22762(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28053,11 +28005,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.i___320582 = undefined; - s.x___320593 = undefined; - s.y___320599 = undefined; - s.w___320605 = undefined; - s.h___320609 = undefined; + s.i___22765 = undefined; + s.x___22776 = undefined; + s.y___22782 = undefined; + s.w___22788 = undefined; + s.h___22792 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28070,13 +28022,13 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___320582 = (r0); + s.i___22765 = (r0); case 1: - r0 = (s.i___320582 > 0); + r0 = (s.i___22765 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P299003_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P1511_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -28084,8 +28036,8 @@ switch (step) { s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___320593 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P299003_mk(s); + s.x___22776 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P1511_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -28093,57 +28045,57 @@ switch (step) { s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___320599 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P299003_mk(s); + s.y___22782 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P1511_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___320605 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P299003_mk(s); + s.w___22788 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P1511_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___320609 = (r0); - s.tmp_0 = helpers_imageDrawRect__P297989_mk(s); + s.h___22792 = (r0); + s.tmp_0 = helpers_imageDrawRect__P487_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___320593; - s.tmp_0.arg2 = s.y___320599; - s.tmp_0.arg3 = s.w___320605; - s.tmp_0.arg4 = s.h___320609; + s.tmp_0.arg1 = s.x___22776; + s.tmp_0.arg2 = s.y___22782; + s.tmp_0.arg3 = s.w___22788; + s.tmp_0.arg4 = s.h___22792; s.tmp_0.arg5 = 0; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___320582 - 1); - s.i___320582 = (r0); + r0 = (s.i___22765 - 1); + s.i___22765 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P320579.info = {"start":2199,"length":360,"line":60,"column":49,"endLine":69,"endColumn":5,"fileName":"pxt_modules/game---hw/effects.ts","functionName":"inline","argumentNames":["input","r"]} -inline__P320579.info = {"start":2199,"length":360,"line":60,"column":49,"endLine":69,"endColumn":5,"fileName":"pxt_modules/game---hw/effects.ts","functionName":"inline","argumentNames":["input","r"]} +inline__P22762.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__P22762.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__P320579_mk(s) { +function inline__P22762_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P320579, depth: s.depth + 1, + parent: s, fn: inline__P22762, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___320582: undefined, - x___320593: undefined, - y___320599: undefined, - w___320605: undefined, - h___320609: undefined, + i___22765: undefined, + x___22776: undefined, + y___22782: undefined, + w___22788: undefined, + h___22792: undefined, arg0: undefined, arg1: undefined, } } @@ -28152,7 +28104,7 @@ function inline__P320579_mk(s) { -function effects_ImageEffect_applyTo__P299330(s) { +function effects_ImageEffect_applyTo__P1838(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28162,14 +28114,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.clonedImage___320630 = undefined; + s.clonedImage___22813 = 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__C299329_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C1837_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -28195,16 +28147,16 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___320630 = (r0); - s.tmp_0 = effects_ImageEffect_change__P299331_mk(s); + s.clonedImage___22813 = (r0); + s.tmp_0 = effects_ImageEffect_change__P1839_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___320630; + s.tmp_0.arg1 = s.clonedImage___22813; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P298245_mk(s); + s.tmp_0 = Sprite_setImage__P753_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___320630; + s.tmp_0.arg1 = s.clonedImage___22813; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -28213,13 +28165,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_applyTo__P299330.info = {"start":823,"length":218,"line":21,"column":8,"endLine":26,"endColumn":9,"fileName":"pxt_modules/game---hw/effects.ts","functionName":"applyTo","argumentNames":["this","sprite"]} -effects_ImageEffect_applyTo__P299330.info = {"start":823,"length":218,"line":21,"column":8,"endLine":26,"endColumn":9,"fileName":"pxt_modules/game---hw/effects.ts","functionName":"applyTo","argumentNames":["this","sprite"]} +effects_ImageEffect_applyTo__P1838.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__P1838.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__P299330_mk(s) { +function effects_ImageEffect_applyTo__P1838_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P299330, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P1838, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28227,7 +28179,7 @@ function effects_ImageEffect_applyTo__P299330_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___320630: undefined, + clonedImage___22813: undefined, arg0: undefined, arg1: undefined, } } @@ -28236,7 +28188,7 @@ function effects_ImageEffect_applyTo__P299330_mk(s) { -function effects_ImageEffect_change__P299331(s) { +function effects_ImageEffect_change__P1839(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28252,7 +28204,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C299329_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C1837_VT)) failedCast(r0); s.tmp_0 = if_effect_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -28273,13 +28225,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_change__P299331.info = {"start":1151,"length":81,"line":32,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/game---hw/effects.ts","functionName":"change","argumentNames":["this","input"]} -effects_ImageEffect_change__P299331.info = {"start":1151,"length":81,"line":32,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/game---hw/effects.ts","functionName":"change","argumentNames":["this","input"]} +effects_ImageEffect_change__P1839.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__P1839.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__P299331_mk(s) { +function effects_ImageEffect_change__P1839_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P299331, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P1839, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28290,7 +28242,7 @@ function effects_ImageEffect_change__P299331_mk(s) { -function effects_ParticleEffect_start__P299279(s) { +function effects_ParticleEffect_start__P1787(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28300,7 +28252,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.src___320654 = undefined; + s.src___22837 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28310,7 +28262,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C299278_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C1786_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -28346,9 +28298,9 @@ switch (step) { } case 10: r0 = s.retval; - s.src___320654 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P299158_mk(s); - s.tmp_0.arg0 = s.src___320654; + s.src___22837 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P1666_mk(s); + s.tmp_0.arg0 = s.src___22837; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -28373,7 +28325,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___320654).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___22837).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -28381,20 +28333,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_start__P299279.info = {"start":967,"length":452,"line":26,"column":8,"endLine":32,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"start","argumentNames":["this","anchor","duration","particlesPerSecond","relativeToCamera"]} -effects_ParticleEffect_start__P299279.info = {"start":967,"length":452,"line":26,"column":8,"endLine":32,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"start","argumentNames":["this","anchor","duration","particlesPerSecond","relativeToCamera"]} +effects_ParticleEffect_start__P1787.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__P1787.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__P299279_mk(s) { +function effects_ParticleEffect_start__P1787_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P299279, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P1787, 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___320654: undefined, + src___22837: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28406,7 +28358,7 @@ function effects_ParticleEffect_start__P299279_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P299158(s) { +function particles_ParticleSource_setRelativeToCamera__P1666(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28422,7 +28374,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C299151_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C1659_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -28448,13 +28400,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRelativeToCamera__P299158.info = {"start":6422,"length":173,"line":210,"column":8,"endLine":213,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"setRelativeToCamera","argumentNames":["this","on"]} -particles_ParticleSource_setRelativeToCamera__P299158.info = {"start":6422,"length":173,"line":210,"column":8,"endLine":213,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"setRelativeToCamera","argumentNames":["this","on"]} +particles_ParticleSource_setRelativeToCamera__P1666.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__P1666.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__P299158_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P1666_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P299158, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P1666, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28469,7 +28421,7 @@ function particles_ParticleSource_setRelativeToCamera__P299158_mk(s) { -function Sprite__destroyCore__P298275(s) { +function Sprite__destroyCore__P783(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28479,29 +28431,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___320483 = undefined; + s.scene___22666 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_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__P298414_mk(s); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.scene___320483 = (r0); + s.scene___22666 = (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__P298274_mk(s); + s.tmp_1 = Sprite_destroy__P782_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -28511,7 +28463,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = s.scene___320483.fields["allSprites"]; + r0 = s.scene___22666.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -28523,7 +28475,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = s.scene___320483.fields["spritesByKind"]; + r0 = s.scene___22666.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -28533,8 +28485,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__P298303_mk(s); - r0 = s.scene___320483.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P811_mk(s); + r0 = s.scene___22666.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; @@ -28546,11 +28498,11 @@ switch (step) { r0 = s.retval; case 5: case 6: - s.tmp_0 = PhysicsEngine__C298333_v1_2_mk(s); - r0 = s.scene___320483.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C841_v1_2_mk(s); + r0 = s.scene___22666.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C298333_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C841_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: @@ -28574,15 +28526,15 @@ switch (step) { r0 = s.retval; case 7: case 8: - r0 = pxsim_pxtcore_mkAction(1, inline__P320519); + r0 = pxsim_pxtcore_mkAction(1, inline__P22702); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P320525); + r0 = pxsim_pxtcore_mkAction(1, inline__P22708); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P297630_mk(s); - s.tmp_3 = helpers_arrayFilter__P297631_mk(s); - r0 = s.scene___320483.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P59_mk(s); + s.tmp_3 = helpers_arrayFilter__P60_mk(s); + r0 = s.scene___22666.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.pc = 15; return s.tmp_3; @@ -28597,13 +28549,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore__P298275.info = {"start":27377,"length":693,"line":830,"column":4,"endLine":846,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} -Sprite__destroyCore__P298275.info = {"start":27377,"length":693,"line":830,"column":4,"endLine":846,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} +Sprite__destroyCore__P783.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__P783.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__P298275_mk(s) { +function Sprite__destroyCore__P783_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P298275, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P783, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28613,7 +28565,7 @@ function Sprite__destroyCore__P298275_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___320483: undefined, + scene___22666: undefined, arg0: undefined, } } @@ -28621,7 +28573,7 @@ function Sprite__destroyCore__P298275_mk(s) { -function inline__P320519(s) { +function inline__P22702(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28643,13 +28595,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P320519.info = {"start":27993,"length":26,"line":844,"column":20,"endLine":844,"endColumn":46,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"inline","argumentNames":["h"]} -inline__P320519.info = {"start":27993,"length":26,"line":844,"column":20,"endLine":844,"endColumn":46,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P22702.info = {"start":27993,"length":26,"line":844,"column":20,"endLine":844,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P22702.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__P320519_mk(s) { +function inline__P22702_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P320519, depth: s.depth + 1, + parent: s, fn: inline__P22702, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28660,7 +28612,7 @@ function inline__P320519_mk(s) { -function inline__P320525(s) { +function inline__P22708(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28692,13 +28644,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P320525.info = {"start":28042,"length":20,"line":845,"column":21,"endLine":845,"endColumn":41,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"inline","argumentNames":["h"]} -inline__P320525.info = {"start":28042,"length":20,"line":845,"column":21,"endLine":845,"endColumn":41,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P22708.info = {"start":28042,"length":20,"line":845,"column":21,"endLine":845,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P22708.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__P320525_mk(s) { +function inline__P22708_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P320525, depth: s.depth + 1, + parent: s, fn: inline__P22708, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28708,7 +28660,7 @@ function inline__P320525_mk(s) { -function PhysicsEngine_removeSprite__P298335(s) { +function PhysicsEngine_removeSprite__P843(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28724,18 +28676,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C298333_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C841_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_removeSprite__P298335.info = {"start":159,"length":32,"line":10,"column":4,"endLine":10,"endColumn":36,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} -PhysicsEngine_removeSprite__P298335.info = {"start":159,"length":32,"line":10,"column":4,"endLine":10,"endColumn":36,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} +PhysicsEngine_removeSprite__P843.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__P843.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__P298335_mk(s) { +function PhysicsEngine_removeSprite__P843_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P298335, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P843, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -28745,7 +28697,7 @@ function PhysicsEngine_removeSprite__P298335_mk(s) { -function sprites_SpriteSet_remove__P298303(s) { +function sprites_SpriteSet_remove__P811(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28755,26 +28707,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.i___320533 = undefined; + s.i___22716 = 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__C298297_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C805_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___320533 = (r0); - r0 = (s.i___320533 > -1); + s.i___22716 = (r0); + r0 = (s.i___22716 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySplice__P297619_mk(s); + s.tmp_1 = helpers_arraySplice__P48_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___320533; + s.tmp_1.arg1 = s.i___22716; s.tmp_1.arg2 = 1; s.pc = 4; return s.tmp_1; case 4: @@ -28788,17 +28740,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_remove__P298303.info = {"start":1816,"length":235,"line":66,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game---hw/spriteset.ts","functionName":"remove","argumentNames":["this","sprite"]} -sprites_SpriteSet_remove__P298303.info = {"start":1816,"length":235,"line":66,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game---hw/spriteset.ts","functionName":"remove","argumentNames":["this","sprite"]} +sprites_SpriteSet_remove__P811.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__P811.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__P298303_mk(s) { +function sprites_SpriteSet_remove__P811_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P298303, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P811, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___320533: undefined, + i___22716: undefined, arg0: undefined, arg1: undefined, } } @@ -28807,7 +28759,7 @@ function sprites_SpriteSet_remove__P298303_mk(s) { -function Sprite_kind__P298257(s) { +function Sprite_kind__P765(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28822,18 +28774,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -Sprite_kind__P298257.info = {"start":9711,"length":41,"line":354,"column":4,"endLine":356,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"kind","argumentNames":["this"]} -Sprite_kind__P298257.info = {"start":9711,"length":41,"line":354,"column":4,"endLine":356,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"kind","argumentNames":["this"]} +Sprite_kind__P765.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__P765.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__P298257_mk(s) { +function Sprite_kind__P765_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P298257, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P765, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28842,7 +28794,7 @@ function Sprite_kind__P298257_mk(s) { -function Sprite_isOutOfScreen__P298263(s) { +function Sprite_isOutOfScreen__P771(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28852,15 +28804,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ox___316822 = undefined; - s.oy___316830 = undefined; + s.ox___19005 = undefined; + s.oy___19013 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -28874,7 +28826,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___316822 = (s.tmp_2); + s.ox___19005 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -28888,14 +28840,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___316830 = (s.tmp_2); - s.tmp_3 = Sprite_right__P298251_mk(s); + s.oy___19013 = (s.tmp_2); + s.tmp_3 = Sprite_right__P759_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___316822); + r0 = (s.tmp_2 - s.ox___19005); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -28904,13 +28856,13 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_6 = Sprite_bottom__P298255_mk(s); + s.tmp_6 = Sprite_bottom__P763_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___316830); + r0 = (s.tmp_5 - s.oy___19013); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -28921,15 +28873,15 @@ switch (step) { r0 = s.tmp_7; { step = 8; continue; } case 7: - s.tmp_10 = Sprite_left__P298249_mk(s); + s.tmp_10 = Sprite_left__P757_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___316822); + r0 = (s.tmp_9 - s.ox___19005); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_11 = r0; r0 = (s.tmp_8 > s.tmp_11); case 8: @@ -28940,15 +28892,15 @@ switch (step) { r0 = s.tmp_12; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_top__P298253_mk(s); + s.tmp_15 = Sprite_top__P761_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___316830); + r0 = (s.tmp_14 - s.oy___19013); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___298046); + r0 = pxsim_ImageMethods.height(globals.screen___545); s.tmp_16 = r0; r0 = (s.tmp_13 > s.tmp_16); case 10: @@ -28958,13 +28910,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isOutOfScreen__P298263.info = {"start":19481,"length":358,"line":602,"column":4,"endLine":606,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} -Sprite_isOutOfScreen__P298263.info = {"start":19481,"length":358,"line":602,"column":4,"endLine":606,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} +Sprite_isOutOfScreen__P771.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__P771.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__P298263_mk(s) { +function Sprite_isOutOfScreen__P771_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P298263, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P771, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28984,8 +28936,8 @@ function Sprite_isOutOfScreen__P298263_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___316822: undefined, - oy___316830: undefined, + ox___19005: undefined, + oy___19013: undefined, arg0: undefined, arg1: undefined, } } @@ -28994,7 +28946,7 @@ function Sprite_isOutOfScreen__P298263_mk(s) { -function Sprite_bottom__P298255(s) { +function Sprite_bottom__P763(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29009,8 +28961,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P298253_mk(s); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P761_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 1; return s.tmp_1; case 1: @@ -29024,14 +28976,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_bottom__P298255.info = {"start":9190,"length":59,"line":336,"column":4,"endLine":338,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"bottom","argumentNames":["this"]} -Sprite_bottom__P298255.isGetter = true; -Sprite_bottom__P298255.info = {"start":9190,"length":59,"line":336,"column":4,"endLine":338,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"bottom","argumentNames":["this"]} +Sprite_bottom__P763.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__P763.isGetter = true; +Sprite_bottom__P763.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__P298255_mk(s) { +function Sprite_bottom__P763_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P298255, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P763, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29044,7 +28996,7 @@ function Sprite_bottom__P298255_mk(s) { -function Sprite_height__P298248(s) { +function Sprite_height__P756(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29059,21 +29011,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_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__P298248.info = {"start":7750,"length":54,"line":281,"column":4,"endLine":283,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"height","argumentNames":["this"]} -Sprite_height__P298248.isGetter = true; -Sprite_height__P298248.info = {"start":7750,"length":54,"line":281,"column":4,"endLine":283,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"height","argumentNames":["this"]} +Sprite_height__P756.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__P756.isGetter = true; +Sprite_height__P756.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__P298248_mk(s) { +function Sprite_height__P756_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P298248, depth: s.depth + 1, + parent: s, fn: Sprite_height__P756, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29083,7 +29035,7 @@ function Sprite_height__P298248_mk(s) { -function Sprite_right__P298252(s) { +function Sprite_right__P760(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29099,8 +29051,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P298250_mk(s); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P758_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -29116,13 +29068,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_right__P298252.info = {"start":8537,"length":71,"line":311,"column":4,"endLine":313,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"right","argumentNames":["this","value"]} -Sprite_right__P298252.info = {"start":8537,"length":71,"line":311,"column":4,"endLine":313,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"right","argumentNames":["this","value"]} +Sprite_right__P760.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__P760.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__P298252_mk(s) { +function Sprite_right__P760_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P298252, depth: s.depth + 1, + parent: s, fn: Sprite_right__P760, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29136,7 +29088,7 @@ function Sprite_right__P298252_mk(s) { -function Sprite_width__P298247(s) { +function Sprite_width__P755(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29151,21 +29103,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_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__P298247.info = {"start":7605,"length":52,"line":276,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"width","argumentNames":["this"]} -Sprite_width__P298247.isGetter = true; -Sprite_width__P298247.info = {"start":7605,"length":52,"line":276,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"width","argumentNames":["this"]} +Sprite_width__P755.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__P755.isGetter = true; +Sprite_width__P755.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__P298247_mk(s) { +function Sprite_width__P755_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P298247, depth: s.depth + 1, + parent: s, fn: Sprite_width__P755, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29175,7 +29127,7 @@ function Sprite_width__P298247_mk(s) { -function Sprite_right__P298251(s) { +function Sprite_right__P759(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29190,8 +29142,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P298249_mk(s); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P757_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 1; return s.tmp_1; case 1: @@ -29205,14 +29157,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_right__P298251.info = {"start":8388,"length":57,"line":306,"column":4,"endLine":308,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"right","argumentNames":["this"]} -Sprite_right__P298251.isGetter = true; -Sprite_right__P298251.info = {"start":8388,"length":57,"line":306,"column":4,"endLine":308,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"right","argumentNames":["this"]} +Sprite_right__P759.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__P759.isGetter = true; +Sprite_right__P759.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__P298251_mk(s) { +function Sprite_right__P759_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P298251, depth: s.depth + 1, + parent: s, fn: Sprite_right__P759, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29225,7 +29177,7 @@ function Sprite_right__P298251_mk(s) { -function Sprite_setImage__P298245(s) { +function Sprite_setImage__P753(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29235,24 +29187,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.newHitBox___316876 = undefined; - s.oMinX___316886 = undefined; - s.oMinY___316891 = undefined; - s.oMaxX___316895 = undefined; - s.oMaxY___316903 = undefined; - s.nMinX___316911 = undefined; - s.nMinY___316914 = undefined; - s.nMaxX___316917 = undefined; - s.nMaxY___316923 = undefined; - s.xDiff___316929 = undefined; - s.yDiff___316940 = undefined; + s.newHitBox___19059 = undefined; + s.oMinX___19069 = undefined; + s.oMinY___19074 = undefined; + s.oMaxX___19078 = undefined; + s.oMaxY___19086 = undefined; + s.nMinX___19094 = undefined; + s.nMinY___19097 = undefined; + s.nMaxX___19100 = undefined; + s.nMaxY___19106 = undefined; + s.xDiff___19112 = undefined; + s.yDiff___19123 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -29263,12 +29215,12 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["_image"] = (s.arg1); - s.tmp_0 = game_calculateHitBox__P298219_mk(s); + s.tmp_0 = game_calculateHitBox__P727_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.newHitBox___316876 = (r0); + s.newHitBox___19059 = (r0); r0 = s.arg0.fields["_hitbox"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -29277,95 +29229,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___316876); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___19059); { step = 9; continue; } case 3: case 4: r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["ox"]; - s.oMinX___316886 = (r0); + s.oMinX___19069 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["oy"]; - s.oMinY___316891 = (r0); + s.oMinY___19074 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___316886 + s.tmp_0); - s.oMaxX___316895 = (r0); + r0 = (s.oMinX___19069 + s.tmp_0); + s.oMaxX___19078 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___316891 + s.tmp_0); - s.oMaxY___316903 = (r0); - r0 = s.newHitBox___316876.fields["ox"]; - s.nMinX___316911 = (r0); - r0 = s.newHitBox___316876.fields["oy"]; - s.nMinY___316914 = (r0); - r0 = s.newHitBox___316876.fields["width"]; - s.tmp_0 = r0; - r0 = (s.nMinX___316911 + s.tmp_0); - s.nMaxX___316917 = (r0); - r0 = s.newHitBox___316876.fields["height"]; - s.tmp_0 = r0; - r0 = (s.nMinY___316914 + s.tmp_0); - s.nMaxY___316923 = (r0); - s.tmp_1 = Fx_abs__P297690_mk(s); - r0 = (s.oMinX___316886 - s.nMinX___316911); + r0 = (s.oMinY___19074 + s.tmp_0); + s.oMaxY___19086 = (r0); + r0 = s.newHitBox___19059.fields["ox"]; + s.nMinX___19094 = (r0); + r0 = s.newHitBox___19059.fields["oy"]; + s.nMinY___19097 = (r0); + r0 = s.newHitBox___19059.fields["width"]; + s.tmp_0 = r0; + r0 = (s.nMinX___19094 + s.tmp_0); + s.nMaxX___19100 = (r0); + r0 = s.newHitBox___19059.fields["height"]; + s.tmp_0 = r0; + r0 = (s.nMinY___19097 + s.tmp_0); + s.nMaxY___19106 = (r0); + s.tmp_1 = Fx_abs__P119_mk(s); + r0 = (s.oMinX___19069 - s.nMinX___19094); 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__P297690_mk(s); - r0 = (s.oMaxX___316895 - s.nMaxX___316917); + s.tmp_3 = Fx_abs__P119_mk(s); + r0 = (s.oMaxX___19078 - s.nMaxX___19100); 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___316929 = (r0); - s.tmp_1 = Fx_abs__P297690_mk(s); - r0 = (s.oMinY___316891 - s.nMinY___316914); + s.xDiff___19112 = (r0); + s.tmp_1 = Fx_abs__P119_mk(s); + r0 = (s.oMinY___19074 - s.nMinY___19097); 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__P297690_mk(s); - r0 = (s.oMaxY___316903 - s.nMaxY___316923); + s.tmp_3 = Fx_abs__P119_mk(s); + r0 = (s.oMaxY___19086 - s.nMaxY___19106); 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___316940 = (r0); - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___316876); - r0 = (s.xDiff___316929 <= 512); + s.yDiff___19123 = (r0); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___19059); + r0 = (s.xDiff___19112 <= 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___316886); + r0 = (s.tmp_1).fields["ox"] = (s.oMinX___19069); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxX___316895 - s.oMinX___316886); + r0 = (s.oMaxX___19078 - s.oMinX___19069); s.tmp_1 = r0; r0 = (s.tmp_0).fields["width"] = (s.tmp_1); case 5: case 6: - r0 = (s.yDiff___316940 <= 512); + r0 = (s.yDiff___19123 <= 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___316891); + r0 = (s.tmp_1).fields["oy"] = (s.oMinY___19074); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxY___316903 - s.oMinY___316891); + r0 = (s.oMaxY___19086 - s.oMinY___19074); s.tmp_1 = r0; r0 = (s.tmp_0).fields["height"] = (s.tmp_1); case 7: @@ -29375,29 +29327,29 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setImage__P298245.info = {"start":6048,"length":1386,"line":227,"column":4,"endLine":268,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} -Sprite_setImage__P298245.info = {"start":6048,"length":1386,"line":227,"column":4,"endLine":268,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} +Sprite_setImage__P753.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__P753.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__P298245_mk(s) { +function Sprite_setImage__P753_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P298245, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P753, 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___316876: undefined, - oMinX___316886: undefined, - oMinY___316891: undefined, - oMaxX___316895: undefined, - oMaxY___316903: undefined, - nMinX___316911: undefined, - nMinY___316914: undefined, - nMaxX___316917: undefined, - nMaxY___316923: undefined, - xDiff___316929: undefined, - yDiff___316940: undefined, + newHitBox___19059: undefined, + oMinX___19069: undefined, + oMinY___19074: undefined, + oMaxX___19078: undefined, + oMaxY___19086: undefined, + nMinX___19094: undefined, + nMinY___19097: undefined, + nMaxX___19100: undefined, + nMaxY___19106: undefined, + xDiff___19112: undefined, + yDiff___19123: undefined, arg0: undefined, arg1: undefined, } } @@ -29406,7 +29358,7 @@ function Sprite_setImage__P298245_mk(s) { -function game_calculateHitBox__P298219(s) { +function game_calculateHitBox__P727(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29416,104 +29368,104 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.i___316989 = undefined; - s.minX___316992 = undefined; - s.minY___316995 = undefined; - s.maxX___316998 = undefined; - s.maxY___316999 = undefined; - s.c___317000 = undefined; - s.r___317006 = undefined; - s.width___317037 = undefined; - s.height___317043 = undefined; + s.i___19172 = undefined; + s.minX___19175 = undefined; + s.minY___19178 = undefined; + s.maxX___19181 = undefined; + s.maxY___19182 = undefined; + s.c___19183 = undefined; + s.r___19189 = undefined; + s.width___19220 = undefined; + s.height___19226 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0.fields["_image"]; - s.i___316989 = (r0); - r0 = pxsim_ImageMethods.width(s.i___316989); - s.minX___316992 = (r0); - r0 = pxsim_ImageMethods.height(s.i___316989); - s.minY___316995 = (r0); - s.maxX___316998 = (0); - s.maxY___316999 = (0); - s.c___317000 = (0); - case 1: - s.tmp_1 = r0 = s.c___317000; - r0 = pxsim_ImageMethods.width(s.i___316989); + s.i___19172 = (r0); + r0 = pxsim_ImageMethods.width(s.i___19172); + s.minX___19175 = (r0); + r0 = pxsim_ImageMethods.height(s.i___19172); + s.minY___19178 = (r0); + s.maxX___19181 = (0); + s.maxY___19182 = (0); + s.c___19183 = (0); + case 1: + s.tmp_1 = r0 = s.c___19183; + r0 = pxsim_ImageMethods.width(s.i___19172); 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___317006 = (0); + s.r___19189 = (0); case 2: - s.tmp_1 = r0 = s.r___317006; - r0 = pxsim_ImageMethods.height(s.i___316989); + s.tmp_1 = r0 = s.r___19189; + r0 = pxsim_ImageMethods.height(s.i___19172); 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___316989, s.c___317000, s.r___317006); + r0 = pxsim_ImageMethods.getPixel(s.i___19172, s.c___19183, s.r___19189); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Math_min__P297647_mk(s); - s.tmp_4.arg0 = s.minX___316992; - s.tmp_4.arg1 = s.c___317000; + s.tmp_4 = Math_min__P76_mk(s); + s.tmp_4.arg0 = s.minX___19175; + s.tmp_4.arg1 = s.c___19183; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; - s.minX___316992 = (r0); - s.tmp_0 = Math_min__P297647_mk(s); - s.tmp_0.arg0 = s.minY___316995; - s.tmp_0.arg1 = s.r___317006; + s.minX___19175 = (r0); + s.tmp_0 = Math_min__P76_mk(s); + s.tmp_0.arg0 = s.minY___19178; + s.tmp_0.arg1 = s.r___19189; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.minY___316995 = (r0); - s.tmp_0 = Math_max__P297646_mk(s); - s.tmp_0.arg0 = s.maxX___316998; - s.tmp_0.arg1 = s.c___317000; + s.minY___19178 = (r0); + s.tmp_0 = Math_max__P75_mk(s); + s.tmp_0.arg0 = s.maxX___19181; + s.tmp_0.arg1 = s.c___19183; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.maxX___316998 = (r0); - s.tmp_0 = Math_max__P297646_mk(s); - s.tmp_0.arg0 = s.maxY___316999; - s.tmp_0.arg1 = s.r___317006; + s.maxX___19181 = (r0); + s.tmp_0 = Math_max__P75_mk(s); + s.tmp_0.arg0 = s.maxY___19182; + s.tmp_0.arg1 = s.r___19189; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.maxY___316999 = (r0); + s.maxY___19182 = (r0); case 3: case 4: - r0 = (s.r___317006 + 1); - s.r___317006 = (r0); + r0 = (s.r___19189 + 1); + s.r___19189 = (r0); { step = 2; continue; } case 5: - r0 = (s.c___317000 + 1); - s.c___317000 = (r0); + r0 = (s.c___19183 + 1); + s.c___19183 = (r0); { step = 1; continue; } case 6: - r0 = (s.maxX___316998 - s.minX___316992); + r0 = (s.maxX___19181 - s.minX___19175); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.width___317037 = (r0); - r0 = (s.maxY___316999 - s.minY___316995); + s.width___19220 = (r0); + r0 = (s.maxY___19182 - s.minY___19178); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.height___317043 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C298213_VT); + s.height___19226 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C721_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P298218_mk(s); + s.tmp_1 = game_Hitbox_constructor__P726_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___317037; - s.tmp_1.arg3 = s.height___317043; - s.tmp_1.arg4 = s.minX___316992; - s.tmp_1.arg5 = s.minY___316995; + s.tmp_1.arg2 = s.width___19220; + s.tmp_1.arg3 = s.height___19226; + s.tmp_1.arg4 = s.minX___19175; + s.tmp_1.arg5 = s.minY___19178; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -29521,28 +29473,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_calculateHitBox__P298219.info = {"start":894,"length":684,"line":40,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game---hw/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} -game_calculateHitBox__P298219.info = {"start":894,"length":684,"line":40,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game---hw/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} +game_calculateHitBox__P727.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__P727.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__P298219_mk(s) { +function game_calculateHitBox__P727_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P298219, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P727, 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___316989: undefined, - minX___316992: undefined, - minY___316995: undefined, - maxX___316998: undefined, - maxY___316999: undefined, - c___317000: undefined, - r___317006: undefined, - width___317037: undefined, - height___317043: undefined, + i___19172: undefined, + minX___19175: undefined, + minY___19178: undefined, + maxX___19181: undefined, + maxY___19182: undefined, + c___19183: undefined, + r___19189: undefined, + width___19220: undefined, + height___19226: undefined, arg0: undefined, } } @@ -29550,7 +29502,7 @@ function game_calculateHitBox__P298219_mk(s) { -function game_Hitbox_constructor__P298218(s) { +function game_Hitbox_constructor__P726(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29570,7 +29522,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C298213_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C721_VT)) failedCast(r0); r0 = (s.arg0).fields["parent"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = (s.arg2 * 256); @@ -29600,13 +29552,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_constructor__P298218.info = {"start":151,"length":266,"line":8,"column":8,"endLine":14,"endColumn":9,"fileName":"pxt_modules/game---hw/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} -game_Hitbox_constructor__P298218.info = {"start":151,"length":266,"line":8,"column":8,"endLine":14,"endColumn":9,"fileName":"pxt_modules/game---hw/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} +game_Hitbox_constructor__P726.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__P726.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__P298218_mk(s) { +function game_Hitbox_constructor__P726_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P298218, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P726, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29623,7 +29575,7 @@ function game_Hitbox_constructor__P298218_mk(s) { -function Fx_abs__P297690(s) { +function Fx_abs__P119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29653,13 +29605,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_abs__P297690.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__P297690.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__P119.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__P119.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__P297690_mk(s) { +function Fx_abs__P119_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P297690, depth: s.depth + 1, + parent: s, fn: Fx_abs__P119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29669,7 +29621,7 @@ function Fx_abs__P297690_mk(s) { -function Sprite_image__P298244(s) { +function Sprite_image__P752(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29684,19 +29636,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -Sprite_image__P298244.info = {"start":5772,"length":54,"line":217,"column":4,"endLine":219,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"image","argumentNames":["this"]} -Sprite_image__P298244.isGetter = true; -Sprite_image__P298244.info = {"start":5772,"length":54,"line":217,"column":4,"endLine":219,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"image","argumentNames":["this"]} +Sprite_image__P752.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__P752.isGetter = true; +Sprite_image__P752.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__P298244_mk(s) { +function Sprite_image__P752_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P298244, depth: s.depth + 1, + parent: s, fn: Sprite_image__P752, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -29705,7 +29657,7 @@ function Sprite_image__P298244_mk(s) { -function Sprite_data__P298241(s) { +function Sprite_data__P749(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29720,7 +29672,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -29739,14 +29691,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_data__P298241.info = {"start":3457,"length":92,"line":137,"column":4,"endLine":140,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"data","argumentNames":["this"]} -Sprite_data__P298241.isGetter = true; -Sprite_data__P298241.info = {"start":3457,"length":92,"line":137,"column":4,"endLine":140,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"data","argumentNames":["this"]} +Sprite_data__P749.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__P749.isGetter = true; +Sprite_data__P749.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__P298241_mk(s) { +function Sprite_data__P749_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P298241, depth: s.depth + 1, + parent: s, fn: Sprite_data__P749, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29760,7 +29712,7 @@ function Sprite_data__P298241_mk(s) { -function JSON_stringify__P297829(s) { +function JSON_stringify__P258(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29770,16 +29722,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ss___317094 = undefined; + s.ss___19277 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(JSON_Stringifier__C297826_VT); - s.ss___317094 = (r0); - s.tmp_0 = r0 = s.ss___317094; + r0 = pxsim_pxtcore_mkClassInstance(JSON_Stringifier__C255_VT); + s.ss___19277 = (r0); + s.tmp_0 = r0 = s.ss___19277; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["currIndent"] = (s.tmp_1); @@ -29799,15 +29751,15 @@ switch (step) { s.arg2 = (10); case 3: case 4: - s.tmp_0 = r0 = s.ss___317094; + s.tmp_0 = r0 = s.ss___19277; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["indentStep"] = (s.tmp_1); - s.tmp_0 = r0 = s.ss___317094; + s.tmp_0 = r0 = s.ss___19277; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["currIndent"] = (s.tmp_1); - r0 = (s.ss___317094).fields["indent"] = (s.arg2); + r0 = (s.ss___19277).fields["indent"] = (s.arg2); case 5: s.tmp_0 = r0 = s.arg2; r0 = (s.tmp_0 - 1); @@ -29816,7 +29768,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 6; continue; } - s.tmp_2 = r0 = s.ss___317094; + s.tmp_2 = r0 = s.ss___19277; r0 = s.tmp_2.fields["indentStep"]; s.tmp_5 = r0; if ((s.tmp_5) && (s.tmp_5).vtable) { @@ -29833,8 +29785,8 @@ switch (step) { r0 = (s.tmp_2).fields["indentStep"] = (s.tmp_3); { step = 5; continue; } case 6: - s.tmp_0 = JSON_Stringifier_go__P297828_mk(s); - s.tmp_0.arg0 = s.ss___317094; + s.tmp_0 = JSON_Stringifier_go__P257_mk(s); + s.tmp_0.arg0 = s.ss___19277; s.tmp_0.arg1 = s.arg0; s.pc = 8; return s.tmp_0; case 8: @@ -29842,13 +29794,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -JSON_stringify__P297829.info = {"start":8773,"length":414,"line":288,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/base/json.ts","functionName":"stringify","argumentNames":["value","replacer","indent"]} -JSON_stringify__P297829.info = {"start":8773,"length":414,"line":288,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/base/json.ts","functionName":"stringify","argumentNames":["value","replacer","indent"]} +JSON_stringify__P258.info = {"start":8773,"length":414,"line":288,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/base/json.ts","functionName":"stringify","argumentNames":["value","replacer","indent"]} +JSON_stringify__P258.info = {"start":8773,"length":414,"line":288,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/base/json.ts","functionName":"stringify","argumentNames":["value","replacer","indent"]} -function JSON_stringify__P297829_mk(s) { +function JSON_stringify__P258_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_stringify__P297829, depth: s.depth + 1, + parent: s, fn: JSON_stringify__P258, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29856,7 +29808,7 @@ function JSON_stringify__P297829_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - ss___317094: undefined, + ss___19277: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29866,7 +29818,7 @@ function JSON_stringify__P297829_mk(s) { -function JSON_Stringifier_go__P297828(s) { +function JSON_Stringifier_go__P257(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29876,28 +29828,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.t___317135 = undefined; - s.arr___317159 = undefined; - s.r___317165 = undefined; - s.i___317182 = undefined; - s.keys___317246 = undefined; - s.r___317253 = undefined; - s.i___317270 = undefined; - s.k___317276 = undefined; + s.t___19318 = undefined; + s.arr___19342 = undefined; + s.r___19348 = undefined; + s.i___19365 = undefined; + s.keys___19429 = undefined; + s.r___19436 = undefined; + s.i___19453 = undefined; + s.k___19459 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, JSON_Stringifier__C297826_VT)) failedCast(r0); + if (!checkSubtype(r0, JSON_Stringifier__C255_VT)) failedCast(r0); r0 = pxsim_pxtcore.typeOf(s.arg1); - s.t___317135 = (r0); - r0 = (s.t___317135 == "string"); + s.t___19318 = (r0); + r0 = (s.t___19318 == "string"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = JSON_Stringifier_doString__P297827_mk(s); + s.tmp_1 = JSON_Stringifier_doString__P256_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.pc = 38; return s.tmp_1; @@ -29906,14 +29858,14 @@ switch (step) { { step = 37; continue; } { step = 36; continue; } case 1: - r0 = (s.t___317135 == "boolean"); + r0 = (s.t___19318 == "boolean"); s.tmp_2 = r0; r0 = pxsim_numops_toBool(s.tmp_2); if (!r0) { step = 2; continue; } r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = (s.t___317135 == "number"); + r0 = (s.t___19318 == "number"); case 3: // jmp value (already in r0) s.tmp_3 = r0; @@ -29947,8 +29899,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 19; continue; } - s.arr___317159 = (s.arg1); - r0 = pxsim_Array__length(s.arr___317159); + s.arr___19342 = (s.arg1); + r0 = pxsim_Array__length(s.arr___19342); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -29958,7 +29910,7 @@ switch (step) { { step = 37; continue; } { step = 18; continue; } case 7: - s.r___317165 = ("["); + s.r___19348 = ("["); r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -29989,34 +29941,34 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_3, s.tmp_5); s.tmp_2 = r0; r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); - if ((s.r___317165) && (s.r___317165).vtable) { + if ((s.r___19348) && (s.r___19348).vtable) { setupResume(s, 42); - pxsim_String__stringConv(s.r___317165); + pxsim_String__stringConv(s.r___19348); checkResumeConsumed(); return; - } else { s.retval = (s.r___317165) + ""; } + } else { s.retval = (s.r___19348) + ""; } case 42: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.r___317165 = (r0); + s.r___19348 = (r0); case 8: case 9: - s.i___317182 = (0); + s.i___19365 = (0); case 10: - s.tmp_1 = r0 = s.i___317182; - r0 = pxsim_Array__length(s.arr___317159); + s.tmp_1 = r0 = s.i___19365; + r0 = pxsim_Array__length(s.arr___19342); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - if ((s.r___317165) && (s.r___317165).vtable) { + if ((s.r___19348) && (s.r___19348).vtable) { setupResume(s, 43); - pxsim_String__stringConv(s.r___317165); + pxsim_String__stringConv(s.r___19348); checkResumeConsumed(); return; - } else { s.retval = (s.r___317165) + ""; } + } else { s.retval = (s.r___19348) + ""; } case 43: r0 = s.retval; s.tmp_3 = r0; @@ -30031,9 +29983,9 @@ switch (step) { case 44: r0 = s.retval; s.tmp_6 = r0; - s.tmp_10 = JSON_Stringifier_go__P297828_mk(s); + s.tmp_10 = JSON_Stringifier_go__P257_mk(s); s.tmp_10.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.arr___317159, s.i___317182); + r0 = pxsim_Array__getAt(s.arr___19342, s.i___19365); s.tmp_10.arg1 = r0; s.pc = 45; return s.tmp_10; case 45: @@ -30060,9 +30012,9 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___317165 = (r0); - s.tmp_1 = r0 = s.i___317182; - r0 = pxsim_Array__length(s.arr___317159); + s.r___19348 = (r0); + s.tmp_1 = r0 = s.i___19365; + r0 = pxsim_Array__length(s.arr___19342); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -30070,38 +30022,38 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - if ((s.r___317165) && (s.r___317165).vtable) { + if ((s.r___19348) && (s.r___19348).vtable) { setupResume(s, 48); - pxsim_String__stringConv(s.r___317165); + pxsim_String__stringConv(s.r___19348); checkResumeConsumed(); return; - } else { s.retval = (s.r___317165) + ""; } + } else { s.retval = (s.r___19348) + ""; } case 48: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ","); - s.r___317165 = (r0); + s.r___19348 = (r0); case 11: case 12: r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - if ((s.r___317165) && (s.r___317165).vtable) { + if ((s.r___19348) && (s.r___19348).vtable) { setupResume(s, 49); - pxsim_String__stringConv(s.r___317165); + pxsim_String__stringConv(s.r___19348); checkResumeConsumed(); return; - } else { s.retval = (s.r___317165) + ""; } + } else { s.retval = (s.r___19348) + ""; } case 49: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "\n"); - s.r___317165 = (r0); + s.r___19348 = (r0); case 13: case 14: - r0 = (s.i___317182 + 1); - s.i___317182 = (r0); + r0 = (s.i___19365 + 1); + s.i___19365 = (r0); { step = 10; continue; } case 15: r0 = s.arg0.fields["indent"]; @@ -30109,7 +30061,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } s.tmp_1 = r0 = s.arg0; - s.tmp_3 = helpers_stringSlice__P297638_mk(s); + s.tmp_3 = helpers_stringSlice__P67_mk(s); r0 = s.arg0.fields["currIndent"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["indent"]; @@ -30122,12 +30074,12 @@ switch (step) { r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); case 16: case 17: - if ((s.r___317165) && (s.r___317165).vtable) { + if ((s.r___19348) && (s.r___19348).vtable) { setupResume(s, 51); - pxsim_String__stringConv(s.r___317165); + pxsim_String__stringConv(s.r___19348); checkResumeConsumed(); return; - } else { s.retval = (s.r___317165) + ""; } + } else { s.retval = (s.r___19348) + ""; } case 51: r0 = s.retval; s.tmp_0 = r0; @@ -30154,15 +30106,15 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___317165 = (r0); - r0 = s.r___317165; + s.r___19348 = (r0); + r0 = s.r___19348; { step = 37; continue; } case 18: { step = 34; continue; } case 19: r0 = pxsim_pxtrt.keysOf(s.arg1); - s.keys___317246 = (r0); - r0 = pxsim_Array__length(s.keys___317246); + s.keys___19429 = (r0); + r0 = pxsim_Array__length(s.keys___19429); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -30172,7 +30124,7 @@ switch (step) { { step = 37; continue; } case 20: case 21: - s.r___317253 = ("{"); + s.r___19436 = ("{"); r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -30203,36 +30155,36 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_3, s.tmp_5); s.tmp_2 = r0; r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); - if ((s.r___317253) && (s.r___317253).vtable) { + if ((s.r___19436) && (s.r___19436).vtable) { setupResume(s, 56); - pxsim_String__stringConv(s.r___317253); + pxsim_String__stringConv(s.r___19436); checkResumeConsumed(); return; - } else { s.retval = (s.r___317253) + ""; } + } else { s.retval = (s.r___19436) + ""; } case 56: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.r___317253 = (r0); + s.r___19436 = (r0); case 22: case 23: - s.i___317270 = (0); + s.i___19453 = (0); case 24: - s.tmp_1 = r0 = s.i___317270; - r0 = pxsim_Array__length(s.keys___317246); + s.tmp_1 = r0 = s.i___19453; + r0 = pxsim_Array__length(s.keys___19429); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = pxsim_Array__getAt(s.keys___317246, s.i___317270); - s.k___317276 = (r0); - if ((s.r___317253) && (s.r___317253).vtable) { + r0 = pxsim_Array__getAt(s.keys___19429, s.i___19453); + s.k___19459 = (r0); + if ((s.r___19436) && (s.r___19436).vtable) { setupResume(s, 57); - pxsim_String__stringConv(s.r___317253); + pxsim_String__stringConv(s.r___19436); checkResumeConsumed(); return; - } else { s.retval = (s.r___317253) + ""; } + } else { s.retval = (s.r___19436) + ""; } case 57: r0 = s.retval; s.tmp_0 = r0; @@ -30247,9 +30199,9 @@ switch (step) { case 58: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = JSON_Stringifier_doString__P297827_mk(s); + s.tmp_7 = JSON_Stringifier_doString__P256_mk(s); s.tmp_7.arg0 = s.arg0; - s.tmp_7.arg1 = s.k___317276; + s.tmp_7.arg1 = s.k___19459; s.pc = 59; return s.tmp_7; case 59: r0 = s.retval; @@ -30275,48 +30227,48 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___317253 = (r0); + s.r___19436 = (r0); r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } - if ((s.r___317253) && (s.r___317253).vtable) { + if ((s.r___19436) && (s.r___19436).vtable) { setupResume(s, 62); - pxsim_String__stringConv(s.r___317253); + pxsim_String__stringConv(s.r___19436); checkResumeConsumed(); return; - } else { s.retval = (s.r___317253) + ""; } + } else { s.retval = (s.r___19436) + ""; } case 62: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, ": "); - s.r___317253 = (r0); + s.r___19436 = (r0); { step = 26; continue; } case 25: - if ((s.r___317253) && (s.r___317253).vtable) { + if ((s.r___19436) && (s.r___19436).vtable) { setupResume(s, 63); - pxsim_String__stringConv(s.r___317253); + pxsim_String__stringConv(s.r___19436); checkResumeConsumed(); return; - } else { s.retval = (s.r___317253) + ""; } + } else { s.retval = (s.r___19436) + ""; } case 63: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, ":"); - s.r___317253 = (r0); + s.r___19436 = (r0); case 26: - if ((s.r___317253) && (s.r___317253).vtable) { + if ((s.r___19436) && (s.r___19436).vtable) { setupResume(s, 64); - pxsim_String__stringConv(s.r___317253); + pxsim_String__stringConv(s.r___19436); checkResumeConsumed(); return; - } else { s.retval = (s.r___317253) + ""; } + } else { s.retval = (s.r___19436) + ""; } case 64: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = JSON_Stringifier_go__P297828_mk(s); + s.tmp_3 = JSON_Stringifier_go__P257_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.arg1, s.k___317276); + r0 = pxsim_pxtrt.mapGetGeneric(s.arg1, s.k___19459); s.tmp_3.arg1 = r0; s.pc = 65; return s.tmp_3; case 65: @@ -30332,9 +30284,9 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___317253 = (r0); - s.tmp_1 = r0 = s.i___317270; - r0 = pxsim_Array__length(s.keys___317246); + s.r___19436 = (r0); + s.tmp_1 = r0 = s.i___19453; + r0 = pxsim_Array__length(s.keys___19429); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -30342,38 +30294,38 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - if ((s.r___317253) && (s.r___317253).vtable) { + if ((s.r___19436) && (s.r___19436).vtable) { setupResume(s, 67); - pxsim_String__stringConv(s.r___317253); + pxsim_String__stringConv(s.r___19436); checkResumeConsumed(); return; - } else { s.retval = (s.r___317253) + ""; } + } else { s.retval = (s.r___19436) + ""; } case 67: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ","); - s.r___317253 = (r0); + s.r___19436 = (r0); case 27: case 28: r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - if ((s.r___317253) && (s.r___317253).vtable) { + if ((s.r___19436) && (s.r___19436).vtable) { setupResume(s, 68); - pxsim_String__stringConv(s.r___317253); + pxsim_String__stringConv(s.r___19436); checkResumeConsumed(); return; - } else { s.retval = (s.r___317253) + ""; } + } else { s.retval = (s.r___19436) + ""; } case 68: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "\n"); - s.r___317253 = (r0); + s.r___19436 = (r0); case 29: case 30: - r0 = (s.i___317270 + 1); - s.i___317270 = (r0); + r0 = (s.i___19453 + 1); + s.i___19453 = (r0); { step = 24; continue; } case 31: r0 = s.arg0.fields["indent"]; @@ -30381,7 +30333,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } s.tmp_1 = r0 = s.arg0; - s.tmp_3 = helpers_stringSlice__P297638_mk(s); + s.tmp_3 = helpers_stringSlice__P67_mk(s); r0 = s.arg0.fields["currIndent"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["indent"]; @@ -30394,12 +30346,12 @@ switch (step) { r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); case 32: case 33: - if ((s.r___317253) && (s.r___317253).vtable) { + if ((s.r___19436) && (s.r___19436).vtable) { setupResume(s, 70); - pxsim_String__stringConv(s.r___317253); + pxsim_String__stringConv(s.r___19436); checkResumeConsumed(); return; - } else { s.retval = (s.r___317253) + ""; } + } else { s.retval = (s.r___19436) + ""; } case 70: r0 = s.retval; s.tmp_0 = r0; @@ -30426,8 +30378,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___317253 = (r0); - r0 = s.r___317253; + s.r___19436 = (r0); + r0 = s.r___19436; { step = 37; continue; } case 34: case 35: @@ -30437,13 +30389,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -JSON_Stringifier_go__P297828.info = {"start":6319,"length":2076,"line":223,"column":8,"endLine":279,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"go","argumentNames":["this","v"]} -JSON_Stringifier_go__P297828.info = {"start":6319,"length":2076,"line":223,"column":8,"endLine":279,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"go","argumentNames":["this","v"]} +JSON_Stringifier_go__P257.info = {"start":6319,"length":2076,"line":223,"column":8,"endLine":279,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"go","argumentNames":["this","v"]} +JSON_Stringifier_go__P257.info = {"start":6319,"length":2076,"line":223,"column":8,"endLine":279,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"go","argumentNames":["this","v"]} -function JSON_Stringifier_go__P297828_mk(s) { +function JSON_Stringifier_go__P257_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_Stringifier_go__P297828, depth: s.depth + 1, + parent: s, fn: JSON_Stringifier_go__P257, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30456,14 +30408,14 @@ function JSON_Stringifier_go__P297828_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - t___317135: undefined, - arr___317159: undefined, - r___317165: undefined, - i___317182: undefined, - keys___317246: undefined, - r___317253: undefined, - i___317270: undefined, - k___317276: undefined, + t___19318: undefined, + arr___19342: undefined, + r___19348: undefined, + i___19365: undefined, + keys___19429: undefined, + r___19436: undefined, + i___19453: undefined, + k___19459: undefined, arg0: undefined, arg1: undefined, } } @@ -30472,7 +30424,7 @@ function JSON_Stringifier_go__P297828_mk(s) { -function JSON_Stringifier_doString__P297827(s) { +function JSON_Stringifier_doString__P256(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30482,68 +30434,68 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.r___317362 = undefined; - s.i___317363 = undefined; - s.c___317369 = undefined; + s.r___19545 = undefined; + s.i___19546 = undefined; + s.c___19552 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, JSON_Stringifier__C297826_VT)) failedCast(r0); - s.r___317362 = ("\""); - s.i___317363 = (0); + if (!checkSubtype(r0, JSON_Stringifier__C255_VT)) failedCast(r0); + s.r___19545 = ("\""); + s.i___19546 = (0); case 1: - s.tmp_1 = r0 = s.i___317363; + s.tmp_1 = r0 = s.i___19546; r0 = pxsim_String_.length(s.arg1); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = pxsim_String_.charAt(s.arg1, s.i___317363); - s.c___317369 = (r0); - r0 = (s.c___317369 == "\n"); + r0 = pxsim_String_.charAt(s.arg1, s.i___19546); + s.c___19552 = (r0); + r0 = (s.c___19552 == "\n"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.c___317369 = ("\\n"); + s.c___19552 = ("\\n"); { step = 13; continue; } case 2: - r0 = (s.c___317369 == "\r"); + r0 = (s.c___19552 == "\r"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.c___317369 = ("\\r"); + s.c___19552 = ("\\r"); { step = 12; continue; } case 3: - r0 = (s.c___317369 == "\t"); + r0 = (s.c___19552 == "\t"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.c___317369 = ("\\t"); + s.c___19552 = ("\\t"); { step = 11; continue; } case 4: - r0 = (s.c___317369 == "\b"); + r0 = (s.c___19552 == "\b"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.c___317369 = ("\\b"); + s.c___19552 = ("\\b"); { step = 10; continue; } case 5: - r0 = (s.c___317369 == "\\"); + r0 = (s.c___19552 == "\\"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.c___317369 = ("\\\\"); + s.c___19552 = ("\\\\"); { step = 9; continue; } case 6: - r0 = (s.c___317369 == "\""); + r0 = (s.c___19552 == "\""); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.c___317369 = ("\\\""); + s.c___19552 = ("\\\""); case 7: case 8: case 9: @@ -30551,36 +30503,36 @@ switch (step) { case 11: case 12: case 13: - if ((s.r___317362) && (s.r___317362).vtable) { + if ((s.r___19545) && (s.r___19545).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___317362); + pxsim_String__stringConv(s.r___19545); checkResumeConsumed(); return; - } else { s.retval = (s.r___317362) + ""; } + } else { s.retval = (s.r___19545) + ""; } case 15: r0 = s.retval; s.tmp_0 = r0; - if ((s.c___317369) && (s.c___317369).vtable) { + if ((s.c___19552) && (s.c___19552).vtable) { setupResume(s, 16); - pxsim_String__stringConv(s.c___317369); + pxsim_String__stringConv(s.c___19552); checkResumeConsumed(); return; - } else { s.retval = (s.c___317369) + ""; } + } else { s.retval = (s.c___19552) + ""; } case 16: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___317362 = (r0); - r0 = (s.i___317363 + 1); - s.i___317363 = (r0); + s.r___19545 = (r0); + r0 = (s.i___19546 + 1); + s.i___19546 = (r0); { step = 1; continue; } case 14: - if ((s.r___317362) && (s.r___317362).vtable) { + if ((s.r___19545) && (s.r___19545).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___317362); + pxsim_String__stringConv(s.r___19545); checkResumeConsumed(); return; - } else { s.retval = (s.r___317362) + ""; } + } else { s.retval = (s.r___19545) + ""; } case 17: r0 = s.retval; s.tmp_0 = r0; @@ -30588,20 +30540,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -JSON_Stringifier_doString__P297827.info = {"start":5837,"length":472,"line":208,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"doString","argumentNames":["this","s"]} -JSON_Stringifier_doString__P297827.info = {"start":5837,"length":472,"line":208,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"doString","argumentNames":["this","s"]} +JSON_Stringifier_doString__P256.info = {"start":5837,"length":472,"line":208,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"doString","argumentNames":["this","s"]} +JSON_Stringifier_doString__P256.info = {"start":5837,"length":472,"line":208,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"doString","argumentNames":["this","s"]} -function JSON_Stringifier_doString__P297827_mk(s) { +function JSON_Stringifier_doString__P256_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_Stringifier_doString__P297827, depth: s.depth + 1, + parent: s, fn: JSON_Stringifier_doString__P256, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - r___317362: undefined, - i___317363: undefined, - c___317369: undefined, + r___19545: undefined, + i___19546: undefined, + c___19552: undefined, arg0: undefined, arg1: undefined, } } @@ -30610,7 +30562,7 @@ function JSON_Stringifier_doString__P297827_mk(s) { -function tileworld_RuleEditor_update__P307933(s) { +function tileworld_RuleEditor_update__P10118(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30620,21 +30572,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.len___309188 = undefined; - s.kinds___309251 = undefined; - s.next___309257 = undefined; - s.col___309262 = undefined; + s.len___11373 = undefined; + s.kinds___11436 = undefined; + s.next___11442 = undefined; + s.col___11447 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); r0 = (s.arg0).fields["collideRow"] = (-1); r0 = (s.arg0).fields["collideCol"] = (-1); - r0 = pxsim_ImageMethods.fill(globals.screen___298046, 0); - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + r0 = pxsim_ImageMethods.fill(globals.screen___545, 0); + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = "When"; s.tmp_0.arg2 = 0; r0 = (32 + 8); @@ -30650,8 +30602,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_imagePrint__P298010_mk(s); - s.tmp_1.arg0 = globals.screen___298046; + s.tmp_1 = helpers_imagePrint__P508_mk(s); + s.tmp_1.arg0 = globals.screen___545; r0 = s.arg0.fields["rule"]; s.tmp_2 = r0; r0 = pxsim_numops.toString(s.tmp_2); @@ -30666,8 +30618,8 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = "Do"; s.tmp_0.arg2 = 70; r0 = (32 + 8); @@ -30678,9 +30630,9 @@ switch (step) { s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_showRuleType__P306476_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_showRuleType__P8661_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = tileworld_Project_getType__P303144_mk(s); + s.tmp_1 = tileworld_Project_getType__P4992_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -30689,7 +30641,7 @@ switch (step) { case 33: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = tileworld_Project_getDir__P303146_mk(s); + s.tmp_2 = tileworld_Project_getDir__P4994_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -30704,14 +30656,14 @@ switch (step) { s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - s.tmp_0 = tileworld_RuleEditor_makeContext__P307938_mk(s); + s.tmp_0 = tileworld_RuleEditor_makeContext__P10123_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_showRuleType__P306476_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_showRuleType__P8661_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = tileworld_Project_getType__P303144_mk(s); + s.tmp_1 = tileworld_Project_getType__P4992_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -30720,7 +30672,7 @@ switch (step) { case 37: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = tileworld_Project_getDir__P303146_mk(s); + s.tmp_2 = tileworld_Project_getDir__P4994_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -30735,7 +30687,7 @@ switch (step) { s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_3 = tileworld_Project_getKinds__P303142_mk(s); + s.tmp_3 = tileworld_Project_getKinds__P4990_mk(s); r0 = s.arg0.fields["p"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -30750,17 +30702,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 2; s.tmp_4.arg2 = 4; - s.tmp_4.arg3 = globals.oneof___304562; + s.tmp_4.arg3 = globals.oneof___6410; s.pc = 40; return s.tmp_4; case 40: r0 = s.retval; case 3: case 4: - s.tmp_0 = tileworld_RuleEditor_showCommands__P307941_mk(s); + s.tmp_0 = tileworld_RuleEditor_showCommands__P10126_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 41; return s.tmp_0; case 41: @@ -30784,7 +30736,7 @@ switch (step) { r0 = s.tmp_2; { step = 8; continue; } case 7: - s.tmp_4 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; s.pc = 42; return s.tmp_4; @@ -30800,7 +30752,7 @@ switch (step) { r0 = s.tmp_5; { step = 10; continue; } case 9: - s.tmp_7 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = true; s.pc = 43; return s.tmp_7; @@ -30815,7 +30767,7 @@ switch (step) { if (!r0) { step = 17; continue; } r0 = s.arg0.fields["commandLengths"]; s.tmp_9 = r0; - s.tmp_12 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_12 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_12.arg0 = s.arg0; s.tmp_12.arg1 = true; s.pc = 44; return s.tmp_12; @@ -30825,15 +30777,15 @@ switch (step) { r0 = (s.tmp_11 - 2); s.tmp_10 = r0; r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); - s.len___309188 = (r0); - r0 = (s.len___309188 != -1); + s.len___11373 = (r0); + r0 = (s.len___11373 != -1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } r0 = s.tmp_0; { step = 12; continue; } case 11: - s.tmp_3 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; s.pc = 45; return s.tmp_3; @@ -30842,13 +30794,13 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 - 6); s.tmp_1 = r0; - r0 = (s.tmp_1 < s.len___309188); + r0 = (s.tmp_1 < s.len___11373); case 12: // jmp value (already in r0) s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 15; continue; } - s.tmp_8 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_8.arg0 = s.arg0; s.tmp_8.arg1 = true; s.pc = 46; return s.tmp_8; @@ -30857,7 +30809,7 @@ switch (step) { s.tmp_7 = r0; r0 = (s.tmp_7 - 6); s.tmp_6 = r0; - r0 = (s.len___309188 - 1); + r0 = (s.len___11373 - 1); s.tmp_9 = r0; r0 = (s.tmp_6 == s.tmp_9); s.tmp_5 = r0; @@ -30870,7 +30822,7 @@ switch (step) { case 14: // jmp value (already in r0) s.tmp_10 = r0; - s.tmp_11 = Sprite_say__P298261_mk(s); + s.tmp_11 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_11.arg0 = r0; s.tmp_11.arg1 = s.tmp_10; @@ -30890,7 +30842,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - s.tmp_2 = tileworld_RuleEditor_showMainMenu__P307936_mk(s); + s.tmp_2 = tileworld_RuleEditor_showMainMenu__P10121_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 48; return s.tmp_2; case 48: @@ -30906,16 +30858,16 @@ switch (step) { r0 = s.arg0.fields["dirMap"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_2, 15); - s.tmp_0 = tileworld_RuleEditor_attrMenu__P307959_mk(s); + s.tmp_0 = tileworld_RuleEditor_attrMenu__P10144_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = false; s.pc = 50; return s.tmp_1; case 50: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_3 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = false; s.pc = 51; return s.tmp_3; @@ -30935,7 +30887,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 21; continue; } - s.tmp_2 = tileworld_RuleEditor_modifyCommandMenu__P307947_mk(s); + s.tmp_2 = tileworld_RuleEditor_modifyCommandMenu__P10132_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 52; return s.tmp_2; case 52: @@ -30951,13 +30903,13 @@ switch (step) { r0 = s.arg0.fields["dirMap"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_2, 15); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 0; - s.tmp_1 = tileworld_RuleEditor__C307920_v3_1_mk(s); + s.tmp_1 = tileworld_RuleEditor__C10105_v3_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, tileworld_RuleEditor__C307920_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tileworld_RuleEditor__C10105_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.centerImage; s.pc = 54; return s.tmp_1; case 54: @@ -30966,7 +30918,7 @@ switch (step) { s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.tmp_0 = tileworld_Project_getKinds__P303142_mk(s); + s.tmp_0 = tileworld_Project_getKinds__P4990_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -30974,23 +30926,23 @@ switch (step) { s.pc = 55; return s.tmp_0; case 55: r0 = s.retval; - s.kinds___309251 = (r0); + s.kinds___11436 = (r0); r0 = s.arg0.fields["p"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["fixedImages"]; s.tmp_0 = r0; r0 = pxsim_Array__length(s.tmp_0); - s.next___309257 = (r0); + s.next___11442 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.col___309262 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.col___309262, 0); - r0 = pxsim_pxtcore_mkAction(4, inline__P309267); + s.col___11447 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.col___11447, 0); + r0 = pxsim_pxtcore_mkAction(4, inline__P11452); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.next___309257); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.next___11442); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.col___309262); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.kinds___309251); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.col___11447); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.kinds___11436); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["movableImages"]; @@ -31008,7 +30960,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - s.tmp_1 = Sprite_setFlag__P298266_mk(s); + s.tmp_1 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 128; @@ -31016,7 +30968,7 @@ switch (step) { s.pc = 57; return s.tmp_1; case 57: r0 = s.retval; - s.tmp_0 = game_showDialog__P298731_mk(s); + s.tmp_0 = game_showDialog__P1239_mk(s); s.tmp_0.arg0 = "OK to delete rule?"; r0 = pxsim_String_.mkEmpty(); s.tmp_0.arg1 = r0; @@ -31026,7 +30978,7 @@ switch (step) { r0 = s.retval; { step = 28; continue; } case 27: - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + s.tmp_0 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; @@ -31039,13 +30991,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_update__P307933.info = {"start":9547,"length":2542,"line":224,"column":8,"endLine":274,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"update","argumentNames":["this"]} -tileworld_RuleEditor_update__P307933.info = {"start":9547,"length":2542,"line":224,"column":8,"endLine":274,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"update","argumentNames":["this"]} +tileworld_RuleEditor_update__P10118.info = {"start":9547,"length":2542,"line":224,"column":8,"endLine":274,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"update","argumentNames":["this"]} +tileworld_RuleEditor_update__P10118.info = {"start":9547,"length":2542,"line":224,"column":8,"endLine":274,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"update","argumentNames":["this"]} -function tileworld_RuleEditor_update__P307933_mk(s) { +function tileworld_RuleEditor_update__P10118_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_update__P307933, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_update__P10118, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31060,10 +31012,10 @@ function tileworld_RuleEditor_update__P307933_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - len___309188: undefined, - kinds___309251: undefined, - next___309257: undefined, - col___309262: undefined, + len___11373: undefined, + kinds___11436: undefined, + next___11442: undefined, + col___11447: undefined, arg0: undefined, } } @@ -31071,7 +31023,7 @@ function tileworld_RuleEditor_update__P307933_mk(s) { -function inline__P309267(s) { +function inline__P11452(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31081,21 +31033,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.kind___309270 = undefined; + s.kind___11455 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.caps[0] + s.arg1); - s.kind___309270 = (r0); + s.kind___11455 = (r0); r0 = s.caps[1].fields["kind"]; s.tmp_1 = r0; - r0 = (s.kind___309270 != s.tmp_1); + r0 = (s.kind___11455 != s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_2.arg0 = s.caps[1]; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2.arg1 = r0; @@ -31108,19 +31060,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, 1, s.kind___309270); - r0 = pxsim_Array_.indexOf(s.caps[3], s.kind___309270, undefined); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, 1, s.kind___11455); + r0 = pxsim_Array_.indexOf(s.caps[3], s.kind___11455, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 != -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_2.arg0 = s.caps[1]; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = 1; - s.tmp_2.arg3 = globals.oneof___304562; + s.tmp_2.arg3 = globals.oneof___6410; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; @@ -31138,18 +31090,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P309267.info = {"start":11385,"length":394,"line":257,"column":41,"endLine":266,"endColumn":17,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} -inline__P309267.info = {"start":11385,"length":394,"line":257,"column":41,"endLine":266,"endColumn":17,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P11452.info = {"start":11385,"length":394,"line":257,"column":41,"endLine":266,"endColumn":17,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P11452.info = {"start":11385,"length":394,"line":257,"column":41,"endLine":266,"endColumn":17,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P309267_mk(s) { +function inline__P11452_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P309267, depth: s.depth + 1, + parent: s, fn: inline__P11452, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - kind___309270: undefined, + kind___11455: undefined, arg0: undefined, arg1: undefined, } } @@ -31158,7 +31110,7 @@ function inline__P309267_mk(s) { -function tileworld_RuleEditor_centerImage__P307935(s) { +function tileworld_RuleEditor_centerImage__P10120(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31173,8 +31125,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_getImage__P303129_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_getImage__P4977_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["kind"]; @@ -31185,13 +31137,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_centerImage__P307935.info = {"start":12365,"length":72,"line":282,"column":8,"endLine":284,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"centerImage","argumentNames":["this"]} -tileworld_RuleEditor_centerImage__P307935.info = {"start":12365,"length":72,"line":282,"column":8,"endLine":284,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"centerImage","argumentNames":["this"]} +tileworld_RuleEditor_centerImage__P10120.info = {"start":12365,"length":72,"line":282,"column":8,"endLine":284,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"centerImage","argumentNames":["this"]} +tileworld_RuleEditor_centerImage__P10120.info = {"start":12365,"length":72,"line":282,"column":8,"endLine":284,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"centerImage","argumentNames":["this"]} -function tileworld_RuleEditor_centerImage__P307935_mk(s) { +function tileworld_RuleEditor_centerImage__P10120_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_centerImage__P307935, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_centerImage__P10120, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31201,7 +31153,7 @@ function tileworld_RuleEditor_centerImage__P307935_mk(s) { -function tileworld_RuleEditor_attrMenu__P307959(s) { +function tileworld_RuleEditor_attrMenu__P10144(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31211,7 +31163,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.whenDo___310237 = undefined; + s.whenDo___12422 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31219,30 +31171,30 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleEditor_getWhenDo__P307962_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleEditor_getWhenDo__P10147_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.whenDo___310237 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P310243); + s.whenDo___12422 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P12428); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); - s.tmp_1.arg0 = globals.attrImages___304650; + s.tmp_1 = helpers_arrayForEach__P59_mk(s); + s.tmp_1.arg0 = globals.attrImages___6498; s.tmp_1.arg1 = s.tmp_0; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(2, inline__P310264); + r0 = pxsim_pxtcore_mkAction(2, inline__P12449); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.whenDo___310237); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); - s.tmp_2 = tileworld_Project_all__P303128_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.whenDo___12422); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); + s.tmp_2 = tileworld_Project_all__P4976_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; s.pc = 6; return s.tmp_2; @@ -31259,7 +31211,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = tileworld_RuleEditor_selectAttr__P307960_mk(s); + s.tmp_2 = tileworld_RuleEditor_selectAttr__P10145_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 0; s.pc = 7; return s.tmp_2; @@ -31267,20 +31219,20 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["attrSelected"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.cursorOut___304544; + s.tmp_0.arg3 = globals.cursorOut___6392; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 9; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.reset___304619; + s.tmp_0.arg3 = globals.reset___6467; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; @@ -31288,18 +31240,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_attrMenu__P307959.info = {"start":25108,"length":1024,"line":595,"column":8,"endLine":616,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrMenu","argumentNames":["this","col","row"]} -tileworld_RuleEditor_attrMenu__P307959.info = {"start":25108,"length":1024,"line":595,"column":8,"endLine":616,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrMenu","argumentNames":["this","col","row"]} +tileworld_RuleEditor_attrMenu__P10144.info = {"start":25091,"length":1024,"line":595,"column":8,"endLine":616,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrMenu","argumentNames":["this","col","row"]} +tileworld_RuleEditor_attrMenu__P10144.info = {"start":25091,"length":1024,"line":595,"column":8,"endLine":616,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrMenu","argumentNames":["this","col","row"]} -function tileworld_RuleEditor_attrMenu__P307959_mk(s) { +function tileworld_RuleEditor_attrMenu__P10144_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_attrMenu__P307959, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_attrMenu__P10144, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - whenDo___310237: undefined, + whenDo___12422: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31309,7 +31261,7 @@ function tileworld_RuleEditor_attrMenu__P307959_mk(s) { -function inline__P310243(s) { +function inline__P12428(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31324,14 +31276,14 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = r0 = globals.screen___298046; + s.tmp_0 = r0 = globals.screen___545; s.tmp_1 = r0 = s.arg0; r0 = (s.arg1 << 4); s.tmp_3 = r0; r0 = (s.tmp_3 + 4); s.tmp_2 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, 10); - s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P306471_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P8656_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = 0; @@ -31343,13 +31295,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P310243.info = {"start":25340,"length":186,"line":599,"column":31,"endLine":603,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} -inline__P310243.info = {"start":25340,"length":186,"line":599,"column":31,"endLine":603,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P12428.info = {"start":25323,"length":186,"line":599,"column":31,"endLine":603,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P12428.info = {"start":25323,"length":186,"line":599,"column":31,"endLine":603,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P310243_mk(s) { +function inline__P12428_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P310243, depth: s.depth + 1, + parent: s, fn: inline__P12428, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31363,7 +31315,7 @@ function inline__P310243_mk(s) { -function inline__P310264(s) { +function inline__P12449(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31373,7 +31325,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.a___310278 = undefined; + s.a___12463 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31393,7 +31345,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_6 = tileworld_RuleEditor_getType__P307925_mk(s); + s.tmp_6 = tileworld_RuleEditor_getType__P10110_mk(s); s.tmp_6.arg0 = s.caps[0]; s.pc = 6; return s.tmp_6; case 6: @@ -31408,7 +31360,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = tileworld_Project_getAttr__P303150_mk(s); + s.tmp_8 = tileworld_Project_getAttr__P4998_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_8.arg0 = r0; r0 = s.caps[0].fields["rule"]; @@ -31418,8 +31370,8 @@ switch (step) { s.pc = 7; return s.tmp_8; case 7: r0 = s.retval; - s.a___310278 = (r0); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.a___12463 = (r0); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = 1; @@ -31427,12 +31379,12 @@ switch (step) { s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = 1; - s.tmp_1 = r0 = globals.attrImages___304650; - r0 = pxsim_Array_.indexOf(globals.attrValues___304661, s.a___310278, undefined); + s.tmp_1 = r0 = globals.attrImages___6498; + r0 = pxsim_Array_.indexOf(globals.attrValues___6509, s.a___12463, undefined); s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_1, s.tmp_2); s.tmp_0.arg3 = r0; @@ -31441,19 +31393,19 @@ switch (step) { r0 = s.retval; r0 = s.caps[0].fields["dirMap"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.arg1, 1, s.a___310278); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.arg1, 1, s.a___12463); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P310264.info = {"start":25562,"length":379,"line":604,"column":33,"endLine":611,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["image","i"]} -inline__P310264.info = {"start":25562,"length":379,"line":604,"column":33,"endLine":611,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["image","i"]} +inline__P12449.info = {"start":25545,"length":379,"line":604,"column":33,"endLine":611,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["image","i"]} +inline__P12449.info = {"start":25545,"length":379,"line":604,"column":33,"endLine":611,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["image","i"]} -function inline__P310264_mk(s) { +function inline__P12449_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P310264, depth: s.depth + 1, + parent: s, fn: inline__P12449, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31464,7 +31416,7 @@ function inline__P310264_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - a___310278: undefined, + a___12463: undefined, arg0: undefined, arg1: undefined, } } @@ -31473,7 +31425,7 @@ function inline__P310264_mk(s) { -function tileworld_RuleEditor_showMainMenu__P307936(s) { +function tileworld_RuleEditor_showMainMenu__P10121(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31483,16 +31435,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.rules___309357 = undefined; - s.index___309359 = undefined; + s.rules___11542 = undefined; + s.index___11544 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 6; s.tmp_0.arg3 = 160; @@ -31501,7 +31453,7 @@ switch (step) { s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P306472_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P8657_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; @@ -31509,21 +31461,21 @@ switch (step) { s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.code___304529; + s.tmp_0.arg3 = globals.code___6377; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 0; - s.tmp_1 = tileworld_RuleEditor__C307920_v3_1_mk(s); + s.tmp_1 = tileworld_RuleEditor__C10105_v3_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, tileworld_RuleEditor__C307920_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tileworld_RuleEditor__C10105_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.centerImage; s.pc = 13; return s.tmp_1; case 13: @@ -31532,7 +31484,7 @@ switch (step) { s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_3 = tileworld_Project_getKinds__P303142_mk(s); + s.tmp_3 = tileworld_Project_getKinds__P4990_mk(s); r0 = s.arg0.fields["p"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["rule"]; @@ -31547,36 +31499,36 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 1; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = globals.oneof___304562; + s.tmp_4.arg3 = globals.oneof___6410; s.pc = 15; return s.tmp_4; case 15: r0 = s.retval; case 1: case 2: - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.garbageCan___304610; + s.tmp_0.arg3 = globals.garbageCan___6458; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = tileworld_RuleEditor_currentRules__P307929_mk(s); + s.tmp_0 = tileworld_RuleEditor_currentRules__P10114_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.rules___309357 = (r0); + s.rules___11542 = (r0); r0 = s.arg0.fields["rule"]; s.tmp_0 = r0; - r0 = pxsim_Array_.indexOf(s.rules___309357, s.tmp_0, undefined); - s.index___309359 = (r0); - s.tmp_1 = r0 = s.index___309359; - r0 = pxsim_Array__length(s.rules___309357); + r0 = pxsim_Array_.indexOf(s.rules___11542, s.tmp_0, undefined); + s.index___11544 = (r0); + s.tmp_1 = r0 = s.index___11544; + r0 = pxsim_Array__length(s.rules___11542); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -31584,18 +31536,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.rightArrow___304583; + r0 = globals.rightArrow___6431; { step = 4; continue; } case 3: - s.tmp_4 = tileworld_greyImage__P302087_mk(s); - s.tmp_4.arg0 = globals.rightArrow___304583; + s.tmp_4 = tileworld_greyImage__P3931_mk(s); + s.tmp_4.arg0 = globals.rightArrow___6431; s.pc = 18; return s.tmp_4; case 18: r0 = s.retval; case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 9; s.tmp_6.arg2 = 0; @@ -31609,18 +31561,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = globals.addRule___304607; + r0 = globals.addRule___6455; { step = 6; continue; } case 5: - s.tmp_2 = tileworld_greyImage__P302087_mk(s); - s.tmp_2.arg0 = globals.addRule___304607; + s.tmp_2 = tileworld_greyImage__P3931_mk(s); + s.tmp_2.arg0 = globals.addRule___6455; s.pc = 20; return s.tmp_2; case 20: r0 = s.retval; case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 8; s.tmp_4.arg2 = 0; @@ -31628,22 +31580,22 @@ switch (step) { s.pc = 21; return s.tmp_4; case 21: r0 = s.retval; - r0 = (s.index___309359 > 0); + r0 = (s.index___11544 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = globals.leftArrow___304589; + r0 = globals.leftArrow___6437; { step = 8; continue; } case 7: - s.tmp_1 = tileworld_greyImage__P302087_mk(s); - s.tmp_1.arg0 = globals.leftArrow___304589; + s.tmp_1 = tileworld_greyImage__P3931_mk(s); + s.tmp_1.arg0 = globals.leftArrow___6437; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; case 8: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = 7; s.tmp_3.arg2 = 0; @@ -31655,13 +31607,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_showMainMenu__P307936.info = {"start":12447,"length":922,"line":286,"column":8,"endLine":305,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showMainMenu","argumentNames":["this"]} -tileworld_RuleEditor_showMainMenu__P307936.info = {"start":12447,"length":922,"line":286,"column":8,"endLine":305,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showMainMenu","argumentNames":["this"]} +tileworld_RuleEditor_showMainMenu__P10121.info = {"start":12447,"length":922,"line":286,"column":8,"endLine":305,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showMainMenu","argumentNames":["this"]} +tileworld_RuleEditor_showMainMenu__P10121.info = {"start":12447,"length":922,"line":286,"column":8,"endLine":305,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showMainMenu","argumentNames":["this"]} -function tileworld_RuleEditor_showMainMenu__P307936_mk(s) { +function tileworld_RuleEditor_showMainMenu__P10121_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_showMainMenu__P307936, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_showMainMenu__P10121, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31670,8 +31622,8 @@ function tileworld_RuleEditor_showMainMenu__P307936_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - rules___309357: undefined, - index___309359: undefined, + rules___11542: undefined, + index___11544: undefined, arg0: undefined, } } @@ -31679,7 +31631,7 @@ function tileworld_RuleEditor_showMainMenu__P307936_mk(s) { -function tileworld_greyImage__P302087(s) { +function tileworld_greyImage__P3931(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31689,37 +31641,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ret___302089 = undefined; - s.x___302094 = undefined; - s.y___302101 = undefined; - s.pix___302108 = undefined; + s.ret___3933 = undefined; + s.x___3938 = undefined; + s.y___3945 = undefined; + s.pix___3952 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_ImageMethods.clone(s.arg0); - s.ret___302089 = (r0); - s.x___302094 = (0); + s.ret___3933 = (r0); + s.x___3938 = (0); case 1: - s.tmp_1 = r0 = s.x___302094; - r0 = pxsim_ImageMethods.width(s.ret___302089); + s.tmp_1 = r0 = s.x___3938; + r0 = pxsim_ImageMethods.width(s.ret___3933); 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.y___302101 = (0); + s.y___3945 = (0); case 2: - s.tmp_1 = r0 = s.y___302101; - r0 = pxsim_ImageMethods.height(s.ret___302089); + s.tmp_1 = r0 = s.y___3945; + r0 = pxsim_ImageMethods.height(s.ret___3933); 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.ret___302089, s.x___302094, s.y___302101); - s.pix___302108 = (r0); - r0 = (s.pix___302108 == 0); + r0 = pxsim_ImageMethods.getPixel(s.ret___3933, s.x___3938, s.y___3945); + s.pix___3952 = (r0); + r0 = (s.pix___3952 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -31730,34 +31682,34 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - r0 = pxsim_ImageMethods.setPixel(s.ret___302089, s.x___302094, s.y___302101, s.tmp_1); - r0 = (s.y___302101 + 1); - s.y___302101 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.ret___3933, s.x___3938, s.y___3945, s.tmp_1); + r0 = (s.y___3945 + 1); + s.y___3945 = (r0); { step = 2; continue; } case 5: - r0 = (s.x___302094 + 1); - s.x___302094 = (r0); + r0 = (s.x___3938 + 1); + s.x___3938 = (r0); { step = 1; continue; } case 6: - r0 = s.ret___302089; + r0 = s.ret___3933; return leave(s, r0) default: oops() } } } -tileworld_greyImage__P302087.info = {"start":1240,"length":327,"line":39,"column":4,"endLine":48,"endColumn":5,"fileName":"utilities.ts","functionName":"greyImage","argumentNames":["img"]} -tileworld_greyImage__P302087.info = {"start":1240,"length":327,"line":39,"column":4,"endLine":48,"endColumn":5,"fileName":"utilities.ts","functionName":"greyImage","argumentNames":["img"]} +tileworld_greyImage__P3931.info = {"start":1240,"length":327,"line":39,"column":4,"endLine":48,"endColumn":5,"fileName":"utilities.ts","functionName":"greyImage","argumentNames":["img"]} +tileworld_greyImage__P3931.info = {"start":1240,"length":327,"line":39,"column":4,"endLine":48,"endColumn":5,"fileName":"utilities.ts","functionName":"greyImage","argumentNames":["img"]} -function tileworld_greyImage__P302087_mk(s) { +function tileworld_greyImage__P3931_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_greyImage__P302087, depth: s.depth + 1, + parent: s, fn: tileworld_greyImage__P3931, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ret___302089: undefined, - x___302094: undefined, - y___302101: undefined, - pix___302108: undefined, + ret___3933: undefined, + x___3938: undefined, + y___3945: undefined, + pix___3952: undefined, arg0: undefined, } } @@ -31765,7 +31717,7 @@ function tileworld_greyImage__P302087_mk(s) { -function tileworld_RuleVisualsBase_fillTile__P306472(s) { +function tileworld_RuleVisualsBase_fillTile__P8657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31783,9 +31735,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; r0 = (s.arg1 << 4); s.tmp_0.arg1 = r0; r0 = (s.arg2 << 4); @@ -31802,13 +31754,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_fillTile__P306472.info = {"start":4816,"length":131,"line":124,"column":8,"endLine":126,"endColumn":9,"fileName":"rulesBase.ts","functionName":"fillTile","argumentNames":["this","c","r","col"]} -tileworld_RuleVisualsBase_fillTile__P306472.info = {"start":4816,"length":131,"line":124,"column":8,"endLine":126,"endColumn":9,"fileName":"rulesBase.ts","functionName":"fillTile","argumentNames":["this","c","r","col"]} +tileworld_RuleVisualsBase_fillTile__P8657.info = {"start":4816,"length":131,"line":124,"column":8,"endLine":126,"endColumn":9,"fileName":"rulesBase.ts","functionName":"fillTile","argumentNames":["this","c","r","col"]} +tileworld_RuleVisualsBase_fillTile__P8657.info = {"start":4816,"length":131,"line":124,"column":8,"endLine":126,"endColumn":9,"fileName":"rulesBase.ts","functionName":"fillTile","argumentNames":["this","c","r","col"]} -function tileworld_RuleVisualsBase_fillTile__P306472_mk(s) { +function tileworld_RuleVisualsBase_fillTile__P8657_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_fillTile__P306472, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_fillTile__P8657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31822,7 +31774,7 @@ function tileworld_RuleVisualsBase_fillTile__P306472_mk(s) { -function tileworld_RuleEditor_showCommands__P307941(s) { +function tileworld_RuleEditor_showCommands__P10126(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31832,92 +31784,92 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.lr___309476 = undefined; - s.col___309480 = undefined; - s.row___309483 = undefined; - s.len___309489 = undefined; + s.lr___11661 = undefined; + s.col___11665 = undefined; + s.row___11668 = undefined; + s.len___11674 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["commandLengths"] = (s.tmp_1); - s.lr___309476 = (0); + s.lr___11661 = (0); case 1: - r0 = (s.lr___309476 < 5); + r0 = (s.lr___11661 < 5); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = tileworld_RuleEditor_rowToColCoord__P307939_mk(s); + s.tmp_1 = tileworld_RuleEditor_rowToColCoord__P10124_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.lr___309476; + s.tmp_1.arg1 = s.lr___11661; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.col___309480 = (r0); - s.tmp_0 = tileworld_RuleEditor_rowToRowCoord__P307940_mk(s); + s.col___11665 = (r0); + s.tmp_0 = tileworld_RuleEditor_rowToRowCoord__P10125_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.lr___309476; + s.tmp_0.arg1 = s.lr___11661; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.row___309483 = (r0); - s.tmp_1 = tileworld_RuleEditor_active__P307937_mk(s); + s.row___11668 = (r0); + s.tmp_1 = tileworld_RuleEditor_active__P10122_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.col___309480; - s.tmp_1.arg2 = s.row___309483; + s.tmp_1.arg1 = s.col___11665; + s.tmp_1.arg2 = s.row___11668; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_2 = tileworld_RuleEditor_showCommandsAt__P307942_mk(s); + s.tmp_2 = tileworld_RuleEditor_showCommandsAt__P10127_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.lr___309476; - s.tmp_2.arg2 = s.col___309480; - s.tmp_2.arg3 = s.row___309483; + s.tmp_2.arg1 = s.lr___11661; + s.tmp_2.arg2 = s.col___11665; + s.tmp_2.arg3 = s.row___11668; s.tmp_2.arg4 = true; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.len___309489 = (r0); + s.len___11674 = (r0); r0 = s.arg0.fields["commandLengths"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.len___309489); + r0 = pxsim_Array__push(s.tmp_0, s.len___11674); { step = 3; continue; } case 2: r0 = s.arg0.fields["commandLengths"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, -1); case 3: - r0 = (s.lr___309476 + 1); - s.lr___309476 = (r0); + r0 = (s.lr___11661 + 1); + s.lr___11661 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_showCommands__P307941.info = {"start":14317,"length":484,"line":331,"column":8,"endLine":343,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showCommands","argumentNames":["this"]} -tileworld_RuleEditor_showCommands__P307941.info = {"start":14317,"length":484,"line":331,"column":8,"endLine":343,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showCommands","argumentNames":["this"]} +tileworld_RuleEditor_showCommands__P10126.info = {"start":14317,"length":484,"line":331,"column":8,"endLine":343,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showCommands","argumentNames":["this"]} +tileworld_RuleEditor_showCommands__P10126.info = {"start":14317,"length":484,"line":331,"column":8,"endLine":343,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showCommands","argumentNames":["this"]} -function tileworld_RuleEditor_showCommands__P307941_mk(s) { +function tileworld_RuleEditor_showCommands__P10126_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_showCommands__P307941, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_showCommands__P10126, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - lr___309476: undefined, - col___309480: undefined, - row___309483: undefined, - len___309489: undefined, + lr___11661: undefined, + col___11665: undefined, + row___11668: undefined, + len___11674: undefined, arg0: undefined, } } @@ -31925,7 +31877,7 @@ function tileworld_RuleEditor_showCommands__P307941_mk(s) { -function tileworld_RuleEditor_makeContext__P307938(s) { +function tileworld_RuleEditor_makeContext__P10123(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31935,54 +31887,54 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.i___309414 = undefined; - s.j___309418 = undefined; - s.dist___309422 = undefined; + s.i___11599 = undefined; + s.j___11603 = undefined; + s.dist___11607 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.i___309414 = (0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.i___11599 = (0); case 1: - r0 = (s.i___309414 <= 4); + r0 = (s.i___11599 <= 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.j___309418 = (0); + s.j___11603 = (0); case 2: - r0 = (s.j___309418 <= 4); + r0 = (s.j___11603 <= 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_2 = Math_abs__P297644_mk(s); - r0 = (2 - s.j___309418); + s.tmp_2 = Math_abs__P73_mk(s); + r0 = (2 - s.j___11603); s.tmp_2.arg0 = r0; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Math_abs__P297644_mk(s); - r0 = (2 - s.i___309414); + s.tmp_4 = Math_abs__P73_mk(s); + r0 = (2 - s.i___11599); s.tmp_4.arg0 = r0; s.pc = 14; return s.tmp_4; case 14: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_1 + s.tmp_3); - s.dist___309422 = (r0); - r0 = (s.dist___309422 <= 2); + s.dist___11607 = (r0); + r0 = (s.dist___11607 <= 2); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 3; continue; } r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = tileworld_RuleEditor_active__P307937_mk(s); + s.tmp_1 = tileworld_RuleEditor_active__P10122_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.i___309414; - s.tmp_1.arg2 = s.j___309418; + s.tmp_1.arg1 = s.i___11599; + s.tmp_1.arg2 = s.j___11603; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; @@ -31991,34 +31943,34 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 9; continue; } - s.tmp_3 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.i___309414; - r0 = (s.j___309418 + 2); + s.tmp_3.arg1 = s.i___11599; + r0 = (s.j___11603 + 2); s.tmp_3.arg2 = r0; - s.tmp_3.arg3 = globals.emptyTile___304538; + s.tmp_3.arg3 = globals.emptyTile___6386; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; - r0 = (s.i___309414 != 2); + r0 = (s.i___11599 != 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.j___309418 != 2); + r0 = (s.j___11603 != 2); case 6: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_2 = tileworld_RuleEditor_showAttributes__P307968_mk(s); + s.tmp_2 = tileworld_RuleEditor_showAttributes__P10153_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg0.fields["rule"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.i___309414; - s.tmp_2.arg3 = s.j___309418; + s.tmp_2.arg2 = s.i___11599; + s.tmp_2.arg3 = s.j___11603; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; @@ -32026,34 +31978,34 @@ switch (step) { case 8: case 9: case 10: - r0 = (s.j___309418 + 1); - s.j___309418 = (r0); + r0 = (s.j___11603 + 1); + s.j___11603 = (r0); { step = 2; continue; } case 11: - r0 = (s.i___309414 + 1); - s.i___309414 = (r0); + r0 = (s.i___11599 + 1); + s.i___11599 = (r0); { step = 1; continue; } case 12: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_makeContext__P307938.info = {"start":13618,"length":475,"line":314,"column":8,"endLine":325,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeContext","argumentNames":["this"]} -tileworld_RuleEditor_makeContext__P307938.info = {"start":13618,"length":475,"line":314,"column":8,"endLine":325,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeContext","argumentNames":["this"]} +tileworld_RuleEditor_makeContext__P10123.info = {"start":13618,"length":475,"line":314,"column":8,"endLine":325,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeContext","argumentNames":["this"]} +tileworld_RuleEditor_makeContext__P10123.info = {"start":13618,"length":475,"line":314,"column":8,"endLine":325,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeContext","argumentNames":["this"]} -function tileworld_RuleEditor_makeContext__P307938_mk(s) { +function tileworld_RuleEditor_makeContext__P10123_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_makeContext__P307938, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_makeContext__P10123, 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___309414: undefined, - j___309418: undefined, - dist___309422: undefined, + i___11599: undefined, + j___11603: undefined, + dist___11607: undefined, arg0: undefined, } } @@ -32061,7 +32013,7 @@ function tileworld_RuleEditor_makeContext__P307938_mk(s) { -function tileworld_RuleEditor_showAttributes__P307968(s) { +function tileworld_RuleEditor_showAttributes__P10153(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32071,14 +32023,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.whendo___310686 = undefined; - s.indexInclude___310695 = undefined; - s.indexOneOf___310700 = undefined; - s.index___310710 = undefined; - s.begin___310733 = undefined; - s.end___310734 = undefined; - s.project___310740 = undefined; - s.done___310746 = undefined; + s.whendo___12871 = undefined; + s.indexInclude___12880 = undefined; + s.indexOneOf___12885 = undefined; + s.index___12895 = undefined; + s.begin___12918 = undefined; + s.end___12919 = undefined; + s.project___12925 = undefined; + s.done___12931 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32087,8 +32039,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_getWhenDo__P303148_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_getWhenDo__P4996_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -32097,29 +32049,29 @@ switch (step) { s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.whendo___310686 = (r0); - r0 = (s.whendo___310686 >= 0); + s.whendo___12871 = (r0); + r0 = (s.whendo___12871 >= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tileworld_RuleEditor_attrIndex__P307966_mk(s); + s.tmp_1 = tileworld_RuleEditor_attrIndex__P10151_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; - s.tmp_1.arg2 = s.whendo___310686; + s.tmp_1.arg2 = s.whendo___12871; s.tmp_1.arg3 = 1; s.tmp_1.arg4 = 0; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.indexInclude___310695 = (r0); - r0 = (s.indexInclude___310695 == -1); + s.indexInclude___12880 = (r0); + r0 = (s.indexInclude___12880 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = tileworld_RuleEditor_attrIndex__P307966_mk(s); + s.tmp_1 = tileworld_RuleEditor_attrIndex__P10151_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; - s.tmp_1.arg2 = s.whendo___310686; + s.tmp_1.arg2 = s.whendo___12871; s.tmp_1.arg3 = 2; s.tmp_1.arg4 = 0; s.pc = 11; return s.tmp_1; @@ -32127,19 +32079,19 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - r0 = s.indexInclude___310695; + r0 = s.indexInclude___12880; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.indexOneOf___310700 = (s.tmp_2); - r0 = (s.indexOneOf___310700 == -1); + s.indexOneOf___12885 = (s.tmp_2); + r0 = (s.indexOneOf___12885 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = tileworld_RuleEditor_attrIndex__P307966_mk(s); + s.tmp_1 = tileworld_RuleEditor_attrIndex__P10151_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; - s.tmp_1.arg2 = s.whendo___310686; + s.tmp_1.arg2 = s.whendo___12871; s.tmp_1.arg3 = 3; s.tmp_1.arg4 = 0; s.pc = 12; return s.tmp_1; @@ -32147,24 +32099,24 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.indexOneOf___310700; + r0 = s.indexOneOf___12885; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.index___310710 = (s.tmp_2); - r0 = (s.index___310710 != -1); + s.index___12895 = (s.tmp_2); + r0 = (s.index___12895 != -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; r0 = (s.arg3 + 2); s.tmp_1.arg2 = r0; - s.tmp_2 = tileworld_Project_getImage__P303129_mk(s); + s.tmp_2 = tileworld_Project_getImage__P4977_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.index___310710; + s.tmp_2.arg1 = s.index___12895; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; @@ -32174,8 +32126,8 @@ switch (step) { r0 = s.retval; case 5: case 6: - s.begin___310733 = (0); - s.tmp_2 = tileworld_Project_all__P303128_mk(s); + s.begin___12918 = (0); + s.tmp_2 = tileworld_Project_all__P4976_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; s.pc = 15; return s.tmp_2; @@ -32185,28 +32137,28 @@ switch (step) { r0 = pxsim_Array__length(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.end___310734 = (r0); - s.tmp_0 = tileworld_RuleEditor_projectAttrs__P307969_mk(s); + s.end___12919 = (r0); + s.tmp_0 = tileworld_RuleEditor_projectAttrs__P10154_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.whendo___310686; - s.tmp_0.arg3 = s.begin___310733; - s.tmp_0.arg4 = s.end___310734; + s.tmp_0.arg2 = s.whendo___12871; + s.tmp_0.arg3 = s.begin___12918; + s.tmp_0.arg4 = s.end___12919; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.project___310740 = (r0); + s.project___12925 = (r0); r0 = pxsim_Array__mk(); - s.done___310746 = (r0); - r0 = pxsim_pxtcore_mkAction(5, inline__P310750); + s.done___12931 = (r0); + r0 = pxsim_pxtcore_mkAction(5, inline__P12935); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.whendo___310686); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.whendo___12871); r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.arg2); r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.arg3); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); - s.tmp_1.arg0 = s.project___310740; + s.tmp_1 = helpers_arrayForEach__P59_mk(s); + s.tmp_1.arg0 = s.project___12925; s.tmp_1.arg1 = s.tmp_0; s.pc = 17; return s.tmp_1; case 17: @@ -32217,25 +32169,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_showAttributes__P307968.info = {"start":30464,"length":1265,"line":721,"column":8,"endLine":742,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showAttributes","argumentNames":["this","rid","col","row"]} -tileworld_RuleEditor_showAttributes__P307968.info = {"start":30464,"length":1265,"line":721,"column":8,"endLine":742,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showAttributes","argumentNames":["this","rid","col","row"]} +tileworld_RuleEditor_showAttributes__P10153.info = {"start":30447,"length":1265,"line":721,"column":8,"endLine":742,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showAttributes","argumentNames":["this","rid","col","row"]} +tileworld_RuleEditor_showAttributes__P10153.info = {"start":30447,"length":1265,"line":721,"column":8,"endLine":742,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showAttributes","argumentNames":["this","rid","col","row"]} -function tileworld_RuleEditor_showAttributes__P307968_mk(s) { +function tileworld_RuleEditor_showAttributes__P10153_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_showAttributes__P307968, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_showAttributes__P10153, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - whendo___310686: undefined, - indexInclude___310695: undefined, - indexOneOf___310700: undefined, - index___310710: undefined, - begin___310733: undefined, - end___310734: undefined, - project___310740: undefined, - done___310746: undefined, + whendo___12871: undefined, + indexInclude___12880: undefined, + indexOneOf___12885: undefined, + index___12895: undefined, + begin___12918: undefined, + end___12919: undefined, + project___12925: undefined, + done___12931: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32246,7 +32198,7 @@ function tileworld_RuleEditor_showAttributes__P307968_mk(s) { -function inline__P310750(s) { +function inline__P12935(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32256,13 +32208,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.val___310752 = undefined; - s.i___310759 = undefined; + s.val___12937 = undefined; + s.i___12944 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_Project_getAttr__P303150_mk(s); + s.tmp_0 = tileworld_Project_getAttr__P4998_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[1]; @@ -32271,17 +32223,17 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.val___310752 = (r0); - r0 = pxsim_Array_.indexOf(globals.attrValues___304661, s.val___310752, undefined); - s.i___310759 = (r0); - s.tmp_0 = r0 = globals.screen___298046; - r0 = pxsim_Array__getAt(globals.attrImages___304650, s.i___310759); + s.val___12937 = (r0); + r0 = pxsim_Array_.indexOf(globals.attrValues___6509, s.val___12937, undefined); + s.i___12944 = (r0); + s.tmp_0 = r0 = globals.screen___545; + r0 = pxsim_Array__getAt(globals.attrImages___6498, s.i___12944); s.tmp_1 = r0; r0 = (s.caps[3] << 4); s.tmp_4 = r0; r0 = (s.tmp_4 + 8); s.tmp_3 = r0; - r0 = pxsim_Array__getAt(globals.attrXoffsets___304669, s.i___310759); + r0 = pxsim_Array__getAt(globals.attrXoffsets___6517, s.i___12944); s.tmp_5 = r0; r0 = (s.tmp_3 + s.tmp_5); s.tmp_2 = r0; @@ -32293,7 +32245,7 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 6); s.tmp_7 = r0; - r0 = pxsim_Array__getAt(globals.attrYoffsets___304676, s.i___310759); + r0 = pxsim_Array__getAt(globals.attrYoffsets___6524, s.i___12944); s.tmp_11 = r0; r0 = (s.tmp_7 + s.tmp_11); s.tmp_6 = r0; @@ -32302,13 +32254,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P310750.info = {"start":31411,"length":292,"line":736,"column":32,"endLine":740,"endColumn":17,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["index"]} -inline__P310750.info = {"start":31411,"length":292,"line":736,"column":32,"endLine":740,"endColumn":17,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["index"]} +inline__P12935.info = {"start":31394,"length":292,"line":736,"column":32,"endLine":740,"endColumn":17,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["index"]} +inline__P12935.info = {"start":31394,"length":292,"line":736,"column":32,"endLine":740,"endColumn":17,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["index"]} -function inline__P310750_mk(s) { +function inline__P12935_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P310750, depth: s.depth + 1, + parent: s, fn: inline__P12935, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32322,8 +32274,8 @@ function inline__P310750_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - val___310752: undefined, - i___310759: undefined, + val___12937: undefined, + i___12944: undefined, arg0: undefined, } } @@ -32331,7 +32283,7 @@ function inline__P310750_mk(s) { -function tileworld_RuleEditor_projectAttrs__P307969(s) { +function tileworld_RuleEditor_projectAttrs__P10154(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32341,11 +32293,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.cnt___310798 = undefined; - s.i___310799 = undefined; - s.res___310825 = undefined; - s.i___310827 = undefined; - s.a___310833 = undefined; + s.cnt___12983 = undefined; + s.i___12984 = undefined; + s.res___13010 = undefined; + s.i___13012 = undefined; + s.a___13018 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32355,20 +32307,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.cnt___310798 = (0); - s.i___310799 = (s.arg3); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.cnt___12983 = (0); + s.i___12984 = (s.arg3); case 1: - r0 = (s.i___310799 <= s.arg4); + r0 = (s.i___12984 <= s.arg4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_3 = tileworld_Project_getAttr__P303150_mk(s); + s.tmp_3 = tileworld_Project_getAttr__P4998_mk(s); r0 = s.arg0.fields["p"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.arg2; - s.tmp_3.arg3 = s.i___310799; + s.tmp_3.arg3 = s.i___12984; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; @@ -32377,16 +32329,16 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } - r0 = (s.cnt___310798 + 1); - s.cnt___310798 = (r0); + r0 = (s.cnt___12983 + 1); + s.cnt___12983 = (r0); case 2: case 3: - r0 = (s.i___310799 + 1); - s.i___310799 = (r0); + r0 = (s.i___12984 + 1); + s.i___12984 = (r0); { step = 1; continue; } case 4: - s.tmp_1 = r0 = s.cnt___310798; - s.tmp_4 = tileworld_Project_all__P303128_mk(s); + s.tmp_1 = r0 = s.cnt___12983; + s.tmp_4 = tileworld_Project_all__P4976_mk(s); r0 = s.arg0.fields["p"]; s.tmp_4.arg0 = r0; s.pc = 15; return s.tmp_4; @@ -32404,31 +32356,31 @@ switch (step) { case 5: case 6: r0 = pxsim_Array__mk(); - s.res___310825 = (r0); - s.i___310827 = (s.arg3); + s.res___13010 = (r0); + s.i___13012 = (s.arg3); case 7: - r0 = (s.i___310827 <= s.arg4); + r0 = (s.i___13012 <= s.arg4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_1 = tileworld_Project_getAttr__P303150_mk(s); + s.tmp_1 = tileworld_Project_getAttr__P4998_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.tmp_1.arg3 = s.i___310827; + s.tmp_1.arg3 = s.i___13012; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.a___310833 = (r0); - r0 = (s.a___310833 != 0); + s.a___13018 = (r0); + r0 = (s.a___13018 != 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 8; continue; } r0 = s.tmp_0; { step = 9; continue; } case 8: - r0 = pxsim_Array_.indexOf(s.res___310825, s.a___310833, undefined); + r0 = pxsim_Array_.indexOf(s.res___13010, s.a___13018, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 == -1); case 9: @@ -32436,36 +32388,36 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__push(s.res___310825, s.i___310827); + r0 = pxsim_Array__push(s.res___13010, s.i___13012); case 10: case 11: - r0 = (s.i___310827 + 1); - s.i___310827 = (r0); + r0 = (s.i___13012 + 1); + s.i___13012 = (r0); { step = 7; continue; } case 12: - r0 = s.res___310825; + r0 = s.res___13010; case 13: return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_projectAttrs__P307969.info = {"start":31739,"length":586,"line":744,"column":8,"endLine":757,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"projectAttrs","argumentNames":["this","rid","whendo","begin","end"]} -tileworld_RuleEditor_projectAttrs__P307969.info = {"start":31739,"length":586,"line":744,"column":8,"endLine":757,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"projectAttrs","argumentNames":["this","rid","whendo","begin","end"]} +tileworld_RuleEditor_projectAttrs__P10154.info = {"start":31722,"length":586,"line":744,"column":8,"endLine":757,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"projectAttrs","argumentNames":["this","rid","whendo","begin","end"]} +tileworld_RuleEditor_projectAttrs__P10154.info = {"start":31722,"length":586,"line":744,"column":8,"endLine":757,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"projectAttrs","argumentNames":["this","rid","whendo","begin","end"]} -function tileworld_RuleEditor_projectAttrs__P307969_mk(s) { +function tileworld_RuleEditor_projectAttrs__P10154_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_projectAttrs__P307969, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_projectAttrs__P10154, 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, - cnt___310798: undefined, - i___310799: undefined, - res___310825: undefined, - i___310827: undefined, - a___310833: undefined, + cnt___12983: undefined, + i___12984: undefined, + res___13010: undefined, + i___13012: undefined, + a___13018: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32477,7 +32429,7 @@ function tileworld_RuleEditor_projectAttrs__P307969_mk(s) { -function tileworld_Project_getDir__P303146(s) { +function tileworld_Project_getDir__P4994(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32493,8 +32445,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_getRule__P303138_mk(s); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_getRule__P4986_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.pc = 1; return s.tmp_0; @@ -32504,13 +32456,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_getDir__P303146.info = {"start":4594,"length":95,"line":156,"column":8,"endLine":158,"endColumn":9,"fileName":"project.ts","functionName":"getDir","argumentNames":["this","rid"]} -tileworld_Project_getDir__P303146.info = {"start":4594,"length":95,"line":156,"column":8,"endLine":158,"endColumn":9,"fileName":"project.ts","functionName":"getDir","argumentNames":["this","rid"]} +tileworld_Project_getDir__P4994.info = {"start":4594,"length":95,"line":156,"column":8,"endLine":158,"endColumn":9,"fileName":"project.ts","functionName":"getDir","argumentNames":["this","rid"]} +tileworld_Project_getDir__P4994.info = {"start":4594,"length":95,"line":156,"column":8,"endLine":158,"endColumn":9,"fileName":"project.ts","functionName":"getDir","argumentNames":["this","rid"]} -function tileworld_Project_getDir__P303146_mk(s) { +function tileworld_Project_getDir__P4994_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getDir__P303146, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getDir__P4994, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32521,7 +32473,7 @@ function tileworld_Project_getDir__P303146_mk(s) { -function tileworld_RuleVisualsBase_showRuleType__P306476(s) { +function tileworld_RuleVisualsBase_showRuleType__P8661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32531,9 +32483,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.selCol___307729 = undefined; - s.ax___307750 = undefined; - s.ay___307759 = undefined; + s.selCol___9914 = undefined; + s.ax___9935 = undefined; + s.ay___9944 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32544,17 +32496,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); - s.selCol___307729 = (11); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); + s.selCol___9914 = (11); r0 = pxsim_numops_toBoolDecr(s.arg5); if (!r0) { step = 1; continue; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.tmp_0.arg2 = s.arg4; - s.tmp_1 = tileworld_RuleVisualsBase__C306458_v3_1_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase__C8643_v3_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.centerImage; s.pc = 20; return s.tmp_1; case 20: @@ -32569,11 +32521,11 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg3; s.tmp_1.arg2 = s.arg4; - r0 = pxsim_Array__getAt(globals.moveImages___304634, s.arg2); + r0 = pxsim_Array__getAt(globals.moveImages___6482, s.arg2); s.tmp_1.arg3 = r0; s.pc = 21; return s.tmp_1; case 21: @@ -32615,7 +32567,7 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_5 = r0; - s.ax___307750 = (s.tmp_5); + s.ax___9935 = (s.tmp_5); r0 = (s.arg2 == 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -32638,35 +32590,35 @@ switch (step) { case 13: // jmp value (already in r0) s.tmp_3 = r0; - s.ay___307759 = (s.tmp_3); + s.ay___9944 = (s.tmp_3); r0 = (s.arg1 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_1.arg0 = s.arg0; - r0 = (s.arg3 + s.ax___307750); + r0 = (s.arg3 + s.ax___9935); s.tmp_1.arg1 = r0; - r0 = (s.arg4 + s.ay___307759); + r0 = (s.arg4 + s.ay___9944); s.tmp_1.arg2 = r0; - r0 = pxsim_Array__getAt(globals.buttonImages___304644, s.arg2); + r0 = pxsim_Array__getAt(globals.buttonImages___6492, s.arg2); s.tmp_1.arg3 = r0; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; { step = 15; continue; } case 14: - s.tmp_0 = tileworld_RuleVisualsBase__C306458_v4_6_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase__C8643_v4_6_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = (s.arg3 - s.ax___307750); + r0 = (s.arg3 - s.ax___9935); s.tmp_0.arg1 = r0; - r0 = (s.arg4 - s.ay___307759); + r0 = (s.arg4 - s.ay___9944); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg2; - r0 = pxsim_Array__getAt(globals.moveImages___304634, s.arg2); + r0 = pxsim_Array__getAt(globals.moveImages___6482, s.arg2); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg1; - if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.showCollision; s.pc = 23; return s.tmp_0; case 23: @@ -32679,13 +32631,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_showRuleType__P306476.info = {"start":5331,"length":821,"line":138,"column":8,"endLine":152,"endColumn":9,"fileName":"rulesBase.ts","functionName":"showRuleType","argumentNames":["this","rt","rd","x","y","center"]} -tileworld_RuleVisualsBase_showRuleType__P306476.info = {"start":5331,"length":821,"line":138,"column":8,"endLine":152,"endColumn":9,"fileName":"rulesBase.ts","functionName":"showRuleType","argumentNames":["this","rt","rd","x","y","center"]} +tileworld_RuleVisualsBase_showRuleType__P8661.info = {"start":5331,"length":821,"line":138,"column":8,"endLine":152,"endColumn":9,"fileName":"rulesBase.ts","functionName":"showRuleType","argumentNames":["this","rt","rd","x","y","center"]} +tileworld_RuleVisualsBase_showRuleType__P8661.info = {"start":5331,"length":821,"line":138,"column":8,"endLine":152,"endColumn":9,"fileName":"rulesBase.ts","functionName":"showRuleType","argumentNames":["this","rt","rd","x","y","center"]} -function tileworld_RuleVisualsBase_showRuleType__P306476_mk(s) { +function tileworld_RuleVisualsBase_showRuleType__P8661_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_showRuleType__P306476, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_showRuleType__P8661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32693,9 +32645,9 @@ function tileworld_RuleVisualsBase_showRuleType__P306476_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - selCol___307729: undefined, - ax___307750: undefined, - ay___307759: undefined, + selCol___9914: undefined, + ax___9935: undefined, + ay___9944: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32708,7 +32660,7 @@ function tileworld_RuleVisualsBase_showRuleType__P306476_mk(s) { -function tileworld_RuleVisualsBase_showCollision__P306477(s) { +function tileworld_RuleVisualsBase_showCollision__P8662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32718,8 +32670,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.x___307805 = undefined; - s.y___307814 = undefined; + s.x___9990 = undefined; + s.y___9999 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32730,19 +32682,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); r0 = (s.arg5 == 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = globals.collisionMovingSprite___304550; + r0 = globals.collisionMovingSprite___6398; { step = 2; continue; } case 1: - r0 = globals.collisionRestingSprite___304547; + r0 = globals.collisionRestingSprite___6395; case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; @@ -32772,7 +32724,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.x___307805 = (s.tmp_3); + s.x___9990 = (s.tmp_3); r0 = (s.arg3 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -32795,18 +32747,18 @@ switch (step) { case 10: // jmp value (already in r0) s.tmp_3 = r0; - s.y___307814 = (s.tmp_3); - s.tmp_0 = tileworld_RuleVisualsBase_drawImageAbs__P306470_mk(s); + s.y___9999 = (s.tmp_3); + s.tmp_0 = tileworld_RuleVisualsBase_drawImageAbs__P8655_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 << 4); s.tmp_1 = r0; - r0 = (s.tmp_1 + s.x___307805); + r0 = (s.tmp_1 + s.x___9990); s.tmp_0.arg1 = r0; r0 = (s.arg2 << 4); s.tmp_3 = r0; r0 = (s.tmp_3 + 6); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.y___307814); + r0 = (s.tmp_2 + s.y___9999); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg4; s.pc = 12; return s.tmp_0; @@ -32816,20 +32768,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_showCollision__P306477.info = {"start":6162,"length":494,"line":154,"column":8,"endLine":159,"endColumn":9,"fileName":"rulesBase.ts","functionName":"showCollision","argumentNames":["this","col","row","dir","arrowImg","rt"]} -tileworld_RuleVisualsBase_showCollision__P306477.info = {"start":6162,"length":494,"line":154,"column":8,"endLine":159,"endColumn":9,"fileName":"rulesBase.ts","functionName":"showCollision","argumentNames":["this","col","row","dir","arrowImg","rt"]} +tileworld_RuleVisualsBase_showCollision__P8662.info = {"start":6162,"length":494,"line":154,"column":8,"endLine":159,"endColumn":9,"fileName":"rulesBase.ts","functionName":"showCollision","argumentNames":["this","col","row","dir","arrowImg","rt"]} +tileworld_RuleVisualsBase_showCollision__P8662.info = {"start":6162,"length":494,"line":154,"column":8,"endLine":159,"endColumn":9,"fileName":"rulesBase.ts","functionName":"showCollision","argumentNames":["this","col","row","dir","arrowImg","rt"]} -function tileworld_RuleVisualsBase_showCollision__P306477_mk(s) { +function tileworld_RuleVisualsBase_showCollision__P8662_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_showCollision__P306477, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_showCollision__P8662, 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, - x___307805: undefined, - y___307814: undefined, + x___9990: undefined, + y___9999: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32842,7 +32794,7 @@ function tileworld_RuleVisualsBase_showCollision__P306477_mk(s) { -function tileworld_RuleVisualsBase_drawImageAbs__P306470(s) { +function tileworld_RuleVisualsBase_drawImageAbs__P8655(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32860,19 +32812,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___298046, s.arg3, s.arg1, s.arg2); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___545, s.arg3, s.arg1, s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_drawImageAbs__P306470.info = {"start":4536,"length":120,"line":116,"column":8,"endLine":118,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawImageAbs","argumentNames":["this","x","y","img"]} -tileworld_RuleVisualsBase_drawImageAbs__P306470.info = {"start":4536,"length":120,"line":116,"column":8,"endLine":118,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawImageAbs","argumentNames":["this","x","y","img"]} +tileworld_RuleVisualsBase_drawImageAbs__P8655.info = {"start":4536,"length":120,"line":116,"column":8,"endLine":118,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawImageAbs","argumentNames":["this","x","y","img"]} +tileworld_RuleVisualsBase_drawImageAbs__P8655.info = {"start":4536,"length":120,"line":116,"column":8,"endLine":118,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawImageAbs","argumentNames":["this","x","y","img"]} -function tileworld_RuleVisualsBase_drawImageAbs__P306470_mk(s) { +function tileworld_RuleVisualsBase_drawImageAbs__P8655_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_drawImageAbs__P306470, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_drawImageAbs__P8655, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -32884,7 +32836,7 @@ function tileworld_RuleVisualsBase_drawImageAbs__P306470_mk(s) { -function tileworld_RuleVisualsBase_centerImage__P306475(s) { +function tileworld_RuleVisualsBase_centerImage__P8660(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32899,18 +32851,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); r0 = null; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_centerImage__P306475.info = {"start":5274,"length":47,"line":136,"column":8,"endLine":136,"endColumn":55,"fileName":"rulesBase.ts","functionName":"centerImage","argumentNames":["this"]} -tileworld_RuleVisualsBase_centerImage__P306475.info = {"start":5274,"length":47,"line":136,"column":8,"endLine":136,"endColumn":55,"fileName":"rulesBase.ts","functionName":"centerImage","argumentNames":["this"]} +tileworld_RuleVisualsBase_centerImage__P8660.info = {"start":5274,"length":47,"line":136,"column":8,"endLine":136,"endColumn":55,"fileName":"rulesBase.ts","functionName":"centerImage","argumentNames":["this"]} +tileworld_RuleVisualsBase_centerImage__P8660.info = {"start":5274,"length":47,"line":136,"column":8,"endLine":136,"endColumn":55,"fileName":"rulesBase.ts","functionName":"centerImage","argumentNames":["this"]} -function tileworld_RuleVisualsBase_centerImage__P306475_mk(s) { +function tileworld_RuleVisualsBase_centerImage__P8660_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_centerImage__P306475, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_centerImage__P8660, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -32919,7 +32871,7 @@ function tileworld_RuleVisualsBase_centerImage__P306475_mk(s) { -function tileworld_Project_makeRule__P303133(s) { +function tileworld_Project_makeRule__P4981(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32929,7 +32881,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.rid___303298 = undefined; + s.rid___5146 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32938,13 +32890,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); - s.tmp_1 = tileworld_Project_wrapRule__P303139_mk(s); + s.tmp_1 = tileworld_Project_wrapRule__P4987_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = tileworld_makeNewRule__P302340_mk(s); + s.tmp_2 = tileworld_makeNewRule__P4184_mk(s); s.tmp_2.arg0 = s.tmp_0; s.tmp_2.arg1 = s.arg2; s.tmp_2.arg2 = s.arg3; @@ -32955,29 +32907,29 @@ switch (step) { s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - s.rid___303298 = (r0); - s.tmp_0 = tileworld_Project_saveRule__P303132_mk(s); + s.rid___5146 = (r0); + s.tmp_0 = tileworld_Project_saveRule__P4980_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.rid___303298; + s.tmp_0.arg1 = s.rid___5146; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = s.rid___303298; + r0 = s.rid___5146; return leave(s, r0) default: oops() } } } -tileworld_Project_makeRule__P303133.info = {"start":2282,"length":206,"line":82,"column":8,"endLine":86,"endColumn":9,"fileName":"project.ts","functionName":"makeRule","argumentNames":["this","kind","rt","dir"]} -tileworld_Project_makeRule__P303133.info = {"start":2282,"length":206,"line":82,"column":8,"endLine":86,"endColumn":9,"fileName":"project.ts","functionName":"makeRule","argumentNames":["this","kind","rt","dir"]} +tileworld_Project_makeRule__P4981.info = {"start":2282,"length":206,"line":82,"column":8,"endLine":86,"endColumn":9,"fileName":"project.ts","functionName":"makeRule","argumentNames":["this","kind","rt","dir"]} +tileworld_Project_makeRule__P4981.info = {"start":2282,"length":206,"line":82,"column":8,"endLine":86,"endColumn":9,"fileName":"project.ts","functionName":"makeRule","argumentNames":["this","kind","rt","dir"]} -function tileworld_Project_makeRule__P303133_mk(s) { +function tileworld_Project_makeRule__P4981_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_makeRule__P303133, depth: s.depth + 1, + parent: s, fn: tileworld_Project_makeRule__P4981, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rid___303298: undefined, + rid___5146: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32988,7 +32940,7 @@ function tileworld_Project_makeRule__P303133_mk(s) { -function tileworld_makeNewRule__P302340(s) { +function tileworld_makeNewRule__P4184(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33004,9 +32956,9 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(Rule__C302328_VT); + r0 = pxsim_pxtcore_mkClassInstance(Rule__C4172_VT); s.tmp_0 = r0; - s.tmp_1 = Rule_constructor__P302329_mk(s); + s.tmp_1 = Rule_constructor__P4173_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; @@ -33020,13 +32972,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_makeNewRule__P302340.info = {"start":2335,"length":135,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"rule.ts","functionName":"makeNewRule","argumentNames":["kind","rt","dir"]} -tileworld_makeNewRule__P302340.info = {"start":2335,"length":135,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"rule.ts","functionName":"makeNewRule","argumentNames":["kind","rt","dir"]} +tileworld_makeNewRule__P4184.info = {"start":2335,"length":135,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"rule.ts","functionName":"makeNewRule","argumentNames":["kind","rt","dir"]} +tileworld_makeNewRule__P4184.info = {"start":2335,"length":135,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"rule.ts","functionName":"makeNewRule","argumentNames":["kind","rt","dir"]} -function tileworld_makeNewRule__P302340_mk(s) { +function tileworld_makeNewRule__P4184_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_makeNewRule__P302340, depth: s.depth + 1, + parent: s, fn: tileworld_makeNewRule__P4184, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33039,7 +32991,7 @@ function tileworld_makeNewRule__P302340_mk(s) { -function tileworld_Project_wrapRule__P303139(s) { +function tileworld_Project_wrapRule__P4987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33049,43 +33001,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.rids___303407 = undefined; - s.rid___303423 = undefined; - s.i___303424 = undefined; - s.newRule___303442 = undefined; + s.rids___5255 = undefined; + s.rid___5271 = undefined; + s.i___5272 = undefined; + s.newRule___5290 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - s.tmp_0 = helpers_arraySort__P297626_mk(s); - s.tmp_1 = helpers_arrayMap__P297627_mk(s); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + s.tmp_0 = helpers_arraySort__P55_mk(s); + s.tmp_1 = helpers_arrayMap__P56_mk(s); r0 = s.arg0.fields["rules"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = inline__P303413; + s.tmp_1.arg1 = inline__P5261; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P303417; + s.tmp_0.arg1 = inline__P5265; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.rids___303407 = (r0); - s.rid___303423 = (0); - s.i___303424 = (0); + s.rids___5255 = (r0); + s.rid___5271 = (0); + s.i___5272 = (0); case 1: - s.tmp_1 = r0 = s.i___303424; - r0 = pxsim_Array__length(s.rids___303407); + s.tmp_1 = r0 = s.i___5272; + r0 = pxsim_Array__length(s.rids___5255); 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_4 = r0 = s.rid___303423; - r0 = pxsim_Array__getAt(s.rids___303407, s.i___303424); + s.tmp_4 = r0 = s.rid___5271; + r0 = pxsim_Array__getAt(s.rids___5255, s.i___5272); s.tmp_5 = r0; r0 = (s.tmp_4 != s.tmp_5); s.tmp_3 = r0; @@ -33094,38 +33046,38 @@ switch (step) { { step = 4; continue; } case 2: case 3: - r0 = pxsim_Array__getAt(s.rids___303407, s.i___303424); + r0 = pxsim_Array__getAt(s.rids___5255, s.i___5272); s.tmp_6 = r0; r0 = (s.tmp_6 + 1); - s.rid___303423 = (r0); - r0 = (s.i___303424 + 1); - s.i___303424 = (r0); + s.rid___5271 = (r0); + r0 = (s.i___5272 + 1); + s.i___5272 = (r0); { step = 1; continue; } case 4: - r0 = pxsim_pxtcore_mkClassInstance(IdRule__C302335_VT); + r0 = pxsim_pxtcore_mkClassInstance(IdRule__C4179_VT); s.tmp_0 = r0; - s.tmp_1 = IdRule_constructor__P302336_mk(s); + s.tmp_1 = IdRule_constructor__P4180_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.rid___303423; + s.tmp_1.arg1 = s.rid___5271; s.tmp_1.arg2 = s.arg1; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.newRule___303442 = (s.tmp_0); + s.newRule___5290 = (s.tmp_0); r0 = s.arg0.fields["rules"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.newRule___303442); - r0 = s.newRule___303442.fields["id"]; + r0 = pxsim_Array__push(s.tmp_0, s.newRule___5290); + r0 = s.newRule___5290.fields["id"]; return leave(s, r0) default: oops() } } } -tileworld_Project_wrapRule__P303139.info = {"start":3462,"length":463,"line":118,"column":8,"endLine":130,"endColumn":9,"fileName":"project.ts","functionName":"wrapRule","argumentNames":["this","r"]} -tileworld_Project_wrapRule__P303139.info = {"start":3462,"length":463,"line":118,"column":8,"endLine":130,"endColumn":9,"fileName":"project.ts","functionName":"wrapRule","argumentNames":["this","r"]} +tileworld_Project_wrapRule__P4987.info = {"start":3462,"length":463,"line":118,"column":8,"endLine":130,"endColumn":9,"fileName":"project.ts","functionName":"wrapRule","argumentNames":["this","r"]} +tileworld_Project_wrapRule__P4987.info = {"start":3462,"length":463,"line":118,"column":8,"endLine":130,"endColumn":9,"fileName":"project.ts","functionName":"wrapRule","argumentNames":["this","r"]} -function tileworld_Project_wrapRule__P303139_mk(s) { +function tileworld_Project_wrapRule__P4987_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_wrapRule__P303139, depth: s.depth + 1, + parent: s, fn: tileworld_Project_wrapRule__P4987, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33134,10 +33086,10 @@ function tileworld_Project_wrapRule__P303139_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - rids___303407: undefined, - rid___303423: undefined, - i___303424: undefined, - newRule___303442: undefined, + rids___5255: undefined, + rid___5271: undefined, + i___5272: undefined, + newRule___5290: undefined, arg0: undefined, arg1: undefined, } } @@ -33146,7 +33098,7 @@ function tileworld_Project_wrapRule__P303139_mk(s) { -function inline__P303413(s) { +function inline__P5261(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33164,13 +33116,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P303413.info = {"start":3582,"length":9,"line":120,"column":38,"endLine":120,"endColumn":47,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -inline__P303413.info = {"start":3582,"length":9,"line":120,"column":38,"endLine":120,"endColumn":47,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P5261.info = {"start":3582,"length":9,"line":120,"column":38,"endLine":120,"endColumn":47,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P5261.info = {"start":3582,"length":9,"line":120,"column":38,"endLine":120,"endColumn":47,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -function inline__P303413_mk(s) { +function inline__P5261_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P303413, depth: s.depth + 1, + parent: s, fn: inline__P5261, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -33179,7 +33131,7 @@ function inline__P303413_mk(s) { -function inline__P303417(s) { +function inline__P5265(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33198,13 +33150,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P303417.info = {"start":3598,"length":14,"line":120,"column":54,"endLine":120,"endColumn":68,"fileName":"project.ts","functionName":"inline","argumentNames":["a","b"]} -inline__P303417.info = {"start":3598,"length":14,"line":120,"column":54,"endLine":120,"endColumn":68,"fileName":"project.ts","functionName":"inline","argumentNames":["a","b"]} +inline__P5265.info = {"start":3598,"length":14,"line":120,"column":54,"endLine":120,"endColumn":68,"fileName":"project.ts","functionName":"inline","argumentNames":["a","b"]} +inline__P5265.info = {"start":3598,"length":14,"line":120,"column":54,"endLine":120,"endColumn":68,"fileName":"project.ts","functionName":"inline","argumentNames":["a","b"]} -function inline__P303417_mk(s) { +function inline__P5265_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P303417, depth: s.depth + 1, + parent: s, fn: inline__P5265, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -33214,7 +33166,7 @@ function inline__P303417_mk(s) { -function IdRule_constructor__P302336(s) { +function IdRule_constructor__P4180(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33231,20 +33183,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, IdRule__C302335_VT)) failedCast(r0); + if (!checkSubtype(r0, IdRule__C4179_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["rule"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -IdRule_constructor__P302336.info = {"start":2122,"length":75,"line":71,"column":4,"endLine":74,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","id","rule"]} -IdRule_constructor__P302336.info = {"start":2122,"length":75,"line":71,"column":4,"endLine":74,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","id","rule"]} +IdRule_constructor__P4180.info = {"start":2122,"length":75,"line":71,"column":4,"endLine":74,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","id","rule"]} +IdRule_constructor__P4180.info = {"start":2122,"length":75,"line":71,"column":4,"endLine":74,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","id","rule"]} -function IdRule_constructor__P302336_mk(s) { +function IdRule_constructor__P4180_mk(s) { checkStack(s.depth); return { - parent: s, fn: IdRule_constructor__P302336, depth: s.depth + 1, + parent: s, fn: IdRule_constructor__P4180, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -33255,7 +33207,7 @@ function IdRule_constructor__P302336_mk(s) { -function helpers_arrayMap__P297627(s) { +function helpers_arrayMap__P56(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33265,59 +33217,59 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.res___322099 = undefined; - s.len___322101 = undefined; - s.i___322104 = undefined; + s.res___24321 = undefined; + s.len___24323 = undefined; + s.i___24326 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___322099 = (r0); + s.res___24321 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___322101 = (r0); - s.i___322104 = (0); + s.len___24323 = (r0); + s.i___24326 = (0); case 1: - r0 = (s.i___322104 < s.len___322101); + r0 = (s.i___24326 < s.len___24323); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___322099; + s.tmp_1 = r0 = s.res___24321; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___322104); + r0 = pxsim_Array__getAt(s.arg0, s.i___24326); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___322104; + s.tmp_3.arg1 = s.i___24326; 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___322104 + 1); - s.i___322104 = (r0); + r0 = (s.i___24326 + 1); + s.i___24326 = (r0); { step = 1; continue; } case 2: - r0 = s.res___322099; + r0 = s.res___24321; return leave(s, r0) default: oops() } } } -helpers_arrayMap__P297627.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__P297627.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__P56.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__P56.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__P297627_mk(s) { +function helpers_arrayMap__P56_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P297627, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P56, 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___322099: undefined, - len___322101: undefined, - i___322104: undefined, + res___24321: undefined, + len___24323: undefined, + i___24326: undefined, arg0: undefined, arg1: undefined, } } @@ -33326,7 +33278,7 @@ function helpers_arrayMap__P297627_mk(s) { -function tileworld_RuleEditor_currentRules__P307929(s) { +function tileworld_RuleEditor_currentRules__P10114(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33336,14 +33288,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.rules___308889 = undefined; + s.rules___11074 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_getRulesForKind__P303141_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_getRulesForKind__P4989_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["kind"]; @@ -33351,19 +33303,19 @@ switch (step) { s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.rules___308889 = (r0); + s.rules___11074 = (r0); r0 = s.arg0.fields["rt"]; s.tmp_1 = r0; r0 = (s.tmp_1 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = s.rules___308889; + r0 = s.rules___11074; { step = 2; continue; } case 1: - s.tmp_2 = tileworld_RuleVisualsBase_getRulesForTypeDir__P306464_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_getRulesForTypeDir__P8649_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.rules___308889; + s.tmp_2.arg1 = s.rules___11074; r0 = s.arg0.fields["rt"]; s.tmp_2.arg2 = r0; r0 = s.arg0.fields["dir"]; @@ -33378,19 +33330,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_currentRules__P307929.info = {"start":7049,"length":227,"line":171,"column":8,"endLine":175,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"currentRules","argumentNames":["this"]} -tileworld_RuleEditor_currentRules__P307929.info = {"start":7049,"length":227,"line":171,"column":8,"endLine":175,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"currentRules","argumentNames":["this"]} +tileworld_RuleEditor_currentRules__P10114.info = {"start":7049,"length":227,"line":171,"column":8,"endLine":175,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"currentRules","argumentNames":["this"]} +tileworld_RuleEditor_currentRules__P10114.info = {"start":7049,"length":227,"line":171,"column":8,"endLine":175,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"currentRules","argumentNames":["this"]} -function tileworld_RuleEditor_currentRules__P307929_mk(s) { +function tileworld_RuleEditor_currentRules__P10114_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_currentRules__P307929, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_currentRules__P10114, 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, - rules___308889: undefined, + rules___11074: undefined, arg0: undefined, } } @@ -33398,7 +33350,7 @@ function tileworld_RuleEditor_currentRules__P307929_mk(s) { -function tileworld_RuleVisualsBase_getRulesForTypeDir__P306464(s) { +function tileworld_RuleVisualsBase_getRulesForTypeDir__P8649(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33416,13 +33368,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P307573); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P9758); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg2); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg3); - s.tmp_1 = helpers_arrayFilter__P297631_mk(s); + s.tmp_1 = helpers_arrayFilter__P60_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = s.tmp_0; s.pc = 1; return s.tmp_1; @@ -33431,13 +33383,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_getRulesForTypeDir__P306464.info = {"start":3688,"length":215,"line":92,"column":8,"endLine":94,"endColumn":9,"fileName":"rulesBase.ts","functionName":"getRulesForTypeDir","argumentNames":["this","rules","rt","dir"]} -tileworld_RuleVisualsBase_getRulesForTypeDir__P306464.info = {"start":3688,"length":215,"line":92,"column":8,"endLine":94,"endColumn":9,"fileName":"rulesBase.ts","functionName":"getRulesForTypeDir","argumentNames":["this","rules","rt","dir"]} +tileworld_RuleVisualsBase_getRulesForTypeDir__P8649.info = {"start":3688,"length":215,"line":92,"column":8,"endLine":94,"endColumn":9,"fileName":"rulesBase.ts","functionName":"getRulesForTypeDir","argumentNames":["this","rules","rt","dir"]} +tileworld_RuleVisualsBase_getRulesForTypeDir__P8649.info = {"start":3688,"length":215,"line":92,"column":8,"endLine":94,"endColumn":9,"fileName":"rulesBase.ts","functionName":"getRulesForTypeDir","argumentNames":["this","rules","rt","dir"]} -function tileworld_RuleVisualsBase_getRulesForTypeDir__P306464_mk(s) { +function tileworld_RuleVisualsBase_getRulesForTypeDir__P8649_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_getRulesForTypeDir__P306464, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_getRulesForTypeDir__P8649, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33451,7 +33403,7 @@ function tileworld_RuleVisualsBase_getRulesForTypeDir__P306464_mk(s) { -function inline__P307573(s) { +function inline__P9758(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33465,7 +33417,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_2 = tileworld_Project_getType__P303144_mk(s); + s.tmp_2 = tileworld_Project_getType__P4992_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg0; @@ -33487,7 +33439,7 @@ switch (step) { r0 = s.tmp_3; { step = 3; continue; } case 2: - s.tmp_5 = tileworld_Project_getDir__P303146_mk(s); + s.tmp_5 = tileworld_Project_getDir__P4994_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg0; @@ -33507,13 +33459,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P307573.info = {"start":3802,"length":89,"line":93,"column":32,"endLine":93,"endColumn":121,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["rid"]} -inline__P307573.info = {"start":3802,"length":89,"line":93,"column":32,"endLine":93,"endColumn":121,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["rid"]} +inline__P9758.info = {"start":3802,"length":89,"line":93,"column":32,"endLine":93,"endColumn":121,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["rid"]} +inline__P9758.info = {"start":3802,"length":89,"line":93,"column":32,"endLine":93,"endColumn":121,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["rid"]} -function inline__P307573_mk(s) { +function inline__P9758_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P307573, depth: s.depth + 1, + parent: s, fn: inline__P9758, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33530,7 +33482,7 @@ function inline__P307573_mk(s) { -function tileworld_Project_getRulesForKind__P303141(s) { +function tileworld_Project_getRulesForKind__P4989(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33546,12 +33498,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P303469); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P5317); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayMap__P297627_mk(s); - s.tmp_2 = helpers_arrayFilter__P297631_mk(s); + s.tmp_1 = helpers_arrayMap__P56_mk(s); + s.tmp_2 = helpers_arrayFilter__P60_mk(s); r0 = s.arg0.fields["rules"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_0; @@ -33559,20 +33511,20 @@ switch (step) { case 2: r0 = s.retval; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = inline__P303481; + s.tmp_1.arg1 = inline__P5329; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tileworld_Project_getRulesForKind__P303141.info = {"start":4032,"length":148,"line":136,"column":8,"endLine":138,"endColumn":9,"fileName":"project.ts","functionName":"getRulesForKind","argumentNames":["this","kind"]} -tileworld_Project_getRulesForKind__P303141.info = {"start":4032,"length":148,"line":136,"column":8,"endLine":138,"endColumn":9,"fileName":"project.ts","functionName":"getRulesForKind","argumentNames":["this","kind"]} +tileworld_Project_getRulesForKind__P4989.info = {"start":4032,"length":148,"line":136,"column":8,"endLine":138,"endColumn":9,"fileName":"project.ts","functionName":"getRulesForKind","argumentNames":["this","kind"]} +tileworld_Project_getRulesForKind__P4989.info = {"start":4032,"length":148,"line":136,"column":8,"endLine":138,"endColumn":9,"fileName":"project.ts","functionName":"getRulesForKind","argumentNames":["this","kind"]} -function tileworld_Project_getRulesForKind__P303141_mk(s) { +function tileworld_Project_getRulesForKind__P4989_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getRulesForKind__P303141, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getRulesForKind__P4989, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33585,7 +33537,7 @@ function tileworld_Project_getRulesForKind__P303141_mk(s) { -function inline__P303469(s) { +function inline__P5317(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33608,13 +33560,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P303469.info = {"start":4118,"length":36,"line":137,"column":37,"endLine":137,"endColumn":73,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -inline__P303469.info = {"start":4118,"length":36,"line":137,"column":37,"endLine":137,"endColumn":73,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P5317.info = {"start":4118,"length":36,"line":137,"column":37,"endLine":137,"endColumn":73,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P5317.info = {"start":4118,"length":36,"line":137,"column":37,"endLine":137,"endColumn":73,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -function inline__P303469_mk(s) { +function inline__P5317_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P303469, depth: s.depth + 1, + parent: s, fn: inline__P5317, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33625,7 +33577,7 @@ function inline__P303469_mk(s) { -function inline__P303481(s) { +function inline__P5329(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33643,13 +33595,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P303481.info = {"start":4160,"length":9,"line":137,"column":79,"endLine":137,"endColumn":88,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -inline__P303481.info = {"start":4160,"length":9,"line":137,"column":79,"endLine":137,"endColumn":88,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P5329.info = {"start":4160,"length":9,"line":137,"column":79,"endLine":137,"endColumn":88,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P5329.info = {"start":4160,"length":9,"line":137,"column":79,"endLine":137,"endColumn":88,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -function inline__P303481_mk(s) { +function inline__P5329_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P303481, depth: s.depth + 1, + parent: s, fn: inline__P5329, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -33658,7 +33610,7 @@ function inline__P303481_mk(s) { -function tileworld_RuleRoom_update__P307846(s) { +function tileworld_RuleRoom_update__P10031(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33673,10 +33625,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleRoom__C307843_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.fill(globals.screen___298046, 15); - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + if (!checkSubtype(r0, tileworld_RuleRoom__C10028_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.fill(globals.screen___545, 15); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 6; s.tmp_0.arg3 = 16; @@ -33685,11 +33637,11 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___298046, globals.code___304529, 0, 6); - r0 = pxsim_pxtcore_mkAction(1, inline__P308138); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___545, globals.code___6377, 0, 6); + r0 = pxsim_pxtcore_mkAction(1, inline__P10323); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["movableImages"]; @@ -33698,7 +33650,7 @@ switch (step) { s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_showRuleMenu__P307851_mk(s); + s.tmp_0 = tileworld_RuleRoom_showRuleMenu__P10036_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 0; @@ -33709,13 +33661,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleRoom_update__P307846.info = {"start":3294,"length":316,"line":72,"column":8,"endLine":80,"endColumn":9,"fileName":"spriteRules.ts","functionName":"update","argumentNames":["this"]} -tileworld_RuleRoom_update__P307846.info = {"start":3294,"length":316,"line":72,"column":8,"endLine":80,"endColumn":9,"fileName":"spriteRules.ts","functionName":"update","argumentNames":["this"]} +tileworld_RuleRoom_update__P10031.info = {"start":3294,"length":316,"line":72,"column":8,"endLine":80,"endColumn":9,"fileName":"spriteRules.ts","functionName":"update","argumentNames":["this"]} +tileworld_RuleRoom_update__P10031.info = {"start":3294,"length":316,"line":72,"column":8,"endLine":80,"endColumn":9,"fileName":"spriteRules.ts","functionName":"update","argumentNames":["this"]} -function tileworld_RuleRoom_update__P307846_mk(s) { +function tileworld_RuleRoom_update__P10031_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleRoom_update__P307846, depth: s.depth + 1, + parent: s, fn: tileworld_RuleRoom_update__P10031, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33727,7 +33679,7 @@ function tileworld_RuleRoom_update__P307846_mk(s) { -function inline__P308138(s) { +function inline__P10323(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33742,7 +33694,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; r0 = (s.arg1 + 1); @@ -33755,13 +33707,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P308138.info = {"start":3487,"length":73,"line":76,"column":37,"endLine":78,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":["img","i"]} -inline__P308138.info = {"start":3487,"length":73,"line":76,"column":37,"endLine":78,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P10323.info = {"start":3487,"length":73,"line":76,"column":37,"endLine":78,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P10323.info = {"start":3487,"length":73,"line":76,"column":37,"endLine":78,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P308138_mk(s) { +function inline__P10323_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P308138, depth: s.depth + 1, + parent: s, fn: inline__P10323, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33772,7 +33724,7 @@ function inline__P308138_mk(s) { -function tileworld_RuleRoom_showRuleMenu__P307851(s) { +function tileworld_RuleRoom_showRuleMenu__P10036(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33789,9 +33741,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleRoom__C307843_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleRoom__C10028_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = tileworld_Project_getRulesForKind__P303141_mk(s); + s.tmp_2 = tileworld_Project_getRulesForKind__P4989_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["kind"]; @@ -33801,7 +33753,7 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["rules"] = (s.tmp_1); - s.tmp_0 = tileworld_RuleRoom_makeContext__P307848_mk(s); + s.tmp_0 = tileworld_RuleRoom_makeContext__P10033_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + 2); s.tmp_0.arg1 = r0; @@ -33810,7 +33762,7 @@ switch (step) { s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_doBoth__P307850_mk(s); + s.tmp_0 = tileworld_RuleRoom_doBoth__P10035_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; @@ -33822,7 +33774,7 @@ switch (step) { s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_doBoth__P307850_mk(s); + s.tmp_0 = tileworld_RuleRoom_doBoth__P10035_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 1; @@ -33834,7 +33786,7 @@ switch (step) { s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_doBoth__P307850_mk(s); + s.tmp_0 = tileworld_RuleRoom_doBoth__P10035_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 0; @@ -33846,7 +33798,7 @@ switch (step) { s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_doBoth__P307850_mk(s); + s.tmp_0 = tileworld_RuleRoom_doBoth__P10035_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 2; @@ -33857,7 +33809,7 @@ switch (step) { s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_doBoth__P307850_mk(s); + s.tmp_0 = tileworld_RuleRoom_doBoth__P10035_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; @@ -33869,7 +33821,7 @@ switch (step) { s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_makeContext__P307848_mk(s); + s.tmp_0 = tileworld_RuleRoom_makeContext__P10033_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + 6); s.tmp_0.arg1 = r0; @@ -33878,7 +33830,7 @@ switch (step) { s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_doBoth__P307850_mk(s); + s.tmp_0 = tileworld_RuleRoom_doBoth__P10035_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 1; @@ -33890,7 +33842,7 @@ switch (step) { s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_doBoth__P307850_mk(s); + s.tmp_0 = tileworld_RuleRoom_doBoth__P10035_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 0; @@ -33902,7 +33854,7 @@ switch (step) { s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_doBoth__P307850_mk(s); + s.tmp_0 = tileworld_RuleRoom_doBoth__P10035_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 3; @@ -33914,7 +33866,7 @@ switch (step) { s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_doBoth__P307850_mk(s); + s.tmp_0 = tileworld_RuleRoom_doBoth__P10035_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 2; @@ -33926,7 +33878,7 @@ switch (step) { s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_makeContext__P307848_mk(s); + s.tmp_0 = tileworld_RuleRoom_makeContext__P10033_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + 2); s.tmp_0.arg1 = r0; @@ -33935,7 +33887,7 @@ switch (step) { s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_doBoth__P307850_mk(s); + s.tmp_0 = tileworld_RuleRoom_doBoth__P10035_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 1; @@ -33947,7 +33899,7 @@ switch (step) { s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_doBoth__P307850_mk(s); + s.tmp_0 = tileworld_RuleRoom_doBoth__P10035_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 0; @@ -33959,7 +33911,7 @@ switch (step) { s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_doBoth__P307850_mk(s); + s.tmp_0 = tileworld_RuleRoom_doBoth__P10035_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 2; @@ -33971,7 +33923,7 @@ switch (step) { s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_doBoth__P307850_mk(s); + s.tmp_0 = tileworld_RuleRoom_doBoth__P10035_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 3; @@ -33983,7 +33935,7 @@ switch (step) { s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_showRuleType__P306476_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_showRuleType__P8661_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; @@ -33995,7 +33947,7 @@ switch (step) { s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_makeContext__P307848_mk(s); + s.tmp_0 = tileworld_RuleRoom_makeContext__P10033_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + 6); s.tmp_0.arg1 = r0; @@ -34004,7 +33956,7 @@ switch (step) { s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_doBoth__P307850_mk(s); + s.tmp_0 = tileworld_RuleRoom_doBoth__P10035_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 4; s.tmp_0.arg2 = 1; @@ -34016,7 +33968,7 @@ switch (step) { s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_doBoth__P307850_mk(s); + s.tmp_0 = tileworld_RuleRoom_doBoth__P10035_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 4; s.tmp_0.arg2 = 0; @@ -34028,7 +33980,7 @@ switch (step) { s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_doBoth__P307850_mk(s); + s.tmp_0 = tileworld_RuleRoom_doBoth__P10035_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 4; s.tmp_0.arg2 = 2; @@ -34040,7 +33992,7 @@ switch (step) { s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.tmp_0 = tileworld_RuleRoom_doBoth__P307850_mk(s); + s.tmp_0 = tileworld_RuleRoom_doBoth__P10035_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 4; s.tmp_0.arg2 = 3; @@ -34052,7 +34004,7 @@ switch (step) { s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_showRuleType__P306476_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_showRuleType__P8661_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; @@ -34068,13 +34020,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleRoom_showRuleMenu__P307851.info = {"start":5320,"length":2011,"line":120,"column":8,"endLine":153,"endColumn":9,"fileName":"spriteRules.ts","functionName":"showRuleMenu","argumentNames":["this","x","y"]} -tileworld_RuleRoom_showRuleMenu__P307851.info = {"start":5320,"length":2011,"line":120,"column":8,"endLine":153,"endColumn":9,"fileName":"spriteRules.ts","functionName":"showRuleMenu","argumentNames":["this","x","y"]} +tileworld_RuleRoom_showRuleMenu__P10036.info = {"start":5320,"length":2011,"line":120,"column":8,"endLine":153,"endColumn":9,"fileName":"spriteRules.ts","functionName":"showRuleMenu","argumentNames":["this","x","y"]} +tileworld_RuleRoom_showRuleMenu__P10036.info = {"start":5320,"length":2011,"line":120,"column":8,"endLine":153,"endColumn":9,"fileName":"spriteRules.ts","functionName":"showRuleMenu","argumentNames":["this","x","y"]} -function tileworld_RuleRoom_showRuleMenu__P307851_mk(s) { +function tileworld_RuleRoom_showRuleMenu__P10036_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleRoom_showRuleMenu__P307851, depth: s.depth + 1, + parent: s, fn: tileworld_RuleRoom_showRuleMenu__P10036, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34088,7 +34040,7 @@ function tileworld_RuleRoom_showRuleMenu__P307851_mk(s) { -function tileworld_RuleRoom_doBoth__P307850(s) { +function tileworld_RuleRoom_doBoth__P10035(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34098,12 +34050,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scol___308205 = undefined; - s.rules___308206 = undefined; - s.tcol___308216 = undefined; - s.trow___308222 = undefined; - s.tcol___308246 = undefined; - s.trow___308251 = undefined; + s.scol___10390 = undefined; + s.rules___10391 = undefined; + s.tcol___10401 = undefined; + s.trow___10407 = undefined; + s.tcol___10431 = undefined; + s.trow___10436 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34114,9 +34066,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleRoom__C307843_VT)) failedCast(r0); - s.scol___308205 = (13); - s.tmp_0 = tileworld_RuleVisualsBase_getRulesForTypeDir__P306464_mk(s); + if (!checkSubtype(r0, tileworld_RuleRoom__C10028_VT)) failedCast(r0); + s.scol___10390 = (13); + s.tmp_0 = tileworld_RuleVisualsBase_getRulesForTypeDir__P8649_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["rules"]; s.tmp_0.arg1 = r0; @@ -34125,56 +34077,56 @@ switch (step) { s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.rules___308206 = (r0); + s.rules___10391 = (r0); r0 = (s.arg1 >= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = r0 = s.arg3; - s.tmp_3 = tileworld_moveXdelta__P302362_mk(s); + s.tmp_3 = tileworld_moveXdelta__P4206_mk(s); s.tmp_3.arg0 = s.arg2; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.tcol___308216 = (r0); + s.tcol___10401 = (r0); s.tmp_0 = r0 = s.arg4; - s.tmp_2 = tileworld_moveYdelta__P302374_mk(s); + s.tmp_2 = tileworld_moveYdelta__P4218_mk(s); s.tmp_2.arg0 = s.arg2; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.trow___308222 = (r0); - s.tmp_0 = tileworld_RuleRoom_setRuleType__P307849_mk(s); + s.trow___10407 = (r0); + s.tmp_0 = tileworld_RuleRoom_setRuleType__P10034_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.tmp_0.arg3 = s.tcol___308216; - s.tmp_0.arg4 = s.trow___308222; + s.tmp_0.arg3 = s.tcol___10401; + s.tmp_0.arg4 = s.trow___10407; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - r0 = pxsim_Array__length(s.rules___308206); + r0 = pxsim_Array__length(s.rules___10391); 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; } - s.tmp_2 = tileworld_RuleVisualsBase_fillTile__P306472_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_fillTile__P8657_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.tcol___308216; - s.tmp_2.arg2 = s.trow___308222; - s.tmp_2.arg3 = s.scol___308205; + s.tmp_2.arg1 = s.tcol___10401; + s.tmp_2.arg2 = s.trow___10407; + s.tmp_2.arg3 = s.scol___10390; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P306471_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P8656_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.tcol___308216; - s.tmp_0.arg2 = s.trow___308222; + s.tmp_0.arg1 = s.tcol___10401; + s.tmp_0.arg2 = s.trow___10407; s.tmp_0.arg3 = 1; s.pc = 16; return s.tmp_0; case 16: @@ -34188,50 +34140,50 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } s.tmp_1 = r0 = s.arg3; - s.tmp_3 = tileworld_moveXdelta__P302362_mk(s); + s.tmp_3 = tileworld_moveXdelta__P4206_mk(s); s.tmp_3.arg0 = s.arg2; s.pc = 17; return s.tmp_3; case 17: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.tcol___308246 = (r0); + s.tcol___10431 = (r0); s.tmp_0 = r0 = s.arg4; - s.tmp_2 = tileworld_moveYdelta__P302374_mk(s); + s.tmp_2 = tileworld_moveYdelta__P4218_mk(s); s.tmp_2.arg0 = s.arg2; s.pc = 18; return s.tmp_2; case 18: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.trow___308251 = (r0); - s.tmp_0 = tileworld_RuleRoom_setRuleType__P307849_mk(s); + s.trow___10436 = (r0); + s.tmp_0 = tileworld_RuleRoom_setRuleType__P10034_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.tmp_0.arg3 = s.tcol___308246; - s.tmp_0.arg4 = s.trow___308251; + s.tmp_0.arg3 = s.tcol___10431; + s.tmp_0.arg4 = s.trow___10436; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_Array__length(s.rules___308206); + r0 = pxsim_Array__length(s.rules___10391); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = tileworld_RuleVisualsBase_fillTile__P306472_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_fillTile__P8657_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.tcol___308246; - s.tmp_2.arg2 = s.trow___308251; - s.tmp_2.arg3 = s.scol___308205; + s.tmp_2.arg1 = s.tcol___10431; + s.tmp_2.arg2 = s.trow___10436; + s.tmp_2.arg3 = s.scol___10390; s.pc = 20; return s.tmp_2; case 20: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P306471_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P8656_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.tcol___308246; - s.tmp_0.arg2 = s.trow___308251; + s.tmp_0.arg1 = s.tcol___10431; + s.tmp_0.arg2 = s.trow___10436; s.tmp_0.arg3 = 1; s.pc = 21; return s.tmp_0; case 21: @@ -34240,7 +34192,7 @@ switch (step) { case 5: { step = 9; continue; } case 6: - s.tmp_0 = tileworld_RuleRoom_setRuleType__P307849_mk(s); + s.tmp_0 = tileworld_RuleRoom_setRuleType__P10034_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -34249,21 +34201,21 @@ switch (step) { s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - r0 = pxsim_Array__length(s.rules___308206); + r0 = pxsim_Array__length(s.rules___10391); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = tileworld_RuleVisualsBase_fillTile__P306472_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_fillTile__P8657_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg3; s.tmp_2.arg2 = s.arg4; - s.tmp_2.arg3 = s.scol___308205; + s.tmp_2.arg3 = s.scol___10390; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P306471_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P8656_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.tmp_0.arg2 = s.arg4; @@ -34275,7 +34227,7 @@ switch (step) { case 8: case 9: case 10: - s.tmp_0 = tileworld_RuleVisualsBase_showRuleType__P306476_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_showRuleType__P8661_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -34289,24 +34241,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleRoom_doBoth__P307850.info = {"start":4218,"length":1090,"line":100,"column":8,"endLine":118,"endColumn":9,"fileName":"spriteRules.ts","functionName":"doBoth","argumentNames":["this","rt","rd","col","row","center"]} -tileworld_RuleRoom_doBoth__P307850.info = {"start":4218,"length":1090,"line":100,"column":8,"endLine":118,"endColumn":9,"fileName":"spriteRules.ts","functionName":"doBoth","argumentNames":["this","rt","rd","col","row","center"]} +tileworld_RuleRoom_doBoth__P10035.info = {"start":4218,"length":1090,"line":100,"column":8,"endLine":118,"endColumn":9,"fileName":"spriteRules.ts","functionName":"doBoth","argumentNames":["this","rt","rd","col","row","center"]} +tileworld_RuleRoom_doBoth__P10035.info = {"start":4218,"length":1090,"line":100,"column":8,"endLine":118,"endColumn":9,"fileName":"spriteRules.ts","functionName":"doBoth","argumentNames":["this","rt","rd","col","row","center"]} -function tileworld_RuleRoom_doBoth__P307850_mk(s) { +function tileworld_RuleRoom_doBoth__P10035_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleRoom_doBoth__P307850, depth: s.depth + 1, + parent: s, fn: tileworld_RuleRoom_doBoth__P10035, 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, - scol___308205: undefined, - rules___308206: undefined, - tcol___308216: undefined, - trow___308222: undefined, - tcol___308246: undefined, - trow___308251: undefined, + scol___10390: undefined, + rules___10391: undefined, + tcol___10401: undefined, + trow___10407: undefined, + tcol___10431: undefined, + trow___10436: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34319,7 +34271,7 @@ function tileworld_RuleRoom_doBoth__P307850_mk(s) { -function tileworld_RuleRoom_setRuleType__P307849(s) { +function tileworld_RuleRoom_setRuleType__P10034(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34338,7 +34290,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleRoom__C307843_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleRoom__C10028_VT)) failedCast(r0); r0 = s.arg0.fields["ruleTypeMap"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.arg3, s.arg4, s.arg1); @@ -34349,13 +34301,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleRoom_setRuleType__P307849.info = {"start":3978,"length":194,"line":94,"column":8,"endLine":97,"endColumn":9,"fileName":"spriteRules.ts","functionName":"setRuleType","argumentNames":["this","rt","rd","col","row"]} -tileworld_RuleRoom_setRuleType__P307849.info = {"start":3978,"length":194,"line":94,"column":8,"endLine":97,"endColumn":9,"fileName":"spriteRules.ts","functionName":"setRuleType","argumentNames":["this","rt","rd","col","row"]} +tileworld_RuleRoom_setRuleType__P10034.info = {"start":3978,"length":194,"line":94,"column":8,"endLine":97,"endColumn":9,"fileName":"spriteRules.ts","functionName":"setRuleType","argumentNames":["this","rt","rd","col","row"]} +tileworld_RuleRoom_setRuleType__P10034.info = {"start":3978,"length":194,"line":94,"column":8,"endLine":97,"endColumn":9,"fileName":"spriteRules.ts","functionName":"setRuleType","argumentNames":["this","rt","rd","col","row"]} -function tileworld_RuleRoom_setRuleType__P307849_mk(s) { +function tileworld_RuleRoom_setRuleType__P10034_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleRoom_setRuleType__P307849, depth: s.depth + 1, + parent: s, fn: tileworld_RuleRoom_setRuleType__P10034, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34369,7 +34321,7 @@ function tileworld_RuleRoom_setRuleType__P307849_mk(s) { -function tileworld_moveYdelta__P302374(s) { +function tileworld_moveYdelta__P4218(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34409,13 +34361,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_moveYdelta__P302374.info = {"start":2774,"length":137,"line":95,"column":4,"endLine":97,"endColumn":5,"fileName":"rule.ts","functionName":"moveYdelta","argumentNames":["dir"]} -tileworld_moveYdelta__P302374.info = {"start":2774,"length":137,"line":95,"column":4,"endLine":97,"endColumn":5,"fileName":"rule.ts","functionName":"moveYdelta","argumentNames":["dir"]} +tileworld_moveYdelta__P4218.info = {"start":2774,"length":137,"line":95,"column":4,"endLine":97,"endColumn":5,"fileName":"rule.ts","functionName":"moveYdelta","argumentNames":["dir"]} +tileworld_moveYdelta__P4218.info = {"start":2774,"length":137,"line":95,"column":4,"endLine":97,"endColumn":5,"fileName":"rule.ts","functionName":"moveYdelta","argumentNames":["dir"]} -function tileworld_moveYdelta__P302374_mk(s) { +function tileworld_moveYdelta__P4218_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_moveYdelta__P302374, depth: s.depth + 1, + parent: s, fn: tileworld_moveYdelta__P4218, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34428,7 +34380,7 @@ function tileworld_moveYdelta__P302374_mk(s) { -function tileworld_moveXdelta__P302362(s) { +function tileworld_moveXdelta__P4206(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34468,13 +34420,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_moveXdelta__P302362.info = {"start":2628,"length":140,"line":91,"column":4,"endLine":93,"endColumn":5,"fileName":"rule.ts","functionName":"moveXdelta","argumentNames":["dir"]} -tileworld_moveXdelta__P302362.info = {"start":2628,"length":140,"line":91,"column":4,"endLine":93,"endColumn":5,"fileName":"rule.ts","functionName":"moveXdelta","argumentNames":["dir"]} +tileworld_moveXdelta__P4206.info = {"start":2628,"length":140,"line":91,"column":4,"endLine":93,"endColumn":5,"fileName":"rule.ts","functionName":"moveXdelta","argumentNames":["dir"]} +tileworld_moveXdelta__P4206.info = {"start":2628,"length":140,"line":91,"column":4,"endLine":93,"endColumn":5,"fileName":"rule.ts","functionName":"moveXdelta","argumentNames":["dir"]} -function tileworld_moveXdelta__P302362_mk(s) { +function tileworld_moveXdelta__P4206_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_moveXdelta__P302362, depth: s.depth + 1, + parent: s, fn: tileworld_moveXdelta__P4206, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34487,7 +34439,7 @@ function tileworld_moveXdelta__P302362_mk(s) { -function tileworld_RuleRoom_makeContext__P307848(s) { +function tileworld_RuleRoom_makeContext__P10033(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34497,8 +34449,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.i___308156 = undefined; - s.j___308162 = undefined; + s.i___10341 = undefined; + s.j___10347 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34506,53 +34458,53 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleRoom__C307843_VT)) failedCast(r0); - s.i___308156 = (-1); + if (!checkSubtype(r0, tileworld_RuleRoom__C10028_VT)) failedCast(r0); + s.i___10341 = (-1); case 1: - r0 = (s.i___308156 <= 1); + r0 = (s.i___10341 <= 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.j___308162 = (-1); + s.j___10347 = (-1); case 2: - r0 = (s.j___308162 <= 1); + r0 = (s.j___10347 <= 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_1.arg0 = s.arg0; - r0 = (s.arg1 + s.i___308156); + r0 = (s.arg1 + s.i___10341); s.tmp_1.arg1 = r0; - r0 = (s.arg2 + s.j___308162); + r0 = (s.arg2 + s.j___10347); s.tmp_1.arg2 = r0; - s.tmp_1.arg3 = globals.emptyTile___304538; + s.tmp_1.arg3 = globals.emptyTile___6386; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = (s.j___308162 + 1); - s.j___308162 = (r0); + r0 = (s.j___10347 + 1); + s.j___10347 = (r0); { step = 2; continue; } case 3: - r0 = (s.i___308156 + 1); - s.i___308156 = (r0); + r0 = (s.i___10341 + 1); + s.i___10341 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleRoom_makeContext__P307848.info = {"start":3718,"length":248,"line":86,"column":8,"endLine":92,"endColumn":9,"fileName":"spriteRules.ts","functionName":"makeContext","argumentNames":["this","col","row"]} -tileworld_RuleRoom_makeContext__P307848.info = {"start":3718,"length":248,"line":86,"column":8,"endLine":92,"endColumn":9,"fileName":"spriteRules.ts","functionName":"makeContext","argumentNames":["this","col","row"]} +tileworld_RuleRoom_makeContext__P10033.info = {"start":3718,"length":248,"line":86,"column":8,"endLine":92,"endColumn":9,"fileName":"spriteRules.ts","functionName":"makeContext","argumentNames":["this","col","row"]} +tileworld_RuleRoom_makeContext__P10033.info = {"start":3718,"length":248,"line":86,"column":8,"endLine":92,"endColumn":9,"fileName":"spriteRules.ts","functionName":"makeContext","argumentNames":["this","col","row"]} -function tileworld_RuleRoom_makeContext__P307848_mk(s) { +function tileworld_RuleRoom_makeContext__P10033_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleRoom_makeContext__P307848, depth: s.depth + 1, + parent: s, fn: tileworld_RuleRoom_makeContext__P10033, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___308156: undefined, - j___308162: undefined, + i___10341: undefined, + j___10347: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34562,7 +34514,7 @@ function tileworld_RuleRoom_makeContext__P307848_mk(s) { -function sprites_create__P298222(s) { +function sprites_create__P730(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34572,51 +34524,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___317640 = undefined; - s.sprite___317643 = undefined; + s.scene___19823 = undefined; + s.sprite___19826 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P298414_mk(s); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___317640 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C298227_VT); + s.scene___19823 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C735_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P298278_mk(s); + s.tmp_1 = Sprite_constructor__P786_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___317643 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P298258_mk(s); - s.tmp_0.arg0 = s.sprite___317643; + s.sprite___19826 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P766_mk(s); + s.tmp_0.arg0 = s.sprite___19826; s.tmp_0.arg1 = s.arg1; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = PhysicsEngine__C298333_v0_2_mk(s); - r0 = s.scene___317640.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C841_v0_2_mk(s); + r0 = s.scene___19823.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___317643; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C298333_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___19826; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C841_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__P317658); + r0 = pxsim_pxtcore_mkAction(1, inline__P19841); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, inline__P317665); + r0 = pxsim_pxtcore_mkAction(1, inline__P19848); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___317643); - s.tmp_2 = helpers_arrayForEach__P297630_mk(s); - s.tmp_3 = helpers_arrayFilter__P297631_mk(s); - r0 = s.scene___317640.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___19826); + s.tmp_2 = helpers_arrayForEach__P59_mk(s); + s.tmp_3 = helpers_arrayFilter__P60_mk(s); + r0 = s.scene___19823.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.pc = 6; return s.tmp_3; @@ -34627,24 +34579,24 @@ switch (step) { s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___317643; + r0 = s.sprite___19826; return leave(s, r0) default: oops() } } } -sprites_create__P298222.info = {"start":890,"length":400,"line":35,"column":4,"endLine":47,"endColumn":5,"fileName":"pxt_modules/game---hw/sprites.ts","functionName":"create","argumentNames":["img","kind"]} -sprites_create__P298222.info = {"start":890,"length":400,"line":35,"column":4,"endLine":47,"endColumn":5,"fileName":"pxt_modules/game---hw/sprites.ts","functionName":"create","argumentNames":["img","kind"]} +sprites_create__P730.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__P730.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__P298222_mk(s) { +function sprites_create__P730_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P298222, depth: s.depth + 1, + parent: s, fn: sprites_create__P730, 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___317640: undefined, - sprite___317643: undefined, + scene___19823: undefined, + sprite___19826: undefined, arg0: undefined, arg1: undefined, } } @@ -34653,7 +34605,7 @@ function sprites_create__P298222_mk(s) { -function inline__P317658(s) { +function inline__P19841(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34673,13 +34625,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P317658.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game---hw/sprites.ts","functionName":"inline","argumentNames":["h"]} -inline__P317658.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game---hw/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P19841.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P19841.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__P317658_mk(s) { +function inline__P19841_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P317658, depth: s.depth + 1, + parent: s, fn: inline__P19841, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34689,7 +34641,7 @@ function inline__P317658_mk(s) { -function inline__P317665(s) { +function inline__P19848(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34721,13 +34673,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P317665.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game---hw/sprites.ts","functionName":"inline","argumentNames":["h"]} -inline__P317665.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game---hw/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P19848.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P19848.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__P317665_mk(s) { +function inline__P19848_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P317665, depth: s.depth + 1, + parent: s, fn: inline__P19848, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34737,7 +34689,7 @@ function inline__P317665_mk(s) { -function PhysicsEngine_addSprite__P298334(s) { +function PhysicsEngine_addSprite__P842(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34753,18 +34705,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C298333_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C841_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_addSprite__P298334.info = {"start":124,"length":29,"line":8,"column":4,"endLine":8,"endColumn":33,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -PhysicsEngine_addSprite__P298334.info = {"start":124,"length":29,"line":8,"column":4,"endLine":8,"endColumn":33,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +PhysicsEngine_addSprite__P842.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__P842.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__P298334_mk(s) { +function PhysicsEngine_addSprite__P842_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P298334, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P842, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34774,7 +34726,7 @@ function PhysicsEngine_addSprite__P298334_mk(s) { -function Sprite_constructor__P298278(s) { +function Sprite_constructor__P786(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34790,15 +34742,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P298106_mk(s); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P614_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___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -34812,7 +34764,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___298046); + r0 = pxsim_ImageMethods.height(globals.screen___545); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -34831,38 +34783,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__P298234_mk(s); + s.tmp_0 = Sprite_vx__P742_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__P298236_mk(s); + s.tmp_0 = Sprite_vy__P744_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__P298238_mk(s); + s.tmp_0 = Sprite_ax__P746_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__P298240_mk(s); + s.tmp_0 = Sprite_ay__P748_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__P298245_mk(s); + s.tmp_0 = Sprite_setImage__P753_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__P298258_mk(s); + s.tmp_0 = Sprite_setKind__P766_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; s.pc = 7; return s.tmp_0; @@ -34882,13 +34834,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_constructor__P298278.info = {"start":4441,"length":578,"line":179,"column":4,"endLine":197,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"inline","argumentNames":["this","img"]} -Sprite_constructor__P298278.info = {"start":4441,"length":578,"line":179,"column":4,"endLine":197,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"inline","argumentNames":["this","img"]} +Sprite_constructor__P786.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__P786.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__P298278_mk(s) { +function Sprite_constructor__P786_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P298278, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P786, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34905,7 +34857,7 @@ function Sprite_constructor__P298278_mk(s) { -function Sprite_ay__P298240(s) { +function Sprite_ay__P748(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34921,7 +34873,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -34932,13 +34884,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ay__P298240.info = {"start":3333,"length":51,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"ay","argumentNames":["this","v"]} -Sprite_ay__P298240.info = {"start":3333,"length":51,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"ay","argumentNames":["this","v"]} +Sprite_ay__P748.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__P748.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__P298240_mk(s) { +function Sprite_ay__P748_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P298240, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P748, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34951,7 +34903,7 @@ function Sprite_ay__P298240_mk(s) { -function Sprite_ay__P298239(s) { +function Sprite_ay__P747(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34966,21 +34918,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_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__P298239.info = {"start":3167,"length":60,"line":123,"column":4,"endLine":125,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"ay","argumentNames":["this"]} -Sprite_ay__P298239.isGetter = true; -Sprite_ay__P298239.info = {"start":3167,"length":60,"line":123,"column":4,"endLine":125,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"ay","argumentNames":["this"]} +Sprite_ay__P747.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__P747.isGetter = true; +Sprite_ay__P747.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__P298239_mk(s) { +function Sprite_ay__P747_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P298239, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P747, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34990,7 +34942,7 @@ function Sprite_ay__P298239_mk(s) { -function Fx_toFloat__P297696(s) { +function Fx_toFloat__P125(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35008,13 +34960,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toFloat__P297696.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__P297696.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__P125.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__P125.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__P297696_mk(s) { +function Fx_toFloat__P125_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toFloat__P297696, depth: s.depth + 1, + parent: s, fn: Fx_toFloat__P125, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35023,7 +34975,7 @@ function Fx_toFloat__P297696_mk(s) { -function Sprite_ax__P298238(s) { +function Sprite_ax__P746(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35039,7 +34991,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -35050,13 +35002,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ax__P298238.info = {"start":2994,"length":51,"line":117,"column":4,"endLine":119,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"ax","argumentNames":["this","v"]} -Sprite_ax__P298238.info = {"start":2994,"length":51,"line":117,"column":4,"endLine":119,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"ax","argumentNames":["this","v"]} +Sprite_ax__P746.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__P746.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__P298238_mk(s) { +function Sprite_ax__P746_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P298238, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P746, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35069,7 +35021,7 @@ function Sprite_ax__P298238_mk(s) { -function Sprite_ax__P298237(s) { +function Sprite_ax__P745(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35084,21 +35036,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_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__P298237.info = {"start":2828,"length":60,"line":112,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"ax","argumentNames":["this"]} -Sprite_ax__P298237.isGetter = true; -Sprite_ax__P298237.info = {"start":2828,"length":60,"line":112,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"ax","argumentNames":["this"]} +Sprite_ax__P745.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__P745.isGetter = true; +Sprite_ax__P745.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__P298237_mk(s) { +function Sprite_ax__P745_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P298237, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P745, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35108,7 +35060,7 @@ function Sprite_ax__P298237_mk(s) { -function Sprite_vy__P298236(s) { +function Sprite_vy__P744(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35124,7 +35076,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -35135,13 +35087,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vy__P298236.info = {"start":2655,"length":51,"line":106,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"vy","argumentNames":["this","v"]} -Sprite_vy__P298236.info = {"start":2655,"length":51,"line":106,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"vy","argumentNames":["this","v"]} +Sprite_vy__P744.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__P744.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__P298236_mk(s) { +function Sprite_vy__P744_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P298236, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P744, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35154,7 +35106,7 @@ function Sprite_vy__P298236_mk(s) { -function Sprite_vy__P298235(s) { +function Sprite_vy__P743(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35169,21 +35121,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_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__P298235.info = {"start":2493,"length":60,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"vy","argumentNames":["this"]} -Sprite_vy__P298235.isGetter = true; -Sprite_vy__P298235.info = {"start":2493,"length":60,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"vy","argumentNames":["this"]} +Sprite_vy__P743.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__P743.isGetter = true; +Sprite_vy__P743.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__P298235_mk(s) { +function Sprite_vy__P743_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P298235, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P743, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35193,7 +35145,7 @@ function Sprite_vy__P298235_mk(s) { -function Sprite_vx__P298234(s) { +function Sprite_vx__P742(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35209,7 +35161,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -35220,13 +35172,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vx__P298234.info = {"start":2324,"length":51,"line":95,"column":4,"endLine":97,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"vx","argumentNames":["this","v"]} -Sprite_vx__P298234.info = {"start":2324,"length":51,"line":95,"column":4,"endLine":97,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"vx","argumentNames":["this","v"]} +Sprite_vx__P742.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__P742.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__P298234_mk(s) { +function Sprite_vx__P742_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P298234, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P742, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35239,7 +35191,7 @@ function Sprite_vx__P298234_mk(s) { -function Sprite_vx__P298233(s) { +function Sprite_vx__P741(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35254,21 +35206,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_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__P298233.info = {"start":2162,"length":60,"line":90,"column":4,"endLine":92,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"vx","argumentNames":["this"]} -Sprite_vx__P298233.isGetter = true; -Sprite_vx__P298233.info = {"start":2162,"length":60,"line":90,"column":4,"endLine":92,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"vx","argumentNames":["this"]} +Sprite_vx__P741.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__P741.isGetter = true; +Sprite_vx__P741.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__P298233_mk(s) { +function Sprite_vx__P741_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P298233, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P741, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35278,7 +35230,7 @@ function Sprite_vx__P298233_mk(s) { -function Sprite_setKind__P298258(s) { +function Sprite_setKind__P766(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35288,15 +35240,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.spritesByKind___321421 = undefined; - s.overlapMap___321450 = undefined; + s.spritesByKind___23604 = undefined; + s.overlapMap___23633 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -35315,12 +35267,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P298414_mk(s); + s.tmp_3 = game_currentScene__P922_mk(s); s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___321421 = (r0); + s.spritesByKind___23604 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -35332,16 +35284,16 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___321421, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___23604, 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__P298303_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P811_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___321421, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___23604, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; s.pc = 17; return s.tmp_4; @@ -35353,7 +35305,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___321421, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___23604, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -35361,18 +35313,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__C298297_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C805_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P298308_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P816_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___321421, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___23604, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P298301_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___321421, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P809_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___23604, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.pc = 19; return s.tmp_0; @@ -35380,13 +35332,13 @@ switch (step) { r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P298414_mk(s); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___321450 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___321450, s.arg1); + s.overlapMap___23633 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___23633, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -35394,7 +35346,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___321450; + s.tmp_3 = r0 = s.overlapMap___23633; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -35402,7 +35354,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___321450, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___23633, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -35411,13 +35363,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setKind__P298258.info = {"start":9979,"length":663,"line":365,"column":4,"endLine":385,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} -Sprite_setKind__P298258.info = {"start":9979,"length":663,"line":365,"column":4,"endLine":385,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} +Sprite_setKind__P766.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__P766.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__P298258_mk(s) { +function Sprite_setKind__P766_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P298258, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P766, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35425,8 +35377,8 @@ function Sprite_setKind__P298258_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___321421: undefined, - overlapMap___321450: undefined, + spritesByKind___23604: undefined, + overlapMap___23633: undefined, arg0: undefined, arg1: undefined, } } @@ -35435,7 +35387,7 @@ function Sprite_setKind__P298258_mk(s) { -function sprites_SpriteSet_constructor__P298308(s) { +function sprites_SpriteSet_constructor__P816(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35450,7 +35402,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C298297_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C805_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -35459,13 +35411,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_constructor__P298308.info = {"start":488,"length":57,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game---hw/spriteset.ts","functionName":"inline","argumentNames":["this"]} -sprites_SpriteSet_constructor__P298308.info = {"start":488,"length":57,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game---hw/spriteset.ts","functionName":"inline","argumentNames":["this"]} +sprites_SpriteSet_constructor__P816.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__P816.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__P298308_mk(s) { +function sprites_SpriteSet_constructor__P816_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P298308, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P816, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35476,7 +35428,7 @@ function sprites_SpriteSet_constructor__P298308_mk(s) { -function sprites_SpriteSet_add__P298301(s) { +function sprites_SpriteSet_add__P809(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35492,7 +35444,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C298297_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C805_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -35523,13 +35475,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_add__P298301.info = {"start":1027,"length":263,"line":41,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/game---hw/spriteset.ts","functionName":"add","argumentNames":["this","sprite"]} -sprites_SpriteSet_add__P298301.info = {"start":1027,"length":263,"line":41,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/game---hw/spriteset.ts","functionName":"add","argumentNames":["this","sprite"]} +sprites_SpriteSet_add__P809.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__P809.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__P298301_mk(s) { +function sprites_SpriteSet_add__P809_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P298301, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P809, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35545,7 +35497,7 @@ function sprites_SpriteSet_add__P298301_mk(s) { -function sprites_SpriteSet_contains__P298304(s) { +function sprites_SpriteSet_contains__P812(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35561,7 +35513,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C298297_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C805_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -35570,13 +35522,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_contains__P298304.info = {"start":2162,"length":100,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game---hw/spriteset.ts","functionName":"contains","argumentNames":["this","sprite"]} -sprites_SpriteSet_contains__P298304.info = {"start":2162,"length":100,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game---hw/spriteset.ts","functionName":"contains","argumentNames":["this","sprite"]} +sprites_SpriteSet_contains__P812.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__P812.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__P298304_mk(s) { +function sprites_SpriteSet_contains__P812_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P298304, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P812, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35588,7 +35540,7 @@ function sprites_SpriteSet_contains__P298304_mk(s) { -function tileworld_RuleVisualsBase_setTileSaved__P306473(s) { +function tileworld_RuleVisualsBase_setTileSaved__P8658(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35603,11 +35555,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); - s.tmp_0 = Sprite_x__P298230_mk(s); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); + s.tmp_0 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P298229_mk(s); + s.tmp_1 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; s.pc = 2; return s.tmp_1; @@ -35617,10 +35569,10 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); + s.tmp_0 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P298231_mk(s); + s.tmp_1 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; s.pc = 4; return s.tmp_1; @@ -35644,7 +35596,7 @@ switch (step) { } case 5: r0 = s.retval; - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + s.tmp_0 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; @@ -35656,13 +35608,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_setTileSaved__P306473.info = {"start":4957,"length":229,"line":128,"column":8,"endLine":133,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setTileSaved","argumentNames":["this"]} -tileworld_RuleVisualsBase_setTileSaved__P306473.info = {"start":4957,"length":229,"line":128,"column":8,"endLine":133,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setTileSaved","argumentNames":["this"]} +tileworld_RuleVisualsBase_setTileSaved__P8658.info = {"start":4957,"length":229,"line":128,"column":8,"endLine":133,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setTileSaved","argumentNames":["this"]} +tileworld_RuleVisualsBase_setTileSaved__P8658.info = {"start":4957,"length":229,"line":128,"column":8,"endLine":133,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setTileSaved","argumentNames":["this"]} -function tileworld_RuleVisualsBase_setTileSaved__P306473_mk(s) { +function tileworld_RuleVisualsBase_setTileSaved__P8658_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_setTileSaved__P306473, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_setTileSaved__P8658, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35673,7 +35625,7 @@ function tileworld_RuleVisualsBase_setTileSaved__P306473_mk(s) { -function tileworld_ImageEditor_constructor__P306573(s) { +function tileworld_ImageEditor_constructor__P8758(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35689,18 +35641,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C306563_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C8748_VT)) failedCast(r0); r0 = (s.arg0).fields["p"] = (s.arg1); r0 = (s.arg0).fields["Adown"] = (false); r0 = (s.arg0).fields["kind"] = (0); r0 = (s.arg0).fields["dirty"] = (false); - s.tmp_0 = tileworld_BackgroundBase_constructor__P306069_mk(s); + s.tmp_0 = tileworld_BackgroundBase_constructor__P8248_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = tileworld_Project_getImage__P303129_mk(s); + s.tmp_2 = tileworld_Project_getImage__P4977_mk(s); s.tmp_2.arg0 = s.arg1; r0 = s.arg0.fields["kind"]; s.tmp_2.arg1 = r0; @@ -35710,15 +35662,15 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["image"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P298222_mk(s); - s.tmp_2.arg0 = globals.colorOut___306552; + s.tmp_2 = sprites_create__P730_mk(s); + s.tmp_2.arg0 = globals.colorOut___8737; s.tmp_2.arg1 = undefined; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["colorCursor"] = (s.tmp_1); - s.tmp_0 = Sprite_x__P298230_mk(s); + s.tmp_0 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_0.arg0 = r0; r0 = (5 + 4); @@ -35726,45 +35678,45 @@ switch (step) { s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); + s.tmp_0 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 94; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = tileworld_cursorAnimation__P302070_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3914_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.colorIn___306555; + s.tmp_0.arg1 = globals.colorIn___8740; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = (s.arg0).fields["selectedColor"] = (0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P298222_mk(s); - s.tmp_2.arg0 = globals.paintOut___306558; + s.tmp_2 = sprites_create__P730_mk(s); + s.tmp_2.arg0 = globals.paintOut___8743; s.tmp_2.arg1 = undefined; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["paintCursor"] = (s.tmp_1); - s.tmp_0 = tileworld_cursorAnimation__P302070_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3914_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.paintIn___306561; + s.tmp_0.arg1 = globals.paintIn___8746; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_x__P298230_mk(s); + s.tmp_0 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 32; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); + s.tmp_0 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 26; @@ -35772,153 +35724,153 @@ switch (step) { case 10: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P298222_mk(s); - s.tmp_2.arg0 = globals.cursorIn___304541; + s.tmp_2 = sprites_create__P730_mk(s); + s.tmp_2.arg0 = globals.cursorIn___6389; s.tmp_2.arg1 = undefined; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["menuCursor"] = (s.tmp_1); - s.tmp_0 = Sprite_x__P298230_mk(s); + s.tmp_0 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 8; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); + s.tmp_0 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 12; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = tileworld_cursorAnimation__P302070_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3914_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.cursorOut___304544; + s.tmp_0.arg1 = globals.cursorOut___6392; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = tileworld_ImageEditor_setCursor__P306571_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P8756_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = tileworld_ImageEditor__C306563_v0_1_mk(s); + s.tmp_0 = tileworld_ImageEditor__C8748_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ImageEditor__C306563_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ImageEditor__C8748_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P306667); + r0 = pxsim_pxtcore_mkAction(1, inline__P8852); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.left___298128; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.left___636; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P306672); + r0 = pxsim_pxtcore_mkAction(1, inline__P8857); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.left___298128; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.left___636; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P306677); + r0 = pxsim_pxtcore_mkAction(1, inline__P8862); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.right___298132; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.right___640; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P306682); + r0 = pxsim_pxtcore_mkAction(1, inline__P8867); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.right___298132; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.right___640; s.tmp_1.arg1 = 2054; 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__P306687); + r0 = pxsim_pxtcore_mkAction(1, inline__P8872); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.up___298130; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.up___638; s.tmp_1.arg1 = 2049; 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__P306692); + r0 = pxsim_pxtcore_mkAction(1, inline__P8877); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.up___298130; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.up___638; s.tmp_1.arg1 = 2054; 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__P306697); + r0 = pxsim_pxtcore_mkAction(1, inline__P8882); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.down___298134; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.down___642; s.tmp_1.arg1 = 2049; 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__P306702); + r0 = pxsim_pxtcore_mkAction(1, inline__P8887); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.down___298134; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.down___642; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P306707); + r0 = pxsim_pxtcore_mkAction(1, inline__P8892); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.A___298124; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.A___632; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P306716); + r0 = pxsim_pxtcore_mkAction(1, inline__P8901); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.A___298124; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.A___632; s.tmp_1.arg1 = 2048; s.tmp_1.arg2 = s.tmp_0; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P306722); + r0 = pxsim_pxtcore_mkAction(1, inline__P8907); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.B___298126; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.B___634; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 27; return s.tmp_1; @@ -35928,13 +35880,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_constructor__P306573.info = {"start":1510,"length":2168,"line":62,"column":8,"endLine":104,"endColumn":9,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":["this","p"]} -tileworld_ImageEditor_constructor__P306573.info = {"start":1510,"length":2168,"line":62,"column":8,"endLine":104,"endColumn":9,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_ImageEditor_constructor__P8758.info = {"start":1510,"length":2168,"line":62,"column":8,"endLine":104,"endColumn":9,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_ImageEditor_constructor__P8758.info = {"start":1510,"length":2168,"line":62,"column":8,"endLine":104,"endColumn":9,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":["this","p"]} -function tileworld_ImageEditor_constructor__P306573_mk(s) { +function tileworld_ImageEditor_constructor__P8758_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_constructor__P306573, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_constructor__P8758, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35947,7 +35899,7 @@ function tileworld_ImageEditor_constructor__P306573_mk(s) { -function inline__P306667(s) { +function inline__P8852(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35957,7 +35909,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveLeft__P306566_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveLeft__P8751_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -35966,13 +35918,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P306667.info = {"start":2421,"length":21,"line":85,"column":67,"endLine":85,"endColumn":88,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -inline__P306667.info = {"start":2421,"length":21,"line":85,"column":67,"endLine":85,"endColumn":88,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8852.info = {"start":2421,"length":21,"line":85,"column":67,"endLine":85,"endColumn":88,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8852.info = {"start":2421,"length":21,"line":85,"column":67,"endLine":85,"endColumn":88,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P306667_mk(s) { +function inline__P8852_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P306667, depth: s.depth + 1, + parent: s, fn: inline__P8852, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -35981,7 +35933,7 @@ function inline__P306667_mk(s) { -function inline__P306672(s) { +function inline__P8857(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35991,7 +35943,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveLeft__P306566_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveLeft__P8751_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -36000,13 +35952,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P306672.info = {"start":2513,"length":21,"line":86,"column":68,"endLine":86,"endColumn":89,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -inline__P306672.info = {"start":2513,"length":21,"line":86,"column":68,"endLine":86,"endColumn":89,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8857.info = {"start":2513,"length":21,"line":86,"column":68,"endLine":86,"endColumn":89,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8857.info = {"start":2513,"length":21,"line":86,"column":68,"endLine":86,"endColumn":89,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P306672_mk(s) { +function inline__P8857_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P306672, depth: s.depth + 1, + parent: s, fn: inline__P8857, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -36015,7 +35967,7 @@ function inline__P306672_mk(s) { -function inline__P306677(s) { +function inline__P8862(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36025,7 +35977,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveRight__P306567_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveRight__P8752_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -36034,13 +35986,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P306677.info = {"start":2605,"length":22,"line":87,"column":68,"endLine":87,"endColumn":90,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -inline__P306677.info = {"start":2605,"length":22,"line":87,"column":68,"endLine":87,"endColumn":90,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8862.info = {"start":2605,"length":22,"line":87,"column":68,"endLine":87,"endColumn":90,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8862.info = {"start":2605,"length":22,"line":87,"column":68,"endLine":87,"endColumn":90,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P306677_mk(s) { +function inline__P8862_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P306677, depth: s.depth + 1, + parent: s, fn: inline__P8862, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -36049,7 +36001,7 @@ function inline__P306677_mk(s) { -function inline__P306682(s) { +function inline__P8867(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36059,7 +36011,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveRight__P306567_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveRight__P8752_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -36068,13 +36020,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P306682.info = {"start":2699,"length":22,"line":88,"column":69,"endLine":88,"endColumn":91,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -inline__P306682.info = {"start":2699,"length":22,"line":88,"column":69,"endLine":88,"endColumn":91,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8867.info = {"start":2699,"length":22,"line":88,"column":69,"endLine":88,"endColumn":91,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8867.info = {"start":2699,"length":22,"line":88,"column":69,"endLine":88,"endColumn":91,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P306682_mk(s) { +function inline__P8867_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P306682, depth: s.depth + 1, + parent: s, fn: inline__P8867, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -36083,7 +36035,7 @@ function inline__P306682_mk(s) { -function inline__P306687(s) { +function inline__P8872(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36093,7 +36045,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveUp__P306568_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveUp__P8753_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -36102,13 +36054,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P306687.info = {"start":2789,"length":19,"line":89,"column":65,"endLine":89,"endColumn":84,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -inline__P306687.info = {"start":2789,"length":19,"line":89,"column":65,"endLine":89,"endColumn":84,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8872.info = {"start":2789,"length":19,"line":89,"column":65,"endLine":89,"endColumn":84,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8872.info = {"start":2789,"length":19,"line":89,"column":65,"endLine":89,"endColumn":84,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P306687_mk(s) { +function inline__P8872_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P306687, depth: s.depth + 1, + parent: s, fn: inline__P8872, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -36117,7 +36069,7 @@ function inline__P306687_mk(s) { -function inline__P306692(s) { +function inline__P8877(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36127,7 +36079,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveUp__P306568_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveUp__P8753_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -36136,13 +36088,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P306692.info = {"start":2877,"length":19,"line":90,"column":66,"endLine":90,"endColumn":85,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -inline__P306692.info = {"start":2877,"length":19,"line":90,"column":66,"endLine":90,"endColumn":85,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8877.info = {"start":2877,"length":19,"line":90,"column":66,"endLine":90,"endColumn":85,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8877.info = {"start":2877,"length":19,"line":90,"column":66,"endLine":90,"endColumn":85,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P306692_mk(s) { +function inline__P8877_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P306692, depth: s.depth + 1, + parent: s, fn: inline__P8877, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -36151,7 +36103,7 @@ function inline__P306692_mk(s) { -function inline__P306697(s) { +function inline__P8882(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36161,7 +36113,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveDown__P306569_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveDown__P8754_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -36170,13 +36122,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P306697.info = {"start":2966,"length":21,"line":91,"column":67,"endLine":91,"endColumn":88,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -inline__P306697.info = {"start":2966,"length":21,"line":91,"column":67,"endLine":91,"endColumn":88,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8882.info = {"start":2966,"length":21,"line":91,"column":67,"endLine":91,"endColumn":88,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8882.info = {"start":2966,"length":21,"line":91,"column":67,"endLine":91,"endColumn":88,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P306697_mk(s) { +function inline__P8882_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P306697, depth: s.depth + 1, + parent: s, fn: inline__P8882, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -36185,7 +36137,7 @@ function inline__P306697_mk(s) { -function inline__P306702(s) { +function inline__P8887(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36195,7 +36147,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveDown__P306569_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveDown__P8754_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -36204,13 +36156,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P306702.info = {"start":3058,"length":21,"line":92,"column":68,"endLine":92,"endColumn":89,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -inline__P306702.info = {"start":3058,"length":21,"line":92,"column":68,"endLine":92,"endColumn":89,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8887.info = {"start":3058,"length":21,"line":92,"column":68,"endLine":92,"endColumn":89,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8887.info = {"start":3058,"length":21,"line":92,"column":68,"endLine":92,"endColumn":89,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P306702_mk(s) { +function inline__P8887_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P306702, depth: s.depth + 1, + parent: s, fn: inline__P8887, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -36219,7 +36171,7 @@ function inline__P306702_mk(s) { -function inline__P306707(s) { +function inline__P8892(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36230,7 +36182,7 @@ switch (step) { case 0: r0 = (s.caps[0]).fields["Adown"] = (true); - s.tmp_0 = tileworld_ImageEditor_paintPixel__P306565_mk(s); + s.tmp_0 = tileworld_ImageEditor_paintPixel__P8750_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -36239,13 +36191,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P306707.info = {"start":3147,"length":46,"line":94,"column":64,"endLine":94,"endColumn":110,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -inline__P306707.info = {"start":3147,"length":46,"line":94,"column":64,"endLine":94,"endColumn":110,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8892.info = {"start":3147,"length":46,"line":94,"column":64,"endLine":94,"endColumn":110,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8892.info = {"start":3147,"length":46,"line":94,"column":64,"endLine":94,"endColumn":110,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P306707_mk(s) { +function inline__P8892_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P306707, depth: s.depth + 1, + parent: s, fn: inline__P8892, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -36254,7 +36206,7 @@ function inline__P306707_mk(s) { -function inline__P306716(s) { +function inline__P8901(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36269,13 +36221,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P306716.info = {"start":3261,"length":29,"line":95,"column":65,"endLine":95,"endColumn":94,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -inline__P306716.info = {"start":3261,"length":29,"line":95,"column":65,"endLine":95,"endColumn":94,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8901.info = {"start":3261,"length":29,"line":95,"column":65,"endLine":95,"endColumn":94,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8901.info = {"start":3261,"length":29,"line":95,"column":65,"endLine":95,"endColumn":94,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P306716_mk(s) { +function inline__P8901_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P306716, depth: s.depth + 1, + parent: s, fn: inline__P8901, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -36283,7 +36235,7 @@ function inline__P306716_mk(s) { -function inline__P306722(s) { +function inline__P8907(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36299,7 +36251,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = tileworld_ImageEditor_saveAndPop__P306570_mk(s); + s.tmp_2 = tileworld_ImageEditor_saveAndPop__P8755_mk(s); s.tmp_2.arg0 = s.caps[0]; s.pc = 5; return s.tmp_2; case 5: @@ -36312,7 +36264,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_2 = tileworld_ImageEditor_setCursor__P306571_mk(s); + s.tmp_2 = tileworld_ImageEditor_setCursor__P8756_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = 0; s.pc = 6; return s.tmp_2; @@ -36320,7 +36272,7 @@ switch (step) { r0 = s.retval; { step = 3; continue; } case 2: - s.tmp_0 = tileworld_ImageEditor_setCursor__P306571_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P8756_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 2; s.pc = 7; return s.tmp_0; @@ -36332,13 +36284,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P306722.info = {"start":3357,"length":309,"line":96,"column":64,"endLine":103,"endColumn":13,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -inline__P306722.info = {"start":3357,"length":309,"line":96,"column":64,"endLine":103,"endColumn":13,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8907.info = {"start":3357,"length":309,"line":96,"column":64,"endLine":103,"endColumn":13,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P8907.info = {"start":3357,"length":309,"line":96,"column":64,"endLine":103,"endColumn":13,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P306722_mk(s) { +function inline__P8907_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P306722, depth: s.depth + 1, + parent: s, fn: inline__P8907, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36349,7 +36301,7 @@ function inline__P306722_mk(s) { -function tileworld_ImageEditor_saveAndPop__P306570(s) { +function tileworld_ImageEditor_saveAndPop__P8755(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36364,8 +36316,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C306563_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_saveImage__P303131_mk(s); + if (!checkSubtype(r0, tileworld_ImageEditor__C8748_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_saveImage__P4979_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["kind"]; @@ -36373,7 +36325,7 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_popScene__P298729_mk(s); + s.tmp_0 = game_popScene__P1237_mk(s); s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -36381,13 +36333,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_saveAndPop__P306570.info = {"start":7379,"length":102,"line":195,"column":8,"endLine":198,"endColumn":9,"fileName":"imageeditor.ts","functionName":"saveAndPop","argumentNames":["this"]} -tileworld_ImageEditor_saveAndPop__P306570.info = {"start":7379,"length":102,"line":195,"column":8,"endLine":198,"endColumn":9,"fileName":"imageeditor.ts","functionName":"saveAndPop","argumentNames":["this"]} +tileworld_ImageEditor_saveAndPop__P8755.info = {"start":7379,"length":102,"line":195,"column":8,"endLine":198,"endColumn":9,"fileName":"imageeditor.ts","functionName":"saveAndPop","argumentNames":["this"]} +tileworld_ImageEditor_saveAndPop__P8755.info = {"start":7379,"length":102,"line":195,"column":8,"endLine":198,"endColumn":9,"fileName":"imageeditor.ts","functionName":"saveAndPop","argumentNames":["this"]} -function tileworld_ImageEditor_saveAndPop__P306570_mk(s) { +function tileworld_ImageEditor_saveAndPop__P8755_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_saveAndPop__P306570, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_saveAndPop__P8755, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36397,7 +36349,7 @@ function tileworld_ImageEditor_saveAndPop__P306570_mk(s) { -function tileworld_Project_saveImage__P303131(s) { +function tileworld_Project_saveImage__P4979(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36407,18 +36359,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.fixed___303259 = undefined; - s.index___303260 = undefined; - s.buf___303276 = undefined; + s.fixed___5107 = undefined; + s.index___5108 = undefined; + s.buf___5124 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - s.fixed___303259 = (true); - s.index___303260 = (s.arg1); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + s.fixed___5107 = (true); + s.index___5108 = (s.arg1); s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["fixedImages"]; s.tmp_3 = r0; @@ -36428,51 +36380,51 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.fixed___303259 = (false); - s.tmp_0 = r0 = s.index___303260; + s.fixed___5107 = (false); + s.tmp_0 = r0 = s.index___5108; r0 = s.arg0.fields["fixedImages"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.index___303260 = (r0); + s.index___5108 = (r0); case 1: case 2: - s.tmp_0 = tileworld_saveImage__P303278_mk(s); + s.tmp_0 = tileworld_saveImage__P5126_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___303260; - s.tmp_1 = tileworld_Project_getImage__P303129_mk(s); + s.tmp_0.arg1 = s.index___5108; + s.tmp_1 = tileworld_Project_getImage__P4977_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.fixed___303259; + s.tmp_0.arg3 = s.fixed___5107; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.buf___303276 = (r0); + s.buf___5124 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_saveImage__P303131.info = {"start":1826,"length":336,"line":68,"column":8,"endLine":76,"endColumn":9,"fileName":"project.ts","functionName":"saveImage","argumentNames":["this","kind"]} -tileworld_Project_saveImage__P303131.info = {"start":1826,"length":336,"line":68,"column":8,"endLine":76,"endColumn":9,"fileName":"project.ts","functionName":"saveImage","argumentNames":["this","kind"]} +tileworld_Project_saveImage__P4979.info = {"start":1826,"length":336,"line":68,"column":8,"endLine":76,"endColumn":9,"fileName":"project.ts","functionName":"saveImage","argumentNames":["this","kind"]} +tileworld_Project_saveImage__P4979.info = {"start":1826,"length":336,"line":68,"column":8,"endLine":76,"endColumn":9,"fileName":"project.ts","functionName":"saveImage","argumentNames":["this","kind"]} -function tileworld_Project_saveImage__P303131_mk(s) { +function tileworld_Project_saveImage__P4979_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_saveImage__P303131, depth: s.depth + 1, + parent: s, fn: tileworld_Project_saveImage__P4979, 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, - fixed___303259: undefined, - index___303260: undefined, - buf___303276: undefined, + fixed___5107: undefined, + index___5108: undefined, + buf___5124: undefined, arg0: undefined, arg1: undefined, } } @@ -36481,7 +36433,7 @@ function tileworld_Project_saveImage__P303131_mk(s) { -function tileworld_saveImage__P303278(s) { +function tileworld_saveImage__P5126(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36491,7 +36443,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.buf___304213 = undefined; + s.buf___6061 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36499,12 +36451,12 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_imageToBuffer__P302128_mk(s); + s.tmp_0 = tileworld_imageToBuffer__P3972_mk(s); s.tmp_0.arg0 = s.arg2; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.buf___304213 = (r0); + s.buf___6061 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg3); if (!r0) { step = 1; continue; } r0 = "FS"; @@ -36514,7 +36466,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_0 = r0; - s.tmp_1 = settings_writeBuffer__P298070_mk(s); + s.tmp_1 = settings_writeBuffer__P578_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 5); pxsim_String__stringConv(s.arg0); @@ -36557,21 +36509,21 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_2, s.tmp_6); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.buf___304213; + s.tmp_1.arg1 = s.buf___6061; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - r0 = s.buf___304213; + r0 = s.buf___6061; return leave(s, r0) default: oops() } } } -tileworld_saveImage__P303278.info = {"start":10989,"length":227,"line":318,"column":4,"endLine":322,"endColumn":5,"fileName":"project.ts","functionName":"saveImage","argumentNames":["prefix","kind","img","fixed"]} -tileworld_saveImage__P303278.info = {"start":10989,"length":227,"line":318,"column":4,"endLine":322,"endColumn":5,"fileName":"project.ts","functionName":"saveImage","argumentNames":["prefix","kind","img","fixed"]} +tileworld_saveImage__P5126.info = {"start":10989,"length":227,"line":318,"column":4,"endLine":322,"endColumn":5,"fileName":"project.ts","functionName":"saveImage","argumentNames":["prefix","kind","img","fixed"]} +tileworld_saveImage__P5126.info = {"start":10989,"length":227,"line":318,"column":4,"endLine":322,"endColumn":5,"fileName":"project.ts","functionName":"saveImage","argumentNames":["prefix","kind","img","fixed"]} -function tileworld_saveImage__P303278_mk(s) { +function tileworld_saveImage__P5126_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_saveImage__P303278, depth: s.depth + 1, + parent: s, fn: tileworld_saveImage__P5126, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36581,7 +36533,7 @@ function tileworld_saveImage__P303278_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - buf___304213: undefined, + buf___6061: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36592,7 +36544,7 @@ function tileworld_saveImage__P303278_mk(s) { -function tileworld_imageToBuffer__P302128(s) { +function tileworld_imageToBuffer__P3972(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36602,13 +36554,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.buf___302130 = undefined; - s.index___302143 = undefined; - s.pixel___302164 = undefined; - s.length___302165 = undefined; - s.x___302166 = undefined; - s.y___302173 = undefined; - s.newPixel___302180 = undefined; + s.buf___3974 = undefined; + s.index___3987 = undefined; + s.pixel___4008 = undefined; + s.length___4009 = undefined; + s.x___4010 = undefined; + s.y___4017 = undefined; + s.newPixel___4024 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -36622,130 +36574,130 @@ switch (step) { r0 = (2 + s.tmp_1); s.tmp_0 = r0; r0 = pxsim.control.createBuffer(s.tmp_0); - s.buf___302130 = (r0); - s.index___302143 = (0); - s.tmp_0 = r0 = s.index___302143; + s.buf___3974 = (r0); + s.index___3987 = (0); + s.tmp_0 = r0 = s.index___3987; r0 = (s.tmp_0 + 1); - s.index___302143 = (r0); - s.tmp_1 = r0 = s.buf___302130; + s.index___3987 = (r0); + s.tmp_1 = r0 = s.buf___3974; r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_2 = r0; r0 = pxsim.BufferMethods.setNumber(s.tmp_1, 1, s.tmp_0, s.tmp_2); - s.tmp_0 = r0 = s.index___302143; + s.tmp_0 = r0 = s.index___3987; r0 = (s.tmp_0 + 1); - s.index___302143 = (r0); - s.tmp_1 = r0 = s.buf___302130; + s.index___3987 = (r0); + s.tmp_1 = r0 = s.buf___3974; r0 = pxsim_ImageMethods.height(s.arg0); s.tmp_2 = r0; r0 = pxsim.BufferMethods.setNumber(s.tmp_1, 1, s.tmp_0, s.tmp_2); - s.pixel___302164 = (17); - s.length___302165 = (0); - s.x___302166 = (0); + s.pixel___4008 = (17); + s.length___4009 = (0); + s.x___4010 = (0); case 1: - s.tmp_1 = r0 = s.x___302166; + s.tmp_1 = r0 = s.x___4010; r0 = pxsim_ImageMethods.width(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 = 10; continue; } - s.y___302173 = (0); + s.y___4017 = (0); case 2: - s.tmp_1 = r0 = s.y___302173; + s.tmp_1 = r0 = s.y___4017; r0 = pxsim_ImageMethods.height(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 = 9; continue; } - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___302166, s.y___302173); - s.newPixel___302180 = (r0); - r0 = (s.newPixel___302180 != s.pixel___302164); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___4010, s.y___4017); + s.newPixel___4024 = (r0); + r0 = (s.newPixel___4024 != s.pixel___4008); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.length___302165 > 0); + r0 = (s.length___4009 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 3; continue; } - s.tmp_2 = r0 = s.index___302143; + s.tmp_2 = r0 = s.index___3987; r0 = (s.tmp_2 + 1); - s.index___302143 = (r0); - s.tmp_3 = r0 = s.buf___302130; - r0 = (s.length___302165 & 15); + s.index___3987 = (r0); + s.tmp_3 = r0 = s.buf___3974; + r0 = (s.length___4009 & 15); s.tmp_6 = r0; r0 = (s.tmp_6 << 4); s.tmp_5 = r0; - r0 = (s.pixel___302164 & 15); + r0 = (s.pixel___4008 & 15); s.tmp_7 = r0; r0 = (s.tmp_5 | s.tmp_7); s.tmp_4 = r0; r0 = pxsim.BufferMethods.setUint8(s.tmp_3, s.tmp_2, s.tmp_4); case 3: case 4: - s.pixel___302164 = (s.newPixel___302180); - s.length___302165 = (1); + s.pixel___4008 = (s.newPixel___4024); + s.length___4009 = (1); { step = 8; continue; } case 5: - r0 = (s.length___302165 == 14); + r0 = (s.length___4009 == 14); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_1 = r0 = s.index___302143; + s.tmp_1 = r0 = s.index___3987; r0 = (s.tmp_1 + 1); - s.index___302143 = (r0); - s.tmp_2 = r0 = s.buf___302130; - r0 = (s.pixel___302164 & 15); + s.index___3987 = (r0); + s.tmp_2 = r0 = s.buf___3974; + r0 = (s.pixel___4008 & 15); s.tmp_4 = r0; r0 = (240 | s.tmp_4); s.tmp_3 = r0; r0 = pxsim.BufferMethods.setUint8(s.tmp_2, s.tmp_1, s.tmp_3); - s.pixel___302164 = (17); - s.length___302165 = (0); + s.pixel___4008 = (17); + s.length___4009 = (0); { step = 7; continue; } case 6: - r0 = (s.length___302165 + 1); - s.length___302165 = (r0); + r0 = (s.length___4009 + 1); + s.length___4009 = (r0); case 7: case 8: - r0 = (s.y___302173 + 1); - s.y___302173 = (r0); + r0 = (s.y___4017 + 1); + s.y___4017 = (r0); { step = 2; continue; } case 9: - r0 = (s.x___302166 + 1); - s.x___302166 = (r0); + r0 = (s.x___4010 + 1); + s.x___4010 = (r0); { step = 1; continue; } case 10: - r0 = (s.length___302165 > 0); + r0 = (s.length___4009 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = r0 = s.index___302143; + s.tmp_1 = r0 = s.index___3987; r0 = (s.tmp_1 + 1); - s.index___302143 = (r0); - s.tmp_2 = r0 = s.buf___302130; - r0 = (s.length___302165 & 15); + s.index___3987 = (r0); + s.tmp_2 = r0 = s.buf___3974; + r0 = (s.length___4009 & 15); s.tmp_5 = r0; r0 = (s.tmp_5 << 4); s.tmp_4 = r0; - r0 = (s.pixel___302164 & 15); + r0 = (s.pixel___4008 & 15); s.tmp_6 = r0; r0 = (s.tmp_4 | s.tmp_6); s.tmp_3 = r0; r0 = pxsim.BufferMethods.setUint8(s.tmp_2, s.tmp_1, s.tmp_3); case 11: case 12: - r0 = pxsim.BufferMethods.slice(s.buf___302130, 0, s.index___302143); + r0 = pxsim.BufferMethods.slice(s.buf___3974, 0, s.index___3987); return leave(s, r0) default: oops() } } } -tileworld_imageToBuffer__P302128.info = {"start":1573,"length":1477,"line":50,"column":4,"endLine":88,"endColumn":5,"fileName":"utilities.ts","functionName":"imageToBuffer","argumentNames":["img"]} -tileworld_imageToBuffer__P302128.info = {"start":1573,"length":1477,"line":50,"column":4,"endLine":88,"endColumn":5,"fileName":"utilities.ts","functionName":"imageToBuffer","argumentNames":["img"]} +tileworld_imageToBuffer__P3972.info = {"start":1573,"length":1477,"line":50,"column":4,"endLine":88,"endColumn":5,"fileName":"utilities.ts","functionName":"imageToBuffer","argumentNames":["img"]} +tileworld_imageToBuffer__P3972.info = {"start":1573,"length":1477,"line":50,"column":4,"endLine":88,"endColumn":5,"fileName":"utilities.ts","functionName":"imageToBuffer","argumentNames":["img"]} -function tileworld_imageToBuffer__P302128_mk(s) { +function tileworld_imageToBuffer__P3972_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_imageToBuffer__P302128, depth: s.depth + 1, + parent: s, fn: tileworld_imageToBuffer__P3972, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36755,13 +36707,13 @@ function tileworld_imageToBuffer__P302128_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - buf___302130: undefined, - index___302143: undefined, - pixel___302164: undefined, - length___302165: undefined, - x___302166: undefined, - y___302173: undefined, - newPixel___302180: undefined, + buf___3974: undefined, + index___3987: undefined, + pixel___4008: undefined, + length___4009: undefined, + x___4010: undefined, + y___4017: undefined, + newPixel___4024: undefined, arg0: undefined, } } @@ -36769,7 +36721,7 @@ function tileworld_imageToBuffer__P302128_mk(s) { -function tileworld_ImageEditor_paintPixel__P306565(s) { +function tileworld_ImageEditor_paintPixel__P8750(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36779,17 +36731,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.col___306747 = undefined; - s.row___306758 = undefined; - s.col___306787 = undefined; - s.row___306802 = undefined; - s.col___306823 = undefined; + s.col___8932 = undefined; + s.row___8943 = undefined; + s.col___8972 = undefined; + s.row___8987 = undefined; + s.col___9008 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C306563_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C8748_VT)) failedCast(r0); r0 = s.arg0.fields["Adown"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -36807,7 +36759,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_8 = Sprite_x__P298229_mk(s); + s.tmp_8 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_8.arg0 = r0; s.pc = 14; return s.tmp_8; @@ -36819,8 +36771,8 @@ switch (step) { r0 = (s.tmp_6 / 8); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.col___306747 = (r0); - s.tmp_4 = Sprite_y__P298231_mk(s); + s.col___8932 = (r0); + s.tmp_4 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_4.arg0 = r0; s.pc = 15; return s.tmp_4; @@ -36834,14 +36786,14 @@ switch (step) { r0 = (s.tmp_1 / 8); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.row___306758 = (r0); + s.row___8943 = (r0); s.tmp_0 = r0 = s.arg0; - r0 = (s.row___306758 * 2); + r0 = (s.row___8943 * 2); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.col___306747); + r0 = (s.tmp_2 + s.col___8932); s.tmp_1 = r0; r0 = (s.tmp_0).fields["selectedColor"] = (s.tmp_1); - s.tmp_0 = tileworld_ImageEditor_setCursor__P306571_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P8756_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.pc = 16; return s.tmp_0; @@ -36856,7 +36808,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } r0 = (s.arg0).fields["dirty"] = (true); - s.tmp_3 = Sprite_x__P298229_mk(s); + s.tmp_3 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_3.arg0 = r0; s.pc = 17; return s.tmp_3; @@ -36868,8 +36820,8 @@ switch (step) { r0 = (s.tmp_1 / 6); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.col___306787 = (r0); - s.tmp_3 = Sprite_y__P298231_mk(s); + s.col___8972 = (r0); + s.tmp_3 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_3.arg0 = r0; s.pc = 18; return s.tmp_3; @@ -36881,15 +36833,15 @@ switch (step) { r0 = (s.tmp_1 / 6); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.row___306802 = (r0); + s.row___8987 = (r0); r0 = s.arg0.fields["image"]; s.tmp_0 = r0; r0 = s.arg0.fields["selectedColor"]; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.col___306787, s.row___306802, s.tmp_1); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.col___8972, s.row___8987, s.tmp_1); { step = 11; continue; } case 4: - s.tmp_1 = Sprite_x__P298229_mk(s); + s.tmp_1 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_1.arg0 = r0; s.pc = 19; return s.tmp_1; @@ -36897,16 +36849,16 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 >> 4); - s.col___306823 = (r0); - r0 = (2 <= s.col___306823); + s.col___9008 = (r0); + r0 = (2 <= s.col___9008); 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_1 = r0 = s.col___306823; - s.tmp_5 = tileworld_Project_all__P303128_mk(s); + s.tmp_1 = r0 = s.col___9008; + s.tmp_5 = tileworld_Project_all__P4976_mk(s); r0 = s.arg0.fields["p"]; s.tmp_5.arg0 = r0; s.pc = 20; return s.tmp_5; @@ -36927,7 +36879,7 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 7; continue; } - s.tmp_8 = tileworld_Project_saveImage__P303131_mk(s); + s.tmp_8 = tileworld_Project_saveImage__P4979_mk(s); r0 = s.arg0.fields["p"]; s.tmp_8.arg0 = r0; r0 = s.arg0.fields["kind"]; @@ -36938,11 +36890,11 @@ switch (step) { case 7: case 8: s.tmp_0 = r0 = s.arg0; - r0 = (s.col___306823 - 2); + r0 = (s.col___9008 - 2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["kind"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = tileworld_Project_getImage__P303129_mk(s); + s.tmp_2 = tileworld_Project_getImage__P4977_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["kind"]; @@ -36957,9 +36909,9 @@ switch (step) { case 10: case 11: case 12: - s.tmp_0 = tileworld_ImageEditor__C306563_v0_1_mk(s); + s.tmp_0 = tileworld_ImageEditor__C8748_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ImageEditor__C306563_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ImageEditor__C8748_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 23; return s.tmp_0; case 23: @@ -36969,13 +36921,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_paintPixel__P306565.info = {"start":3688,"length":1180,"line":106,"column":8,"endLine":130,"endColumn":9,"fileName":"imageeditor.ts","functionName":"paintPixel","argumentNames":["this"]} -tileworld_ImageEditor_paintPixel__P306565.info = {"start":3688,"length":1180,"line":106,"column":8,"endLine":130,"endColumn":9,"fileName":"imageeditor.ts","functionName":"paintPixel","argumentNames":["this"]} +tileworld_ImageEditor_paintPixel__P8750.info = {"start":3688,"length":1180,"line":106,"column":8,"endLine":130,"endColumn":9,"fileName":"imageeditor.ts","functionName":"paintPixel","argumentNames":["this"]} +tileworld_ImageEditor_paintPixel__P8750.info = {"start":3688,"length":1180,"line":106,"column":8,"endLine":130,"endColumn":9,"fileName":"imageeditor.ts","functionName":"paintPixel","argumentNames":["this"]} -function tileworld_ImageEditor_paintPixel__P306565_mk(s) { +function tileworld_ImageEditor_paintPixel__P8750_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_paintPixel__P306565, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_paintPixel__P8750, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36986,11 +36938,11 @@ function tileworld_ImageEditor_paintPixel__P306565_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - col___306747: undefined, - row___306758: undefined, - col___306787: undefined, - row___306802: undefined, - col___306823: undefined, + col___8932: undefined, + row___8943: undefined, + col___8972: undefined, + row___8987: undefined, + col___9008: undefined, arg0: undefined, } } @@ -36998,7 +36950,7 @@ function tileworld_ImageEditor_paintPixel__P306565_mk(s) { -function tileworld_ImageEditor_moveDown__P306569(s) { +function tileworld_ImageEditor_moveDown__P8754(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37013,14 +36965,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C306563_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C8748_VT)) failedCast(r0); r0 = s.arg0.fields["cursorType"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_y__P298231_mk(s); + s.tmp_4 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_4.arg0 = r0; s.pc = 9; return s.tmp_4; @@ -37037,11 +36989,11 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_8 = Sprite_y__P298232_mk(s); + s.tmp_8 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_9 = r0; s.tmp_8.arg0 = r0; - s.tmp_11 = Sprite_y__P298231_mk(s); + s.tmp_11 = Sprite_y__P739_mk(s); s.tmp_11.arg0 = s.tmp_9; s.pc = 11; return s.tmp_11; case 11: @@ -37062,7 +37014,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = tileworld_ImageEditor_setCursor__P306571_mk(s); + s.tmp_2 = tileworld_ImageEditor_setCursor__P8756_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 1; s.pc = 12; return s.tmp_2; @@ -37070,7 +37022,7 @@ switch (step) { r0 = s.retval; { step = 7; continue; } case 4: - s.tmp_2 = Sprite_y__P298231_mk(s); + s.tmp_2 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; s.pc = 13; return s.tmp_2; @@ -37081,11 +37033,11 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_3 = Sprite_y__P298232_mk(s); + s.tmp_3 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_4 = r0; s.tmp_3.arg0 = r0; - s.tmp_6 = Sprite_y__P298231_mk(s); + s.tmp_6 = Sprite_y__P739_mk(s); s.tmp_6.arg0 = s.tmp_4; s.pc = 15; return s.tmp_6; case 15: @@ -37100,7 +37052,7 @@ switch (step) { case 6: case 7: case 8: - s.tmp_0 = tileworld_ImageEditor_paintPixel__P306565_mk(s); + s.tmp_0 = tileworld_ImageEditor_paintPixel__P8750_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 16; return s.tmp_0; case 16: @@ -37109,13 +37061,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_moveDown__P306569.info = {"start":6833,"length":536,"line":182,"column":8,"endLine":193,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveDown","argumentNames":["this"]} -tileworld_ImageEditor_moveDown__P306569.info = {"start":6833,"length":536,"line":182,"column":8,"endLine":193,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveDown","argumentNames":["this"]} +tileworld_ImageEditor_moveDown__P8754.info = {"start":6833,"length":536,"line":182,"column":8,"endLine":193,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveDown","argumentNames":["this"]} +tileworld_ImageEditor_moveDown__P8754.info = {"start":6833,"length":536,"line":182,"column":8,"endLine":193,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveDown","argumentNames":["this"]} -function tileworld_ImageEditor_moveDown__P306569_mk(s) { +function tileworld_ImageEditor_moveDown__P8754_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_moveDown__P306569, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_moveDown__P8754, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37136,7 +37088,7 @@ function tileworld_ImageEditor_moveDown__P306569_mk(s) { -function tileworld_ImageEditor_moveUp__P306568(s) { +function tileworld_ImageEditor_moveUp__P8753(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37151,14 +37103,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C306563_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C8748_VT)) failedCast(r0); r0 = s.arg0.fields["cursorType"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_y__P298231_mk(s); + s.tmp_4 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_4.arg0 = r0; s.pc = 9; return s.tmp_4; @@ -37173,11 +37125,11 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_7 = Sprite_y__P298232_mk(s); + s.tmp_7 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_8 = r0; s.tmp_7.arg0 = r0; - s.tmp_10 = Sprite_y__P298231_mk(s); + s.tmp_10 = Sprite_y__P739_mk(s); s.tmp_10.arg0 = s.tmp_8; s.pc = 11; return s.tmp_10; case 11: @@ -37198,7 +37150,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_4 = Sprite_y__P298231_mk(s); + s.tmp_4 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_4.arg0 = r0; s.pc = 12; return s.tmp_4; @@ -37209,11 +37161,11 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_5 = Sprite_y__P298232_mk(s); + s.tmp_5 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_6 = r0; s.tmp_5.arg0 = r0; - s.tmp_8 = Sprite_y__P298231_mk(s); + s.tmp_8 = Sprite_y__P739_mk(s); s.tmp_8.arg0 = s.tmp_6; s.pc = 14; return s.tmp_8; case 14: @@ -37226,7 +37178,7 @@ switch (step) { r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = tileworld_ImageEditor_setCursor__P306571_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P8756_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.pc = 15; return s.tmp_0; @@ -37236,7 +37188,7 @@ switch (step) { case 6: case 7: case 8: - s.tmp_0 = tileworld_ImageEditor_paintPixel__P306565_mk(s); + s.tmp_0 = tileworld_ImageEditor_paintPixel__P8750_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 16; return s.tmp_0; case 16: @@ -37245,13 +37197,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_moveUp__P306568.info = {"start":6279,"length":544,"line":168,"column":8,"endLine":180,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveUp","argumentNames":["this"]} -tileworld_ImageEditor_moveUp__P306568.info = {"start":6279,"length":544,"line":168,"column":8,"endLine":180,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveUp","argumentNames":["this"]} +tileworld_ImageEditor_moveUp__P8753.info = {"start":6279,"length":544,"line":168,"column":8,"endLine":180,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveUp","argumentNames":["this"]} +tileworld_ImageEditor_moveUp__P8753.info = {"start":6279,"length":544,"line":168,"column":8,"endLine":180,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveUp","argumentNames":["this"]} -function tileworld_ImageEditor_moveUp__P306568_mk(s) { +function tileworld_ImageEditor_moveUp__P8753_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_moveUp__P306568, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_moveUp__P8753, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37271,7 +37223,7 @@ function tileworld_ImageEditor_moveUp__P306568_mk(s) { -function tileworld_ImageEditor_moveRight__P306567(s) { +function tileworld_ImageEditor_moveRight__P8752(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37286,14 +37238,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C306563_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C8748_VT)) failedCast(r0); r0 = s.arg0.fields["cursorType"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_x__P298229_mk(s); + s.tmp_4 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_4.arg0 = r0; s.pc = 11; return s.tmp_4; @@ -37304,11 +37256,11 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_5 = Sprite_x__P298230_mk(s); + s.tmp_5 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_6 = r0; s.tmp_5.arg0 = r0; - s.tmp_8 = Sprite_x__P298229_mk(s); + s.tmp_8 = Sprite_x__P737_mk(s); s.tmp_8.arg0 = s.tmp_6; s.pc = 13; return s.tmp_8; case 13: @@ -37321,7 +37273,7 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = tileworld_ImageEditor_setCursor__P306571_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P8756_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.pc = 14; return s.tmp_0; @@ -37336,7 +37288,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_4 = Sprite_x__P298229_mk(s); + s.tmp_4 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_4.arg0 = r0; s.pc = 15; return s.tmp_4; @@ -37347,11 +37299,11 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_5 = Sprite_x__P298230_mk(s); + s.tmp_5 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_6 = r0; s.tmp_5.arg0 = r0; - s.tmp_8 = Sprite_x__P298229_mk(s); + s.tmp_8 = Sprite_x__P737_mk(s); s.tmp_8.arg0 = s.tmp_6; s.pc = 17; return s.tmp_8; case 17: @@ -37366,7 +37318,7 @@ switch (step) { case 5: { step = 9; continue; } case 6: - s.tmp_2 = Sprite_x__P298229_mk(s); + s.tmp_2 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; s.pc = 18; return s.tmp_2; @@ -37379,11 +37331,11 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_x__P298230_mk(s); + s.tmp_4 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_5 = r0; s.tmp_4.arg0 = r0; - s.tmp_7 = Sprite_x__P298229_mk(s); + s.tmp_7 = Sprite_x__P737_mk(s); s.tmp_7.arg0 = s.tmp_5; s.pc = 20; return s.tmp_7; case 20: @@ -37398,7 +37350,7 @@ switch (step) { case 8: case 9: case 10: - s.tmp_0 = tileworld_ImageEditor_paintPixel__P306565_mk(s); + s.tmp_0 = tileworld_ImageEditor_paintPixel__P8750_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 21; return s.tmp_0; case 21: @@ -37407,13 +37359,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_moveRight__P306567.info = {"start":5566,"length":703,"line":150,"column":8,"endLine":166,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveRight","argumentNames":["this"]} -tileworld_ImageEditor_moveRight__P306567.info = {"start":5566,"length":703,"line":150,"column":8,"endLine":166,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveRight","argumentNames":["this"]} +tileworld_ImageEditor_moveRight__P8752.info = {"start":5566,"length":703,"line":150,"column":8,"endLine":166,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveRight","argumentNames":["this"]} +tileworld_ImageEditor_moveRight__P8752.info = {"start":5566,"length":703,"line":150,"column":8,"endLine":166,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveRight","argumentNames":["this"]} -function tileworld_ImageEditor_moveRight__P306567_mk(s) { +function tileworld_ImageEditor_moveRight__P8752_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_moveRight__P306567, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_moveRight__P8752, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37431,7 +37383,7 @@ function tileworld_ImageEditor_moveRight__P306567_mk(s) { -function tileworld_ImageEditor_moveLeft__P306566(s) { +function tileworld_ImageEditor_moveLeft__P8751(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37446,14 +37398,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C306563_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C8748_VT)) failedCast(r0); r0 = s.arg0.fields["cursorType"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_x__P298229_mk(s); + s.tmp_4 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_4.arg0 = r0; s.pc = 11; return s.tmp_4; @@ -37464,11 +37416,11 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_5 = Sprite_x__P298230_mk(s); + s.tmp_5 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_6 = r0; s.tmp_5.arg0 = r0; - s.tmp_8 = Sprite_x__P298229_mk(s); + s.tmp_8 = Sprite_x__P737_mk(s); s.tmp_8.arg0 = s.tmp_6; s.pc = 13; return s.tmp_8; case 13: @@ -37489,7 +37441,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_4 = Sprite_x__P298229_mk(s); + s.tmp_4 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_4.arg0 = r0; s.pc = 14; return s.tmp_4; @@ -37500,11 +37452,11 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_5 = Sprite_x__P298230_mk(s); + s.tmp_5 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_6 = r0; s.tmp_5.arg0 = r0; - s.tmp_8 = Sprite_x__P298229_mk(s); + s.tmp_8 = Sprite_x__P737_mk(s); s.tmp_8.arg0 = s.tmp_6; s.pc = 16; return s.tmp_8; case 16: @@ -37519,7 +37471,7 @@ switch (step) { case 5: { step = 9; continue; } case 6: - s.tmp_2 = Sprite_x__P298229_mk(s); + s.tmp_2 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; s.pc = 17; return s.tmp_2; @@ -37530,11 +37482,11 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_3 = Sprite_x__P298230_mk(s); + s.tmp_3 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_4 = r0; s.tmp_3.arg0 = r0; - s.tmp_6 = Sprite_x__P298229_mk(s); + s.tmp_6 = Sprite_x__P737_mk(s); s.tmp_6.arg0 = s.tmp_4; s.pc = 19; return s.tmp_6; case 19: @@ -37547,7 +37499,7 @@ switch (step) { r0 = s.retval; { step = 8; continue; } case 7: - s.tmp_0 = tileworld_ImageEditor_setCursor__P306571_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P8756_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.pc = 20; return s.tmp_0; @@ -37556,7 +37508,7 @@ switch (step) { case 8: case 9: case 10: - s.tmp_0 = tileworld_ImageEditor_paintPixel__P306565_mk(s); + s.tmp_0 = tileworld_ImageEditor_paintPixel__P8750_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 21; return s.tmp_0; case 21: @@ -37565,13 +37517,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_moveLeft__P306566.info = {"start":4878,"length":678,"line":132,"column":8,"endLine":148,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveLeft","argumentNames":["this"]} -tileworld_ImageEditor_moveLeft__P306566.info = {"start":4878,"length":678,"line":132,"column":8,"endLine":148,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveLeft","argumentNames":["this"]} +tileworld_ImageEditor_moveLeft__P8751.info = {"start":4878,"length":678,"line":132,"column":8,"endLine":148,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveLeft","argumentNames":["this"]} +tileworld_ImageEditor_moveLeft__P8751.info = {"start":4878,"length":678,"line":132,"column":8,"endLine":148,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveLeft","argumentNames":["this"]} -function tileworld_ImageEditor_moveLeft__P306566_mk(s) { +function tileworld_ImageEditor_moveLeft__P8751_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_moveLeft__P306566, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_moveLeft__P8751, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37589,7 +37541,7 @@ function tileworld_ImageEditor_moveLeft__P306566_mk(s) { -function tileworld_ImageEditor_update__P306572(s) { +function tileworld_ImageEditor_update__P8757(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37599,24 +37551,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.row___307145 = undefined; - s.col___307149 = undefined; - s.color___307153 = undefined; - s.yOffset___307158 = undefined; - s.row___307229 = undefined; - s.y___307236 = undefined; - s.col___307242 = undefined; - s.x___307249 = undefined; - s.color___307257 = undefined; + s.row___9330 = undefined; + s.col___9334 = undefined; + s.color___9338 = undefined; + s.yOffset___9343 = undefined; + s.row___9414 = undefined; + s.y___9421 = undefined; + s.col___9427 = undefined; + s.x___9434 = undefined; + s.color___9442 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C306563_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.fill(globals.screen___298046, 0); - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + if (!checkSubtype(r0, tileworld_ImageEditor__C8748_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.fill(globals.screen___545, 0); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 4; s.tmp_0.arg3 = 16; @@ -37625,12 +37577,12 @@ switch (step) { s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___298046, globals.paint___304532, 0, 4); - r0 = pxsim_pxtcore_mkAction(1, inline__P307117); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___545, globals.paint___6380, 0, 4); + r0 = pxsim_pxtcore_mkAction(1, inline__P9302); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); - s.tmp_2 = tileworld_Project_all__P303128_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); + s.tmp_2 = tileworld_Project_all__P4976_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; s.pc = 15; return s.tmp_2; @@ -37641,34 +37593,34 @@ switch (step) { s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - s.row___307145 = (0); + s.row___9330 = (0); case 1: - r0 = (s.row___307145 < 8); + r0 = (s.row___9330 < 8); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.col___307149 = (0); + s.col___9334 = (0); case 2: - r0 = (s.col___307149 < 2); + r0 = (s.col___9334 < 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.row___307145 * 2); + r0 = (s.row___9330 * 2); s.tmp_1 = r0; - r0 = (s.tmp_1 + s.col___307149); - s.color___307153 = (r0); + r0 = (s.tmp_1 + s.col___9334); + s.color___9338 = (r0); r0 = (38 + 4); - s.yOffset___307158 = (r0); - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - r0 = (s.col___307149 * 8); + s.yOffset___9343 = (r0); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; + r0 = (s.col___9334 * 8); s.tmp_2 = r0; r0 = (5 + s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg1 = r0; - s.tmp_4 = r0 = s.yOffset___307158; - r0 = (s.row___307145 * 8); + s.tmp_4 = r0 = s.yOffset___9343; + r0 = (s.row___9330 * 8); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -37676,24 +37628,24 @@ switch (step) { s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 6; s.tmp_0.arg4 = 6; - s.tmp_0.arg5 = s.color___307153; + s.tmp_0.arg5 = s.color___9338; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; r0 = s.arg0.fields["selectedColor"]; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.color___307153); + r0 = (s.tmp_1 == s.color___9338); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = helpers_imageDrawRect__P297989_mk(s); - s.tmp_2.arg0 = globals.screen___298046; - r0 = (s.col___307149 * 8); + s.tmp_2 = helpers_imageDrawRect__P487_mk(s); + s.tmp_2.arg0 = globals.screen___545; + r0 = (s.col___9334 * 8); s.tmp_3 = r0; r0 = (5 + s.tmp_3); s.tmp_2.arg1 = r0; - s.tmp_4 = r0 = s.yOffset___307158; - r0 = (s.row___307145 * 8); + s.tmp_4 = r0 = s.yOffset___9343; + r0 = (s.row___9330 * 8); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_2.arg2 = r0; @@ -37705,16 +37657,16 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = (s.col___307149 + 1); - s.col___307149 = (r0); + r0 = (s.col___9334 + 1); + s.col___9334 = (r0); { step = 2; continue; } case 5: - r0 = (s.row___307145 + 1); - s.row___307145 = (r0); + r0 = (s.row___9330 + 1); + s.row___9330 = (r0); { step = 1; continue; } case 6: - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 43; s.tmp_0.arg3 = 3; @@ -37723,8 +37675,8 @@ switch (step) { s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 9; s.tmp_0.arg2 = 46; s.tmp_0.arg3 = 3; @@ -37733,9 +37685,9 @@ switch (step) { s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.row___307229 = (0); + s.row___9414 = (0); case 7: - s.tmp_1 = r0 = s.row___307229; + s.tmp_1 = r0 = s.row___9414; r0 = s.arg0.fields["image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -37744,13 +37696,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - r0 = (s.row___307229 * 6); + r0 = (s.row___9414 * 6); s.tmp_4 = r0; r0 = (24 + s.tmp_4); - s.y___307236 = (r0); - s.col___307242 = (0); + s.y___9421 = (r0); + s.col___9427 = (0); case 8: - s.tmp_1 = r0 = s.col___307242; + s.tmp_1 = r0 = s.col___9427; r0 = s.arg0.fields["image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); @@ -37759,32 +37711,32 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.col___307242 * 6); + r0 = (s.col___9427 * 6); s.tmp_4 = r0; r0 = (30 + s.tmp_4); - s.x___307249 = (r0); + s.x___9434 = (r0); r0 = s.arg0.fields["image"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.col___307242, s.row___307229); - s.color___307257 = (r0); - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_0.arg1 = s.x___307249; - s.tmp_0.arg2 = s.y___307236; + r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.col___9427, s.row___9414); + s.color___9442 = (r0); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_0.arg1 = s.x___9434; + s.tmp_0.arg2 = s.y___9421; s.tmp_0.arg3 = 5; s.tmp_0.arg4 = 5; - s.tmp_0.arg5 = s.color___307257; + s.tmp_0.arg5 = s.color___9442; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - r0 = (s.color___307257 == 0); + r0 = (s.color___9442 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_1 = helpers_imageFillRect__P297986_mk(s); - s.tmp_1.arg0 = globals.screen___298046; - s.tmp_1.arg1 = s.x___307249; - s.tmp_1.arg2 = s.y___307236; + s.tmp_1 = helpers_imageFillRect__P484_mk(s); + s.tmp_1.arg0 = globals.screen___545; + s.tmp_1.arg1 = s.x___9434; + s.tmp_1.arg2 = s.y___9421; r0 = (3 - 1); s.tmp_1.arg3 = r0; r0 = (3 - 1); @@ -37793,11 +37745,11 @@ switch (step) { s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - r0 = (s.x___307249 + 3); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; + r0 = (s.x___9434 + 3); s.tmp_0.arg1 = r0; - r0 = (s.y___307236 + 3); + r0 = (s.y___9421 + 3); s.tmp_0.arg2 = r0; r0 = (3 - 1); s.tmp_0.arg3 = r0; @@ -37809,16 +37761,16 @@ switch (step) { r0 = s.retval; case 9: case 10: - r0 = (s.col___307242 + 1); - s.col___307242 = (r0); + r0 = (s.col___9427 + 1); + s.col___9427 = (r0); { step = 8; continue; } case 11: - r0 = (s.row___307229 + 1); - s.row___307229 = (r0); + r0 = (s.row___9414 + 1); + s.row___9414 = (r0); { step = 7; continue; } case 12: - s.tmp_0 = helpers_imageDrawRect__P297989_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imageDrawRect__P487_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 28; s.tmp_0.arg2 = 22; r0 = (96 + 4); @@ -37831,9 +37783,9 @@ switch (step) { r0 = s.retval; r0 = s.arg0.fields["image"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___298046, s.tmp_0, 134, 24); - s.tmp_0 = helpers_imageDrawRect__P297989_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + r0 = pxsim_ImageMethods.drawImage(globals.screen___545, s.tmp_0, 134, 24); + s.tmp_0 = helpers_imageDrawRect__P487_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 133; s.tmp_0.arg2 = 23; s.tmp_0.arg3 = 18; @@ -37846,13 +37798,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_update__P306572.info = {"start":7837,"length":2286,"line":207,"column":8,"endLine":250,"endColumn":9,"fileName":"imageeditor.ts","functionName":"update","argumentNames":["this"]} -tileworld_ImageEditor_update__P306572.info = {"start":7837,"length":2286,"line":207,"column":8,"endLine":250,"endColumn":9,"fileName":"imageeditor.ts","functionName":"update","argumentNames":["this"]} +tileworld_ImageEditor_update__P8757.info = {"start":7837,"length":2286,"line":207,"column":8,"endLine":250,"endColumn":9,"fileName":"imageeditor.ts","functionName":"update","argumentNames":["this"]} +tileworld_ImageEditor_update__P8757.info = {"start":7837,"length":2286,"line":207,"column":8,"endLine":250,"endColumn":9,"fileName":"imageeditor.ts","functionName":"update","argumentNames":["this"]} -function tileworld_ImageEditor_update__P306572_mk(s) { +function tileworld_ImageEditor_update__P8757_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_update__P306572, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_update__P8757, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37860,15 +37812,15 @@ function tileworld_ImageEditor_update__P306572_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - row___307145: undefined, - col___307149: undefined, - color___307153: undefined, - yOffset___307158: undefined, - row___307229: undefined, - y___307236: undefined, - col___307242: undefined, - x___307249: undefined, - color___307257: undefined, + row___9330: undefined, + col___9334: undefined, + color___9338: undefined, + yOffset___9343: undefined, + row___9414: undefined, + y___9421: undefined, + col___9427: undefined, + x___9434: undefined, + color___9442: undefined, arg0: undefined, } } @@ -37876,7 +37828,7 @@ function tileworld_ImageEditor_update__P306572_mk(s) { -function inline__P307117(s) { +function inline__P9302(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37891,7 +37843,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = r0 = globals.screen___298046; + s.tmp_0 = r0 = globals.screen___545; s.tmp_1 = r0 = s.arg0; r0 = (2 + s.arg1); s.tmp_3 = r0; @@ -37904,8 +37856,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = r0 = globals.screen___298046; - s.tmp_3 = r0 = globals.cursorOut___304544; + s.tmp_2 = r0 = globals.screen___545; + s.tmp_3 = r0 = globals.cursorOut___6392; r0 = (2 + s.arg1); s.tmp_5 = r0; r0 = (s.tmp_5 * 16); @@ -37917,13 +37869,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P307117.info = {"start":8025,"length":232,"line":211,"column":33,"endLine":216,"endColumn":13,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":["img","index"]} -inline__P307117.info = {"start":8025,"length":232,"line":211,"column":33,"endLine":216,"endColumn":13,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":["img","index"]} +inline__P9302.info = {"start":8025,"length":232,"line":211,"column":33,"endLine":216,"endColumn":13,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":["img","index"]} +inline__P9302.info = {"start":8025,"length":232,"line":211,"column":33,"endLine":216,"endColumn":13,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":["img","index"]} -function inline__P307117_mk(s) { +function inline__P9302_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P307117, depth: s.depth + 1, + parent: s, fn: inline__P9302, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37939,7 +37891,7 @@ function inline__P307117_mk(s) { -function tileworld_ImageEditor_setCursor__P306571(s) { +function tileworld_ImageEditor_setCursor__P8756(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37955,8 +37907,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C306563_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + if (!checkSubtype(r0, tileworld_ImageEditor__C8748_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; @@ -37965,7 +37917,7 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + s.tmp_0 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; @@ -37974,7 +37926,7 @@ switch (step) { s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + s.tmp_0 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; @@ -37988,13 +37940,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_setCursor__P306571.info = {"start":7499,"length":328,"line":200,"column":8,"endLine":205,"endColumn":9,"fileName":"imageeditor.ts","functionName":"setCursor","argumentNames":["this","ct"]} -tileworld_ImageEditor_setCursor__P306571.info = {"start":7499,"length":328,"line":200,"column":8,"endLine":205,"endColumn":9,"fileName":"imageeditor.ts","functionName":"setCursor","argumentNames":["this","ct"]} +tileworld_ImageEditor_setCursor__P8756.info = {"start":7499,"length":328,"line":200,"column":8,"endLine":205,"endColumn":9,"fileName":"imageeditor.ts","functionName":"setCursor","argumentNames":["this","ct"]} +tileworld_ImageEditor_setCursor__P8756.info = {"start":7499,"length":328,"line":200,"column":8,"endLine":205,"endColumn":9,"fileName":"imageeditor.ts","functionName":"setCursor","argumentNames":["this","ct"]} -function tileworld_ImageEditor_setCursor__P306571_mk(s) { +function tileworld_ImageEditor_setCursor__P8756_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_setCursor__P306571, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_setCursor__P8756, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38005,7 +37957,7 @@ function tileworld_ImageEditor_setCursor__P306571_mk(s) { -function tileworld_cursorAnimation__P302070(s) { +function tileworld_cursorAnimation__P3914(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38015,39 +37967,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.anim___302073 = undefined; + s.anim___3917 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = animation_createAnimation__P299553_mk(s); + s.tmp_0 = animation_createAnimation__P2061_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 300; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.anim___302073 = (r0); - s.tmp_0 = animation_Animation_addAnimationFrame__P299549_mk(s); - s.tmp_0.arg0 = s.anim___302073; + s.anim___3917 = (r0); + s.tmp_0 = animation_Animation_addAnimationFrame__P2057_mk(s); + s.tmp_0.arg0 = s.anim___3917; r0 = s.arg0.fields["_image"]; s.tmp_0.arg1 = r0; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = animation_Animation_addAnimationFrame__P299549_mk(s); - s.tmp_0.arg0 = s.anim___302073; + s.tmp_0 = animation_Animation_addAnimationFrame__P2057_mk(s); + s.tmp_0.arg0 = s.anim___3917; s.tmp_0.arg1 = s.arg1; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = animation_attachAnimation__P299554_mk(s); + s.tmp_0 = animation_attachAnimation__P2062_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.anim___302073; + s.tmp_0.arg1 = s.anim___3917; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = animation_setAction__P299555_mk(s); + s.tmp_0 = animation_setAction__P2063_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.pc = 5; return s.tmp_0; @@ -38057,16 +38009,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_cursorAnimation__P302070.info = {"start":915,"length":297,"line":30,"column":4,"endLine":36,"endColumn":5,"fileName":"utilities.ts","functionName":"cursorAnimation","argumentNames":["cursor","second"]} -tileworld_cursorAnimation__P302070.info = {"start":915,"length":297,"line":30,"column":4,"endLine":36,"endColumn":5,"fileName":"utilities.ts","functionName":"cursorAnimation","argumentNames":["cursor","second"]} +tileworld_cursorAnimation__P3914.info = {"start":915,"length":297,"line":30,"column":4,"endLine":36,"endColumn":5,"fileName":"utilities.ts","functionName":"cursorAnimation","argumentNames":["cursor","second"]} +tileworld_cursorAnimation__P3914.info = {"start":915,"length":297,"line":30,"column":4,"endLine":36,"endColumn":5,"fileName":"utilities.ts","functionName":"cursorAnimation","argumentNames":["cursor","second"]} -function tileworld_cursorAnimation__P302070_mk(s) { +function tileworld_cursorAnimation__P3914_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_cursorAnimation__P302070, depth: s.depth + 1, + parent: s, fn: tileworld_cursorAnimation__P3914, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - anim___302073: undefined, + anim___3917: undefined, arg0: undefined, arg1: undefined, } } @@ -38075,7 +38027,7 @@ function tileworld_cursorAnimation__P302070_mk(s) { -function animation_setAction__P299555(s) { +function animation_setAction__P2063(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38095,13 +38047,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_setAction__P299555.info = {"start":4990,"length":98,"line":172,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"setAction","argumentNames":["sprite","action"]} -animation_setAction__P299555.info = {"start":4990,"length":98,"line":172,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"setAction","argumentNames":["sprite","action"]} +animation_setAction__P2063.info = {"start":4990,"length":98,"line":172,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"setAction","argumentNames":["sprite","action"]} +animation_setAction__P2063.info = {"start":4990,"length":98,"line":172,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"setAction","argumentNames":["sprite","action"]} -function animation_setAction__P299555_mk(s) { +function animation_setAction__P2063_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_setAction__P299555, depth: s.depth + 1, + parent: s, fn: animation_setAction__P2063, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -38111,7 +38063,7 @@ function animation_setAction__P299555_mk(s) { -function animation_attachAnimation__P299554(s) { +function animation_attachAnimation__P2062(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38126,7 +38078,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = animation_Animation_registerSprite__P299550_mk(s); + s.tmp_0 = animation_Animation_registerSprite__P2058_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.pc = 1; return s.tmp_0; @@ -38136,13 +38088,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_attachAnimation__P299554.info = {"start":4622,"length":107,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"attachAnimation","argumentNames":["sprite","set"]} -animation_attachAnimation__P299554.info = {"start":4622,"length":107,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"attachAnimation","argumentNames":["sprite","set"]} +animation_attachAnimation__P2062.info = {"start":4622,"length":107,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"attachAnimation","argumentNames":["sprite","set"]} +animation_attachAnimation__P2062.info = {"start":4622,"length":107,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"attachAnimation","argumentNames":["sprite","set"]} -function animation_attachAnimation__P299554_mk(s) { +function animation_attachAnimation__P2062_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_attachAnimation__P299554, depth: s.depth + 1, + parent: s, fn: animation_attachAnimation__P2062, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38153,7 +38105,7 @@ function animation_attachAnimation__P299554_mk(s) { -function animation_Animation_registerSprite__P299550(s) { +function animation_Animation_registerSprite__P2058(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38169,7 +38121,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Animation__C299542_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Animation__C2050_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_2 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.arg1, undefined); @@ -38187,13 +38139,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_Animation_registerSprite__P299550.info = {"start":3258,"length":154,"line":115,"column":8,"endLine":119,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"registerSprite","argumentNames":["this","sprite"]} -animation_Animation_registerSprite__P299550.info = {"start":3258,"length":154,"line":115,"column":8,"endLine":119,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"registerSprite","argumentNames":["this","sprite"]} +animation_Animation_registerSprite__P2058.info = {"start":3258,"length":154,"line":115,"column":8,"endLine":119,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"registerSprite","argumentNames":["this","sprite"]} +animation_Animation_registerSprite__P2058.info = {"start":3258,"length":154,"line":115,"column":8,"endLine":119,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"registerSprite","argumentNames":["this","sprite"]} -function animation_Animation_registerSprite__P299550_mk(s) { +function animation_Animation_registerSprite__P2058_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Animation_registerSprite__P299550, depth: s.depth + 1, + parent: s, fn: animation_Animation_registerSprite__P2058, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38207,7 +38159,7 @@ function animation_Animation_registerSprite__P299550_mk(s) { -function animation_Animation_addAnimationFrame__P299549(s) { +function animation_Animation_addAnimationFrame__P2057(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38223,7 +38175,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Animation__C299542_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Animation__C2050_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["index"]; s.tmp_2 = r0; @@ -38237,13 +38189,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_Animation_addAnimationFrame__P299549.info = {"start":3158,"length":90,"line":111,"column":8,"endLine":113,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"addAnimationFrame","argumentNames":["this","frame"]} -animation_Animation_addAnimationFrame__P299549.info = {"start":3158,"length":90,"line":111,"column":8,"endLine":113,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"addAnimationFrame","argumentNames":["this","frame"]} +animation_Animation_addAnimationFrame__P2057.info = {"start":3158,"length":90,"line":111,"column":8,"endLine":113,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"addAnimationFrame","argumentNames":["this","frame"]} +animation_Animation_addAnimationFrame__P2057.info = {"start":3158,"length":90,"line":111,"column":8,"endLine":113,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"addAnimationFrame","argumentNames":["this","frame"]} -function animation_Animation_addAnimationFrame__P299549_mk(s) { +function animation_Animation_addAnimationFrame__P2057_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Animation_addAnimationFrame__P299549, depth: s.depth + 1, + parent: s, fn: animation_Animation_addAnimationFrame__P2057, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38257,7 +38209,7 @@ function animation_Animation_addAnimationFrame__P299549_mk(s) { -function animation_createAnimation__P299553(s) { +function animation_createAnimation__P2061(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38272,9 +38224,9 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(animation_Animation__C299542_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Animation__C2050_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Animation_constructor__P299551_mk(s); + s.tmp_1 = animation_Animation_constructor__P2059_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; @@ -38285,13 +38237,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_createAnimation__P299553.info = {"start":4227,"length":121,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"createAnimation","argumentNames":["action","interval"]} -animation_createAnimation__P299553.info = {"start":4227,"length":121,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"createAnimation","argumentNames":["action","interval"]} +animation_createAnimation__P2061.info = {"start":4227,"length":121,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"createAnimation","argumentNames":["action","interval"]} +animation_createAnimation__P2061.info = {"start":4227,"length":121,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"createAnimation","argumentNames":["action","interval"]} -function animation_createAnimation__P299553_mk(s) { +function animation_createAnimation__P2061_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_createAnimation__P299553, depth: s.depth + 1, + parent: s, fn: animation_createAnimation__P2061, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38303,7 +38255,7 @@ function animation_createAnimation__P299553_mk(s) { -function animation_Animation_constructor__P299551(s) { +function animation_Animation_constructor__P2059(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38320,7 +38272,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Animation__C299542_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Animation__C2050_VT)) failedCast(r0); r0 = (s.arg0).fields["interval"] = (s.arg2); r0 = (s.arg0).fields["index"] = (-1); r0 = (s.arg0).fields["action"] = (s.arg1); @@ -38336,7 +38288,7 @@ switch (step) { r0 = pxsim.control.millis(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["lastTime"] = (s.tmp_1); - s.tmp_0 = animation_Animation__init__P299543_mk(s); + s.tmp_0 = animation_Animation__init__P2051_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: @@ -38345,13 +38297,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_Animation_constructor__P299551.info = {"start":1152,"length":292,"line":45,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["this","action","interval"]} -animation_Animation_constructor__P299551.info = {"start":1152,"length":292,"line":45,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["this","action","interval"]} +animation_Animation_constructor__P2059.info = {"start":1152,"length":292,"line":45,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["this","action","interval"]} +animation_Animation_constructor__P2059.info = {"start":1152,"length":292,"line":45,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["this","action","interval"]} -function animation_Animation_constructor__P299551_mk(s) { +function animation_Animation_constructor__P2059_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Animation_constructor__P299551, depth: s.depth + 1, + parent: s, fn: animation_Animation_constructor__P2059, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38364,7 +38316,7 @@ function animation_Animation_constructor__P299551_mk(s) { -function animation_Animation__init__P299543(s) { +function animation_Animation__init__P2051(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38379,40 +38331,40 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Animation__C299542_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals.animations___299497); + if (!checkSubtype(r0, animation_Animation__C2050_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals.animations___2005); 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.animations___299497 = (r0); - s.tmp_0 = control_EventContext_registerFrameHandler__P297845_mk(s); - s.tmp_1 = game_eventContext__P298726_mk(s); + globals.animations___2005 = (r0); + s.tmp_0 = control_EventContext_registerFrameHandler__P274_mk(s); + s.tmp_1 = game_eventContext__P1234_mk(s); s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 15; - s.tmp_0.arg2 = inline__P322223; + s.tmp_0.arg2 = inline__P24445; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - r0 = pxsim_Array__push(globals.animations___299497, s.arg0); + r0 = pxsim_Array__push(globals.animations___2005, s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -animation_Animation__init__P299543.info = {"start":1454,"length":313,"line":56,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"_init","argumentNames":["this"]} -animation_Animation__init__P299543.info = {"start":1454,"length":313,"line":56,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"_init","argumentNames":["this"]} +animation_Animation__init__P2051.info = {"start":1454,"length":313,"line":56,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"_init","argumentNames":["this"]} +animation_Animation__init__P2051.info = {"start":1454,"length":313,"line":56,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"_init","argumentNames":["this"]} -function animation_Animation__init__P299543_mk(s) { +function animation_Animation__init__P2051_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Animation__init__P299543, depth: s.depth + 1, + parent: s, fn: animation_Animation__init__P2051, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38423,7 +38375,7 @@ function animation_Animation__init__P299543_mk(s) { -function inline__P322223(s) { +function inline__P24445(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38433,9 +38385,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P297630_mk(s); - s.tmp_0.arg0 = globals.animations___299497; - s.tmp_0.arg1 = inline__P322226; + s.tmp_0 = helpers_arrayForEach__P59_mk(s); + s.tmp_0.arg0 = globals.animations___2005; + s.tmp_0.arg1 = inline__P24448; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -38443,13 +38395,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P322223.info = {"start":1618,"length":88,"line":59,"column":90,"endLine":61,"endColumn":17,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":[]} -inline__P322223.info = {"start":1618,"length":88,"line":59,"column":90,"endLine":61,"endColumn":17,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":[]} +inline__P24445.info = {"start":1618,"length":88,"line":59,"column":90,"endLine":61,"endColumn":17,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":[]} +inline__P24445.info = {"start":1618,"length":88,"line":59,"column":90,"endLine":61,"endColumn":17,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":[]} -function inline__P322223_mk(s) { +function inline__P24445_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P322223, depth: s.depth + 1, + parent: s, fn: inline__P24445, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38458,7 +38410,7 @@ function inline__P322223_mk(s) { -function inline__P322226(s) { +function inline__P24448(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38472,7 +38424,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = animation_Animation_update__P299544_mk(s); + s.tmp_0 = animation_Animation_update__P2052_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: @@ -38481,13 +38433,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P322226.info = {"start":1665,"length":21,"line":60,"column":39,"endLine":60,"endColumn":60,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["anim"]} -inline__P322226.info = {"start":1665,"length":21,"line":60,"column":39,"endLine":60,"endColumn":60,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["anim"]} +inline__P24448.info = {"start":1665,"length":21,"line":60,"column":39,"endLine":60,"endColumn":60,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["anim"]} +inline__P24448.info = {"start":1665,"length":21,"line":60,"column":39,"endLine":60,"endColumn":60,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["anim"]} -function inline__P322226_mk(s) { +function inline__P24448_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P322226, depth: s.depth + 1, + parent: s, fn: inline__P24448, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38497,7 +38449,7 @@ function inline__P322226_mk(s) { -function animation_Animation_update__P299544(s) { +function animation_Animation_update__P2052(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38507,23 +38459,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.currentTime___322234 = undefined; - s.dt___322237 = undefined; + s.currentTime___24456 = undefined; + s.dt___24459 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Animation__C299542_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Animation__C2050_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.currentTime___322234 = (r0); + s.currentTime___24456 = (r0); r0 = s.arg0.fields["lastTime"]; s.tmp_0 = r0; - r0 = (s.currentTime___322234 - s.tmp_0); - s.dt___322237 = (r0); + r0 = (s.currentTime___24456 - s.tmp_0); + s.dt___24459 = (r0); r0 = s.arg0.fields["interval"]; s.tmp_1 = r0; - r0 = (s.dt___322237 >= s.tmp_1); + r0 = (s.dt___24459 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } @@ -38550,23 +38502,23 @@ switch (step) { r0 = (s.tmp_6 % s.tmp_8); s.tmp_5 = r0; r0 = (s.tmp_4).fields["index"] = (s.tmp_5); - r0 = (s.arg0).fields["lastTime"] = (s.currentTime___322234); + r0 = (s.arg0).fields["lastTime"] = (s.currentTime___24456); case 3: case 4: s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P297631_mk(s); + s.tmp_2 = helpers_arrayFilter__P60_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P322269; + s.tmp_2.arg1 = inline__P24491; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["sprites"] = (s.tmp_1); - r0 = pxsim_pxtcore_mkAction(1, inline__P322280); + r0 = pxsim_pxtcore_mkAction(1, inline__P24502); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -38577,13 +38529,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_Animation_update__P299544.info = {"start":1777,"length":790,"line":66,"column":8,"endLine":85,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"update","argumentNames":["this"]} -animation_Animation_update__P299544.info = {"start":1777,"length":790,"line":66,"column":8,"endLine":85,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"update","argumentNames":["this"]} +animation_Animation_update__P2052.info = {"start":1777,"length":790,"line":66,"column":8,"endLine":85,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"update","argumentNames":["this"]} +animation_Animation_update__P2052.info = {"start":1777,"length":790,"line":66,"column":8,"endLine":85,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"update","argumentNames":["this"]} -function animation_Animation_update__P299544_mk(s) { +function animation_Animation_update__P2052_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Animation_update__P299544, depth: s.depth + 1, + parent: s, fn: animation_Animation_update__P2052, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38595,8 +38547,8 @@ function animation_Animation_update__P299544_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - currentTime___322234: undefined, - dt___322237: undefined, + currentTime___24456: undefined, + dt___24459: undefined, arg0: undefined, } } @@ -38604,7 +38556,7 @@ function animation_Animation_update__P299544_mk(s) { -function inline__P322269(s) { +function inline__P24491(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38628,13 +38580,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P322269.info = {"start":2134,"length":50,"line":74,"column":47,"endLine":74,"endColumn":97,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["sprite"]} -inline__P322269.info = {"start":2134,"length":50,"line":74,"column":47,"endLine":74,"endColumn":97,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P24491.info = {"start":2134,"length":50,"line":74,"column":47,"endLine":74,"endColumn":97,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P24491.info = {"start":2134,"length":50,"line":74,"column":47,"endLine":74,"endColumn":97,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["sprite"]} -function inline__P322269_mk(s) { +function inline__P24491_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P322269, depth: s.depth + 1, + parent: s, fn: inline__P24491, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38646,7 +38598,7 @@ function inline__P322269_mk(s) { -function inline__P322280(s) { +function inline__P24502(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38656,7 +38608,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.newImage___322287 = undefined; + s.newImage___24509 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -38674,16 +38626,16 @@ switch (step) { r0 = s.caps[0].fields["index"]; s.tmp_4 = r0; r0 = pxsim_Array__getAt(s.tmp_3, s.tmp_4); - s.newImage___322287 = (r0); + s.newImage___24509 = (r0); r0 = s.arg0.fields["_image"]; s.tmp_1 = r0; - r0 = (s.tmp_1 !== s.newImage___322287); + r0 = (s.tmp_1 !== s.newImage___24509); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = Sprite_setImage__P298245_mk(s); + s.tmp_2 = Sprite_setImage__P753_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.newImage___322287; + s.tmp_2.arg1 = s.newImage___24509; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; @@ -38695,20 +38647,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P322280.info = {"start":2221,"length":334,"line":76,"column":33,"endLine":84,"endColumn":13,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["sprite"]} -inline__P322280.info = {"start":2221,"length":334,"line":76,"column":33,"endLine":84,"endColumn":13,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P24502.info = {"start":2221,"length":334,"line":76,"column":33,"endLine":84,"endColumn":13,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P24502.info = {"start":2221,"length":334,"line":76,"column":33,"endLine":84,"endColumn":13,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["sprite"]} -function inline__P322280_mk(s) { +function inline__P24502_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P322280, depth: s.depth + 1, + parent: s, fn: inline__P24502, 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, - newImage___322287: undefined, + newImage___24509: undefined, arg0: undefined, } } @@ -38716,7 +38668,7 @@ function inline__P322280_mk(s) { -function animation_Animation_getImage__P299545(s) { +function animation_Animation_getImage__P2053(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38731,7 +38683,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Animation__C299542_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Animation__C2050_VT)) failedCast(r0); r0 = s.arg0.fields["frames"]; s.tmp_0 = r0; r0 = s.arg0.fields["index"]; @@ -38740,13 +38692,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_Animation_getImage__P299545.info = {"start":2577,"length":66,"line":87,"column":8,"endLine":89,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"getImage","argumentNames":["this"]} -animation_Animation_getImage__P299545.info = {"start":2577,"length":66,"line":87,"column":8,"endLine":89,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"getImage","argumentNames":["this"]} +animation_Animation_getImage__P2053.info = {"start":2577,"length":66,"line":87,"column":8,"endLine":89,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"getImage","argumentNames":["this"]} +animation_Animation_getImage__P2053.info = {"start":2577,"length":66,"line":87,"column":8,"endLine":89,"endColumn":9,"fileName":"pxt_modules/animation/legacy.ts","functionName":"getImage","argumentNames":["this"]} -function animation_Animation_getImage__P299545_mk(s) { +function animation_Animation_getImage__P2053_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Animation_getImage__P299545, depth: s.depth + 1, + parent: s, fn: animation_Animation_getImage__P2053, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38757,7 +38709,7 @@ function animation_Animation_getImage__P299545_mk(s) { -function tileworld_BackgroundBase_constructor__P306069(s) { +function tileworld_BackgroundBase_constructor__P8248(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38772,11 +38724,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_BackgroundBase__C306062_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P307361); + if (!checkSubtype(r0, tileworld_BackgroundBase__C8241_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P9546); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onPaint__P298741_mk(s); + s.tmp_1 = game_onPaint__P1249_mk(s); s.tmp_1.arg0 = s.tmp_0; s.pc = 1; return s.tmp_1; case 1: @@ -38785,13 +38737,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_BackgroundBase_constructor__P306069.info = {"start":93,"length":110,"line":5,"column":8,"endLine":9,"endColumn":9,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["this"]} -tileworld_BackgroundBase_constructor__P306069.info = {"start":93,"length":110,"line":5,"column":8,"endLine":9,"endColumn":9,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["this"]} +tileworld_BackgroundBase_constructor__P8248.info = {"start":93,"length":110,"line":5,"column":8,"endLine":9,"endColumn":9,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["this"]} +tileworld_BackgroundBase_constructor__P8248.info = {"start":93,"length":110,"line":5,"column":8,"endLine":9,"endColumn":9,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["this"]} -function tileworld_BackgroundBase_constructor__P306069_mk(s) { +function tileworld_BackgroundBase_constructor__P8248_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_BackgroundBase_constructor__P306069, depth: s.depth + 1, + parent: s, fn: tileworld_BackgroundBase_constructor__P8248, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38802,7 +38754,7 @@ function tileworld_BackgroundBase_constructor__P306069_mk(s) { -function inline__P307361(s) { +function inline__P9546(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38829,13 +38781,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P307361.info = {"start":134,"length":58,"line":6,"column":25,"endLine":8,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -inline__P307361.info = {"start":134,"length":58,"line":6,"column":25,"endLine":8,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9546.info = {"start":134,"length":58,"line":6,"column":25,"endLine":8,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9546.info = {"start":134,"length":58,"line":6,"column":25,"endLine":8,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P307361_mk(s) { +function inline__P9546_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P307361, depth: s.depth + 1, + parent: s, fn: inline__P9546, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38844,7 +38796,7 @@ function inline__P307361_mk(s) { -function game_onPaint__P298741(s) { +function game_onPaint__P1249(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38858,7 +38810,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P298727_mk(s); + s.tmp_0 = game_init__P1235_mk(s); s.tmp_0.arg0 = undefined; s.pc = 4; return s.tmp_0; case 4: @@ -38872,7 +38824,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P298587_mk(s); + s.tmp_2 = scene_createRenderable__P1095_mk(s); s.tmp_2.arg0 = -20; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; @@ -38884,13 +38836,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onPaint__P298741.info = {"start":9621,"length":145,"line":308,"column":4,"endLine":312,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"onPaint","argumentNames":["a"]} -game_onPaint__P298741.info = {"start":9621,"length":145,"line":308,"column":4,"endLine":312,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"onPaint","argumentNames":["a"]} +game_onPaint__P1249.info = {"start":9621,"length":145,"line":308,"column":4,"endLine":312,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onPaint","argumentNames":["a"]} +game_onPaint__P1249.info = {"start":9621,"length":145,"line":308,"column":4,"endLine":312,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onPaint","argumentNames":["a"]} -function game_onPaint__P298741_mk(s) { +function game_onPaint__P1249_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onPaint__P298741, depth: s.depth + 1, + parent: s, fn: game_onPaint__P1249, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38902,7 +38854,7 @@ function game_onPaint__P298741_mk(s) { -function scene_createRenderable__P298587(s) { +function scene_createRenderable__P1095(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38912,14 +38864,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.renderable___318266 = undefined; + s.renderable___20449 = 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__C298581_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C1089_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -38927,11 +38879,11 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = inline__P318272; + r0 = inline__P20455; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P298586_mk(s); + s.tmp_3 = scene_Renderable_constructor__P1094_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; @@ -38939,24 +38891,24 @@ switch (step) { s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___318266 = (s.tmp_0); - r0 = s.renderable___318266; + s.renderable___20449 = (s.tmp_0); + r0 = s.renderable___20449; return leave(s, r0) default: oops() } } } -scene_createRenderable__P298587.info = {"start":608,"length":339,"line":24,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/game---hw/renderable.ts","functionName":"createRenderable","argumentNames":["z","handler","shouldBeVisible"]} -scene_createRenderable__P298587.info = {"start":608,"length":339,"line":24,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/game---hw/renderable.ts","functionName":"createRenderable","argumentNames":["z","handler","shouldBeVisible"]} +scene_createRenderable__P1095.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__P1095.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__P298587_mk(s) { +function scene_createRenderable__P1095_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P298587, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P1095, 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___318266: undefined, + renderable___20449: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38966,7 +38918,7 @@ function scene_createRenderable__P298587_mk(s) { -function inline__P318272(s) { +function inline__P20455(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38980,13 +38932,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P318272.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game---hw/renderable.ts","functionName":"inline","argumentNames":[]} -inline__P318272.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game---hw/renderable.ts","functionName":"inline","argumentNames":[]} +inline__P20455.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +inline__P20455.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} -function inline__P318272_mk(s) { +function inline__P20455_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P318272, depth: s.depth + 1, + parent: s, fn: inline__P20455, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -38994,7 +38946,7 @@ function inline__P318272_mk(s) { -function scene_Renderable_constructor__P298586(s) { +function scene_Renderable_constructor__P1094(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39012,10 +38964,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C298581_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C1089_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P298106_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P614_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.pc = 1; return s.tmp_0; @@ -39025,13 +38977,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable_constructor__P298586.info = {"start":83,"length":212,"line":2,"column":8,"endLine":8,"endColumn":9,"fileName":"pxt_modules/game---hw/renderable.ts","functionName":"inline","argumentNames":["this","handler","shouldBeVisible","z"]} -scene_Renderable_constructor__P298586.info = {"start":83,"length":212,"line":2,"column":8,"endLine":8,"endColumn":9,"fileName":"pxt_modules/game---hw/renderable.ts","functionName":"inline","argumentNames":["this","handler","shouldBeVisible","z"]} +scene_Renderable_constructor__P1094.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__P1094.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__P298586_mk(s) { +function scene_Renderable_constructor__P1094_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P298586, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P1094, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39044,7 +38996,7 @@ function scene_Renderable_constructor__P298586_mk(s) { -function tileworld_MapEditor_constructor__P310887(s) { +function tileworld_MapEditor_constructor__P13072(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39060,9 +39012,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C310873_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13058_VT)) failedCast(r0); r0 = (s.arg0).fields["p"] = (s.arg1); - s.tmp_0 = tileworld_BackgroundBase_constructor__P306069_mk(s); + s.tmp_0 = tileworld_BackgroundBase_constructor__P8248_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: @@ -39077,22 +39029,22 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["sprites"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P298222_mk(s); - s.tmp_2.arg0 = globals.cursorOut___304544; + s.tmp_2 = sprites_create__P730_mk(s); + s.tmp_2.arg0 = globals.cursorOut___6392; s.tmp_2.arg1 = undefined; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["selected"] = (s.tmp_1); - s.tmp_0 = Sprite_x__P298230_mk(s); + s.tmp_0 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["selected"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 24; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); + s.tmp_0 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["selected"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 12; @@ -39101,174 +39053,174 @@ switch (step) { r0 = s.retval; r0 = (s.arg0).fields["userSpriteIndex"] = (0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P298222_mk(s); - s.tmp_2.arg0 = globals.cursorIn___304541; + s.tmp_2 = sprites_create__P730_mk(s); + s.tmp_2.arg0 = globals.cursorIn___6389; s.tmp_2.arg1 = undefined; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["cursor"] = (s.tmp_1); - s.tmp_0 = Sprite_x__P298230_mk(s); + s.tmp_0 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 8; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); + s.tmp_0 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 12; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = tileworld_cursorAnimation__P302070_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3914_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.cursorOut___304544; + s.tmp_0.arg1 = globals.cursorOut___6392; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P298222_mk(s); - s.tmp_2.arg0 = globals.paintOut___310868; + s.tmp_2 = sprites_create__P730_mk(s); + s.tmp_2.arg0 = globals.paintOut___13053; s.tmp_2.arg1 = undefined; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["paintCursor"] = (s.tmp_1); - s.tmp_0 = tileworld_cursorAnimation__P302070_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3914_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.paintIn___310871; + s.tmp_0.arg1 = globals.paintIn___13056; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = tileworld_MapEditor_paintHome__P310875_mk(s); + s.tmp_0 = tileworld_MapEditor_paintHome__P13060_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = tileworld_MapEditor_setCursor__P310876_mk(s); + s.tmp_0 = tileworld_MapEditor_setCursor__P13061_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = tileworld_MapEditor__C310873_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C13058_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C310873_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C13058_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P310962); + r0 = pxsim_pxtcore_mkAction(1, inline__P13147); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.left___298128; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.left___636; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P310967); + r0 = pxsim_pxtcore_mkAction(1, inline__P13152); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.left___298128; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.left___636; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P310972); + r0 = pxsim_pxtcore_mkAction(1, inline__P13157); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.right___298132; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.right___640; s.tmp_1.arg1 = 2049; 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__P310977); + r0 = pxsim_pxtcore_mkAction(1, inline__P13162); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.right___298132; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.right___640; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P310982); + r0 = pxsim_pxtcore_mkAction(1, inline__P13167); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.up___298130; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.up___638; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P310987); + r0 = pxsim_pxtcore_mkAction(1, inline__P13172); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.up___298130; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.up___638; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P310992); + r0 = pxsim_pxtcore_mkAction(1, inline__P13177); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.down___298134; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.down___642; s.tmp_1.arg1 = 2049; 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__P310997); + r0 = pxsim_pxtcore_mkAction(1, inline__P13182); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.down___298134; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.down___642; s.tmp_1.arg1 = 2054; 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__P311002); + r0 = pxsim_pxtcore_mkAction(1, inline__P13187); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.A___298124; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.A___632; s.tmp_1.arg1 = 2049; 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__P311009); + r0 = pxsim_pxtcore_mkAction(1, inline__P13194); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.A___298124; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.A___632; s.tmp_1.arg1 = 2048; 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__P311015); + r0 = pxsim_pxtcore_mkAction(1, inline__P13200); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.B___298126; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.B___634; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 24; return s.tmp_1; @@ -39278,13 +39230,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_constructor__P310887.info = {"start":1018,"length":2041,"line":39,"column":8,"endLine":80,"endColumn":9,"fileName":"editor.ts","functionName":"inline","argumentNames":["this","p"]} -tileworld_MapEditor_constructor__P310887.info = {"start":1018,"length":2041,"line":39,"column":8,"endLine":80,"endColumn":9,"fileName":"editor.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_MapEditor_constructor__P13072.info = {"start":1018,"length":2041,"line":39,"column":8,"endLine":80,"endColumn":9,"fileName":"editor.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_MapEditor_constructor__P13072.info = {"start":1018,"length":2041,"line":39,"column":8,"endLine":80,"endColumn":9,"fileName":"editor.ts","functionName":"inline","argumentNames":["this","p"]} -function tileworld_MapEditor_constructor__P310887_mk(s) { +function tileworld_MapEditor_constructor__P13072_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_constructor__P310887, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_constructor__P13072, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39297,7 +39249,7 @@ function tileworld_MapEditor_constructor__P310887_mk(s) { -function inline__P310962(s) { +function inline__P13147(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39307,7 +39259,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveLeft__P310877_mk(s); + s.tmp_0 = tileworld_MapEditor_moveLeft__P13062_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -39316,13 +39268,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P310962.info = {"start":1850,"length":21,"line":62,"column":67,"endLine":62,"endColumn":88,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -inline__P310962.info = {"start":1850,"length":21,"line":62,"column":67,"endLine":62,"endColumn":88,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13147.info = {"start":1850,"length":21,"line":62,"column":67,"endLine":62,"endColumn":88,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13147.info = {"start":1850,"length":21,"line":62,"column":67,"endLine":62,"endColumn":88,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P310962_mk(s) { +function inline__P13147_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P310962, depth: s.depth + 1, + parent: s, fn: inline__P13147, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -39331,7 +39283,7 @@ function inline__P310962_mk(s) { -function inline__P310967(s) { +function inline__P13152(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39341,7 +39293,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveLeft__P310877_mk(s); + s.tmp_0 = tileworld_MapEditor_moveLeft__P13062_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -39350,13 +39302,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P310967.info = {"start":1942,"length":21,"line":63,"column":68,"endLine":63,"endColumn":89,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -inline__P310967.info = {"start":1942,"length":21,"line":63,"column":68,"endLine":63,"endColumn":89,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13152.info = {"start":1942,"length":21,"line":63,"column":68,"endLine":63,"endColumn":89,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13152.info = {"start":1942,"length":21,"line":63,"column":68,"endLine":63,"endColumn":89,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P310967_mk(s) { +function inline__P13152_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P310967, depth: s.depth + 1, + parent: s, fn: inline__P13152, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -39365,7 +39317,7 @@ function inline__P310967_mk(s) { -function inline__P310972(s) { +function inline__P13157(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39375,7 +39327,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveRight__P310878_mk(s); + s.tmp_0 = tileworld_MapEditor_moveRight__P13063_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -39384,13 +39336,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P310972.info = {"start":2034,"length":22,"line":64,"column":68,"endLine":64,"endColumn":90,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -inline__P310972.info = {"start":2034,"length":22,"line":64,"column":68,"endLine":64,"endColumn":90,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13157.info = {"start":2034,"length":22,"line":64,"column":68,"endLine":64,"endColumn":90,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13157.info = {"start":2034,"length":22,"line":64,"column":68,"endLine":64,"endColumn":90,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P310972_mk(s) { +function inline__P13157_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P310972, depth: s.depth + 1, + parent: s, fn: inline__P13157, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -39399,7 +39351,7 @@ function inline__P310972_mk(s) { -function inline__P310977(s) { +function inline__P13162(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39409,7 +39361,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveRight__P310878_mk(s); + s.tmp_0 = tileworld_MapEditor_moveRight__P13063_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -39418,13 +39370,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P310977.info = {"start":2128,"length":22,"line":65,"column":69,"endLine":65,"endColumn":91,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -inline__P310977.info = {"start":2128,"length":22,"line":65,"column":69,"endLine":65,"endColumn":91,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13162.info = {"start":2128,"length":22,"line":65,"column":69,"endLine":65,"endColumn":91,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13162.info = {"start":2128,"length":22,"line":65,"column":69,"endLine":65,"endColumn":91,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P310977_mk(s) { +function inline__P13162_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P310977, depth: s.depth + 1, + parent: s, fn: inline__P13162, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -39433,7 +39385,7 @@ function inline__P310977_mk(s) { -function inline__P310982(s) { +function inline__P13167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39443,7 +39395,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveUp__P310879_mk(s); + s.tmp_0 = tileworld_MapEditor_moveUp__P13064_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -39452,13 +39404,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P310982.info = {"start":2218,"length":19,"line":66,"column":65,"endLine":66,"endColumn":84,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -inline__P310982.info = {"start":2218,"length":19,"line":66,"column":65,"endLine":66,"endColumn":84,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13167.info = {"start":2218,"length":19,"line":66,"column":65,"endLine":66,"endColumn":84,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13167.info = {"start":2218,"length":19,"line":66,"column":65,"endLine":66,"endColumn":84,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P310982_mk(s) { +function inline__P13167_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P310982, depth: s.depth + 1, + parent: s, fn: inline__P13167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -39467,7 +39419,7 @@ function inline__P310982_mk(s) { -function inline__P310987(s) { +function inline__P13172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39477,7 +39429,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveUp__P310879_mk(s); + s.tmp_0 = tileworld_MapEditor_moveUp__P13064_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -39486,13 +39438,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P310987.info = {"start":2306,"length":19,"line":67,"column":66,"endLine":67,"endColumn":85,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -inline__P310987.info = {"start":2306,"length":19,"line":67,"column":66,"endLine":67,"endColumn":85,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13172.info = {"start":2306,"length":19,"line":67,"column":66,"endLine":67,"endColumn":85,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13172.info = {"start":2306,"length":19,"line":67,"column":66,"endLine":67,"endColumn":85,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P310987_mk(s) { +function inline__P13172_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P310987, depth: s.depth + 1, + parent: s, fn: inline__P13172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -39501,7 +39453,7 @@ function inline__P310987_mk(s) { -function inline__P310992(s) { +function inline__P13177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39511,7 +39463,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveDown__P310880_mk(s); + s.tmp_0 = tileworld_MapEditor_moveDown__P13065_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -39520,13 +39472,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P310992.info = {"start":2395,"length":21,"line":68,"column":67,"endLine":68,"endColumn":88,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -inline__P310992.info = {"start":2395,"length":21,"line":68,"column":67,"endLine":68,"endColumn":88,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13177.info = {"start":2395,"length":21,"line":68,"column":67,"endLine":68,"endColumn":88,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13177.info = {"start":2395,"length":21,"line":68,"column":67,"endLine":68,"endColumn":88,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P310992_mk(s) { +function inline__P13177_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P310992, depth: s.depth + 1, + parent: s, fn: inline__P13177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -39535,7 +39487,7 @@ function inline__P310992_mk(s) { -function inline__P310997(s) { +function inline__P13182(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39545,7 +39497,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveDown__P310880_mk(s); + s.tmp_0 = tileworld_MapEditor_moveDown__P13065_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -39554,13 +39506,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P310997.info = {"start":2487,"length":21,"line":69,"column":68,"endLine":69,"endColumn":89,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -inline__P310997.info = {"start":2487,"length":21,"line":69,"column":68,"endLine":69,"endColumn":89,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13182.info = {"start":2487,"length":21,"line":69,"column":68,"endLine":69,"endColumn":89,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13182.info = {"start":2487,"length":21,"line":69,"column":68,"endLine":69,"endColumn":89,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P310997_mk(s) { +function inline__P13182_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P310997, depth: s.depth + 1, + parent: s, fn: inline__P13182, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -39569,7 +39521,7 @@ function inline__P310997_mk(s) { -function inline__P311002(s) { +function inline__P13187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39580,7 +39532,7 @@ switch (step) { case 0: r0 = (s.caps[0]).fields["aDown"] = (true); - s.tmp_0 = tileworld_MapEditor_cursorAction__P310882_mk(s); + s.tmp_0 = tileworld_MapEditor_cursorAction__P13067_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; s.pc = 1; return s.tmp_0; @@ -39590,13 +39542,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P311002.info = {"start":2575,"length":49,"line":70,"column":64,"endLine":70,"endColumn":113,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -inline__P311002.info = {"start":2575,"length":49,"line":70,"column":64,"endLine":70,"endColumn":113,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13187.info = {"start":2575,"length":49,"line":70,"column":64,"endLine":70,"endColumn":113,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13187.info = {"start":2575,"length":49,"line":70,"column":64,"endLine":70,"endColumn":113,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P311002_mk(s) { +function inline__P13187_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P311002, depth: s.depth + 1, + parent: s, fn: inline__P13187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -39605,7 +39557,7 @@ function inline__P311002_mk(s) { -function inline__P311009(s) { +function inline__P13194(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39620,13 +39572,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P311009.info = {"start":2692,"length":29,"line":71,"column":65,"endLine":71,"endColumn":94,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -inline__P311009.info = {"start":2692,"length":29,"line":71,"column":65,"endLine":71,"endColumn":94,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13194.info = {"start":2692,"length":29,"line":71,"column":65,"endLine":71,"endColumn":94,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13194.info = {"start":2692,"length":29,"line":71,"column":65,"endLine":71,"endColumn":94,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P311009_mk(s) { +function inline__P13194_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P311009, depth: s.depth + 1, + parent: s, fn: inline__P13194, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -39634,7 +39586,7 @@ function inline__P311009_mk(s) { -function inline__P311015(s) { +function inline__P13200(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39650,19 +39602,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = tileworld_Project_saveWorldSprites__P303135_mk(s); + s.tmp_2 = tileworld_Project_saveWorldSprites__P4983_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_2.arg0 = r0; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - s.tmp_0 = game_popScene__P298729_mk(s); + s.tmp_0 = game_popScene__P1237_mk(s); s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = tileworld_MapEditor_setCursor__P310876_mk(s); + s.tmp_0 = tileworld_MapEditor_setCursor__P13061_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; s.pc = 5; return s.tmp_0; @@ -39673,13 +39625,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P311015.info = {"start":2788,"length":259,"line":72,"column":64,"endLine":79,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -inline__P311015.info = {"start":2788,"length":259,"line":72,"column":64,"endLine":79,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13200.info = {"start":2788,"length":259,"line":72,"column":64,"endLine":79,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P13200.info = {"start":2788,"length":259,"line":72,"column":64,"endLine":79,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P311015_mk(s) { +function inline__P13200_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P311015, depth: s.depth + 1, + parent: s, fn: inline__P13200, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39690,7 +39642,7 @@ function inline__P311015_mk(s) { -function tileworld_Project_saveWorldSprites__P303135(s) { +function tileworld_Project_saveWorldSprites__P4983(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39700,22 +39652,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.worldBuf___303342 = undefined; - s.spritesBuf___303354 = undefined; + s.worldBuf___5190 = undefined; + s.spritesBuf___5202 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - s.tmp_0 = tileworld_imageToBuffer__P302128_mk(s); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + s.tmp_0 = tileworld_imageToBuffer__P3972_mk(s); r0 = s.arg0.fields["_world"]; s.tmp_0.arg0 = r0; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.worldBuf___303342 = (r0); - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.worldBuf___5190 = (r0); + s.tmp_0 = settings_writeBuffer__P578_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { @@ -39729,18 +39681,18 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "TM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.worldBuf___303342; + s.tmp_0.arg1 = s.worldBuf___5190; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_imageToBuffer__P302128_mk(s); + s.tmp_0 = tileworld_imageToBuffer__P3972_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_0.arg0 = r0; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.spritesBuf___303354 = (r0); - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.spritesBuf___5202 = (r0); + s.tmp_0 = settings_writeBuffer__P578_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { @@ -39754,7 +39706,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "TS"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.spritesBuf___303354; + s.tmp_0.arg1 = s.spritesBuf___5202; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -39762,19 +39714,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_saveWorldSprites__P303135.info = {"start":2755,"length":281,"line":96,"column":8,"endLine":101,"endColumn":9,"fileName":"project.ts","functionName":"saveWorldSprites","argumentNames":["this"]} -tileworld_Project_saveWorldSprites__P303135.info = {"start":2755,"length":281,"line":96,"column":8,"endLine":101,"endColumn":9,"fileName":"project.ts","functionName":"saveWorldSprites","argumentNames":["this"]} +tileworld_Project_saveWorldSprites__P4983.info = {"start":2755,"length":281,"line":96,"column":8,"endLine":101,"endColumn":9,"fileName":"project.ts","functionName":"saveWorldSprites","argumentNames":["this"]} +tileworld_Project_saveWorldSprites__P4983.info = {"start":2755,"length":281,"line":96,"column":8,"endLine":101,"endColumn":9,"fileName":"project.ts","functionName":"saveWorldSprites","argumentNames":["this"]} -function tileworld_Project_saveWorldSprites__P303135_mk(s) { +function tileworld_Project_saveWorldSprites__P4983_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_saveWorldSprites__P303135, depth: s.depth + 1, + parent: s, fn: tileworld_Project_saveWorldSprites__P4983, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worldBuf___303342: undefined, - spritesBuf___303354: undefined, + worldBuf___5190: undefined, + spritesBuf___5202: undefined, arg0: undefined, } } @@ -39782,7 +39734,7 @@ function tileworld_Project_saveWorldSprites__P303135_mk(s) { -function tileworld_MapEditor_cursorAction__P310882(s) { +function tileworld_MapEditor_cursorAction__P13067(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39792,15 +39744,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.col___311208 = undefined; - s.row___311217 = undefined; + s.col___13393 = undefined; + s.row___13402 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C310873_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13058_VT)) failedCast(r0); r0 = s.arg0.fields["aDown"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -39818,7 +39770,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_7 = Sprite_x__P298229_mk(s); + s.tmp_7 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_7.arg0 = r0; s.pc = 20; return s.tmp_7; @@ -39830,8 +39782,8 @@ switch (step) { r0 = s.arg0.fields["offsetX"]; s.tmp_8 = r0; r0 = (s.tmp_5 + s.tmp_8); - s.col___311208 = (r0); - s.tmp_3 = Sprite_y__P298231_mk(s); + s.col___13393 = (r0); + s.tmp_3 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_3.arg0 = r0; s.pc = 21; return s.tmp_3; @@ -39845,7 +39797,7 @@ switch (step) { r0 = s.arg0.fields["offsetY"]; s.tmp_4 = r0; r0 = (s.tmp_0 + s.tmp_4); - s.row___311217 = (r0); + s.row___13402 = (r0); r0 = s.arg0.fields["userSpriteIndex"]; s.tmp_1 = r0; r0 = s.arg0.fields["p"]; @@ -39862,12 +39814,12 @@ switch (step) { s.tmp_5 = r0; r0 = s.arg0.fields["userSpriteIndex"]; s.tmp_6 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_5, s.col___311208, s.row___311217, s.tmp_6); + r0 = pxsim_ImageMethods.setPixel(s.tmp_5, s.col___13393, s.row___13402, s.tmp_6); { step = 6; continue; } case 3: r0 = s.arg0.fields["sprites"]; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.getPixel(s.tmp_2, s.col___311208, s.row___311217); + r0 = pxsim_ImageMethods.getPixel(s.tmp_2, s.col___13393, s.row___13402); s.tmp_1 = r0; r0 = s.arg0.fields["userSpriteIndex"]; s.tmp_3 = r0; @@ -39877,19 +39829,19 @@ switch (step) { if (!r0) { step = 4; continue; } r0 = s.arg0.fields["sprites"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_4, s.col___311208, s.row___311217, 15); + r0 = pxsim_ImageMethods.setPixel(s.tmp_4, s.col___13393, s.row___13402, 15); { step = 5; continue; } case 4: r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = s.arg0.fields["userSpriteIndex"]; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.col___311208, s.row___311217, s.tmp_1); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.col___13393, s.row___13402, s.tmp_1); case 5: case 6: - s.tmp_0 = tileworld_MapEditor__C310873_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C13058_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C310873_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C13058_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 22; return s.tmp_0; case 22: @@ -39902,7 +39854,7 @@ switch (step) { { step = 19; continue; } case 9: case 10: - s.tmp_2 = tileworld_MapEditor_row__P310884_mk(s); + s.tmp_2 = tileworld_MapEditor_row__P13069_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 23; return s.tmp_2; @@ -39913,7 +39865,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - s.tmp_5 = tileworld_MapEditor_col__P310883_mk(s); + s.tmp_5 = tileworld_MapEditor_col__P13068_mk(s); s.tmp_5.arg0 = s.arg0; s.tmp_5.arg1 = true; s.pc = 24; return s.tmp_5; @@ -39927,14 +39879,14 @@ switch (step) { r0 = s.tmp_3; { step = 12; continue; } case 11: - s.tmp_7 = tileworld_MapEditor_col__P310883_mk(s); + s.tmp_7 = tileworld_MapEditor_col__P13068_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = true; s.pc = 25; return s.tmp_7; case 25: r0 = s.retval; s.tmp_6 = r0; - s.tmp_11 = tileworld_Project_all__P303128_mk(s); + s.tmp_11 = tileworld_Project_all__P4976_mk(s); r0 = s.arg0.fields["p"]; s.tmp_11.arg0 = r0; s.pc = 26; return s.tmp_11; @@ -39952,7 +39904,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_12); if (!r0) { step = 13; continue; } s.tmp_13 = r0 = s.arg0; - s.tmp_16 = tileworld_MapEditor_col__P310883_mk(s); + s.tmp_16 = tileworld_MapEditor_col__P13068_mk(s); s.tmp_16.arg0 = s.arg0; s.tmp_16.arg1 = true; s.pc = 27; return s.tmp_16; @@ -39962,14 +39914,14 @@ switch (step) { r0 = (s.tmp_15 - 1); s.tmp_14 = r0; r0 = (s.tmp_13).fields["userSpriteIndex"] = (s.tmp_14); - s.tmp_0 = tileworld_MapEditor_updateSelection__P310881_mk(s); + s.tmp_0 = tileworld_MapEditor_updateSelection__P13066_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; { step = 16; continue; } case 13: - s.tmp_2 = tileworld_MapEditor_col__P310883_mk(s); + s.tmp_2 = tileworld_MapEditor_col__P13068_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 29; return s.tmp_2; @@ -39980,12 +39932,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_3 = tileworld_MapEditor_paintHome__P310875_mk(s); + s.tmp_3 = tileworld_MapEditor_paintHome__P13060_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 30; return s.tmp_3; case 30: r0 = s.retval; - s.tmp_0 = tileworld_MapEditor_setCursor__P310876_mk(s); + s.tmp_0 = tileworld_MapEditor_setCursor__P13061_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.pc = 31; return s.tmp_0; @@ -39996,9 +39948,9 @@ switch (step) { case 16: case 17: case 18: - s.tmp_0 = tileworld_MapEditor__C310873_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C13058_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C310873_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C13058_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 32; return s.tmp_0; case 32: @@ -40008,13 +39960,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_cursorAction__P310882.info = {"start":5285,"length":1316,"line":151,"column":8,"endLine":181,"endColumn":9,"fileName":"editor.ts","functionName":"cursorAction","argumentNames":["this","repeated"]} -tileworld_MapEditor_cursorAction__P310882.info = {"start":5285,"length":1316,"line":151,"column":8,"endLine":181,"endColumn":9,"fileName":"editor.ts","functionName":"cursorAction","argumentNames":["this","repeated"]} +tileworld_MapEditor_cursorAction__P13067.info = {"start":5285,"length":1316,"line":151,"column":8,"endLine":181,"endColumn":9,"fileName":"editor.ts","functionName":"cursorAction","argumentNames":["this","repeated"]} +tileworld_MapEditor_cursorAction__P13067.info = {"start":5285,"length":1316,"line":151,"column":8,"endLine":181,"endColumn":9,"fileName":"editor.ts","functionName":"cursorAction","argumentNames":["this","repeated"]} -function tileworld_MapEditor_cursorAction__P310882_mk(s) { +function tileworld_MapEditor_cursorAction__P13067_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_cursorAction__P310882, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_cursorAction__P13067, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40033,8 +39985,8 @@ function tileworld_MapEditor_cursorAction__P310882_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - col___311208: undefined, - row___311217: undefined, + col___13393: undefined, + row___13402: undefined, arg0: undefined, arg1: undefined, } } @@ -40043,7 +39995,7 @@ function tileworld_MapEditor_cursorAction__P310882_mk(s) { -function tileworld_MapEditor_updateSelection__P310881(s) { +function tileworld_MapEditor_updateSelection__P13066(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40058,11 +40010,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C310873_VT)) failedCast(r0); - s.tmp_0 = Sprite_x__P298230_mk(s); + if (!checkSubtype(r0, tileworld_MapEditor__C13058_VT)) failedCast(r0); + s.tmp_0 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["selected"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P298229_mk(s); + s.tmp_1 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; s.pc = 2; return s.tmp_1; @@ -40072,10 +40024,10 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); + s.tmp_0 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["selected"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P298231_mk(s); + s.tmp_1 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; s.pc = 4; return s.tmp_1; @@ -40089,13 +40041,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_updateSelection__P310881.info = {"start":5148,"length":127,"line":146,"column":8,"endLine":149,"endColumn":9,"fileName":"editor.ts","functionName":"updateSelection","argumentNames":["this"]} -tileworld_MapEditor_updateSelection__P310881.info = {"start":5148,"length":127,"line":146,"column":8,"endLine":149,"endColumn":9,"fileName":"editor.ts","functionName":"updateSelection","argumentNames":["this"]} +tileworld_MapEditor_updateSelection__P13066.info = {"start":5148,"length":127,"line":146,"column":8,"endLine":149,"endColumn":9,"fileName":"editor.ts","functionName":"updateSelection","argumentNames":["this"]} +tileworld_MapEditor_updateSelection__P13066.info = {"start":5148,"length":127,"line":146,"column":8,"endLine":149,"endColumn":9,"fileName":"editor.ts","functionName":"updateSelection","argumentNames":["this"]} -function tileworld_MapEditor_updateSelection__P310881_mk(s) { +function tileworld_MapEditor_updateSelection__P13066_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_updateSelection__P310881, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_updateSelection__P13066, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40106,7 +40058,7 @@ function tileworld_MapEditor_updateSelection__P310881_mk(s) { -function tileworld_MapEditor_col__P310883(s) { +function tileworld_MapEditor_col__P13068(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40122,8 +40074,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C310873_VT)) failedCast(r0); - s.tmp_1 = Sprite_x__P298229_mk(s); + if (!checkSubtype(r0, tileworld_MapEditor__C13058_VT)) failedCast(r0); + s.tmp_1 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; s.pc = 1; return s.tmp_1; @@ -40134,13 +40086,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_col__P310883.info = {"start":6611,"length":87,"line":183,"column":8,"endLine":185,"endColumn":9,"fileName":"editor.ts","functionName":"col","argumentNames":["this","current"]} -tileworld_MapEditor_col__P310883.info = {"start":6611,"length":87,"line":183,"column":8,"endLine":185,"endColumn":9,"fileName":"editor.ts","functionName":"col","argumentNames":["this","current"]} +tileworld_MapEditor_col__P13068.info = {"start":6611,"length":87,"line":183,"column":8,"endLine":185,"endColumn":9,"fileName":"editor.ts","functionName":"col","argumentNames":["this","current"]} +tileworld_MapEditor_col__P13068.info = {"start":6611,"length":87,"line":183,"column":8,"endLine":185,"endColumn":9,"fileName":"editor.ts","functionName":"col","argumentNames":["this","current"]} -function tileworld_MapEditor_col__P310883_mk(s) { +function tileworld_MapEditor_col__P13068_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_col__P310883, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_col__P13068, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40152,7 +40104,7 @@ function tileworld_MapEditor_col__P310883_mk(s) { -function tileworld_MapEditor_row__P310884(s) { +function tileworld_MapEditor_row__P13069(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40168,8 +40120,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C310873_VT)) failedCast(r0); - s.tmp_2 = Sprite_y__P298231_mk(s); + if (!checkSubtype(r0, tileworld_MapEditor__C13058_VT)) failedCast(r0); + s.tmp_2 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_2.arg0 = r0; s.pc = 1; return s.tmp_2; @@ -40182,13 +40134,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_row__P310884.info = {"start":6716,"length":96,"line":187,"column":8,"endLine":189,"endColumn":9,"fileName":"editor.ts","functionName":"row","argumentNames":["this","current"]} -tileworld_MapEditor_row__P310884.info = {"start":6716,"length":96,"line":187,"column":8,"endLine":189,"endColumn":9,"fileName":"editor.ts","functionName":"row","argumentNames":["this","current"]} +tileworld_MapEditor_row__P13069.info = {"start":6716,"length":96,"line":187,"column":8,"endLine":189,"endColumn":9,"fileName":"editor.ts","functionName":"row","argumentNames":["this","current"]} +tileworld_MapEditor_row__P13069.info = {"start":6716,"length":96,"line":187,"column":8,"endLine":189,"endColumn":9,"fileName":"editor.ts","functionName":"row","argumentNames":["this","current"]} -function tileworld_MapEditor_row__P310884_mk(s) { +function tileworld_MapEditor_row__P13069_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_row__P310884, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_row__P13069, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40201,7 +40153,7 @@ function tileworld_MapEditor_row__P310884_mk(s) { -function tileworld_MapEditor_moveDown__P310880(s) { +function tileworld_MapEditor_moveDown__P13065(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40216,14 +40168,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C310873_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13058_VT)) failedCast(r0); r0 = s.arg0.fields["cursorType"]; 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; } - s.tmp_2 = tileworld_MapEditor_setCursor__P310876_mk(s); + s.tmp_2 = tileworld_MapEditor_setCursor__P13061_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 1; s.pc = 5; return s.tmp_2; @@ -40231,7 +40183,7 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 1: - s.tmp_2 = Sprite_y__P298231_mk(s); + s.tmp_2 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; s.pc = 6; return s.tmp_2; @@ -40242,11 +40194,11 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_3 = Sprite_y__P298232_mk(s); + s.tmp_3 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_4 = r0; s.tmp_3.arg0 = r0; - s.tmp_6 = Sprite_y__P298231_mk(s); + s.tmp_6 = Sprite_y__P739_mk(s); s.tmp_6.arg0 = s.tmp_4; s.pc = 8; return s.tmp_6; case 8: @@ -40266,15 +40218,15 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["offsetY"] = (s.tmp_1); case 3: - s.tmp_0 = tileworld_MapEditor__C310873_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C13058_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C310873_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C13058_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; case 4: - s.tmp_0 = tileworld_MapEditor_cursorAction__P310882_mk(s); + s.tmp_0 = tileworld_MapEditor_cursorAction__P13067_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.pc = 10; return s.tmp_0; @@ -40284,13 +40236,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_moveDown__P310880.info = {"start":4720,"length":418,"line":133,"column":8,"endLine":144,"endColumn":9,"fileName":"editor.ts","functionName":"moveDown","argumentNames":["this"]} -tileworld_MapEditor_moveDown__P310880.info = {"start":4720,"length":418,"line":133,"column":8,"endLine":144,"endColumn":9,"fileName":"editor.ts","functionName":"moveDown","argumentNames":["this"]} +tileworld_MapEditor_moveDown__P13065.info = {"start":4720,"length":418,"line":133,"column":8,"endLine":144,"endColumn":9,"fileName":"editor.ts","functionName":"moveDown","argumentNames":["this"]} +tileworld_MapEditor_moveDown__P13065.info = {"start":4720,"length":418,"line":133,"column":8,"endLine":144,"endColumn":9,"fileName":"editor.ts","functionName":"moveDown","argumentNames":["this"]} -function tileworld_MapEditor_moveDown__P310880_mk(s) { +function tileworld_MapEditor_moveDown__P13065_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_moveDown__P310880, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_moveDown__P13065, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40306,7 +40258,7 @@ function tileworld_MapEditor_moveDown__P310880_mk(s) { -function tileworld_MapEditor_moveUp__P310879(s) { +function tileworld_MapEditor_moveUp__P13064(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40321,14 +40273,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C310873_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13058_VT)) failedCast(r0); r0 = s.arg0.fields["cursorType"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_y__P298231_mk(s); + s.tmp_4 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_4.arg0 = r0; s.pc = 5; return s.tmp_4; @@ -40339,11 +40291,11 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_5 = Sprite_y__P298232_mk(s); + s.tmp_5 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_6 = r0; s.tmp_5.arg0 = r0; - s.tmp_8 = Sprite_y__P298231_mk(s); + s.tmp_8 = Sprite_y__P739_mk(s); s.tmp_8.arg0 = s.tmp_6; s.pc = 7; return s.tmp_8; case 7: @@ -40363,16 +40315,16 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["offsetY"] = (s.tmp_1); case 2: - s.tmp_0 = tileworld_MapEditor__C310873_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C13058_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C310873_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C13058_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 3: case 4: - s.tmp_0 = tileworld_MapEditor_cursorAction__P310882_mk(s); + s.tmp_0 = tileworld_MapEditor_cursorAction__P13067_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.pc = 9; return s.tmp_0; @@ -40382,13 +40334,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_moveUp__P310879.info = {"start":4367,"length":343,"line":122,"column":8,"endLine":131,"endColumn":9,"fileName":"editor.ts","functionName":"moveUp","argumentNames":["this"]} -tileworld_MapEditor_moveUp__P310879.info = {"start":4367,"length":343,"line":122,"column":8,"endLine":131,"endColumn":9,"fileName":"editor.ts","functionName":"moveUp","argumentNames":["this"]} +tileworld_MapEditor_moveUp__P13064.info = {"start":4367,"length":343,"line":122,"column":8,"endLine":131,"endColumn":9,"fileName":"editor.ts","functionName":"moveUp","argumentNames":["this"]} +tileworld_MapEditor_moveUp__P13064.info = {"start":4367,"length":343,"line":122,"column":8,"endLine":131,"endColumn":9,"fileName":"editor.ts","functionName":"moveUp","argumentNames":["this"]} -function tileworld_MapEditor_moveUp__P310879_mk(s) { +function tileworld_MapEditor_moveUp__P13064_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_moveUp__P310879, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_moveUp__P13064, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40406,7 +40358,7 @@ function tileworld_MapEditor_moveUp__P310879_mk(s) { -function tileworld_MapEditor_moveRight__P310878(s) { +function tileworld_MapEditor_moveRight__P13063(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40421,14 +40373,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C310873_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13058_VT)) failedCast(r0); r0 = s.arg0.fields["cursorType"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = tileworld_MapEditor_col__P310883_mk(s); + s.tmp_4 = tileworld_MapEditor_col__P13068_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; s.pc = 7; return s.tmp_4; @@ -40439,11 +40391,11 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_5 = Sprite_x__P298230_mk(s); + s.tmp_5 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_6 = r0; s.tmp_5.arg0 = r0; - s.tmp_8 = Sprite_x__P298229_mk(s); + s.tmp_8 = Sprite_x__P737_mk(s); s.tmp_8.arg0 = s.tmp_6; s.pc = 9; return s.tmp_8; case 9: @@ -40458,7 +40410,7 @@ switch (step) { case 2: { step = 6; continue; } case 3: - s.tmp_2 = Sprite_x__P298229_mk(s); + s.tmp_2 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; s.pc = 10; return s.tmp_2; @@ -40469,11 +40421,11 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_3 = Sprite_x__P298230_mk(s); + s.tmp_3 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_4 = r0; s.tmp_3.arg0 = r0; - s.tmp_6 = Sprite_x__P298229_mk(s); + s.tmp_6 = Sprite_x__P737_mk(s); s.tmp_6.arg0 = s.tmp_4; s.pc = 12; return s.tmp_6; case 12: @@ -40493,15 +40445,15 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["offsetX"] = (s.tmp_1); case 5: - s.tmp_0 = tileworld_MapEditor__C310873_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C13058_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C310873_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C13058_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 6: - s.tmp_0 = tileworld_MapEditor_cursorAction__P310882_mk(s); + s.tmp_0 = tileworld_MapEditor_cursorAction__P13067_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.pc = 14; return s.tmp_0; @@ -40511,13 +40463,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_moveRight__P310878.info = {"start":3924,"length":433,"line":108,"column":8,"endLine":120,"endColumn":9,"fileName":"editor.ts","functionName":"moveRight","argumentNames":["this"]} -tileworld_MapEditor_moveRight__P310878.info = {"start":3924,"length":433,"line":108,"column":8,"endLine":120,"endColumn":9,"fileName":"editor.ts","functionName":"moveRight","argumentNames":["this"]} +tileworld_MapEditor_moveRight__P13063.info = {"start":3924,"length":433,"line":108,"column":8,"endLine":120,"endColumn":9,"fileName":"editor.ts","functionName":"moveRight","argumentNames":["this"]} +tileworld_MapEditor_moveRight__P13063.info = {"start":3924,"length":433,"line":108,"column":8,"endLine":120,"endColumn":9,"fileName":"editor.ts","functionName":"moveRight","argumentNames":["this"]} -function tileworld_MapEditor_moveRight__P310878_mk(s) { +function tileworld_MapEditor_moveRight__P13063_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_moveRight__P310878, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_moveRight__P13063, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40535,7 +40487,7 @@ function tileworld_MapEditor_moveRight__P310878_mk(s) { -function tileworld_MapEditor_moveLeft__P310877(s) { +function tileworld_MapEditor_moveLeft__P13062(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40550,14 +40502,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C310873_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13058_VT)) failedCast(r0); r0 = s.arg0.fields["cursorType"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = tileworld_MapEditor_col__P310883_mk(s); + s.tmp_4 = tileworld_MapEditor_col__P13068_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; s.pc = 7; return s.tmp_4; @@ -40568,11 +40520,11 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_5 = Sprite_x__P298230_mk(s); + s.tmp_5 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_6 = r0; s.tmp_5.arg0 = r0; - s.tmp_8 = Sprite_x__P298229_mk(s); + s.tmp_8 = Sprite_x__P737_mk(s); s.tmp_8.arg0 = s.tmp_6; s.pc = 9; return s.tmp_8; case 9: @@ -40587,7 +40539,7 @@ switch (step) { case 2: { step = 6; continue; } case 3: - s.tmp_2 = Sprite_x__P298229_mk(s); + s.tmp_2 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; s.pc = 10; return s.tmp_2; @@ -40598,11 +40550,11 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_3 = Sprite_x__P298230_mk(s); + s.tmp_3 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_4 = r0; s.tmp_3.arg0 = r0; - s.tmp_6 = Sprite_x__P298229_mk(s); + s.tmp_6 = Sprite_x__P737_mk(s); s.tmp_6.arg0 = s.tmp_4; s.pc = 12; return s.tmp_6; case 12: @@ -40622,15 +40574,15 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["offsetX"] = (s.tmp_1); case 5: - s.tmp_0 = tileworld_MapEditor__C310873_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C13058_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C310873_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C13058_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 6: - s.tmp_0 = tileworld_MapEditor_cursorAction__P310882_mk(s); + s.tmp_0 = tileworld_MapEditor_cursorAction__P13067_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.pc = 14; return s.tmp_0; @@ -40640,13 +40592,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_moveLeft__P310877.info = {"start":3486,"length":428,"line":94,"column":8,"endLine":106,"endColumn":9,"fileName":"editor.ts","functionName":"moveLeft","argumentNames":["this"]} -tileworld_MapEditor_moveLeft__P310877.info = {"start":3486,"length":428,"line":94,"column":8,"endLine":106,"endColumn":9,"fileName":"editor.ts","functionName":"moveLeft","argumentNames":["this"]} +tileworld_MapEditor_moveLeft__P13062.info = {"start":3486,"length":428,"line":94,"column":8,"endLine":106,"endColumn":9,"fileName":"editor.ts","functionName":"moveLeft","argumentNames":["this"]} +tileworld_MapEditor_moveLeft__P13062.info = {"start":3486,"length":428,"line":94,"column":8,"endLine":106,"endColumn":9,"fileName":"editor.ts","functionName":"moveLeft","argumentNames":["this"]} -function tileworld_MapEditor_moveLeft__P310877_mk(s) { +function tileworld_MapEditor_moveLeft__P13062_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_moveLeft__P310877, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_moveLeft__P13062, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40664,7 +40616,7 @@ function tileworld_MapEditor_moveLeft__P310877_mk(s) { -function tileworld_MapEditor_update__P310886(s) { +function tileworld_MapEditor_update__P13071(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40674,29 +40626,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.x___311354 = undefined; - s.y___311364 = undefined; - s.inRange___311374 = undefined; - s.col___311394 = undefined; - s.row___311399 = undefined; - s.nx___311404 = undefined; - s.ny___311408 = undefined; - s.index___311414 = undefined; - s.img___311424 = undefined; - s.i___311434 = undefined; - s.j___311440 = undefined; - s.index___311473 = undefined; - s.i___311487 = undefined; - s.j___311493 = undefined; + s.x___13539 = undefined; + s.y___13549 = undefined; + s.inRange___13559 = undefined; + s.col___13579 = undefined; + s.row___13584 = undefined; + s.nx___13589 = undefined; + s.ny___13593 = undefined; + s.index___13599 = undefined; + s.img___13609 = undefined; + s.i___13619 = undefined; + s.j___13625 = undefined; + s.index___13658 = undefined; + s.i___13672 = undefined; + s.j___13678 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C310873_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.fill(globals.screen___298046, 0); - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + if (!checkSubtype(r0, tileworld_MapEditor__C13058_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.fill(globals.screen___545, 0); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 4; s.tmp_0.arg3 = 16; @@ -40705,19 +40657,19 @@ switch (step) { s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tmp_0 = tileworld_MapEditor_drawImage__P310885_mk(s); + s.tmp_0 = tileworld_MapEditor_drawImage__P13070_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.map___304520; + s.tmp_0.arg1 = globals.map___6368; s.tmp_0.arg2 = 0; s.tmp_0.arg3 = 0; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P311344); + r0 = pxsim_pxtcore_mkAction(1, inline__P13529); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); - s.tmp_2 = tileworld_Project_all__P303128_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); + s.tmp_2 = tileworld_Project_all__P4976_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; s.pc = 32; return s.tmp_2; @@ -40728,18 +40680,18 @@ switch (step) { s.pc = 31; return s.tmp_1; case 31: r0 = s.retval; - s.tmp_0 = tileworld_MapEditor_drawImage__P310885_mk(s); + s.tmp_0 = tileworld_MapEditor_drawImage__P13070_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.reset___304619; + s.tmp_0.arg1 = globals.reset___6467; s.tmp_0.arg2 = 9; s.tmp_0.arg3 = 0; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; r0 = s.arg0.fields["offsetX"]; - s.x___311354 = (r0); + s.x___13539 = (r0); case 1: - s.tmp_1 = r0 = s.x___311354; + s.tmp_1 = r0 = s.x___13539; r0 = s.arg0.fields["offsetX"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 20); @@ -40749,9 +40701,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 28; continue; } r0 = s.arg0.fields["offsetY"]; - s.y___311364 = (r0); + s.y___13549 = (r0); case 2: - s.tmp_1 = r0 = s.y___311364; + s.tmp_1 = r0 = s.y___13549; r0 = s.arg0.fields["offsetY"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 15); @@ -40760,14 +40712,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - r0 = (0 <= s.x___311354); + r0 = (0 <= s.x___13539); s.tmp_4 = r0; r0 = pxsim_numops_toBool(s.tmp_4); if (r0) { step = 3; continue; } r0 = s.tmp_4; { step = 4; continue; } case 3: - s.tmp_5 = r0 = s.x___311354; + s.tmp_5 = r0 = s.x___13539; r0 = s.arg0.fields["world"]; s.tmp_7 = r0; r0 = pxsim_ImageMethods.width(s.tmp_7); @@ -40781,7 +40733,7 @@ switch (step) { r0 = s.tmp_8; { step = 6; continue; } case 5: - r0 = (0 <= s.y___311364); + r0 = (0 <= s.y___13549); case 6: // jmp value (already in r0) s.tmp_9 = r0; @@ -40790,7 +40742,7 @@ switch (step) { r0 = s.tmp_9; { step = 8; continue; } case 7: - s.tmp_10 = r0 = s.y___311364; + s.tmp_10 = r0 = s.y___13549; r0 = s.arg0.fields["world"]; s.tmp_12 = r0; r0 = pxsim_ImageMethods.height(s.tmp_12); @@ -40799,171 +40751,171 @@ switch (step) { case 8: // jmp value (already in r0) s.tmp_13 = r0; - s.inRange___311374 = (s.tmp_13); + s.inRange___13559 = (s.tmp_13); r0 = s.arg0.fields["offsetX"]; s.tmp_0 = r0; - r0 = (s.x___311354 - s.tmp_0); - s.col___311394 = (r0); + r0 = (s.x___13539 - s.tmp_0); + s.col___13579 = (r0); r0 = s.arg0.fields["offsetY"]; s.tmp_0 = r0; - r0 = (s.y___311364 - s.tmp_0); - s.row___311399 = (r0); - r0 = (s.col___311394 * 8); - s.nx___311404 = (r0); - r0 = (s.row___311399 * 8); + r0 = (s.y___13549 - s.tmp_0); + s.row___13584 = (r0); + r0 = (s.col___13579 * 8); + s.nx___13589 = (r0); + r0 = (s.row___13584 * 8); s.tmp_0 = r0; r0 = (20 + s.tmp_0); - s.ny___311408 = (r0); - r0 = pxsim_numops_toBoolDecr(s.inRange___311374); + s.ny___13593 = (r0); + r0 = pxsim_numops_toBoolDecr(s.inRange___13559); if (!r0) { step = 9; continue; } r0 = s.arg0.fields["world"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.x___311354, s.y___311364); + r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.x___13539, s.y___13549); { step = 10; continue; } case 9: r0 = -1; case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.index___311414 = (s.tmp_1); - r0 = (s.index___311414 == -1); + s.index___13599 = (s.tmp_1); + r0 = (s.index___13599 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = globals.emptyTile___304538; + r0 = globals.emptyTile___6386; { step = 12; continue; } case 11: - s.tmp_1 = tileworld_Project_getImage__P303129_mk(s); + s.tmp_1 = tileworld_Project_getImage__P4977_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.index___311414; + s.tmp_1.arg1 = s.index___13599; s.pc = 34; return s.tmp_1; case 34: r0 = s.retval; case 12: // jmp value (already in r0) s.tmp_2 = r0; - s.img___311424 = (s.tmp_2); - s.i___311434 = (0); + s.img___13609 = (s.tmp_2); + s.i___13619 = (0); case 13: - s.tmp_1 = r0 = s.i___311434; - r0 = pxsim_ImageMethods.width(s.img___311424); + s.tmp_1 = r0 = s.i___13619; + r0 = pxsim_ImageMethods.width(s.img___13609); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - s.j___311440 = (0); + s.j___13625 = (0); case 14: - s.tmp_1 = r0 = s.j___311440; - r0 = pxsim_ImageMethods.height(s.img___311424); + s.tmp_1 = r0 = s.j___13625; + r0 = pxsim_ImageMethods.height(s.img___13609); 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; } - s.tmp_3 = r0 = globals.screen___298046; - s.tmp_5 = r0 = s.nx___311404; - r0 = (s.i___311434 >> 1); + s.tmp_3 = r0 = globals.screen___545; + s.tmp_5 = r0 = s.nx___13589; + r0 = (s.i___13619 >> 1); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - s.tmp_8 = r0 = s.ny___311408; - r0 = (s.j___311440 >> 1); + s.tmp_8 = r0 = s.ny___13593; + r0 = (s.j___13625 >> 1); s.tmp_9 = r0; r0 = (s.tmp_8 + s.tmp_9); s.tmp_7 = r0; - r0 = pxsim_ImageMethods.getPixel(s.img___311424, s.i___311434, s.j___311440); + r0 = pxsim_ImageMethods.getPixel(s.img___13609, s.i___13619, s.j___13625); s.tmp_10 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_3, s.tmp_4, s.tmp_7, s.tmp_10); - r0 = (s.j___311440 + 2); - s.j___311440 = (r0); + r0 = (s.j___13625 + 2); + s.j___13625 = (r0); { step = 14; continue; } case 15: - r0 = (s.i___311434 + 2); - s.i___311434 = (r0); + r0 = (s.i___13619 + 2); + s.i___13619 = (r0); { step = 13; continue; } case 16: - r0 = pxsim_numops_toBoolDecr(s.inRange___311374); + r0 = pxsim_numops_toBoolDecr(s.inRange___13559); if (!r0) { step = 25; continue; } r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.x___311354, s.y___311364); - s.index___311473 = (r0); - r0 = (s.index___311473 != 15); + r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.x___13539, s.y___13549); + s.index___13658 = (r0); + r0 = (s.index___13658 != 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_1 = tileworld_Project_getImage__P303129_mk(s); + s.tmp_1 = tileworld_Project_getImage__P4977_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.index___311473; + s.tmp_1.arg1 = s.index___13658; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - s.img___311424 = (r0); - s.i___311487 = (0); + s.img___13609 = (r0); + s.i___13672 = (0); case 17: - s.tmp_1 = r0 = s.i___311487; - r0 = pxsim_ImageMethods.width(s.img___311424); + s.tmp_1 = r0 = s.i___13672; + r0 = pxsim_ImageMethods.width(s.img___13609); 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 = 22; continue; } - s.j___311493 = (0); + s.j___13678 = (0); case 18: - s.tmp_1 = r0 = s.j___311493; - r0 = pxsim_ImageMethods.height(s.img___311424); + s.tmp_1 = r0 = s.j___13678; + r0 = pxsim_ImageMethods.height(s.img___13609); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 21; continue; } - r0 = pxsim_ImageMethods.getPixel(s.img___311424, s.i___311487, s.j___311493); + r0 = pxsim_ImageMethods.getPixel(s.img___13609, s.i___13672, s.j___13678); s.tmp_4 = r0; r0 = (s.tmp_4 != 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 19; continue; } - s.tmp_5 = r0 = globals.screen___298046; - s.tmp_7 = r0 = s.nx___311404; - r0 = (s.i___311487 >> 1); + s.tmp_5 = r0 = globals.screen___545; + s.tmp_7 = r0 = s.nx___13589; + r0 = (s.i___13672 >> 1); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6 = r0; - s.tmp_10 = r0 = s.ny___311408; - r0 = (s.j___311493 >> 1); + s.tmp_10 = r0 = s.ny___13593; + r0 = (s.j___13678 >> 1); s.tmp_11 = r0; r0 = (s.tmp_10 + s.tmp_11); s.tmp_9 = r0; - r0 = pxsim_ImageMethods.getPixel(s.img___311424, s.i___311487, s.j___311493); + r0 = pxsim_ImageMethods.getPixel(s.img___13609, s.i___13672, s.j___13678); s.tmp_12 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_5, s.tmp_6, s.tmp_9, s.tmp_12); case 19: case 20: - r0 = (s.j___311493 + 2); - s.j___311493 = (r0); + r0 = (s.j___13678 + 2); + s.j___13678 = (r0); { step = 18; continue; } case 21: - r0 = (s.i___311487 + 2); - s.i___311487 = (r0); + r0 = (s.i___13672 + 2); + s.i___13672 = (r0); { step = 17; continue; } case 22: case 23: case 24: case 25: case 26: - r0 = (s.y___311364 + 1); - s.y___311364 = (r0); + r0 = (s.y___13549 + 1); + s.y___13549 = (r0); { step = 2; continue; } case 27: - r0 = (s.x___311354 + 1); - s.x___311354 = (r0); + r0 = (s.x___13539 + 1); + s.x___13539 = (r0); { step = 1; continue; } case 28: - s.tmp_0 = helpers_imageDrawLine__P297988_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imageDrawLine__P486_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 20; s.tmp_0.arg3 = 159; @@ -40976,13 +40928,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_update__P310886.info = {"start":6972,"length":1966,"line":195,"column":8,"endLine":235,"endColumn":9,"fileName":"editor.ts","functionName":"update","argumentNames":["this"]} -tileworld_MapEditor_update__P310886.info = {"start":6972,"length":1966,"line":195,"column":8,"endLine":235,"endColumn":9,"fileName":"editor.ts","functionName":"update","argumentNames":["this"]} +tileworld_MapEditor_update__P13071.info = {"start":6972,"length":1966,"line":195,"column":8,"endLine":235,"endColumn":9,"fileName":"editor.ts","functionName":"update","argumentNames":["this"]} +tileworld_MapEditor_update__P13071.info = {"start":6972,"length":1966,"line":195,"column":8,"endLine":235,"endColumn":9,"fileName":"editor.ts","functionName":"update","argumentNames":["this"]} -function tileworld_MapEditor_update__P310886_mk(s) { +function tileworld_MapEditor_update__P13071_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_update__P310886, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_update__P13071, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40998,20 +40950,20 @@ function tileworld_MapEditor_update__P310886_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - x___311354: undefined, - y___311364: undefined, - inRange___311374: undefined, - col___311394: undefined, - row___311399: undefined, - nx___311404: undefined, - ny___311408: undefined, - index___311414: undefined, - img___311424: undefined, - i___311434: undefined, - j___311440: undefined, - index___311473: undefined, - i___311487: undefined, - j___311493: undefined, + x___13539: undefined, + y___13549: undefined, + inRange___13559: undefined, + col___13579: undefined, + row___13584: undefined, + nx___13589: undefined, + ny___13593: undefined, + index___13599: undefined, + img___13609: undefined, + i___13619: undefined, + j___13625: undefined, + index___13658: undefined, + i___13672: undefined, + j___13678: undefined, arg0: undefined, } } @@ -41019,7 +40971,7 @@ function tileworld_MapEditor_update__P310886_mk(s) { -function inline__P311344(s) { +function inline__P13529(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41034,7 +40986,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_MapEditor_drawImage__P310885_mk(s); + s.tmp_0 = tileworld_MapEditor_drawImage__P13070_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; r0 = (1 + s.arg1); @@ -41047,13 +40999,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P311344.info = {"start":7140,"length":82,"line":199,"column":33,"endLine":201,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":["img","index"]} -inline__P311344.info = {"start":7140,"length":82,"line":199,"column":33,"endLine":201,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":["img","index"]} +inline__P13529.info = {"start":7140,"length":82,"line":199,"column":33,"endLine":201,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":["img","index"]} +inline__P13529.info = {"start":7140,"length":82,"line":199,"column":33,"endLine":201,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":["img","index"]} -function inline__P311344_mk(s) { +function inline__P13529_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P311344, depth: s.depth + 1, + parent: s, fn: inline__P13529, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41064,7 +41016,7 @@ function inline__P311344_mk(s) { -function tileworld_MapEditor_drawImage__P310885(s) { +function tileworld_MapEditor_drawImage__P13070(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41082,8 +41034,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C310873_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___298046; + if (!checkSubtype(r0, tileworld_MapEditor__C13058_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___545; s.tmp_1 = r0 = s.arg1; r0 = (s.arg2 << 4); s.tmp_2 = r0; @@ -41096,13 +41048,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_drawImage__P310885.info = {"start":6822,"length":140,"line":191,"column":8,"endLine":193,"endColumn":9,"fileName":"editor.ts","functionName":"drawImage","argumentNames":["this","img","col","row"]} -tileworld_MapEditor_drawImage__P310885.info = {"start":6822,"length":140,"line":191,"column":8,"endLine":193,"endColumn":9,"fileName":"editor.ts","functionName":"drawImage","argumentNames":["this","img","col","row"]} +tileworld_MapEditor_drawImage__P13070.info = {"start":6822,"length":140,"line":191,"column":8,"endLine":193,"endColumn":9,"fileName":"editor.ts","functionName":"drawImage","argumentNames":["this","img","col","row"]} +tileworld_MapEditor_drawImage__P13070.info = {"start":6822,"length":140,"line":191,"column":8,"endLine":193,"endColumn":9,"fileName":"editor.ts","functionName":"drawImage","argumentNames":["this","img","col","row"]} -function tileworld_MapEditor_drawImage__P310885_mk(s) { +function tileworld_MapEditor_drawImage__P13070_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_drawImage__P310885, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_drawImage__P13070, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41119,7 +41071,7 @@ function tileworld_MapEditor_drawImage__P310885_mk(s) { -function tileworld_MapEditor_setCursor__P310876(s) { +function tileworld_MapEditor_setCursor__P13061(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41135,8 +41087,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C310873_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + if (!checkSubtype(r0, tileworld_MapEditor__C13058_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; @@ -41145,7 +41097,7 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + s.tmp_0 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; @@ -41159,13 +41111,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_setCursor__P310876.info = {"start":3237,"length":239,"line":88,"column":8,"endLine":92,"endColumn":9,"fileName":"editor.ts","functionName":"setCursor","argumentNames":["this","ct"]} -tileworld_MapEditor_setCursor__P310876.info = {"start":3237,"length":239,"line":88,"column":8,"endLine":92,"endColumn":9,"fileName":"editor.ts","functionName":"setCursor","argumentNames":["this","ct"]} +tileworld_MapEditor_setCursor__P13061.info = {"start":3237,"length":239,"line":88,"column":8,"endLine":92,"endColumn":9,"fileName":"editor.ts","functionName":"setCursor","argumentNames":["this","ct"]} +tileworld_MapEditor_setCursor__P13061.info = {"start":3237,"length":239,"line":88,"column":8,"endLine":92,"endColumn":9,"fileName":"editor.ts","functionName":"setCursor","argumentNames":["this","ct"]} -function tileworld_MapEditor_setCursor__P310876_mk(s) { +function tileworld_MapEditor_setCursor__P13061_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_setCursor__P310876, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_setCursor__P13061, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41176,7 +41128,7 @@ function tileworld_MapEditor_setCursor__P310876_mk(s) { -function tileworld_MapEditor_paintHome__P310875(s) { +function tileworld_MapEditor_paintHome__P13060(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41191,15 +41143,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C310873_VT)) failedCast(r0); - s.tmp_0 = Sprite_x__P298230_mk(s); + if (!checkSubtype(r0, tileworld_MapEditor__C13058_VT)) failedCast(r0); + s.tmp_0 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); + s.tmp_0 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 24; @@ -41212,13 +41164,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_paintHome__P310875.info = {"start":3069,"length":158,"line":82,"column":8,"endLine":86,"endColumn":9,"fileName":"editor.ts","functionName":"paintHome","argumentNames":["this"]} -tileworld_MapEditor_paintHome__P310875.info = {"start":3069,"length":158,"line":82,"column":8,"endLine":86,"endColumn":9,"fileName":"editor.ts","functionName":"paintHome","argumentNames":["this"]} +tileworld_MapEditor_paintHome__P13060.info = {"start":3069,"length":158,"line":82,"column":8,"endLine":86,"endColumn":9,"fileName":"editor.ts","functionName":"paintHome","argumentNames":["this"]} +tileworld_MapEditor_paintHome__P13060.info = {"start":3069,"length":158,"line":82,"column":8,"endLine":86,"endColumn":9,"fileName":"editor.ts","functionName":"paintHome","argumentNames":["this"]} -function tileworld_MapEditor_paintHome__P310875_mk(s) { +function tileworld_MapEditor_paintHome__P13060_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_paintHome__P310875, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_paintHome__P13060, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41228,7 +41180,7 @@ function tileworld_MapEditor_paintHome__P310875_mk(s) { -function tileworld_RunGame_start__P1086052(s) { +function tileworld_RunGame_start__P8244(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41238,56 +41190,56 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.signal___1086210 = undefined; - s.halfway___1086231 = undefined; - s.playerId___1086232 = undefined; + s.signal___8405 = undefined; + s.halfway___8427 = undefined; + s.playerId___8428 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RunGame__C1086049_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RunGame__C8239_VT)) failedCast(r0); r0 = (s.arg0).fields["currentDirection"] = (-1); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileSprite__C1084379_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileSprite__C6554_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_TileSprite_constructor__P1084384_mk(s); + s.tmp_1 = tileworld_TileSprite_constructor__P6559_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.cursorIn___304541; + s.tmp_1.arg1 = globals.cursorIn___6389; s.tmp_1.arg2 = 0; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.signal___1086210 = (s.tmp_0); - s.tmp_0 = Sprite_setFlag__P298266_mk(s); - s.tmp_0.arg0 = s.signal___1086210; + s.signal___8405 = (s.tmp_0); + s.tmp_0 = Sprite_setFlag__P774_mk(s); + s.tmp_0.arg0 = s.signal___8405; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); - s.tmp_0.arg0 = s.signal___1086210; + s.tmp_0 = Sprite_y__P740_mk(s); + s.tmp_0.arg0 = s.signal___8405; s.tmp_0.arg1 = 8; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_1 = Sprite_x__P298230_mk(s); - s.tmp_1.arg0 = s.signal___1086210; + s.tmp_1 = Sprite_x__P738_mk(s); + s.tmp_1.arg0 = s.signal___8405; s.tmp_1.arg1 = 8; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = (s.signal___1086210).fields["dir"] = (1); - r0 = (s.signal___1086210).fields["inst"] = (-1); - r0 = (s.arg0).fields["signal"] = (s.signal___1086210); + r0 = (s.signal___8405).fields["dir"] = (1); + r0 = (s.signal___8405).fields["inst"] = (-1); + r0 = (s.arg0).fields["signal"] = (s.signal___8405); r0 = pxsim_pxtrt.mklocRef(); - s.halfway___1086231 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.halfway___1086231, false); + s.halfway___8427 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.halfway___8427, false); r0 = s.arg0.fields["p"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_player"]; - s.playerId___1086232 = (r0); - r0 = (s.playerId___1086232 != -1); + s.playerId___8428 = (r0); + r0 = (s.playerId___8428 != -1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } @@ -41297,17 +41249,17 @@ switch (step) { r0 = s.arg0.fields["state"]; r0 = r0.fields["sprites"]; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.playerId___1086232); + r0 = pxsim_Array__getAt(s.tmp_1, s.playerId___8428); case 2: // jmp value (already in r0) s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - s.tmp_3 = scene_cameraFollowSprite__P298651_mk(s); + s.tmp_3 = scene_cameraFollowSprite__P1159_mk(s); r0 = s.arg0.fields["state"]; r0 = r0.fields["sprites"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.playerId___1086232); + r0 = pxsim_Array__getAt(s.tmp_5, s.playerId___8428); s.tmp_4 = r0; r0 = pxsim_Array__getAt(s.tmp_4, 0); s.tmp_3.arg0 = r0; @@ -41316,7 +41268,7 @@ switch (step) { r0 = s.retval; case 3: case 4: - s.tmp_0 = tileworld_TileWorldVM_setState__P1084479_mk(s); + s.tmp_0 = tileworld_TileWorldVM_setState__P6656_mk(s); r0 = s.arg0.fields["vm"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["state"]; @@ -41324,29 +41276,29 @@ switch (step) { s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = tileworld_TileWorldVM_round__P1084480_mk(s); + s.tmp_0 = tileworld_TileWorldVM_round__P6657_mk(s); r0 = s.arg0.fields["vm"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = -1; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(2, inline__P1086262); + r0 = pxsim_pxtcore_mkAction(2, inline__P8458); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.halfway___1086231); - s.tmp_1 = game_onUpdate__P298736_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.halfway___8427); + s.tmp_1 = game_onUpdate__P1244_mk(s); s.tmp_1.arg0 = s.tmp_0; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - s.tmp_0 = tileworld_RunGame_registerController__P1086053_mk(s); + s.tmp_0 = tileworld_RunGame_registerController__P8245_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = Sprite_vx__P298234_mk(s); - s.tmp_0.arg0 = s.signal___1086210; + s.tmp_0 = Sprite_vx__P742_mk(s); + s.tmp_0.arg0 = s.signal___8405; s.tmp_0.arg1 = 100; s.pc = 14; return s.tmp_0; case 14: @@ -41355,13 +41307,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RunGame_start__P1086052.info = {"start":23873,"length":1689,"line":551,"column":8,"endLine":595,"endColumn":9,"fileName":"vm.ts","functionName":"start","argumentNames":["this"]} -tileworld_RunGame_start__P1086052.info = {"start":23873,"length":1689,"line":551,"column":8,"endLine":595,"endColumn":9,"fileName":"vm.ts","functionName":"start","argumentNames":["this"]} +tileworld_RunGame_start__P8244.info = {"start":23873,"length":1689,"line":551,"column":8,"endLine":595,"endColumn":9,"fileName":"vm.ts","functionName":"start","argumentNames":["this"]} +tileworld_RunGame_start__P8244.info = {"start":23873,"length":1689,"line":551,"column":8,"endLine":595,"endColumn":9,"fileName":"vm.ts","functionName":"start","argumentNames":["this"]} -function tileworld_RunGame_start__P1086052_mk(s) { +function tileworld_RunGame_start__P8244_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RunGame_start__P1086052, depth: s.depth + 1, + parent: s, fn: tileworld_RunGame_start__P8244, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41369,9 +41321,9 @@ function tileworld_RunGame_start__P1086052_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - signal___1086210: undefined, - halfway___1086231: undefined, - playerId___1086232: undefined, + signal___8405: undefined, + halfway___8427: undefined, + playerId___8428: undefined, arg0: undefined, } } @@ -41379,7 +41331,7 @@ function tileworld_RunGame_start__P1086052_mk(s) { -function inline__P1086262(s) { +function inline__P8458(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41389,7 +41341,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_2 = Sprite_x__P298229_mk(s); + s.tmp_2 = Sprite_x__P737_mk(s); r0 = s.caps[0].fields["signal"]; s.tmp_2.arg0 = r0; s.pc = 9; return s.tmp_2; @@ -41400,14 +41352,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Sprite_x__P298230_mk(s); + s.tmp_3 = Sprite_x__P738_mk(s); r0 = s.caps[0].fields["signal"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = 8; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; - s.tmp_0 = tileworld_TileWorldVM_round__P1084480_mk(s); + s.tmp_0 = tileworld_TileWorldVM_round__P6657_mk(s); r0 = s.caps[0].fields["vm"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["currentDirection"]; @@ -41430,7 +41382,7 @@ switch (step) { r0 = s.tmp_0; { step = 3; continue; } case 2: - s.tmp_4 = Sprite_x__P298229_mk(s); + s.tmp_4 = Sprite_x__P737_mk(s); r0 = s.caps[0].fields["signal"]; s.tmp_4.arg0 = r0; s.pc = 12; return s.tmp_4; @@ -41450,7 +41402,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 4; continue; } - s.tmp_8 = tileworld_gameover__P1086293_mk(s); + s.tmp_8 = tileworld_gameover__P8489_mk(s); r0 = s.caps[0].fields["state"]; r0 = r0.fields["game"]; s.tmp_9 = r0; @@ -41460,16 +41412,16 @@ switch (step) { s.pc = 13; return s.tmp_8; case 13: r0 = s.retval; - s.tmp_0 = game_popScene__P298729_mk(s); + s.tmp_0 = game_popScene__P1237_mk(s); s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; { step = 5; continue; } case 4: - r0 = pxsim_pxtcore_mkAction(1, inline__P1086305); + r0 = pxsim_pxtcore_mkAction(1, inline__P8501); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.caps[0]); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.caps[0].fields["state"]; r0 = r0.fields["deadSprites"]; s.tmp_1.arg0 = r0; @@ -41486,13 +41438,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1086262.info = {"start":24562,"length":919,"line":571,"column":26,"endLine":591,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -inline__P1086262.info = {"start":24562,"length":919,"line":571,"column":26,"endLine":591,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8458.info = {"start":24562,"length":919,"line":571,"column":26,"endLine":591,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8458.info = {"start":24562,"length":919,"line":571,"column":26,"endLine":591,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P1086262_mk(s) { +function inline__P8458_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1086262, depth: s.depth + 1, + parent: s, fn: inline__P8458, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41510,7 +41462,7 @@ function inline__P1086262_mk(s) { -function inline__P1086305(s) { +function inline__P8501(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41532,7 +41484,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_1, s.tmp_2); s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); - s.tmp_0 = Sprite_destroy__P298274_mk(s); + s.tmp_0 = Sprite_destroy__P782_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; @@ -41543,13 +41495,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1086305.info = {"start":25237,"length":152,"line":584,"column":55,"endLine":587,"endColumn":25,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -inline__P1086305.info = {"start":25237,"length":152,"line":584,"column":55,"endLine":587,"endColumn":25,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P8501.info = {"start":25237,"length":152,"line":584,"column":55,"endLine":587,"endColumn":25,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P8501.info = {"start":25237,"length":152,"line":584,"column":55,"endLine":587,"endColumn":25,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P1086305_mk(s) { +function inline__P8501_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1086305, depth: s.depth + 1, + parent: s, fn: inline__P8501, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41561,7 +41513,7 @@ function inline__P1086305_mk(s) { -function tileworld_RunGame_registerController__P1086053(s) { +function tileworld_RunGame_registerController__P8245(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41576,97 +41528,97 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RunGame__C1086049_VT)) failedCast(r0); - s.tmp_0 = controller_setRepeatDefault__P298168_mk(s); + if (!checkSubtype(r0, tileworld_RunGame__C8239_VT)) failedCast(r0); + s.tmp_0 = controller_setRepeatDefault__P676_mk(s); s.tmp_0.arg0 = 200; s.tmp_0.arg1 = 80; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P1086329); + r0 = pxsim_pxtcore_mkAction(1, inline__P8527); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.left___298128; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.left___636; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P1086335); + r0 = pxsim_pxtcore_mkAction(1, inline__P8535); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.left___298128; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.left___636; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P1086341); + r0 = pxsim_pxtcore_mkAction(1, inline__P8541); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.right___298132; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.right___640; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P1086347); + r0 = pxsim_pxtcore_mkAction(1, inline__P8547); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.right___298132; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.right___640; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P1086353); + r0 = pxsim_pxtcore_mkAction(1, inline__P8553); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.up___298130; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.up___638; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P1086359); + r0 = pxsim_pxtcore_mkAction(1, inline__P8559); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.up___298130; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.up___638; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P1086365); + r0 = pxsim_pxtcore_mkAction(1, inline__P8565); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.down___298134; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.down___642; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P1086371); + r0 = pxsim_pxtcore_mkAction(1, inline__P8571); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.down___298134; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.down___642; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P298158_mk(s); - s.tmp_0.arg0 = globals.B___298126; + s.tmp_0 = controller_Button_onEvent__P666_mk(s); + s.tmp_0.arg0 = globals.B___634; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = inline__P1086377; + s.tmp_0.arg2 = inline__P8577; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; @@ -41674,13 +41626,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RunGame_registerController__P1086053.info = {"start":25572,"length":1408,"line":597,"column":8,"endLine":627,"endColumn":9,"fileName":"vm.ts","functionName":"registerController","argumentNames":["this"]} -tileworld_RunGame_registerController__P1086053.info = {"start":25572,"length":1408,"line":597,"column":8,"endLine":627,"endColumn":9,"fileName":"vm.ts","functionName":"registerController","argumentNames":["this"]} +tileworld_RunGame_registerController__P8245.info = {"start":25572,"length":1408,"line":597,"column":8,"endLine":627,"endColumn":9,"fileName":"vm.ts","functionName":"registerController","argumentNames":["this"]} +tileworld_RunGame_registerController__P8245.info = {"start":25572,"length":1408,"line":597,"column":8,"endLine":627,"endColumn":9,"fileName":"vm.ts","functionName":"registerController","argumentNames":["this"]} -function tileworld_RunGame_registerController__P1086053_mk(s) { +function tileworld_RunGame_registerController__P8245_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RunGame_registerController__P1086053, depth: s.depth + 1, + parent: s, fn: tileworld_RunGame_registerController__P8245, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41691,7 +41643,7 @@ function tileworld_RunGame_registerController__P1086053_mk(s) { -function inline__P1086329(s) { +function inline__P8527(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41701,7 +41653,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P1086054_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P8246_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; s.pc = 1; return s.tmp_0; @@ -41711,13 +41663,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1086329.info = {"start":25720,"length":74,"line":599,"column":67,"endLine":601,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -inline__P1086329.info = {"start":25720,"length":74,"line":599,"column":67,"endLine":601,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8527.info = {"start":25720,"length":74,"line":599,"column":67,"endLine":601,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8527.info = {"start":25720,"length":74,"line":599,"column":67,"endLine":601,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P1086329_mk(s) { +function inline__P8527_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1086329, depth: s.depth + 1, + parent: s, fn: inline__P8527, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -41726,7 +41678,7 @@ function inline__P1086329_mk(s) { -function inline__P1086335(s) { +function inline__P8535(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41736,7 +41688,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P1086054_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P8246_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; s.pc = 1; return s.tmp_0; @@ -41746,13 +41698,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1086335.info = {"start":25864,"length":74,"line":602,"column":68,"endLine":604,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -inline__P1086335.info = {"start":25864,"length":74,"line":602,"column":68,"endLine":604,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8535.info = {"start":25864,"length":74,"line":602,"column":68,"endLine":604,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8535.info = {"start":25864,"length":74,"line":602,"column":68,"endLine":604,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P1086335_mk(s) { +function inline__P8535_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1086335, depth: s.depth + 1, + parent: s, fn: inline__P8535, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -41761,7 +41713,7 @@ function inline__P1086335_mk(s) { -function inline__P1086341(s) { +function inline__P8541(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41771,7 +41723,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P1086054_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P8246_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 1; s.pc = 1; return s.tmp_0; @@ -41781,13 +41733,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1086341.info = {"start":26008,"length":75,"line":605,"column":68,"endLine":607,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -inline__P1086341.info = {"start":26008,"length":75,"line":605,"column":68,"endLine":607,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8541.info = {"start":26008,"length":75,"line":605,"column":68,"endLine":607,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8541.info = {"start":26008,"length":75,"line":605,"column":68,"endLine":607,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P1086341_mk(s) { +function inline__P8541_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1086341, depth: s.depth + 1, + parent: s, fn: inline__P8541, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -41796,7 +41748,7 @@ function inline__P1086341_mk(s) { -function inline__P1086347(s) { +function inline__P8547(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41806,7 +41758,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P1086054_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P8246_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 1; s.pc = 1; return s.tmp_0; @@ -41816,13 +41768,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1086347.info = {"start":26154,"length":75,"line":608,"column":69,"endLine":610,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -inline__P1086347.info = {"start":26154,"length":75,"line":608,"column":69,"endLine":610,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8547.info = {"start":26154,"length":75,"line":608,"column":69,"endLine":610,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8547.info = {"start":26154,"length":75,"line":608,"column":69,"endLine":610,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P1086347_mk(s) { +function inline__P8547_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1086347, depth: s.depth + 1, + parent: s, fn: inline__P8547, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -41831,7 +41783,7 @@ function inline__P1086347_mk(s) { -function inline__P1086353(s) { +function inline__P8553(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41841,7 +41793,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P1086054_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P8246_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 2; s.pc = 1; return s.tmp_0; @@ -41851,13 +41803,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1086353.info = {"start":26296,"length":72,"line":611,"column":65,"endLine":613,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -inline__P1086353.info = {"start":26296,"length":72,"line":611,"column":65,"endLine":613,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8553.info = {"start":26296,"length":72,"line":611,"column":65,"endLine":613,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8553.info = {"start":26296,"length":72,"line":611,"column":65,"endLine":613,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P1086353_mk(s) { +function inline__P8553_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1086353, depth: s.depth + 1, + parent: s, fn: inline__P8553, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -41866,7 +41818,7 @@ function inline__P1086353_mk(s) { -function inline__P1086359(s) { +function inline__P8559(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41876,7 +41828,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P1086054_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P8246_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 2; s.pc = 1; return s.tmp_0; @@ -41886,13 +41838,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1086359.info = {"start":26436,"length":72,"line":614,"column":66,"endLine":616,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -inline__P1086359.info = {"start":26436,"length":72,"line":614,"column":66,"endLine":616,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8559.info = {"start":26436,"length":72,"line":614,"column":66,"endLine":616,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8559.info = {"start":26436,"length":72,"line":614,"column":66,"endLine":616,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P1086359_mk(s) { +function inline__P8559_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1086359, depth: s.depth + 1, + parent: s, fn: inline__P8559, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -41901,7 +41853,7 @@ function inline__P1086359_mk(s) { -function inline__P1086365(s) { +function inline__P8565(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41911,7 +41863,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P1086054_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P8246_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 3; s.pc = 1; return s.tmp_0; @@ -41921,13 +41873,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1086365.info = {"start":26577,"length":74,"line":617,"column":67,"endLine":619,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -inline__P1086365.info = {"start":26577,"length":74,"line":617,"column":67,"endLine":619,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8565.info = {"start":26577,"length":74,"line":617,"column":67,"endLine":619,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8565.info = {"start":26577,"length":74,"line":617,"column":67,"endLine":619,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P1086365_mk(s) { +function inline__P8565_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1086365, depth: s.depth + 1, + parent: s, fn: inline__P8565, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -41936,7 +41888,7 @@ function inline__P1086365_mk(s) { -function inline__P1086371(s) { +function inline__P8571(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41946,7 +41898,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P1086054_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P8246_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 3; s.pc = 1; return s.tmp_0; @@ -41956,13 +41908,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1086371.info = {"start":26721,"length":74,"line":620,"column":68,"endLine":622,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -inline__P1086371.info = {"start":26721,"length":74,"line":620,"column":68,"endLine":622,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8571.info = {"start":26721,"length":74,"line":620,"column":68,"endLine":622,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8571.info = {"start":26721,"length":74,"line":620,"column":68,"endLine":622,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P1086371_mk(s) { +function inline__P8571_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1086371, depth: s.depth + 1, + parent: s, fn: inline__P8571, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -41971,7 +41923,7 @@ function inline__P1086371_mk(s) { -function inline__P1086377(s) { +function inline__P8577(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41981,13 +41933,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = controller_setRepeatDefault__P298168_mk(s); + s.tmp_0 = controller_setRepeatDefault__P676_mk(s); s.tmp_0.arg0 = 500; s.tmp_0.arg1 = 80; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_popScene__P298729_mk(s); + s.tmp_0 = game_popScene__P1237_mk(s); s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -41995,13 +41947,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1086377.info = {"start":26861,"length":108,"line":623,"column":64,"endLine":626,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -inline__P1086377.info = {"start":26861,"length":108,"line":623,"column":64,"endLine":626,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8577.info = {"start":26861,"length":108,"line":623,"column":64,"endLine":626,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P8577.info = {"start":26861,"length":108,"line":623,"column":64,"endLine":626,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P1086377_mk(s) { +function inline__P8577_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1086377, depth: s.depth + 1, + parent: s, fn: inline__P8577, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42010,7 +41962,7 @@ function inline__P1086377_mk(s) { -function tileworld_RunGame_requestMove__P1086054(s) { +function tileworld_RunGame_requestMove__P8246(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42026,19 +41978,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RunGame__C1086049_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RunGame__C8239_VT)) failedCast(r0); r0 = (s.arg0).fields["currentDirection"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RunGame_requestMove__P1086054.info = {"start":26990,"length":92,"line":629,"column":8,"endLine":631,"endColumn":9,"fileName":"vm.ts","functionName":"requestMove","argumentNames":["this","dir"]} -tileworld_RunGame_requestMove__P1086054.info = {"start":26990,"length":92,"line":629,"column":8,"endLine":631,"endColumn":9,"fileName":"vm.ts","functionName":"requestMove","argumentNames":["this","dir"]} +tileworld_RunGame_requestMove__P8246.info = {"start":26990,"length":92,"line":629,"column":8,"endLine":631,"endColumn":9,"fileName":"vm.ts","functionName":"requestMove","argumentNames":["this","dir"]} +tileworld_RunGame_requestMove__P8246.info = {"start":26990,"length":92,"line":629,"column":8,"endLine":631,"endColumn":9,"fileName":"vm.ts","functionName":"requestMove","argumentNames":["this","dir"]} -function tileworld_RunGame_requestMove__P1086054_mk(s) { +function tileworld_RunGame_requestMove__P8246_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RunGame_requestMove__P1086054, depth: s.depth + 1, + parent: s, fn: tileworld_RunGame_requestMove__P8246, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -42048,7 +42000,7 @@ function tileworld_RunGame_requestMove__P1086054_mk(s) { -function tileworld_gameover__P1086293(s) { +function tileworld_gameover__P8489(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42058,89 +42010,89 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scoreInfo___1086387 = undefined; - s.highScore___1086391 = undefined; - s.overDialog___1086405 = undefined; + s.scoreInfo___8587 = undefined; + s.highScore___8591 = undefined; + s.overDialog___8606 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfo_getState__P298472_mk(s); - s.tmp_0.arg0 = globals.player1___298496; + s.tmp_0 = info_PlayerInfo_getState__P980_mk(s); + s.tmp_0.arg0 = globals.player1___1004; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.scoreInfo___1086387 = (r0); - s.tmp_0 = info_highScore__P298447_mk(s); + s.scoreInfo___8587 = (r0); + s.tmp_0 = info_highScore__P955_mk(s); s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.highScore___1086391 = (r0); - r0 = s.scoreInfo___1086387.fields["score"]; + s.highScore___8591 = (r0); + r0 = s.scoreInfo___8587.fields["score"]; s.tmp_1 = r0; - r0 = (s.tmp_1 > s.highScore___1086391); + r0 = (s.tmp_1 > s.highScore___8591); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = info_saveHighScore__P298444_mk(s); + s.tmp_2 = info_saveHighScore__P952_mk(s); s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 1: case 2: - s.tmp_0 = game_pushScene__P298728_mk(s); + s.tmp_0 = game_pushScene__P1236_mk(s); s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = scene_setBackgroundImage__P298646_mk(s); - r0 = pxsim_ImageMethods.clone(globals.screen___298046); + s.tmp_0 = scene_setBackgroundImage__P1154_mk(s); + r0 = pxsim_ImageMethods.clone(globals.screen___545); s.tmp_0.arg0 = r0; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = pause__P297860_mk(s); + s.tmp_0 = pause__P289_mk(s); s.tmp_0.arg0 = 400; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(game_GameOverDialog__C298689_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_GameOverDialog__C1197_VT); s.tmp_0 = r0; - s.tmp_1 = game_GameOverDialog_constructor__P298694_mk(s); + s.tmp_1 = game_GameOverDialog_constructor__P1202_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - r0 = s.scoreInfo___1086387.fields["score"]; + r0 = s.scoreInfo___8587.fields["score"]; s.tmp_1.arg2 = r0; - s.tmp_1.arg3 = s.highScore___1086391; + s.tmp_1.arg3 = s.highScore___8591; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.overDialog___1086405 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(1, inline__P1086415); + s.overDialog___8606 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(1, inline__P8616); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overDialog___1086405); - s.tmp_1 = scene_createRenderable__P298587_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overDialog___8606); + s.tmp_1 = scene_createRenderable__P1095_mk(s); s.tmp_1.arg0 = 100; s.tmp_1.arg1 = s.tmp_0; s.tmp_1.arg2 = undefined; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = pause__P297860_mk(s); + s.tmp_0 = pause__P289_mk(s); s.tmp_0.arg0 = 500; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = game_GameOverDialog_displayCursor__P298691_mk(s); - s.tmp_0.arg0 = s.overDialog___1086405; + s.tmp_0 = game_GameOverDialog_displayCursor__P1199_mk(s); + s.tmp_0.arg0 = s.overDialog___8606; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = game_waitAnyButton__P298725_mk(s); + s.tmp_0 = game_waitAnyButton__P1233_mk(s); s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = game_popScene__P298729_mk(s); + s.tmp_0 = game_popScene__P1237_mk(s); s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; @@ -42148,20 +42100,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_gameover__P1086293.info = {"start":27094,"length":1293,"line":634,"column":4,"endLine":674,"endColumn":9,"fileName":"vm.ts","functionName":"gameover","argumentNames":["win","effect"]} -tileworld_gameover__P1086293.info = {"start":27094,"length":1293,"line":634,"column":4,"endLine":674,"endColumn":9,"fileName":"vm.ts","functionName":"gameover","argumentNames":["win","effect"]} +tileworld_gameover__P8489.info = {"start":27094,"length":1293,"line":634,"column":4,"endLine":674,"endColumn":9,"fileName":"vm.ts","functionName":"gameover","argumentNames":["win","effect"]} +tileworld_gameover__P8489.info = {"start":27094,"length":1293,"line":634,"column":4,"endLine":674,"endColumn":9,"fileName":"vm.ts","functionName":"gameover","argumentNames":["win","effect"]} -function tileworld_gameover__P1086293_mk(s) { +function tileworld_gameover__P8489_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_gameover__P1086293, depth: s.depth + 1, + parent: s, fn: tileworld_gameover__P8489, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scoreInfo___1086387: undefined, - highScore___1086391: undefined, - overDialog___1086405: undefined, + scoreInfo___8587: undefined, + highScore___8591: undefined, + overDialog___8606: undefined, arg0: undefined, arg1: undefined, } } @@ -42170,7 +42122,7 @@ function tileworld_gameover__P1086293_mk(s) { -function inline__P1086415(s) { +function inline__P8616(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42184,9 +42136,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_GameOverDialog__C298689_v0_1_mk(s); + s.tmp_0 = game_GameOverDialog__C1197_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C298689_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C1197_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 1; return s.tmp_0; case 1: @@ -42194,7 +42146,7 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.caps[0].fields["image"]; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___298046); + r0 = pxsim_ImageMethods.height(globals.screen___545); s.tmp_4 = r0; r0 = s.caps[0].fields["image"]; s.tmp_6 = r0; @@ -42209,13 +42161,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1086415.info = {"start":27951,"length":256,"line":661,"column":48,"endLine":668,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["target"]} -inline__P1086415.info = {"start":27951,"length":256,"line":661,"column":48,"endLine":668,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["target"]} +inline__P8616.info = {"start":27951,"length":256,"line":661,"column":48,"endLine":668,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["target"]} +inline__P8616.info = {"start":27951,"length":256,"line":661,"column":48,"endLine":668,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["target"]} -function inline__P1086415_mk(s) { +function inline__P8616_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1086415, depth: s.depth + 1, + parent: s, fn: inline__P8616, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42231,7 +42183,7 @@ function inline__P1086415_mk(s) { -function game_waitAnyButton__P298725(s) { +function game_waitAnyButton__P1233(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42241,17 +42193,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__waitAnyButton___298720); + r0 = pxsim_numops_toBoolDecr(globals.__waitAnyButton___1228); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__waitAnyButton___298720; + s.tmp_0.argL = globals.__waitAnyButton___1228; setupLambda(s.tmp_0, s.tmp_0.argL); s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = pause__P297860_mk(s); + s.tmp_0 = pause__P289_mk(s); s.tmp_0.arg0 = 3000; s.pc = 4; return s.tmp_0; case 4: @@ -42261,13 +42213,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_waitAnyButton__P298725.info = {"start":967,"length":111,"line":35,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"waitAnyButton","argumentNames":[]} -game_waitAnyButton__P298725.info = {"start":967,"length":111,"line":35,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"waitAnyButton","argumentNames":[]} +game_waitAnyButton__P1233.info = {"start":967,"length":111,"line":35,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"waitAnyButton","argumentNames":[]} +game_waitAnyButton__P1233.info = {"start":967,"length":111,"line":35,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"waitAnyButton","argumentNames":[]} -function game_waitAnyButton__P298725_mk(s) { +function game_waitAnyButton__P1233_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_waitAnyButton__P298725, depth: s.depth + 1, + parent: s, fn: game_waitAnyButton__P1233, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42276,7 +42228,7 @@ function game_waitAnyButton__P298725_mk(s) { -function game_GameOverDialog_displayCursor__P298691(s) { +function game_GameOverDialog_displayCursor__P1199(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42291,19 +42243,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C298689_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C1197_VT)) failedCast(r0); r0 = (s.arg0).fields["cursorOn"] = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -game_GameOverDialog_displayCursor__P298691.info = {"start":12623,"length":61,"line":372,"column":8,"endLine":374,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"displayCursor","argumentNames":["this"]} -game_GameOverDialog_displayCursor__P298691.info = {"start":12623,"length":61,"line":372,"column":8,"endLine":374,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"displayCursor","argumentNames":["this"]} +game_GameOverDialog_displayCursor__P1199.info = {"start":12623,"length":61,"line":372,"column":8,"endLine":374,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"displayCursor","argumentNames":["this"]} +game_GameOverDialog_displayCursor__P1199.info = {"start":12623,"length":61,"line":372,"column":8,"endLine":374,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"displayCursor","argumentNames":["this"]} -function game_GameOverDialog_displayCursor__P298691_mk(s) { +function game_GameOverDialog_displayCursor__P1199_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_displayCursor__P298691, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_displayCursor__P1199, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -42312,7 +42264,7 @@ function game_GameOverDialog_displayCursor__P298691_mk(s) { -function game_GameOverDialog_update__P298692(s) { +function game_GameOverDialog_update__P1200(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42327,15 +42279,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C298689_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_clearInterior__P298664_mk(s); + if (!checkSubtype(r0, game_GameOverDialog__C1197_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_clearInterior__P1172_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = game_GameOverDialog__C298689_v1_1_mk(s); + s.tmp_0 = game_GameOverDialog__C1197_v1_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C298689_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C1197_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawTextCore; s.pc = 4; return s.tmp_0; case 4: @@ -42344,7 +42296,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = game_BaseDialog_drawCursorRow__P298662_mk(s); + s.tmp_1 = game_BaseDialog_drawCursorRow__P1170_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 5; return s.tmp_1; case 5: @@ -42355,13 +42307,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverDialog_update__P298692.info = {"start":12694,"length":173,"line":376,"column":8,"endLine":383,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"update","argumentNames":["this"]} -game_GameOverDialog_update__P298692.info = {"start":12694,"length":173,"line":376,"column":8,"endLine":383,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"update","argumentNames":["this"]} +game_GameOverDialog_update__P1200.info = {"start":12694,"length":173,"line":376,"column":8,"endLine":383,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} +game_GameOverDialog_update__P1200.info = {"start":12694,"length":173,"line":376,"column":8,"endLine":383,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} -function game_GameOverDialog_update__P298692_mk(s) { +function game_GameOverDialog_update__P1200_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_update__P298692, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_update__P1200, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42372,7 +42324,7 @@ function game_GameOverDialog_update__P298692_mk(s) { -function game_GameOverDialog_drawTextCore__P298693(s) { +function game_GameOverDialog_drawTextCore__P1201(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42382,13 +42334,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scoreColor___318098 = undefined; + s.scoreColor___20281 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C298689_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C1197_VT)) failedCast(r0); r0 = s.arg0.fields["win"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -42400,7 +42352,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - r0 = pxsim_ImageMethods.isMono(globals.screen___298046); + r0 = pxsim_ImageMethods.isMono(globals.screen___545); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } @@ -42411,13 +42363,13 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = helpers_imagePrintCenter__P298009_mk(s); + s.tmp_4 = helpers_imagePrintCenter__P507_mk(s); r0 = s.arg0.fields["image"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.tmp_1; s.tmp_4.arg2 = 8; s.tmp_4.arg3 = s.tmp_3; - s.tmp_4.arg4 = globals.font8___297999; + s.tmp_4.arg4 = globals.font8___497; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; @@ -42427,7 +42379,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___298046); + r0 = pxsim_ImageMethods.isMono(globals.screen___545); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 5; continue; } @@ -42438,8 +42390,8 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.scoreColor___318098 = (s.tmp_3); - s.tmp_0 = helpers_imagePrintCenter__P298009_mk(s); + s.scoreColor___20281 = (s.tmp_3); + s.tmp_0 = helpers_imagePrintCenter__P507_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["score"]; @@ -42456,8 +42408,8 @@ switch (step) { r0 = pxsim_String__concat("Score:", s.tmp_1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 23; - s.tmp_0.arg3 = s.scoreColor___318098; - s.tmp_0.arg4 = globals.font8___297999; + s.tmp_0.arg3 = s.scoreColor___20281; + s.tmp_0.arg4 = globals.font8___497; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; @@ -42465,19 +42417,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_imagePrintCenter__P298009_mk(s); + s.tmp_1 = helpers_imagePrintCenter__P507_mk(s); r0 = s.arg0.fields["image"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = "New High Score!"; s.tmp_1.arg2 = 34; - s.tmp_1.arg3 = s.scoreColor___318098; - s.tmp_1.arg4 = globals.font5___298006; + s.tmp_1.arg3 = s.scoreColor___20281; + s.tmp_1.arg4 = globals.font5___504; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; { step = 8; continue; } case 7: - s.tmp_0 = helpers_imagePrintCenter__P298009_mk(s); + s.tmp_0 = helpers_imagePrintCenter__P507_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["highScore"]; @@ -42494,8 +42446,8 @@ switch (step) { r0 = pxsim_String__concat("HI", s.tmp_1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 34; - s.tmp_0.arg3 = s.scoreColor___318098; - s.tmp_0.arg4 = globals.font8___297999; + s.tmp_0.arg3 = s.scoreColor___20281; + s.tmp_0.arg4 = globals.font8___497; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; @@ -42506,20 +42458,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverDialog_drawTextCore__P298693.info = {"start":12877,"length":1200,"line":385,"column":8,"endLine":422,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -game_GameOverDialog_drawTextCore__P298693.info = {"start":12877,"length":1200,"line":385,"column":8,"endLine":422,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_GameOverDialog_drawTextCore__P1201.info = {"start":12877,"length":1200,"line":385,"column":8,"endLine":422,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_GameOverDialog_drawTextCore__P1201.info = {"start":12877,"length":1200,"line":385,"column":8,"endLine":422,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_GameOverDialog_drawTextCore__P298693_mk(s) { +function game_GameOverDialog_drawTextCore__P1201_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_drawTextCore__P298693, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_drawTextCore__P1201, 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, - scoreColor___318098: undefined, + scoreColor___20281: undefined, arg0: undefined, } } @@ -42527,7 +42479,7 @@ function game_GameOverDialog_drawTextCore__P298693_mk(s) { -function helpers_imagePrintCenter__P298009(s) { +function helpers_imagePrintCenter__P507(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42537,8 +42489,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.w___318146 = undefined; - s.x___318152 = undefined; + s.w___20329 = undefined; + s.x___20335 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -42553,7 +42505,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P298002_mk(s); + s.tmp_2 = image_getFontForText__P500_mk(s); s.tmp_2.arg0 = s.arg1; s.pc = 3; return s.tmp_2; case 3: @@ -42577,17 +42529,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___318146 = (r0); + s.w___20329 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___318146); + r0 = (s.tmp_1 - s.w___20329); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___318152 = (r0); - s.tmp_0 = helpers_imagePrint__P298010_mk(s); + s.x___20335 = (r0); + s.tmp_0 = helpers_imagePrint__P508_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___318152; + s.tmp_0.arg2 = s.x___20335; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; @@ -42599,19 +42551,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrintCenter__P298009.info = {"start":15025,"length":295,"line":206,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/screen---st7735/text.ts","functionName":"imagePrintCenter","argumentNames":["img","text","y","color","font"]} -helpers_imagePrintCenter__P298009.info = {"start":15025,"length":295,"line":206,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/screen---st7735/text.ts","functionName":"imagePrintCenter","argumentNames":["img","text","y","color","font"]} +helpers_imagePrintCenter__P507.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__P507.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__P298009_mk(s) { +function helpers_imagePrintCenter__P507_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P298009, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P507, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___318146: undefined, - x___318152: undefined, + w___20329: undefined, + x___20335: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -42623,7 +42575,7 @@ function helpers_imagePrintCenter__P298009_mk(s) { -function game_BaseDialog_clearInterior__P298664(s) { +function game_BaseDialog_clearInterior__P1172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42633,17 +42585,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.d___318168 = undefined; - s.s___318176 = undefined; + s.d___20351 = undefined; + s.s___20359 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C298658_VT)) failedCast(r0); - s.d___318168 = (1); + if (!checkSubtype(r0, game_BaseDialog__C1166_VT)) failedCast(r0); + s.d___20351 = (1); case 1: - s.tmp_1 = r0 = s.d___318168; + s.tmp_1 = r0 = s.d___20351; r0 = s.arg0.fields["columns"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -42652,9 +42604,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.s___318176 = (1); + s.s___20359 = (1); case 2: - s.tmp_1 = r0 = s.s___318176; + s.tmp_1 = r0 = s.s___20359; r0 = s.arg0.fields["rows"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -42663,41 +42615,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P298665_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P1173_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 4; - s.tmp_4.arg2 = s.d___318168; - s.tmp_4.arg3 = s.s___318176; + s.tmp_4.arg2 = s.d___20351; + s.tmp_4.arg3 = s.s___20359; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; - r0 = (s.s___318176 + 1); - s.s___318176 = (r0); + r0 = (s.s___20359 + 1); + s.s___20359 = (r0); { step = 2; continue; } case 3: - r0 = (s.d___318168 + 1); - s.d___318168 = (r0); + r0 = (s.d___20351 + 1); + s.d___20351 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_clearInterior__P298664.info = {"start":3078,"length":230,"line":111,"column":8,"endLine":117,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"clearInterior","argumentNames":["this"]} -game_BaseDialog_clearInterior__P298664.info = {"start":3078,"length":230,"line":111,"column":8,"endLine":117,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"clearInterior","argumentNames":["this"]} +game_BaseDialog_clearInterior__P1172.info = {"start":3078,"length":230,"line":111,"column":8,"endLine":117,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"clearInterior","argumentNames":["this"]} +game_BaseDialog_clearInterior__P1172.info = {"start":3078,"length":230,"line":111,"column":8,"endLine":117,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"clearInterior","argumentNames":["this"]} -function game_BaseDialog_clearInterior__P298664_mk(s) { +function game_BaseDialog_clearInterior__P1172_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_clearInterior__P298664, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_clearInterior__P1172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - d___318168: undefined, - s___318176: undefined, + d___20351: undefined, + s___20359: undefined, arg0: undefined, } } @@ -42705,7 +42657,7 @@ function game_BaseDialog_clearInterior__P298664_mk(s) { -function game_BaseDialog_drawPartial__P298665(s) { +function game_BaseDialog_drawPartial__P1173(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42715,12 +42667,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.x0___318195 = undefined; - s.y0___318203 = undefined; - s.xf___318211 = undefined; - s.yf___318218 = undefined; - s.e___318226 = undefined; - s.t___318232 = undefined; + s.x0___20378 = undefined; + s.y0___20386 = undefined; + s.xf___20394 = undefined; + s.yf___20401 = undefined; + s.e___20409 = undefined; + s.t___20415 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -42729,7 +42681,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C298658_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C1166_VT)) failedCast(r0); r0 = s.arg0.fields["innerLeft"]; s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; @@ -42737,7 +42689,7 @@ switch (step) { r0 = (s.arg2 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.x0___318195 = (r0); + s.x0___20378 = (r0); r0 = s.arg0.fields["innerTop"]; s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; @@ -42745,13 +42697,13 @@ switch (step) { r0 = (s.arg3 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.y0___318203 = (r0); + s.y0___20386 = (r0); r0 = (s.arg1 % 3); s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.xf___318211 = (r0); + s.xf___20394 = (r0); r0 = (s.arg1 / 3); s.tmp_1 = r0; r0 = pxsim.Math_.floor(s.tmp_1); @@ -42759,57 +42711,57 @@ switch (step) { r0 = s.arg0.fields["unit"]; s.tmp_2 = r0; r0 = (s.tmp_0 * s.tmp_2); - s.yf___318218 = (r0); - s.e___318226 = (0); + s.yf___20401 = (r0); + s.e___20409 = (0); case 1: r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - r0 = (s.e___318226 < s.tmp_1); + r0 = (s.e___20409 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.t___318232 = (0); + s.t___20415 = (0); case 2: r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - r0 = (s.t___318232 < s.tmp_1); + r0 = (s.t___20415 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.arg0.fields["image"]; s.tmp_2 = r0; - r0 = (s.x0___318195 + s.e___318226); + r0 = (s.x0___20378 + s.e___20409); s.tmp_3 = r0; - r0 = (s.y0___318203 + s.t___318232); + r0 = (s.y0___20386 + s.t___20415); s.tmp_4 = r0; r0 = s.arg0.fields["frame"]; s.tmp_6 = r0; - r0 = (s.xf___318211 + s.e___318226); + r0 = (s.xf___20394 + s.e___20409); s.tmp_7 = r0; - r0 = (s.yf___318218 + s.t___318232); + r0 = (s.yf___20401 + s.t___20415); s.tmp_8 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_6, s.tmp_7, s.tmp_8); s.tmp_5 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_2, s.tmp_3, s.tmp_4, s.tmp_5); - r0 = (s.t___318232 + 1); - s.t___318232 = (r0); + r0 = (s.t___20415 + 1); + s.t___20415 = (r0); { step = 2; continue; } case 3: - r0 = (s.e___318226 + 1); - s.e___318226 = (r0); + r0 = (s.e___20409 + 1); + s.e___20409 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_drawPartial__P298665.info = {"start":3318,"length":606,"line":119,"column":8,"endLine":134,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"drawPartial","argumentNames":["this","index","colTo","rowTo"]} -game_BaseDialog_drawPartial__P298665.info = {"start":3318,"length":606,"line":119,"column":8,"endLine":134,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"drawPartial","argumentNames":["this","index","colTo","rowTo"]} +game_BaseDialog_drawPartial__P1173.info = {"start":3318,"length":606,"line":119,"column":8,"endLine":134,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawPartial","argumentNames":["this","index","colTo","rowTo"]} +game_BaseDialog_drawPartial__P1173.info = {"start":3318,"length":606,"line":119,"column":8,"endLine":134,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawPartial","argumentNames":["this","index","colTo","rowTo"]} -function game_BaseDialog_drawPartial__P298665_mk(s) { +function game_BaseDialog_drawPartial__P1173_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawPartial__P298665, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawPartial__P1173, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42820,12 +42772,12 @@ function game_BaseDialog_drawPartial__P298665_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - x0___318195: undefined, - y0___318203: undefined, - xf___318211: undefined, - yf___318218: undefined, - e___318226: undefined, - t___318232: undefined, + x0___20378: undefined, + y0___20386: undefined, + xf___20394: undefined, + yf___20401: undefined, + e___20409: undefined, + t___20415: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -42836,7 +42788,7 @@ function game_BaseDialog_drawPartial__P298665_mk(s) { -function game_BaseDialog_drawCursorRow__P298662(s) { +function game_BaseDialog_drawCursorRow__P1170(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42846,21 +42798,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.offset___317993 = undefined; + s.offset___20176 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C298658_VT)) failedCast(r0); - s.offset___317993 = (0); + if (!checkSubtype(r0, game_BaseDialog__C1166_VT)) failedCast(r0); + s.offset___20176 = (0); r0 = s.arg0.fields["cursorCount"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 20); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.offset___317993 = (1); + s.offset___20176 = (1); case 1: case 2: s.tmp_0 = r0 = s.arg0; @@ -42877,7 +42829,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg0.fields["innerLeft"]; s.tmp_6 = r0; - s.tmp_8 = game_BaseDialog_textAreaWidth__P298668_mk(s); + s.tmp_8 = game_BaseDialog_textAreaWidth__P1176_mk(s); s.tmp_8.arg0 = s.arg0; s.pc = 3; return s.tmp_8; case 3: @@ -42889,7 +42841,7 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_5 + s.tmp_9); s.tmp_4 = r0; - r0 = (s.tmp_4 + s.offset___317993); + r0 = (s.tmp_4 + s.offset___20176); s.tmp_3 = r0; r0 = s.arg0.fields["cursor"]; s.tmp_11 = r0; @@ -42903,7 +42855,7 @@ switch (step) { s.tmp_17 = r0; r0 = (s.tmp_16 + s.tmp_17); s.tmp_15 = r0; - s.tmp_19 = game_BaseDialog_textAreaHeight__P298669_mk(s); + s.tmp_19 = game_BaseDialog_textAreaHeight__P1177_mk(s); s.tmp_19.arg0 = s.arg0; s.pc = 4; return s.tmp_19; case 4: @@ -42926,13 +42878,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_drawCursorRow__P298662.info = {"start":1832,"length":479,"line":74,"column":8,"endLine":87,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"drawCursorRow","argumentNames":["this"]} -game_BaseDialog_drawCursorRow__P298662.info = {"start":1832,"length":479,"line":74,"column":8,"endLine":87,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"drawCursorRow","argumentNames":["this"]} +game_BaseDialog_drawCursorRow__P1170.info = {"start":1832,"length":479,"line":74,"column":8,"endLine":87,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawCursorRow","argumentNames":["this"]} +game_BaseDialog_drawCursorRow__P1170.info = {"start":1832,"length":479,"line":74,"column":8,"endLine":87,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawCursorRow","argumentNames":["this"]} -function game_BaseDialog_drawCursorRow__P298662_mk(s) { +function game_BaseDialog_drawCursorRow__P1170_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawCursorRow__P298662, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawCursorRow__P1170, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42957,7 +42909,7 @@ function game_BaseDialog_drawCursorRow__P298662_mk(s) { tmp_20: undefined, tmp_21: undefined, tmp_22: undefined, - offset___317993: undefined, + offset___20176: undefined, arg0: undefined, } } @@ -42965,7 +42917,7 @@ function game_BaseDialog_drawCursorRow__P298662_mk(s) { -function game_BaseDialog_textAreaHeight__P298669(s) { +function game_BaseDialog_textAreaHeight__P1177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42980,7 +42932,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C298658_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C1166_VT)) failedCast(r0); r0 = s.arg0.fields["image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); @@ -42999,13 +42951,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_textAreaHeight__P298669.info = {"start":4240,"length":117,"line":148,"column":8,"endLine":150,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"textAreaHeight","argumentNames":["this"]} -game_BaseDialog_textAreaHeight__P298669.info = {"start":4240,"length":117,"line":148,"column":8,"endLine":150,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"textAreaHeight","argumentNames":["this"]} +game_BaseDialog_textAreaHeight__P1177.info = {"start":4240,"length":117,"line":148,"column":8,"endLine":150,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaHeight","argumentNames":["this"]} +game_BaseDialog_textAreaHeight__P1177.info = {"start":4240,"length":117,"line":148,"column":8,"endLine":150,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaHeight","argumentNames":["this"]} -function game_BaseDialog_textAreaHeight__P298669_mk(s) { +function game_BaseDialog_textAreaHeight__P1177_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_textAreaHeight__P298669, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_textAreaHeight__P1177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43021,7 +42973,7 @@ function game_BaseDialog_textAreaHeight__P298669_mk(s) { -function game_BaseDialog_textAreaWidth__P298668(s) { +function game_BaseDialog_textAreaWidth__P1176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43036,7 +42988,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C298658_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C1166_VT)) failedCast(r0); r0 = s.arg0.fields["image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.width(s.tmp_2); @@ -43055,13 +43007,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_textAreaWidth__P298668.info = {"start":4114,"length":116,"line":144,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"textAreaWidth","argumentNames":["this"]} -game_BaseDialog_textAreaWidth__P298668.info = {"start":4114,"length":116,"line":144,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"textAreaWidth","argumentNames":["this"]} +game_BaseDialog_textAreaWidth__P1176.info = {"start":4114,"length":116,"line":144,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaWidth","argumentNames":["this"]} +game_BaseDialog_textAreaWidth__P1176.info = {"start":4114,"length":116,"line":144,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaWidth","argumentNames":["this"]} -function game_BaseDialog_textAreaWidth__P298668_mk(s) { +function game_BaseDialog_textAreaWidth__P1176_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_textAreaWidth__P298668, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_textAreaWidth__P1176, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43077,7 +43029,7 @@ function game_BaseDialog_textAreaWidth__P298668_mk(s) { -function game_BaseDialog_cursorRowHeight__P298666(s) { +function game_BaseDialog_cursorRowHeight__P1174(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43092,7 +43044,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C298658_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C1166_VT)) failedCast(r0); r0 = s.arg0.fields["cursor"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.height(s.tmp_1); @@ -43101,13 +43053,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_cursorRowHeight__P298666.info = {"start":3934,"length":82,"line":136,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"cursorRowHeight","argumentNames":["this"]} -game_BaseDialog_cursorRowHeight__P298666.info = {"start":3934,"length":82,"line":136,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"cursorRowHeight","argumentNames":["this"]} +game_BaseDialog_cursorRowHeight__P1174.info = {"start":3934,"length":82,"line":136,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"cursorRowHeight","argumentNames":["this"]} +game_BaseDialog_cursorRowHeight__P1174.info = {"start":3934,"length":82,"line":136,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"cursorRowHeight","argumentNames":["this"]} -function game_BaseDialog_cursorRowHeight__P298666_mk(s) { +function game_BaseDialog_cursorRowHeight__P1174_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_cursorRowHeight__P298666, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_cursorRowHeight__P1174, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43118,7 +43070,7 @@ function game_BaseDialog_cursorRowHeight__P298666_mk(s) { -function game_GameOverDialog_constructor__P298694(s) { +function game_GameOverDialog_constructor__P1202(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43136,16 +43088,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C298689_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C1197_VT)) failedCast(r0); r0 = (s.arg0).fields["win"] = (s.arg1); r0 = (s.arg0).fields["score"] = (s.arg2); r0 = (s.arg0).fields["highScore"] = (s.arg3); - s.tmp_0 = game_BaseDialog_constructor__P298671_mk(s); + s.tmp_0 = game_BaseDialog_constructor__P1179_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 46; - s.tmp_1 = game_defaultSplashFrame__P298697_mk(s); + s.tmp_1 = game_defaultSplashFrame__P1205_mk(s); s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -43168,13 +43120,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverDialog_constructor__P298694.info = {"start":12305,"length":308,"line":362,"column":8,"endLine":370,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"inline","argumentNames":["this","win","score","highScore"]} -game_GameOverDialog_constructor__P298694.info = {"start":12305,"length":308,"line":362,"column":8,"endLine":370,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"inline","argumentNames":["this","win","score","highScore"]} +game_GameOverDialog_constructor__P1202.info = {"start":12305,"length":308,"line":362,"column":8,"endLine":370,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","win","score","highScore"]} +game_GameOverDialog_constructor__P1202.info = {"start":12305,"length":308,"line":362,"column":8,"endLine":370,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","win","score","highScore"]} -function game_GameOverDialog_constructor__P298694_mk(s) { +function game_GameOverDialog_constructor__P1202_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_constructor__P298694, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_constructor__P1202, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43190,7 +43142,7 @@ function game_GameOverDialog_constructor__P298694_mk(s) { -function game_defaultSplashFrame__P298697(s) { +function game_defaultSplashFrame__P1205(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43200,14 +43152,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___298046); + r0 = pxsim_ImageMethods.isMono(globals.screen___545); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex318301); + r0 = pxsim.image.ofBuffer(_hex20484); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex318303); + r0 = pxsim.image.ofBuffer(_hex20486); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -43215,25 +43167,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultSplashFrame__P298697.info = {"start":18199,"length":220,"line":555,"column":4,"endLine":568,"endColumn":5,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"defaultSplashFrame","argumentNames":[]} -game_defaultSplashFrame__P298697.info = {"start":18199,"length":220,"line":555,"column":4,"endLine":568,"endColumn":5,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"defaultSplashFrame","argumentNames":[]} +game_defaultSplashFrame__P1205.info = {"start":18199,"length":220,"line":555,"column":4,"endLine":568,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultSplashFrame","argumentNames":[]} +game_defaultSplashFrame__P1205.info = {"start":18199,"length":220,"line":555,"column":4,"endLine":568,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultSplashFrame","argumentNames":[]} -function game_defaultSplashFrame__P298697_mk(s) { +function game_defaultSplashFrame__P1205_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultSplashFrame__P298697, depth: s.depth + 1, + parent: s, fn: game_defaultSplashFrame__P1205, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex318301 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100000101000001010000") -const _hex318303 = pxsim.BufferMethods.createBufferFromHex("8704030003000000f1010000f1010000f1010000") +const _hex20484 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100000101000001010000") +const _hex20486 = pxsim.BufferMethods.createBufferFromHex("8704030003000000f1010000f1010000f1010000") -function game_BaseDialog_constructor__P298671(s) { +function game_BaseDialog_constructor__P1179(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43253,7 +43205,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C298658_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C1166_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.image.create(s.arg1, s.arg2); s.tmp_1 = r0; @@ -43264,7 +43216,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.dialogFrame___298655; + r0 = globals.dialogFrame___1163; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -43273,12 +43225,12 @@ switch (step) { r0 = s.tmp_1; { step = 4; continue; } case 3: - s.tmp_3 = game_defaultFrame__P298696_mk(s); + s.tmp_3 = game_defaultFrame__P1204_mk(s); s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; - globals.dialogFrame___298655 = (r0); + globals.dialogFrame___1163 = (r0); r0 = s.tmp_2; case 4: // jmp value (already in r0) @@ -43290,7 +43242,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - r0 = globals.font8___297999; + r0 = globals.font8___497; case 6: // jmp value (already in r0) s.tmp_1 = r0; @@ -43301,7 +43253,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - r0 = globals.dialogCursor___298656; + r0 = globals.dialogCursor___1164; case 8: // jmp value (already in r0) s.tmp_1 = r0; @@ -43310,26 +43262,26 @@ switch (step) { r0 = s.tmp_1; { step = 10; continue; } case 9: - s.tmp_3 = game_defaultCursorImage__P298698_mk(s); + s.tmp_3 = game_defaultCursorImage__P1206_mk(s); s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; s.tmp_2 = r0; - globals.dialogCursor___298656 = (r0); + globals.dialogCursor___1164 = (r0); r0 = s.tmp_2; case 10: // jmp value (already in r0) s.tmp_4 = r0; r0 = (s.arg0).fields["cursor"] = (s.tmp_4); - r0 = (globals.dialogTextColor___298657 == undefined); + r0 = (globals.dialogTextColor___1165 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - globals.dialogTextColor___298657 = (15); + globals.dialogTextColor___1165 = (15); r0 = 15; { step = 12; continue; } case 11: - r0 = globals.dialogTextColor___298657; + r0 = globals.dialogTextColor___1165; case 12: // jmp value (already in r0) s.tmp_1 = r0; @@ -43387,12 +43339,12 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["innerTop"] = (s.tmp_1); r0 = (s.arg0).fields["cursorCount"] = (0); - s.tmp_0 = game_BaseDialog_drawBorder__P298663_mk(s); + s.tmp_0 = game_BaseDialog_drawBorder__P1171_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = game_BaseDialog_clearInterior__P298664_mk(s); + s.tmp_0 = game_BaseDialog_clearInterior__P1172_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 16; return s.tmp_0; case 16: @@ -43401,13 +43353,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_constructor__P298671.info = {"start":634,"length":895,"line":36,"column":8,"endLine":58,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} -game_BaseDialog_constructor__P298671.info = {"start":634,"length":895,"line":36,"column":8,"endLine":58,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} +game_BaseDialog_constructor__P1179.info = {"start":634,"length":895,"line":36,"column":8,"endLine":58,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} +game_BaseDialog_constructor__P1179.info = {"start":634,"length":895,"line":36,"column":8,"endLine":58,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} -function game_BaseDialog_constructor__P298671_mk(s) { +function game_BaseDialog_constructor__P1179_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_constructor__P298671, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_constructor__P1179, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43428,7 +43380,7 @@ function game_BaseDialog_constructor__P298671_mk(s) { -function game_defaultCursorImage__P298698(s) { +function game_defaultCursorImage__P1206(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43438,14 +43390,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___298046); + r0 = pxsim_ImageMethods.isMono(globals.screen___545); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex318450); + r0 = pxsim.image.ofBuffer(_hex20633); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex318452); + r0 = pxsim.image.ofBuffer(_hex20635); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -43453,25 +43405,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultCursorImage__P298698.info = {"start":18425,"length":690,"line":570,"column":4,"endLine":596,"endColumn":5,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"defaultCursorImage","argumentNames":[]} -game_defaultCursorImage__P298698.info = {"start":18425,"length":690,"line":570,"column":4,"endLine":596,"endColumn":5,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"defaultCursorImage","argumentNames":[]} +game_defaultCursorImage__P1206.info = {"start":18425,"length":690,"line":570,"column":4,"endLine":596,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultCursorImage","argumentNames":[]} +game_defaultCursorImage__P1206.info = {"start":18425,"length":690,"line":570,"column":4,"endLine":596,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultCursorImage","argumentNames":[]} -function game_defaultCursorImage__P298698_mk(s) { +function game_defaultCursorImage__P1206_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultCursorImage__P298698, depth: s.depth + 1, + parent: s, fn: game_defaultCursorImage__P1206, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex318450 = pxsim.BufferMethods.createBufferFromHex("87040a000800000011111101010000010111010111100001011101010100000101000001100010000001010000100000") -const _hex318452 = pxsim.BufferMethods.createBufferFromHex("87040b000b00000000606686080000006076776686000000607777676608000076171111670800007671177766080000767117776608000076711777660800007617111167080000607777676608000060767766860000000060668608000000") +const _hex20633 = pxsim.BufferMethods.createBufferFromHex("87040a000800000011111101010000010111010111100001011101010100000101000001100010000001010000100000") +const _hex20635 = pxsim.BufferMethods.createBufferFromHex("87040b000b00000000606686080000006076776686000000607777676608000076171111670800007671177766080000767117776608000076711777660800007617111167080000607777676608000060767766860000000060668608000000") -function game_defaultFrame__P298696(s) { +function game_defaultFrame__P1204(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43481,14 +43433,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___298046); + r0 = pxsim_ImageMethods.isMono(globals.screen___545); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex318456); + r0 = pxsim.image.ofBuffer(_hex20639); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex318458); + r0 = pxsim.image.ofBuffer(_hex20641); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -43496,25 +43448,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultFrame__P298696.info = {"start":17637,"length":556,"line":531,"column":4,"endLine":553,"endColumn":5,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"defaultFrame","argumentNames":[]} -game_defaultFrame__P298696.info = {"start":17637,"length":556,"line":531,"column":4,"endLine":553,"endColumn":5,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"defaultFrame","argumentNames":[]} +game_defaultFrame__P1204.info = {"start":17637,"length":556,"line":531,"column":4,"endLine":553,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultFrame","argumentNames":[]} +game_defaultFrame__P1204.info = {"start":17637,"length":556,"line":531,"column":4,"endLine":553,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultFrame","argumentNames":[]} -function game_defaultFrame__P298696_mk(s) { +function game_defaultFrame__P1204_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultFrame__P298696, depth: s.depth + 1, + parent: s, fn: game_defaultFrame__P1204, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex318456 = pxsim.BufferMethods.createBufferFromHex("8704030003000000110100000101000011010000") -const _hex318458 = pxsim.BufferMethods.createBufferFromHex("87040c000c0000000000000000000000b0bbbbbbbb0b0000b0bbbbbbbbcb0000b0db1111bdcb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b0db1111bdcb0000b0bbbbbbbbcb0000b0bbbbbbbbcb000000cccccccccc0000") +const _hex20639 = pxsim.BufferMethods.createBufferFromHex("8704030003000000110100000101000011010000") +const _hex20641 = pxsim.BufferMethods.createBufferFromHex("87040c000c0000000000000000000000b0bbbbbbbb0b0000b0bbbbbbbbcb0000b0db1111bdcb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b0db1111bdcb0000b0bbbbbbbbcb0000b0bbbbbbbbcb000000cccccccccc0000") -function game_BaseDialog_drawBorder__P298663(s) { +function game_BaseDialog_drawBorder__P1171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43524,27 +43476,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.c___318397 = undefined; - s.r___318431 = undefined; + s.c___20580 = undefined; + s.r___20614 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C298658_VT)) failedCast(r0); - s.c___318397 = (0); + if (!checkSubtype(r0, game_BaseDialog__C1166_VT)) failedCast(r0); + s.c___20580 = (0); case 1: r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; - r0 = (s.c___318397 < s.tmp_1); + r0 = (s.c___20580 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = (s.c___318397 == 0); + r0 = (s.c___20580 == 0); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - s.tmp_3 = game_BaseDialog_drawPartial__P298665_mk(s); + s.tmp_3 = game_BaseDialog_drawPartial__P1173_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; @@ -43552,7 +43504,7 @@ switch (step) { s.pc = 9; return s.tmp_3; case 9: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P298665_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P1173_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 0; @@ -43565,7 +43517,7 @@ switch (step) { r0 = s.retval; { step = 5; continue; } case 2: - s.tmp_1 = r0 = s.c___318397; + s.tmp_1 = r0 = s.c___20580; r0 = s.arg0.fields["columns"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -43574,18 +43526,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P298665_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P1173_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 2; - s.tmp_4.arg2 = s.c___318397; + s.tmp_4.arg2 = s.c___20580; s.tmp_4.arg3 = 0; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P298665_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P1173_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; - s.tmp_0.arg2 = s.c___318397; + s.tmp_0.arg2 = s.c___20580; r0 = s.arg0.fields["rows"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); @@ -43595,18 +43547,18 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = game_BaseDialog_drawPartial__P298665_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P1173_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; - s.tmp_0.arg2 = s.c___318397; + s.tmp_0.arg2 = s.c___20580; s.tmp_0.arg3 = 0; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P298665_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P1173_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; - s.tmp_0.arg2 = s.c___318397; + s.tmp_0.arg2 = s.c___20580; r0 = s.arg0.fields["rows"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); @@ -43616,13 +43568,13 @@ switch (step) { r0 = s.retval; case 4: case 5: - r0 = (s.c___318397 + 1); - s.c___318397 = (r0); + r0 = (s.c___20580 + 1); + s.c___20580 = (r0); { step = 1; continue; } case 6: - s.r___318431 = (1); + s.r___20614 = (1); case 7: - s.tmp_1 = r0 = s.r___318431; + s.tmp_1 = r0 = s.r___20614; r0 = s.arg0.fields["rows"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -43631,48 +43583,48 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P298665_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P1173_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 3; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.r___318431; + s.tmp_4.arg3 = s.r___20614; s.pc = 15; return s.tmp_4; case 15: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P298665_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P1173_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.r___318431; + s.tmp_0.arg3 = s.r___20614; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - r0 = (s.r___318431 + 1); - s.r___318431 = (r0); + r0 = (s.r___20614 + 1); + s.r___20614 = (r0); { step = 7; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_drawBorder__P298663.info = {"start":2321,"length":747,"line":89,"column":8,"endLine":109,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"drawBorder","argumentNames":["this"]} -game_BaseDialog_drawBorder__P298663.info = {"start":2321,"length":747,"line":89,"column":8,"endLine":109,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"drawBorder","argumentNames":["this"]} +game_BaseDialog_drawBorder__P1171.info = {"start":2321,"length":747,"line":89,"column":8,"endLine":109,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawBorder","argumentNames":["this"]} +game_BaseDialog_drawBorder__P1171.info = {"start":2321,"length":747,"line":89,"column":8,"endLine":109,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawBorder","argumentNames":["this"]} -function game_BaseDialog_drawBorder__P298663_mk(s) { +function game_BaseDialog_drawBorder__P1171_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawBorder__P298663, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawBorder__P1171, 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, - c___318397: undefined, - r___318431: undefined, + c___20580: undefined, + r___20614: undefined, arg0: undefined, } } @@ -43680,7 +43632,7 @@ function game_BaseDialog_drawBorder__P298663_mk(s) { -function scene_setBackgroundImage__P298646(s) { +function scene_setBackgroundImage__P1154(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43690,18 +43642,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___318460 = undefined; + s.scene___20643 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P298414_mk(s); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___318460 = (r0); - s.tmp_0 = scene_Background_image__P298500_mk(s); - r0 = s.scene___318460.fields["background"]; + s.scene___20643 = (r0); + s.tmp_0 = scene_Background_image__P1008_mk(s); + r0 = s.scene___20643.fields["background"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.pc = 2; return s.tmp_0; @@ -43711,16 +43663,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_setBackgroundImage__P298646.info = {"start":1735,"length":135,"line":62,"column":4,"endLine":65,"endColumn":5,"fileName":"pxt_modules/game---hw/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} -scene_setBackgroundImage__P298646.info = {"start":1735,"length":135,"line":62,"column":4,"endLine":65,"endColumn":5,"fileName":"pxt_modules/game---hw/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} +scene_setBackgroundImage__P1154.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__P1154.info = {"start":1735,"length":135,"line":62,"column":4,"endLine":65,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} -function scene_setBackgroundImage__P298646_mk(s) { +function scene_setBackgroundImage__P1154_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setBackgroundImage__P298646, depth: s.depth + 1, + parent: s, fn: scene_setBackgroundImage__P1154, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___318460: undefined, + scene___20643: undefined, arg0: undefined, } } @@ -43728,7 +43680,7 @@ function scene_setBackgroundImage__P298646_mk(s) { -function scene_Background_image__P298500(s) { +function scene_Background_image__P1008(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43744,19 +43696,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C298497_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C1005_VT)) failedCast(r0); r0 = (s.arg0).fields["_image"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Background_image__P298500.info = {"start":1003,"length":68,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game---hw/background.ts","functionName":"image","argumentNames":["this","image"]} -scene_Background_image__P298500.info = {"start":1003,"length":68,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game---hw/background.ts","functionName":"image","argumentNames":["this","image"]} +scene_Background_image__P1008.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__P1008.info = {"start":1003,"length":68,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this","image"]} -function scene_Background_image__P298500_mk(s) { +function scene_Background_image__P1008_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P298500, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P1008, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -43766,7 +43718,7 @@ function scene_Background_image__P298500_mk(s) { -function scene_Background_image__P298499(s) { +function scene_Background_image__P1007(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43781,7 +43733,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C298497_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C1005_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -43791,9 +43743,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_3 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_5 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___298046); + r0 = pxsim_ImageMethods.height(globals.screen___545); s.tmp_6 = r0; r0 = pxsim.image.create(s.tmp_5, s.tmp_6); s.tmp_4 = r0; @@ -43804,14 +43756,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Background_image__P298499.info = {"start":811,"length":174,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game---hw/background.ts","functionName":"image","argumentNames":["this"]} -scene_Background_image__P298499.isGetter = true; -scene_Background_image__P298499.info = {"start":811,"length":174,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game---hw/background.ts","functionName":"image","argumentNames":["this"]} +scene_Background_image__P1007.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__P1007.isGetter = true; +scene_Background_image__P1007.info = {"start":811,"length":174,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this"]} -function scene_Background_image__P298499_mk(s) { +function scene_Background_image__P1007_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P298499, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P1007, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43827,7 +43779,7 @@ function scene_Background_image__P298499_mk(s) { -function info_saveHighScore__P298444(s) { +function info_saveHighScore__P952(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43837,20 +43789,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.hs___318530 = undefined; - s.curr___318547 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.players___298389); + s.hs___20713 = undefined; + s.curr___20730 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.players___897); if (!r0) { step = 5; continue; } r0 = pxsim_pxtrt.mklocRef(); - s.hs___318530 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.hs___318530, 0); - r0 = pxsim_pxtcore_mkAction(1, inline__P318540); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hs___318530); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); - s.tmp_2 = helpers_arrayFilter__P297631_mk(s); - s.tmp_2.arg0 = globals.players___298389; - s.tmp_2.arg1 = inline__P318534; + s.hs___20713 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.hs___20713, 0); + r0 = pxsim_pxtcore_mkAction(1, inline__P20723); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hs___20713); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); + s.tmp_2 = helpers_arrayFilter__P60_mk(s); + s.tmp_2.arg0 = globals.players___897; + s.tmp_2.arg1 = inline__P20717; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; @@ -43859,30 +43811,30 @@ switch (step) { s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.tmp_0 = settings_readNumber__P298076_mk(s); + s.tmp_0 = settings_readNumber__P584_mk(s); s.tmp_0.arg0 = "high-score"; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.curr___318547 = (r0); - r0 = (s.curr___318547 == null); + s.curr___20730 = (r0); + r0 = (s.curr___20730 == null); 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_pxtrt_ldlocRef(s.hs___318530); + r0 = pxsim_pxtrt_ldlocRef(s.hs___20713); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.curr___318547); + r0 = (s.tmp_1 > s.curr___20730); case 2: // jmp value (already in r0) s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - s.tmp_3 = settings_writeNumber__P298072_mk(s); + s.tmp_3 = settings_writeNumber__P580_mk(s); s.tmp_3.arg0 = "high-score"; - r0 = pxsim_pxtrt_ldlocRef(s.hs___318530); + r0 = pxsim_pxtrt_ldlocRef(s.hs___20713); s.tmp_3.arg1 = r0; s.pc = 10; return s.tmp_3; case 10: @@ -43895,27 +43847,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_saveHighScore__P298444.info = {"start":6187,"length":383,"line":204,"column":4,"endLine":214,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"saveHighScore","argumentNames":[]} -info_saveHighScore__P298444.info = {"start":6187,"length":383,"line":204,"column":4,"endLine":214,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"saveHighScore","argumentNames":[]} +info_saveHighScore__P952.info = {"start":6187,"length":383,"line":204,"column":4,"endLine":214,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"saveHighScore","argumentNames":[]} +info_saveHighScore__P952.info = {"start":6187,"length":383,"line":204,"column":4,"endLine":214,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"saveHighScore","argumentNames":[]} -function info_saveHighScore__P298444_mk(s) { +function info_saveHighScore__P952_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_saveHighScore__P298444, depth: s.depth + 1, + parent: s, fn: info_saveHighScore__P952, 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, - hs___318530: undefined, - curr___318547: undefined, + hs___20713: undefined, + curr___20730: undefined, } } -function inline__P318534(s) { +function inline__P20717(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43935,7 +43887,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = info_PlayerInfo_hasScore__P298477_mk(s); + s.tmp_1 = info_PlayerInfo_hasScore__P985_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 3; return s.tmp_1; case 3: @@ -43947,13 +43899,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P318534.info = {"start":6312,"length":22,"line":208,"column":24,"endLine":208,"endColumn":46,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["p"]} -inline__P318534.info = {"start":6312,"length":22,"line":208,"column":24,"endLine":208,"endColumn":46,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["p"]} +inline__P20717.info = {"start":6312,"length":22,"line":208,"column":24,"endLine":208,"endColumn":46,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +inline__P20717.info = {"start":6312,"length":22,"line":208,"column":24,"endLine":208,"endColumn":46,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function inline__P318534_mk(s) { +function inline__P20717_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P318534, depth: s.depth + 1, + parent: s, fn: inline__P20717, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43965,7 +43917,7 @@ function inline__P318534_mk(s) { -function inline__P318540(s) { +function inline__P20723(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43980,10 +43932,10 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.caps[0]; - s.tmp_2 = Math_max__P297646_mk(s); + s.tmp_2 = Math_max__P75_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_2.arg0 = r0; - s.tmp_3 = info_PlayerInfo_score__P298474_mk(s); + s.tmp_3 = info_PlayerInfo_score__P982_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 2; return s.tmp_3; case 2: @@ -43998,13 +43950,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P318540.info = {"start":6361,"length":33,"line":209,"column":25,"endLine":209,"endColumn":58,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["p"]} -inline__P318540.info = {"start":6361,"length":33,"line":209,"column":25,"endLine":209,"endColumn":58,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["p"]} +inline__P20723.info = {"start":6361,"length":33,"line":209,"column":25,"endLine":209,"endColumn":58,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +inline__P20723.info = {"start":6361,"length":33,"line":209,"column":25,"endLine":209,"endColumn":58,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function inline__P318540_mk(s) { +function inline__P20723_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P318540, depth: s.depth + 1, + parent: s, fn: inline__P20723, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44017,7 +43969,7 @@ function inline__P318540_mk(s) { -function info_PlayerInfo_hasScore__P298477(s) { +function info_PlayerInfo_hasScore__P985(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44027,35 +43979,35 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.state___318587 = undefined; + s.state___20770 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C298470_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P298472_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C978_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P980_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.state___318587 = (r0); - r0 = s.state___318587.fields["score"]; + s.state___20770 = (r0); + r0 = s.state___20770.fields["score"]; s.tmp_0 = r0; r0 = (s.tmp_0 !== undefined); return leave(s, r0) default: oops() } } } -info_PlayerInfo_hasScore__P298477.info = {"start":18619,"length":111,"line":616,"column":8,"endLine":619,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"hasScore","argumentNames":["this"]} -info_PlayerInfo_hasScore__P298477.info = {"start":18619,"length":111,"line":616,"column":8,"endLine":619,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"hasScore","argumentNames":["this"]} +info_PlayerInfo_hasScore__P985.info = {"start":18619,"length":111,"line":616,"column":8,"endLine":619,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasScore","argumentNames":["this"]} +info_PlayerInfo_hasScore__P985.info = {"start":18619,"length":111,"line":616,"column":8,"endLine":619,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasScore","argumentNames":["this"]} -function info_PlayerInfo_hasScore__P298477_mk(s) { +function info_PlayerInfo_hasScore__P985_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_hasScore__P298477, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_hasScore__P985, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - state___318587: undefined, + state___20770: undefined, arg0: undefined, } } @@ -44063,7 +44015,7 @@ function info_PlayerInfo_hasScore__P298477_mk(s) { -function info_PlayerInfo_score__P298474(s) { +function info_PlayerInfo_score__P982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44073,13 +44025,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.state___318575 = undefined; + s.state___20758 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C298470_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C978_VT)) failedCast(r0); r0 = s.arg0.fields["showScore"]; s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); @@ -44098,36 +44050,36 @@ switch (step) { r0 = (s.arg0).fields["showPlayer"] = (true); case 3: case 4: - s.tmp_0 = info_PlayerInfo_getState__P298472_mk(s); + s.tmp_0 = info_PlayerInfo_getState__P980_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.state___318575 = (r0); - r0 = s.state___318575.fields["score"]; + s.state___20758 = (r0); + r0 = s.state___20758.fields["score"]; s.tmp_1 = r0; r0 = (s.tmp_1 == null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.state___318575).fields["score"] = (0); + r0 = (s.state___20758).fields["score"] = (0); case 5: case 6: - r0 = s.state___318575.fields["score"]; + r0 = s.state___20758.fields["score"]; return leave(s, r0) default: oops() } } } -info_PlayerInfo_score__P298474.info = {"start":17492,"length":314,"line":578,"column":8,"endLine":587,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"score","argumentNames":["this"]} -info_PlayerInfo_score__P298474.info = {"start":17492,"length":314,"line":578,"column":8,"endLine":587,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"score","argumentNames":["this"]} +info_PlayerInfo_score__P982.info = {"start":17492,"length":314,"line":578,"column":8,"endLine":587,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"score","argumentNames":["this"]} +info_PlayerInfo_score__P982.info = {"start":17492,"length":314,"line":578,"column":8,"endLine":587,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"score","argumentNames":["this"]} -function info_PlayerInfo_score__P298474_mk(s) { +function info_PlayerInfo_score__P982_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_score__P298474, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_score__P982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - state___318575: undefined, + state___20758: undefined, arg0: undefined, } } @@ -44135,7 +44087,7 @@ function info_PlayerInfo_score__P298474_mk(s) { -function settings_readNumber__P298076(s) { +function settings_readNumber__P584(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44145,15 +44097,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.buf___321660 = undefined; - s.nums___321667 = undefined; + s.buf___23843 = undefined; + s.nums___23850 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___321660 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___321660); + s.buf___23843 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___23843); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -44163,20 +44115,20 @@ switch (step) { { step = 7; continue; } { step = 6; continue; } case 1: - s.tmp_2 = msgpack_unpackNumberArray__P297708_mk(s); - s.tmp_2.arg0 = s.buf___321660; + s.tmp_2 = msgpack_unpackNumberArray__P137_mk(s); + s.tmp_2.arg0 = s.buf___23843; s.tmp_2.arg1 = 0; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___321667 = (r0); - s.tmp_0 = r0 = s.nums___321667; + s.nums___23850 = (r0); + s.tmp_0 = r0 = s.nums___23850; 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___321667); + r0 = pxsim_Array__length(s.nums___23850); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -44184,7 +44136,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___321667, 0); + r0 = pxsim_Array__getAt(s.nums___23850, 0); { step = 7; continue; } case 4: case 5: @@ -44196,19 +44148,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readNumber__P298076.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__P298076.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__P584.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__P584.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__P298076_mk(s) { +function settings_readNumber__P584_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P298076, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P584, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___321660: undefined, - nums___321667: undefined, + buf___23843: undefined, + nums___23850: undefined, arg0: undefined, } } @@ -44216,7 +44168,7 @@ function settings_readNumber__P298076_mk(s) { -function settings_readBuffer__P298074(s) { +function settings_readBuffer__P582(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44234,13 +44186,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readBuffer__P298074.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__P298074.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__P582.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__P582.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__P298074_mk(s) { +function settings_readBuffer__P582_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P298074, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P582, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -44249,7 +44201,7 @@ function settings_readBuffer__P298074_mk(s) { -function msgpack_unpackNumberArray__P297708(s) { +function msgpack_unpackNumberArray__P137(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44259,16 +44211,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.res___321680 = undefined; - s.fmt___321687 = undefined; - s.v___321696 = undefined; + s.res___23863 = undefined; + s.fmt___23870 = undefined; + s.v___23879 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___321680 = (r0); + s.res___23863 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -44280,14 +44232,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P297706_mk(s); + s.tmp_4 = msgpack_tagFormat__P135_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___321687 = (r0); - r0 = (s.fmt___321687 === null); + s.fmt___23870 = (r0); + r0 = (s.fmt___23870 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -44295,21 +44247,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___321696 = (r0); - r0 = (-31 <= s.v___321696); + s.v___23879 = (r0); + r0 = (-31 <= s.v___23879); 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___321696 <= 127); + r0 = (s.v___23879 <= 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___321680, s.v___321696); + r0 = pxsim_Array__push(s.res___23863, s.v___23879); { step = 5; continue; } case 4: r0 = null; @@ -44317,13 +44269,13 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___321680; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___321687, s.arg1); + s.tmp_0 = r0 = s.res___23863; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___23870, 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__P297697_mk(s); - s.tmp_2.arg0 = s.fmt___321687; + s.tmp_2 = pins_sizeOf__P126_mk(s); + s.tmp_2.arg0 = s.fmt___23870; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -44344,27 +44296,27 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___321680; + r0 = s.res___23863; case 11: return leave(s, r0) default: oops() } } } -msgpack_unpackNumberArray__P297708.info = {"start":6107,"length":669,"line":193,"column":4,"endLine":213,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"unpackNumberArray","argumentNames":["buf","offset"]} -msgpack_unpackNumberArray__P297708.info = {"start":6107,"length":669,"line":193,"column":4,"endLine":213,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"unpackNumberArray","argumentNames":["buf","offset"]} +msgpack_unpackNumberArray__P137.info = {"start":6107,"length":669,"line":193,"column":4,"endLine":213,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"unpackNumberArray","argumentNames":["buf","offset"]} +msgpack_unpackNumberArray__P137.info = {"start":6107,"length":669,"line":193,"column":4,"endLine":213,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"unpackNumberArray","argumentNames":["buf","offset"]} -function msgpack_unpackNumberArray__P297708_mk(s) { +function msgpack_unpackNumberArray__P137_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P297708, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P137, 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___321680: undefined, - fmt___321687: undefined, - v___321696: undefined, + res___23863: undefined, + fmt___23870: undefined, + v___23879: undefined, arg0: undefined, arg1: undefined, } } @@ -44373,7 +44325,7 @@ function msgpack_unpackNumberArray__P297708_mk(s) { -function info_highScore__P298447(s) { +function info_highScore__P955(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44383,7 +44335,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_1 = settings_readNumber__P298076_mk(s); + s.tmp_1 = settings_readNumber__P584_mk(s); s.tmp_1.arg0 = "high-score"; s.pc = 3; return s.tmp_1; case 3: @@ -44402,13 +44354,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_highScore__P298447.info = {"start":7086,"length":98,"line":240,"column":4,"endLine":242,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"highScore","argumentNames":[]} -info_highScore__P298447.info = {"start":7086,"length":98,"line":240,"column":4,"endLine":242,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"highScore","argumentNames":[]} +info_highScore__P955.info = {"start":7086,"length":98,"line":240,"column":4,"endLine":242,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"highScore","argumentNames":[]} +info_highScore__P955.info = {"start":7086,"length":98,"line":240,"column":4,"endLine":242,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"highScore","argumentNames":[]} -function info_highScore__P298447_mk(s) { +function info_highScore__P955_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_highScore__P298447, depth: s.depth + 1, + parent: s, fn: info_highScore__P955, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44419,7 +44371,7 @@ function info_highScore__P298447_mk(s) { -function info_PlayerInfo_constructor__P298487(s) { +function info_PlayerInfo_constructor__P995(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44435,7 +44387,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C298470_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C978_VT)) failedCast(r0); r0 = (s.arg0).fields["_player"] = (s.arg1); r0 = (s.arg0).fields["border"] = (1); r0 = (s.arg0).fields["fc"] = (1); @@ -44451,7 +44403,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___298046); + r0 = pxsim_ImageMethods.isMono(globals.screen___545); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } @@ -44471,7 +44423,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___298046); + r0 = pxsim_ImageMethods.isMono(globals.screen___545); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 4; continue; } @@ -44484,7 +44436,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.arg0).fields["bg"] = (s.tmp_2); s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_1 = r0; r0 = (s.tmp_0).fields["x"] = (s.tmp_1); r0 = (s.arg0).fields["y"] = (0); @@ -44495,7 +44447,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___298046); + r0 = pxsim_ImageMethods.isMono(globals.screen___545); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } @@ -44509,13 +44461,13 @@ switch (step) { r0 = (s.arg0).fields["bg"] = (s.tmp_2); r0 = (s.arg0).fields["x"] = (0); s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.height(globals.screen___298046); + r0 = pxsim_ImageMethods.height(globals.screen___545); s.tmp_1 = r0; r0 = (s.tmp_0).fields["y"] = (s.tmp_1); r0 = (s.arg0).fields["up"] = (true); { step = 12; continue; } case 9: - r0 = pxsim_ImageMethods.isMono(globals.screen___298046); + r0 = pxsim_ImageMethods.isMono(globals.screen___545); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } @@ -44528,11 +44480,11 @@ switch (step) { s.tmp_1 = r0; r0 = (s.arg0).fields["bg"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); 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___298046); + r0 = pxsim_ImageMethods.height(globals.screen___545); s.tmp_1 = r0; r0 = (s.tmp_0).fields["y"] = (s.tmp_1); r0 = (s.arg0).fields["left"] = (true); @@ -44540,17 +44492,17 @@ switch (step) { case 12: case 13: case 14: - r0 = pxsim_numops_toBoolDecr(globals.players___298389); + r0 = pxsim_numops_toBoolDecr(globals.players___897); 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 = 15; continue; } r0 = pxsim_Array__mk(); - globals.players___298389 = (r0); + globals.players___897 = (r0); case 15: case 16: - s.tmp_0 = r0 = globals.players___298389; + s.tmp_0 = r0 = globals.players___897; r0 = s.arg0.fields["_player"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -44560,13 +44512,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_constructor__P298487.info = {"start":15446,"length":1370,"line":515,"column":8,"endLine":552,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["this","player"]} -info_PlayerInfo_constructor__P298487.info = {"start":15446,"length":1370,"line":515,"column":8,"endLine":552,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["this","player"]} +info_PlayerInfo_constructor__P995.info = {"start":15446,"length":1370,"line":515,"column":8,"endLine":552,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this","player"]} +info_PlayerInfo_constructor__P995.info = {"start":15446,"length":1370,"line":515,"column":8,"endLine":552,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this","player"]} -function info_PlayerInfo_constructor__P298487_mk(s) { +function info_PlayerInfo_constructor__P995_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_constructor__P298487, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_constructor__P995, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44580,7 +44532,7 @@ function info_PlayerInfo_constructor__P298487_mk(s) { -function info_PlayerInfo_getState__P298472(s) { +function info_PlayerInfo_getState__P980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44595,13 +44547,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C298470_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_init__P298471_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C978_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_init__P979_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.infoState___298388.fields["playerStates"]; + r0 = globals.infoState___896.fields["playerStates"]; s.tmp_0 = r0; r0 = s.arg0.fields["_player"]; s.tmp_2 = r0; @@ -44611,13 +44563,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_getState__P298472.info = {"start":17088,"length":121,"line":562,"column":8,"endLine":565,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"getState","argumentNames":["this"]} -info_PlayerInfo_getState__P298472.info = {"start":17088,"length":121,"line":562,"column":8,"endLine":565,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"getState","argumentNames":["this"]} +info_PlayerInfo_getState__P980.info = {"start":17088,"length":121,"line":562,"column":8,"endLine":565,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"getState","argumentNames":["this"]} +info_PlayerInfo_getState__P980.info = {"start":17088,"length":121,"line":562,"column":8,"endLine":565,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"getState","argumentNames":["this"]} -function info_PlayerInfo_getState__P298472_mk(s) { +function info_PlayerInfo_getState__P980_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_getState__P298472, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_getState__P980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44629,7 +44581,7 @@ function info_PlayerInfo_getState__P298472_mk(s) { -function info_PlayerInfo_init__P298471(s) { +function info_PlayerInfo_init__P979(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44644,8 +44596,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C298470_VT)) failedCast(r0); - s.tmp_0 = info_initHUD__P298440_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C978_VT)) failedCast(r0); + s.tmp_0 = info_initHUD__P948_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -44655,13 +44607,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = info_initMultiHUD__P298441_mk(s); + s.tmp_2 = info_initMultiHUD__P949_mk(s); s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; case 1: case 2: - r0 = globals.infoState___298388.fields["playerStates"]; + r0 = globals.infoState___896.fields["playerStates"]; s.tmp_3 = r0; r0 = s.arg0.fields["_player"]; s.tmp_5 = r0; @@ -44675,10 +44627,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(info_PlayerState__C298383_VT); + r0 = pxsim_pxtcore_mkClassInstance(info_PlayerState__C891_VT); s.tmp_6 = r0; r0 = undefined; - r0 = globals.infoState___298388.fields["playerStates"]; + r0 = globals.infoState___896.fields["playerStates"]; s.tmp_7 = r0; r0 = s.arg0.fields["_player"]; s.tmp_9 = r0; @@ -44691,13 +44643,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_init__P298471.info = {"start":16826,"length":252,"line":554,"column":8,"endLine":560,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"init","argumentNames":["this"]} -info_PlayerInfo_init__P298471.info = {"start":16826,"length":252,"line":554,"column":8,"endLine":560,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"init","argumentNames":["this"]} +info_PlayerInfo_init__P979.info = {"start":16826,"length":252,"line":554,"column":8,"endLine":560,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"init","argumentNames":["this"]} +info_PlayerInfo_init__P979.info = {"start":16826,"length":252,"line":554,"column":8,"endLine":560,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"init","argumentNames":["this"]} -function info_PlayerInfo_init__P298471_mk(s) { +function info_PlayerInfo_init__P979_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_init__P298471, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_init__P979, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44716,7 +44668,7 @@ function info_PlayerInfo_init__P298471_mk(s) { -function info_initMultiHUD__P298441(s) { +function info_initMultiHUD__P949(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44726,7 +44678,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = globals.infoState___298388.fields["visibilityFlag"]; + r0 = globals.infoState___896.fields["visibilityFlag"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 16); s.tmp_0 = r0; @@ -44735,13 +44687,13 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = r0 = globals.infoState___298388; + s.tmp_2 = r0 = globals.infoState___896; r0 = s.tmp_2.fields["visibilityFlag"]; s.tmp_4 = r0; r0 = (s.tmp_4 | 16); s.tmp_3 = r0; r0 = (s.tmp_2).fields["visibilityFlag"] = (s.tmp_3); - r0 = globals.infoState___298388.fields["visibilityFlag"]; + r0 = globals.infoState___896.fields["visibilityFlag"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 32); s.tmp_2 = r0; @@ -44751,8 +44703,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = r0 = globals.infoState___298388; - s.tmp_6 = info_defaultMultiplayerHeartImage__P298443_mk(s); + s.tmp_4 = r0 = globals.infoState___896; + s.tmp_6 = info_defaultMultiplayerHeartImage__P951_mk(s); s.pc = 6; return s.tmp_6; case 6: r0 = s.retval; @@ -44760,8 +44712,8 @@ switch (step) { r0 = (s.tmp_4).fields["heartImage"] = (s.tmp_5); case 3: case 4: - s.tmp_0 = r0 = globals.infoState___298388; - r0 = pxsim.image.ofBuffer(_hex318757); + s.tmp_0 = r0 = globals.infoState___896; + r0 = pxsim.image.ofBuffer(_hex20940); s.tmp_1 = r0; r0 = (s.tmp_0).fields["multiplierImage"] = (s.tmp_1); case 5: @@ -44769,13 +44721,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_initMultiHUD__P298441.info = {"start":4681,"length":393,"line":149,"column":4,"endLine":160,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"initMultiHUD","argumentNames":[]} -info_initMultiHUD__P298441.info = {"start":4681,"length":393,"line":149,"column":4,"endLine":160,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"initMultiHUD","argumentNames":[]} +info_initMultiHUD__P949.info = {"start":4681,"length":393,"line":149,"column":4,"endLine":160,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initMultiHUD","argumentNames":[]} +info_initMultiHUD__P949.info = {"start":4681,"length":393,"line":149,"column":4,"endLine":160,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initMultiHUD","argumentNames":[]} -function info_initMultiHUD__P298441_mk(s) { +function info_initMultiHUD__P949_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initMultiHUD__P298441, depth: s.depth + 1, + parent: s, fn: info_initMultiHUD__P949, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44786,12 +44738,12 @@ function info_initMultiHUD__P298441_mk(s) { tmp_6: undefined, } } -const _hex318757 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100001000000001010000") +const _hex20940 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100001000000001010000") -function info_defaultMultiplayerHeartImage__P298443(s) { +function info_defaultMultiplayerHeartImage__P951(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44801,14 +44753,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___298046); + r0 = pxsim_ImageMethods.isMono(globals.screen___545); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex318761); + r0 = pxsim.image.ofBuffer(_hex20944); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex318763); + r0 = pxsim.image.ofBuffer(_hex20946); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -44816,25 +44768,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_defaultMultiplayerHeartImage__P298443.info = {"start":5678,"length":503,"line":185,"column":4,"endLine":202,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"defaultMultiplayerHeartImage","argumentNames":[]} -info_defaultMultiplayerHeartImage__P298443.info = {"start":5678,"length":503,"line":185,"column":4,"endLine":202,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"defaultMultiplayerHeartImage","argumentNames":[]} +info_defaultMultiplayerHeartImage__P951.info = {"start":5678,"length":503,"line":185,"column":4,"endLine":202,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultMultiplayerHeartImage","argumentNames":[]} +info_defaultMultiplayerHeartImage__P951.info = {"start":5678,"length":503,"line":185,"column":4,"endLine":202,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultMultiplayerHeartImage","argumentNames":[]} -function info_defaultMultiplayerHeartImage__P298443_mk(s) { +function info_defaultMultiplayerHeartImage__P951_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_defaultMultiplayerHeartImage__P298443, depth: s.depth + 1, + parent: s, fn: info_defaultMultiplayerHeartImage__P951, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex318761 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100000110000010000100011000001001000000000000") -const _hex318763 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100002112000010240100411200001001000000000000") +const _hex20944 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100000110000010000100011000001001000000000000") +const _hex20946 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100002112000010240100411200001001000000000000") -function info_initHUD__P298440(s) { +function info_initHUD__P948(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44844,22 +44796,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.infoState___298388); + r0 = pxsim_numops_toBoolDecr(globals.infoState___896); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(info_InfoState__C298385_VT); + r0 = pxsim_pxtcore_mkClassInstance(info_InfoState__C893_VT); s.tmp_0 = r0; - s.tmp_1 = info_InfoState_constructor__P298386_mk(s); + s.tmp_1 = info_InfoState_constructor__P894_mk(s); s.tmp_1.arg0 = s.tmp_0; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - globals.infoState___298388 = (s.tmp_0); - s.tmp_0 = scene_createRenderable__P298587_mk(s); + globals.infoState___896 = (s.tmp_0); + s.tmp_0 = scene_createRenderable__P1095_mk(s); s.tmp_0.arg0 = 100; - s.tmp_0.arg1 = inline__P318771; + s.tmp_0.arg1 = inline__P20954; s.tmp_0.arg2 = undefined; s.pc = 5; return s.tmp_0; case 5: @@ -44869,13 +44821,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_initHUD__P298440.info = {"start":2595,"length":2080,"line":97,"column":4,"endLine":147,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"initHUD","argumentNames":[]} -info_initHUD__P298440.info = {"start":2595,"length":2080,"line":97,"column":4,"endLine":147,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"initHUD","argumentNames":[]} +info_initHUD__P948.info = {"start":2595,"length":2080,"line":97,"column":4,"endLine":147,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initHUD","argumentNames":[]} +info_initHUD__P948.info = {"start":2595,"length":2080,"line":97,"column":4,"endLine":147,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initHUD","argumentNames":[]} -function info_initHUD__P298440_mk(s) { +function info_initHUD__P948_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initHUD__P298440, depth: s.depth + 1, + parent: s, fn: info_initHUD__P948, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44885,7 +44837,7 @@ function info_initHUD__P298440_mk(s) { -function inline__P318771(s) { +function inline__P20954(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44895,12 +44847,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ps___318780 = undefined; - s.p___318801 = undefined; - s.scene___318838 = undefined; - s.elapsed___318841 = undefined; - s.t___318849 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.infoState___298388); + s.ps___20963 = undefined; + s.p___20984 = undefined; + s.scene___21021 = undefined; + s.elapsed___21024 = undefined; + s.t___21032 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.infoState___896); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -44909,36 +44861,36 @@ switch (step) { { step = 23; continue; } case 1: case 2: - r0 = globals.infoState___298388.fields["visibilityFlag"]; + r0 = globals.infoState___896.fields["visibilityFlag"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 16); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = helpers_arrayFilter__P297631_mk(s); - s.tmp_2.arg0 = globals.players___298389; - s.tmp_2.arg1 = inline__P318782; + s.tmp_2 = helpers_arrayFilter__P60_mk(s); + s.tmp_2.arg0 = globals.players___897; + s.tmp_2.arg1 = inline__P20965; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; - s.ps___318780 = (r0); - s.tmp_0 = helpers_arrayForEach__P297630_mk(s); - s.tmp_0.arg0 = s.ps___318780; - s.tmp_0.arg1 = inline__P318791; + s.ps___20963 = (r0); + s.tmp_0 = helpers_arrayForEach__P59_mk(s); + s.tmp_0.arg0 = s.ps___20963; + s.tmp_0.arg1 = inline__P20974; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = helpers_arrayForEach__P297630_mk(s); - s.tmp_0.arg0 = s.ps___318780; - s.tmp_0.arg1 = inline__P318797; + s.tmp_0 = helpers_arrayForEach__P59_mk(s); + s.tmp_0.arg0 = s.ps___20963; + s.tmp_0.arg1 = inline__P20980; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; { step = 12; continue; } case 3: - s.p___318801 = (globals.player1___298496); - s.tmp_1 = info_PlayerInfo_hasScore__P298477_mk(s); - s.tmp_1.arg0 = s.p___318801; + s.p___20984 = (globals.player1___1004); + s.tmp_1 = info_PlayerInfo_hasScore__P985_mk(s); + s.tmp_1.arg0 = s.p___20984; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; @@ -44948,7 +44900,7 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = globals.infoState___298388.fields["visibilityFlag"]; + r0 = globals.infoState___896.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 2); case 5: @@ -44956,15 +44908,15 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 6; continue; } - s.tmp_4 = info_PlayerInfo_drawScore__P298485_mk(s); - s.tmp_4.arg0 = s.p___318801; + s.tmp_4 = info_PlayerInfo_drawScore__P993_mk(s); + s.tmp_4.arg0 = s.p___20984; s.pc = 28; return s.tmp_4; case 28: r0 = s.retval; case 6: case 7: - s.tmp_1 = info_PlayerInfo_hasLife__P298481_mk(s); - s.tmp_1.arg0 = s.p___318801; + s.tmp_1 = info_PlayerInfo_hasLife__P989_mk(s); + s.tmp_1.arg0 = s.p___20984; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; @@ -44974,7 +44926,7 @@ switch (step) { r0 = s.tmp_0; { step = 9; continue; } case 8: - r0 = globals.infoState___298388.fields["visibilityFlag"]; + r0 = globals.infoState___896.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 4); case 9: @@ -44982,21 +44934,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_4 = info_PlayerInfo_drawLives__P298486_mk(s); - s.tmp_4.arg0 = s.p___318801; + s.tmp_4 = info_PlayerInfo_drawLives__P994_mk(s); + s.tmp_4.arg0 = s.p___20984; s.pc = 30; return s.tmp_4; case 30: r0 = s.retval; case 10: case 11: - s.tmp_0 = info_PlayerInfo_raiseLifeZero__P298483_mk(s); - s.tmp_0.arg0 = s.p___318801; + s.tmp_0 = info_PlayerInfo_raiseLifeZero__P991_mk(s); + s.tmp_0.arg0 = s.p___20984; s.tmp_0.arg1 = true; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; case 12: - r0 = globals.infoState___298388.fields["gameEnd"]; + r0 = globals.infoState___896.fields["gameEnd"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); s.tmp_0 = r0; @@ -45005,7 +44957,7 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 13: - r0 = globals.infoState___298388.fields["visibilityFlag"]; + r0 = globals.infoState___896.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 1); case 14: @@ -45013,30 +44965,30 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 21; continue; } - s.tmp_4 = game_currentScene__P298414_mk(s); + s.tmp_4 = game_currentScene__P922_mk(s); s.pc = 32; return s.tmp_4; case 32: r0 = s.retval; - s.scene___318838 = (r0); - r0 = globals.infoState___298388.fields["gameEnd"]; + s.scene___21021 = (r0); + r0 = globals.infoState___896.fields["gameEnd"]; s.tmp_0 = r0; - r0 = s.scene___318838.fields["_millis"]; + r0 = s.scene___21021.fields["_millis"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.elapsed___318841 = (r0); - s.tmp_0 = info_drawTimer__P298469_mk(s); - s.tmp_0.arg0 = s.elapsed___318841; + s.elapsed___21024 = (r0); + s.tmp_0 = info_drawTimer__P977_mk(s); + s.tmp_0.arg0 = s.elapsed___21024; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - r0 = (s.elapsed___318841 / 1000); - s.t___318849 = (r0); - r0 = (s.t___318849 <= 0); + r0 = (s.elapsed___21024 / 1000); + s.t___21032 = (r0); + r0 = (s.t___21032 <= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - s.t___318849 = (0); - r0 = globals.infoState___298388.fields["countdownExpired"]; + s.t___21032 = (0); + r0 = globals.infoState___896.fields["countdownExpired"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -45044,14 +44996,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - r0 = (globals.infoState___298388).fields["countdownExpired"] = (true); - r0 = (globals.infoState___298388).fields["gameEnd"] = (undefined); - r0 = globals.infoState___298388.fields["countdownEndHandler"]; + r0 = (globals.infoState___896).fields["countdownExpired"] = (true); + r0 = (globals.infoState___896).fields["gameEnd"] = (undefined); + r0 = globals.infoState___896.fields["countdownEndHandler"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } s.tmp_1 = if_countdownEndHandler_1_mk(s); - s.tmp_1.arg0 = globals.infoState___298388; + s.tmp_1.arg0 = globals.infoState___896; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "countdownEndHandler"), 1); s.pc = 34; return s.tmp_1; @@ -45065,7 +45017,7 @@ switch (step) { r0 = s.retval; { step = 16; continue; } case 15: - s.tmp_0 = game_over__P298735_mk(s); + s.tmp_0 = game_over__P1243_mk(s); s.tmp_0.arg0 = false; s.tmp_0.arg1 = undefined; s.pc = 35; return s.tmp_0; @@ -45083,31 +45035,31 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P318771.info = {"start":2755,"length":1903,"line":104,"column":12,"endLine":145,"endColumn":13,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":[]} -inline__P318771.info = {"start":2755,"length":1903,"line":104,"column":12,"endLine":145,"endColumn":13,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":[]} +inline__P20954.info = {"start":2755,"length":1903,"line":104,"column":12,"endLine":145,"endColumn":13,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +inline__P20954.info = {"start":2755,"length":1903,"line":104,"column":12,"endLine":145,"endColumn":13,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function inline__P318771_mk(s) { +function inline__P20954_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P318771, depth: s.depth + 1, + parent: s, fn: inline__P20954, 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, - ps___318780: undefined, - p___318801: undefined, - scene___318838: undefined, - elapsed___318841: undefined, - t___318849: undefined, + ps___20963: undefined, + p___20984: undefined, + scene___21021: undefined, + elapsed___21024: undefined, + t___21032: undefined, } } -function inline__P318782(s) { +function inline__P20965(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45131,13 +45083,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P318782.info = {"start":3003,"length":8,"line":109,"column":46,"endLine":109,"endColumn":54,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["p"]} -inline__P318782.info = {"start":3003,"length":8,"line":109,"column":46,"endLine":109,"endColumn":54,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["p"]} +inline__P20965.info = {"start":3003,"length":8,"line":109,"column":46,"endLine":109,"endColumn":54,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +inline__P20965.info = {"start":3003,"length":8,"line":109,"column":46,"endLine":109,"endColumn":54,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function inline__P318782_mk(s) { +function inline__P20965_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P318782, depth: s.depth + 1, + parent: s, fn: inline__P20965, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45149,7 +45101,7 @@ function inline__P318782_mk(s) { -function inline__P318791(s) { +function inline__P20974(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45163,7 +45115,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfo_drawPlayer__P298484_mk(s); + s.tmp_0 = info_PlayerInfo_drawPlayer__P992_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: @@ -45172,13 +45124,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P318791.info = {"start":3087,"length":19,"line":111,"column":31,"endLine":111,"endColumn":50,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["p"]} -inline__P318791.info = {"start":3087,"length":19,"line":111,"column":31,"endLine":111,"endColumn":50,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["p"]} +inline__P20974.info = {"start":3087,"length":19,"line":111,"column":31,"endLine":111,"endColumn":50,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +inline__P20974.info = {"start":3087,"length":19,"line":111,"column":31,"endLine":111,"endColumn":50,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function inline__P318791_mk(s) { +function inline__P20974_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P318791, depth: s.depth + 1, + parent: s, fn: inline__P20974, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -45188,7 +45140,7 @@ function inline__P318791_mk(s) { -function inline__P318797(s) { +function inline__P20980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45202,7 +45154,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfo_raiseLifeZero__P298483_mk(s); + s.tmp_0 = info_PlayerInfo_raiseLifeZero__P991_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.pc = 1; return s.tmp_0; @@ -45212,13 +45164,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P318797.info = {"start":3189,"length":27,"line":113,"column":31,"endLine":113,"endColumn":58,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["p"]} -inline__P318797.info = {"start":3189,"length":27,"line":113,"column":31,"endLine":113,"endColumn":58,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["p"]} +inline__P20980.info = {"start":3189,"length":27,"line":113,"column":31,"endLine":113,"endColumn":58,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +inline__P20980.info = {"start":3189,"length":27,"line":113,"column":31,"endLine":113,"endColumn":58,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function inline__P318797_mk(s) { +function inline__P20980_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P318797, depth: s.depth + 1, + parent: s, fn: inline__P20980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -45228,7 +45180,7 @@ function inline__P318797_mk(s) { -function game_over__P298735(s) { +function game_over__P1243(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45238,29 +45190,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scoreInfo___318886 = undefined; - s.highScore___318890 = undefined; - s.overDialog___318920 = undefined; + s.scoreInfo___21069 = undefined; + s.highScore___21073 = undefined; + s.overDialog___21103 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P298727_mk(s); + s.tmp_0 = game_init__P1235_mk(s); s.tmp_0.arg0 = undefined; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.__isOver___298723); + r0 = pxsim_numops_toBoolDecr(globals.__isOver___1231); if (!r0) { step = 1; continue; } { step = 17; continue; } case 1: case 2: - globals.__isOver___298723 = (true); - r0 = pxsim_numops_toBoolDecr(globals.__gameOverHandler___298721); + globals.__isOver___1231 = (true); + r0 = pxsim_numops_toBoolDecr(globals.__gameOverHandler___1229); if (!r0) { step = 3; continue; } s.tmp_0 = lambda_2_mk(s); - s.tmp_0.argL = globals.__gameOverHandler___298721; + s.tmp_0.argL = globals.__gameOverHandler___1229; s.tmp_0.arg0 = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); s.pc = 19; return s.tmp_0; @@ -45276,85 +45228,85 @@ switch (step) { if (!r0) { step = 6; continue; } r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 4; continue; } - r0 = globals.winEffect___298709; + r0 = globals.winEffect___1217; { step = 5; continue; } case 4: - r0 = globals.loseEffect___298711; + r0 = globals.loseEffect___1219; case 5: // jmp value (already in r0) s.tmp_2 = r0; s.arg1 = (s.tmp_2); case 6: case 7: - s.tmp_0 = info_PlayerInfo_getState__P298472_mk(s); - s.tmp_0.arg0 = globals.player1___298496; + s.tmp_0 = info_PlayerInfo_getState__P980_mk(s); + s.tmp_0.arg0 = globals.player1___1004; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.scoreInfo___318886 = (r0); - s.tmp_0 = info_highScore__P298447_mk(s); + s.scoreInfo___21069 = (r0); + s.tmp_0 = info_highScore__P955_mk(s); s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.highScore___318890 = (r0); - r0 = s.scoreInfo___318886.fields["score"]; + s.highScore___21073 = (r0); + r0 = s.scoreInfo___21069.fields["score"]; s.tmp_1 = r0; - r0 = (s.tmp_1 > s.highScore___318890); + r0 = (s.tmp_1 > s.highScore___21073); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_2 = info_saveHighScore__P298444_mk(s); + s.tmp_2 = info_saveHighScore__P952_mk(s); s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; case 8: case 9: case 10: - s.tmp_0 = r0 = globals._sceneStack___298717; + s.tmp_0 = r0 = globals._sceneStack___1225; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } r0 = s.tmp_0; { step = 12; continue; } case 11: - r0 = pxsim_Array__length(globals._sceneStack___298717); + r0 = pxsim_Array__length(globals._sceneStack___1225); case 12: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 13; continue; } - s.tmp_2 = scene_Scene_destroy__P298638_mk(s); - s.tmp_2.arg0 = globals._scene___298716; + s.tmp_2 = scene_Scene_destroy__P1146_mk(s); + s.tmp_2.arg0 = globals._scene___1224; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; - s.tmp_0 = game_popScene__P298729_mk(s); + s.tmp_0 = game_popScene__P1237_mk(s); s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; { step = 10; continue; } case 13: - s.tmp_0 = game_pushScene__P298728_mk(s); + s.tmp_0 = game_pushScene__P1236_mk(s); s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = scene_setBackgroundImage__P298646_mk(s); - r0 = pxsim_ImageMethods.clone(globals.screen___298046); + s.tmp_0 = scene_setBackgroundImage__P1154_mk(s); + r0 = pxsim_ImageMethods.clone(globals.screen___545); s.tmp_0.arg0 = r0; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 14; continue; } - s.tmp_0 = music_Melody_play__P300223_mk(s); - s.tmp_0.arg0 = globals.winSound___298715; + s.tmp_0 = music_Melody_play__P420_mk(s); + s.tmp_0.arg0 = globals.winSound___1223; s.tmp_0.arg1 = 255; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; { step = 15; continue; } case 14: - s.tmp_0 = music_Melody_play__P300223_mk(s); - s.tmp_0.arg0 = globals.loseSound___298713; + s.tmp_0 = music_Melody_play__P420_mk(s); + s.tmp_0.arg0 = globals.loseSound___1221; s.tmp_0.arg1 = 255; s.pc = 28; return s.tmp_0; case 28: @@ -45373,44 +45325,44 @@ switch (step) { } case 29: r0 = s.retval; - s.tmp_0 = pause__P297860_mk(s); + s.tmp_0 = pause__P289_mk(s); s.tmp_0.arg0 = 400; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(game_GameOverDialog__C298689_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_GameOverDialog__C1197_VT); s.tmp_0 = r0; - s.tmp_1 = game_GameOverDialog_constructor__P298694_mk(s); + s.tmp_1 = game_GameOverDialog_constructor__P1202_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - r0 = s.scoreInfo___318886.fields["score"]; + r0 = s.scoreInfo___21069.fields["score"]; s.tmp_1.arg2 = r0; - s.tmp_1.arg3 = s.highScore___318890; + s.tmp_1.arg3 = s.highScore___21073; s.pc = 31; return s.tmp_1; case 31: r0 = s.retval; - s.overDialog___318920 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(1, inline__P318930); + s.overDialog___21103 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(1, inline__P21113); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overDialog___318920); - s.tmp_1 = scene_createRenderable__P298587_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overDialog___21103); + s.tmp_1 = scene_createRenderable__P1095_mk(s); s.tmp_1.arg0 = 100; s.tmp_1.arg1 = s.tmp_0; s.tmp_1.arg2 = undefined; s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; - s.tmp_0 = pause__P297860_mk(s); + s.tmp_0 = pause__P289_mk(s); s.tmp_0.arg0 = 500; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = game_GameOverDialog_displayCursor__P298691_mk(s); - s.tmp_0.arg0 = s.overDialog___318920; + s.tmp_0 = game_GameOverDialog_displayCursor__P1199_mk(s); + s.tmp_0.arg0 = s.overDialog___21103; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.tmp_0 = game_waitAnyButton__P298725_mk(s); + s.tmp_0 = game_waitAnyButton__P1233_mk(s); s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; @@ -45426,20 +45378,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_over__P298735.info = {"start":5382,"length":1776,"line":181,"column":4,"endLine":232,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"over","argumentNames":["win","effect"]} -game_over__P298735.info = {"start":5382,"length":1776,"line":181,"column":4,"endLine":232,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"over","argumentNames":["win","effect"]} +game_over__P1243.info = {"start":5382,"length":1776,"line":181,"column":4,"endLine":232,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"over","argumentNames":["win","effect"]} +game_over__P1243.info = {"start":5382,"length":1776,"line":181,"column":4,"endLine":232,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"over","argumentNames":["win","effect"]} -function game_over__P298735_mk(s) { +function game_over__P1243_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_over__P298735, depth: s.depth + 1, + parent: s, fn: game_over__P1243, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scoreInfo___318886: undefined, - highScore___318890: undefined, - overDialog___318920: undefined, + scoreInfo___21069: undefined, + highScore___21073: undefined, + overDialog___21103: undefined, arg0: undefined, arg1: undefined, } } @@ -45448,7 +45400,7 @@ function game_over__P298735_mk(s) { -function inline__P318930(s) { +function inline__P21113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45462,9 +45414,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_GameOverDialog__C298689_v0_1_mk(s); + s.tmp_0 = game_GameOverDialog__C1197_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C298689_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C1197_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 1; return s.tmp_0; case 1: @@ -45472,7 +45424,7 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.caps[0].fields["image"]; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___298046); + r0 = pxsim_ImageMethods.height(globals.screen___545); s.tmp_4 = r0; r0 = s.caps[0].fields["image"]; s.tmp_6 = r0; @@ -45487,13 +45439,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P318930.info = {"start":6721,"length":256,"line":218,"column":48,"endLine":225,"endColumn":13,"fileName":"pxt_modules/game---hw/game.ts","functionName":"inline","argumentNames":["target"]} -inline__P318930.info = {"start":6721,"length":256,"line":218,"column":48,"endLine":225,"endColumn":13,"fileName":"pxt_modules/game---hw/game.ts","functionName":"inline","argumentNames":["target"]} +inline__P21113.info = {"start":6721,"length":256,"line":218,"column":48,"endLine":225,"endColumn":13,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["target"]} +inline__P21113.info = {"start":6721,"length":256,"line":218,"column":48,"endLine":225,"endColumn":13,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["target"]} -function inline__P318930_mk(s) { +function inline__P21113_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P318930, depth: s.depth + 1, + parent: s, fn: inline__P21113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45509,7 +45461,59 @@ function inline__P318930_mk(s) { -function music_Melody_play__P300223(s) { +function scene_Scene_destroy__P1146(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__C1141_VT)) failedCast(r0); + r0 = (s.arg0).fields["eventContext"] = (undefined); + r0 = (s.arg0).fields["background"] = (undefined); + r0 = (s.arg0).fields["tileMap"] = (undefined); + r0 = (s.arg0).fields["allSprites"] = (undefined); + r0 = (s.arg0).fields["spriteNextId"] = (undefined); + r0 = (s.arg0).fields["spritesByKind"] = (undefined); + r0 = (s.arg0).fields["physicsEngine"] = (undefined); + r0 = (s.arg0).fields["camera"] = (undefined); + r0 = (s.arg0).fields["flags"] = (undefined); + r0 = (s.arg0).fields["destroyedHandlers"] = (undefined); + r0 = (s.arg0).fields["createdHandlers"] = (undefined); + r0 = (s.arg0).fields["overlapHandlers"] = (undefined); + r0 = (s.arg0).fields["tileOverlapHandlers"] = (undefined); + r0 = (s.arg0).fields["collisionHandlers"] = (undefined); + r0 = (s.arg0).fields["wallCollisionHandlers"] = (undefined); + r0 = (s.arg0).fields["gameForeverHandlers"] = (undefined); + r0 = (s.arg0).fields["_data"] = (undefined); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +scene_Scene_destroy__P1146.info = {"start":6550,"length":764,"line":185,"column":8,"endLine":203,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"destroy","argumentNames":["this"]} +scene_Scene_destroy__P1146.info = {"start":6550,"length":764,"line":185,"column":8,"endLine":203,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"destroy","argumentNames":["this"]} + +function scene_Scene_destroy__P1146_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: scene_Scene_destroy__P1146, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + arg0: undefined, +} } + + + + + +function music_Melody_play__P420(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45525,8 +45529,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C300215_VT)) failedCast(r0); - s.tmp_0 = music_Melody_playCore__P300221_mk(s); + if (!checkSubtype(r0, music_Melody__C412_VT)) failedCast(r0); + s.tmp_0 = music_Melody_playCore__P418_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = false; @@ -45537,13 +45541,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_play__P300223.info = {"start":8825,"length":71,"line":277,"column":8,"endLine":279,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"play","argumentNames":["this","volume"]} -music_Melody_play__P300223.info = {"start":8825,"length":71,"line":277,"column":8,"endLine":279,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"play","argumentNames":["this","volume"]} +music_Melody_play__P420.info = {"start":8825,"length":71,"line":277,"column":8,"endLine":279,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} +music_Melody_play__P420.info = {"start":8825,"length":71,"line":277,"column":8,"endLine":279,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} -function music_Melody_play__P300223_mk(s) { +function music_Melody_play__P420_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_play__P300223, depth: s.depth + 1, + parent: s, fn: music_Melody_play__P420, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -45554,7 +45558,7 @@ function music_Melody_play__P300223_mk(s) { -function music_Melody_playCore__P300221(s) { +function music_Melody_playCore__P418(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45564,7 +45568,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.p___318962 = undefined; + s.p___21145 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -45572,31 +45576,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C300215_VT)) failedCast(r0); - s.tmp_0 = music_Melody_stop__P300218_mk(s); + if (!checkSubtype(r0, music_Melody__C412_VT)) failedCast(r0); + s.tmp_0 = music_Melody_stop__P415_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayer__C300229_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayer__C426_VT); s.tmp_0 = r0; - s.tmp_1 = music_MelodyPlayer_constructor__P300232_mk(s); + s.tmp_1 = music_MelodyPlayer_constructor__P429_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; r0 = (s.arg0).fields["_player"] = (s.tmp_0); - s.p___318962 = (s.tmp_0); - s.tmp_0 = music_Melody_registerMelody__P300219_mk(s); + s.p___21145 = (s.tmp_0); + s.tmp_0 = music_Melody_registerMelody__P416_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(4, inline__P318972); + r0 = pxsim_pxtcore_mkAction(4, inline__P21155); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.p___318962); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.p___21145); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.arg2); r0 = pxsim.control.runInParallel(s.tmp_0); @@ -45604,17 +45608,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_playCore__P300221.info = {"start":7649,"length":434,"line":241,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"playCore","argumentNames":["this","volume","loop"]} -music_Melody_playCore__P300221.info = {"start":7649,"length":434,"line":241,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"playCore","argumentNames":["this","volume","loop"]} +music_Melody_playCore__P418.info = {"start":7649,"length":434,"line":241,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playCore","argumentNames":["this","volume","loop"]} +music_Melody_playCore__P418.info = {"start":7649,"length":434,"line":241,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playCore","argumentNames":["this","volume","loop"]} -function music_Melody_playCore__P300221_mk(s) { +function music_Melody_playCore__P418_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_playCore__P300221, depth: s.depth + 1, + parent: s, fn: music_Melody_playCore__P418, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - p___318962: undefined, + p___21145: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -45624,7 +45628,7 @@ function music_Melody_playCore__P300221_mk(s) { -function inline__P318972(s) { +function inline__P21155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45641,7 +45645,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = music_MelodyPlayer_play__P300231_mk(s); + s.tmp_2 = music_MelodyPlayer_play__P428_mk(s); s.tmp_2.arg0 = s.caps[1]; s.tmp_2.arg1 = s.caps[2]; s.pc = 5; return s.tmp_2; @@ -45658,7 +45662,7 @@ switch (step) { case 3: { step = 1; continue; } case 4: - s.tmp_2 = music_Melody_unregisterMelody__P300220_mk(s); + s.tmp_2 = music_Melody_unregisterMelody__P417_mk(s); s.tmp_2.arg0 = s.caps[0]; s.pc = 6; return s.tmp_2; case 6: @@ -45667,13 +45671,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P318972.info = {"start":7852,"length":220,"line":245,"column":34,"endLine":252,"endColumn":13,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"inline","argumentNames":[]} -inline__P318972.info = {"start":7852,"length":220,"line":245,"column":34,"endLine":252,"endColumn":13,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"inline","argumentNames":[]} +inline__P21155.info = {"start":7852,"length":220,"line":245,"column":34,"endLine":252,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P21155.info = {"start":7852,"length":220,"line":245,"column":34,"endLine":252,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P318972_mk(s) { +function inline__P21155_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P318972, depth: s.depth + 1, + parent: s, fn: inline__P21155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45684,7 +45688,7 @@ function inline__P318972_mk(s) { -function music_MelodyPlayer_constructor__P300232(s) { +function music_MelodyPlayer_constructor__P429(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45700,19 +45704,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C300229_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C426_VT)) failedCast(r0); r0 = (s.arg0).fields["melody"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayer_constructor__P300232.info = {"start":10674,"length":62,"line":328,"column":8,"endLine":330,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"inline","argumentNames":["this","m"]} -music_MelodyPlayer_constructor__P300232.info = {"start":10674,"length":62,"line":328,"column":8,"endLine":330,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"inline","argumentNames":["this","m"]} +music_MelodyPlayer_constructor__P429.info = {"start":10674,"length":62,"line":328,"column":8,"endLine":330,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","m"]} +music_MelodyPlayer_constructor__P429.info = {"start":10674,"length":62,"line":328,"column":8,"endLine":330,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","m"]} -function music_MelodyPlayer_constructor__P300232_mk(s) { +function music_MelodyPlayer_constructor__P429_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_constructor__P300232, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_constructor__P429, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -45722,7 +45726,7 @@ function music_MelodyPlayer_constructor__P300232_mk(s) { -function music_MelodyPlayer_play__P300231(s) { +function music_MelodyPlayer_play__P428(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45732,46 +45736,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.notes___319002 = undefined; - s.pos___319006 = undefined; - s.duration___319007 = undefined; - s.octave___319008 = undefined; - s.tempo___319009 = undefined; - s.hz___319010 = undefined; - s.endHz___319011 = undefined; - s.ms___319014 = undefined; - s.timePos___319015 = undefined; - s.startTime___319016 = undefined; - s.now___319019 = undefined; - s.envA___319020 = undefined; - s.envD___319021 = undefined; - s.envS___319022 = undefined; - s.envR___319023 = undefined; - s.soundWave___319024 = undefined; - s.sndInstr___319025 = undefined; - s.sndInstrPtr___319031 = undefined; - s.addForm___319032 = undefined; - s.scanNextWord___319092 = undefined; - s.token___319149 = undefined; - s.tokenKind___319150 = undefined; - s.consumeToken___319153 = undefined; - s.currNote___319228 = undefined; - s.prevNote___319230 = undefined; - s.timeLeft___319233 = undefined; - s.note___319248 = undefined; - s.i___319252 = undefined; - s.noteChar___319258 = undefined; - s.keyNumber___319333 = undefined; - s.currMs___319350 = undefined; - s.beat___319354 = undefined; - s.timeLeft___319412 = undefined; + s.notes___21185 = undefined; + s.pos___21189 = undefined; + s.duration___21190 = undefined; + s.octave___21191 = undefined; + s.tempo___21192 = undefined; + s.hz___21193 = undefined; + s.endHz___21194 = undefined; + s.ms___21197 = undefined; + s.timePos___21198 = undefined; + s.startTime___21199 = undefined; + s.now___21202 = undefined; + s.envA___21203 = undefined; + s.envD___21204 = undefined; + s.envS___21205 = undefined; + s.envR___21206 = undefined; + s.soundWave___21207 = undefined; + s.sndInstr___21208 = undefined; + s.sndInstrPtr___21214 = undefined; + s.addForm___21215 = undefined; + s.scanNextWord___21275 = undefined; + s.token___21332 = undefined; + s.tokenKind___21333 = undefined; + s.consumeToken___21336 = undefined; + s.currNote___21411 = undefined; + s.prevNote___21413 = undefined; + s.timeLeft___21416 = undefined; + s.note___21431 = undefined; + s.i___21435 = undefined; + s.noteChar___21441 = undefined; + s.keyNumber___21516 = undefined; + s.currMs___21533 = undefined; + s.beat___21537 = undefined; + s.timeLeft___21595 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C300229_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C426_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -45788,12 +45792,12 @@ switch (step) { case 1: case 2: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_clamp__P297643_mk(s); + s.tmp_6 = Math_clamp__P72_mk(s); s.tmp_6.arg0 = 0; s.tmp_6.arg1 = 255; r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_8 = r0; - s.tmp_10 = music_volume__P300207_mk(s); + s.tmp_10 = music_volume__P404_mk(s); s.pc = 61; return s.tmp_10; case 61: r0 = s.retval; @@ -45809,121 +45813,121 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_4, s.tmp_5); r0 = s.arg0.fields["melody"]; r0 = r0.fields["_text"]; - s.notes___319002 = (r0); + s.notes___21185 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.pos___319006 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pos___319006, 0); + s.pos___21189 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pos___21189, 0); r0 = pxsim_pxtrt.mklocRef(); - s.duration___319007 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.duration___319007, 4); + s.duration___21190 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.duration___21190, 4); r0 = pxsim_pxtrt.mklocRef(); - s.octave___319008 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.octave___319008, 4); + s.octave___21191 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.octave___21191, 4); r0 = pxsim_pxtrt.mklocRef(); - s.tempo___319009 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.tempo___319009, 120); + s.tempo___21192 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.tempo___21192, 120); r0 = pxsim_pxtrt.mklocRef(); - s.hz___319010 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.hz___319010, 0); + s.hz___21193 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.hz___21193, 0); r0 = pxsim_pxtrt.mklocRef(); - s.endHz___319011 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.endHz___319011, -1); + s.endHz___21194 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.endHz___21194, -1); r0 = pxsim_pxtrt.mklocRef(); - s.ms___319014 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.ms___319014, 0); - s.timePos___319015 = (0); + s.ms___21197 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.ms___21197, 0); + s.timePos___21198 = (0); r0 = pxsim.control.millis(); - s.startTime___319016 = (r0); - s.now___319019 = (0); + s.startTime___21199 = (r0); + s.now___21202 = (0); r0 = pxsim_pxtrt.mklocRef(); - s.envA___319020 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envA___319020, 0); + s.envA___21203 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envA___21203, 0); r0 = pxsim_pxtrt.mklocRef(); - s.envD___319021 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envD___319021, 0); + s.envD___21204 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envD___21204, 0); r0 = pxsim_pxtrt.mklocRef(); - s.envS___319022 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envS___319022, 255); + s.envS___21205 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envS___21205, 255); r0 = pxsim_pxtrt.mklocRef(); - s.envR___319023 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envR___319023, 0); + s.envR___21206 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envR___21206, 0); r0 = pxsim_pxtrt.mklocRef(); - s.soundWave___319024 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.soundWave___319024, 1); + s.soundWave___21207 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.soundWave___21207, 1); r0 = pxsim.control.createBuffer(60); - s.sndInstr___319025 = (r0); + s.sndInstr___21208 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.sndInstrPtr___319031 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___319031, 0); - r0 = pxsim_pxtcore_mkAction(10, inline__P319033); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hz___319010); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.endHz___319011); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.ms___319014); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___319007); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.tempo___319009); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.envR___319023); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.sndInstrPtr___319031); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.sndInstr___319025); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.soundWave___319024); + s.sndInstrPtr___21214 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___21214, 0); + r0 = pxsim_pxtcore_mkAction(10, inline__P21216); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hz___21193); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.endHz___21194); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.ms___21197); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___21190); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.tempo___21192); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.envR___21206); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.sndInstrPtr___21214); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.sndInstr___21208); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.soundWave___21207); r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.arg1); - s.addForm___319032 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, inline__P319093); + s.addForm___21215 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, inline__P21276); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pos___319006); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.notes___319002); - s.scanNextWord___319092 = (s.tmp_0); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pos___21189); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.notes___21185); + s.scanNextWord___21275 = (s.tmp_0); r0 = pxsim_pxtrt.mklocRef(); - s.token___319149 = (r0); - s.tmp_0 = r0 = s.token___319149; + s.token___21332 = (r0); + s.tmp_0 = r0 = s.token___21332; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.tokenKind___319150 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___319150, 0); - r0 = pxsim_pxtcore_mkAction(13, inline__P319154); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.token___319149); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tokenKind___319150); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.octave___319008); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___319007); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.ms___319014); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.tempo___319009); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.hz___319010); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.soundWave___319024); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.envA___319020); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.envD___319021); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.envS___319022); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.envR___319023); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.endHz___319011); - s.consumeToken___319153 = (s.tmp_0); + s.tokenKind___21333 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___21333, 0); + r0 = pxsim_pxtcore_mkAction(13, inline__P21337); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.token___21332); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tokenKind___21333); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.octave___21191); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___21190); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.ms___21197); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.tempo___21192); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.hz___21193); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.soundWave___21207); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.envA___21203); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.envD___21204); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.envS___21205); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.envR___21206); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.endHz___21194); + s.consumeToken___21336 = (s.tmp_0); case 3: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 58; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.scanNextWord___319092; + s.tmp_0.argL = s.scanNextWord___21275; setupLambda(s.tmp_0, s.tmp_0.argL); s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; - s.currNote___319228 = (r0); - s.prevNote___319230 = (false); - r0 = pxsim_numops_toBoolDecr(s.currNote___319228); + s.currNote___21411 = (r0); + s.prevNote___21413 = (false); + r0 = pxsim_numops_toBoolDecr(s.currNote___21411); 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 = 8; continue; } - r0 = (s.timePos___319015 - s.now___319019); - s.timeLeft___319233 = (r0); - r0 = (s.timeLeft___319233 > 0); + r0 = (s.timePos___21198 - s.now___21202); + s.timeLeft___21416 = (r0); + r0 = (s.timeLeft___21416 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = pause__P297860_mk(s); - s.tmp_1.arg0 = s.timeLeft___319233; + s.tmp_1 = pause__P289_mk(s); + s.tmp_1.arg0 = s.timeLeft___21416; s.pc = 63; return s.tmp_1; case 63: r0 = s.retval; @@ -45951,25 +45955,25 @@ switch (step) { { step = 59; continue; } case 8: case 9: - r0 = pxsim_pxtrt_stlocRef(s.hz___319010, -1); - s.note___319248 = (0); - s.tmp_0 = r0 = s.token___319149; + r0 = pxsim_pxtrt_stlocRef(s.hz___21193, -1); + s.note___21431 = (0); + s.tmp_0 = r0 = s.token___21332; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___319150, 0); - s.i___319252 = (0); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___21333, 0); + s.i___21435 = (0); case 10: - s.tmp_1 = r0 = s.i___319252; - r0 = pxsim_String_.length(s.currNote___319228); + s.tmp_1 = r0 = s.i___21435; + r0 = pxsim_String_.length(s.currNote___21411); 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 = 41; continue; } - r0 = pxsim_String_.charAt(s.currNote___319228, s.i___319252); - s.noteChar___319258 = (r0); - s.tmp_0 = r0 = s.noteChar___319258; + r0 = pxsim_String_.charAt(s.currNote___21411, s.i___21435); + s.noteChar___21441 = (r0); + s.tmp_0 = r0 = s.noteChar___21441; r0 = pxsim_pxtcore.switch_eq("c", s.tmp_0); if (r0) { step = 11; continue; } r0 = pxsim_pxtcore.switch_eq("C", s.tmp_0); @@ -46022,133 +46026,133 @@ switch (step) { { step = 37; continue; } case 11: case 12: - s.note___319248 = (1); - s.prevNote___319230 = (true); + s.note___21431 = (1); + s.prevNote___21413 = (true); { step = 40; continue; } case 13: case 14: - s.note___319248 = (3); - s.prevNote___319230 = (true); + s.note___21431 = (3); + s.prevNote___21413 = (true); { step = 40; continue; } case 15: case 16: - s.note___319248 = (5); - s.prevNote___319230 = (true); + s.note___21431 = (5); + s.prevNote___21413 = (true); { step = 40; continue; } case 17: case 18: - s.note___319248 = (6); - s.prevNote___319230 = (true); + s.note___21431 = (6); + s.prevNote___21413 = (true); { step = 40; continue; } case 19: case 20: - s.note___319248 = (8); - s.prevNote___319230 = (true); + s.note___21431 = (8); + s.prevNote___21413 = (true); { step = 40; continue; } case 21: case 22: - s.note___319248 = (10); - s.prevNote___319230 = (true); + s.note___21431 = (10); + s.prevNote___21413 = (true); { step = 40; continue; } case 23: - s.note___319248 = (12); - s.prevNote___319230 = (true); + s.note___21431 = (12); + s.prevNote___21413 = (true); { step = 40; continue; } case 24: case 25: - r0 = pxsim_pxtrt_stlocRef(s.hz___319010, 0); - s.prevNote___319230 = (false); + r0 = pxsim_pxtrt_stlocRef(s.hz___21193, 0); + s.prevNote___21413 = (false); { step = 40; continue; } case 26: - r0 = (s.note___319248 + 1); - s.note___319248 = (r0); - s.prevNote___319230 = (false); + r0 = (s.note___21431 + 1); + s.note___21431 = (r0); + s.prevNote___21413 = (false); { step = 40; continue; } case 27: - r0 = pxsim_numops_toBoolDecr(s.prevNote___319230); + r0 = pxsim_numops_toBoolDecr(s.prevNote___21413); if (!r0) { step = 28; continue; } - r0 = (s.note___319248 - 1); - s.note___319248 = (r0); + r0 = (s.note___21431 - 1); + s.note___21431 = (r0); { step = 29; continue; } case 28: - s.note___319248 = (12); - s.prevNote___319230 = (true); + s.note___21431 = (12); + s.prevNote___21413 = (true); case 29: { step = 40; continue; } case 30: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___319153; + s.tmp_0.argL = s.consumeToken___21336; setupLambda(s.tmp_0, s.tmp_0.argL); s.pc = 65; return s.tmp_0; case 65: r0 = s.retval; - s.prevNote___319230 = (false); + s.prevNote___21413 = (false); { step = 40; continue; } case 31: - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___319150, 4); - s.prevNote___319230 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___21333, 4); + s.prevNote___21413 = (false); { step = 40; continue; } case 32: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___319153; + s.tmp_0.argL = s.consumeToken___21336; setupLambda(s.tmp_0, s.tmp_0.argL); s.pc = 66; return s.tmp_0; case 66: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___319150, 8); - s.prevNote___319230 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___21333, 8); + s.prevNote___21413 = (false); { step = 40; continue; } case 33: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___319153; + s.tmp_0.argL = s.consumeToken___21336; setupLambda(s.tmp_0, s.tmp_0.argL); s.pc = 67; return s.tmp_0; case 67: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___319150, 7); - s.prevNote___319230 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___21333, 7); + s.prevNote___21413 = (false); { step = 40; continue; } case 34: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___319153; + s.tmp_0.argL = s.consumeToken___21336; setupLambda(s.tmp_0, s.tmp_0.argL); s.pc = 68; return s.tmp_0; case 68: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___319150, 2); - s.prevNote___319230 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___21333, 2); + s.prevNote___21413 = (false); { step = 40; continue; } case 35: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___319153; + s.tmp_0.argL = s.consumeToken___21336; setupLambda(s.tmp_0, s.tmp_0.argL); s.pc = 69; return s.tmp_0; case 69: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___319150, 3); - s.prevNote___319230 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___21333, 3); + s.prevNote___21413 = (false); { step = 40; continue; } case 36: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___319153; + s.tmp_0.argL = s.consumeToken___21336; setupLambda(s.tmp_0, s.tmp_0.argL); s.pc = 70; return s.tmp_0; case 70: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___319150, 5); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___21333, 5); { step = 40; continue; } case 37: - r0 = pxsim_pxtrt_ldlocRef(s.tokenKind___319150); + r0 = pxsim_pxtrt_ldlocRef(s.tokenKind___21333); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 38; continue; } - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___319150, 1); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___21333, 1); case 38: case 39: - s.tmp_0 = r0 = s.token___319149; - r0 = pxsim_pxtrt_ldlocRef(s.token___319149); + s.tmp_0 = r0 = s.token___21332; + r0 = pxsim_pxtrt_ldlocRef(s.token___21332); s.tmp_3 = r0; if ((s.tmp_3) && (s.tmp_3).vtable) { setupResume(s, 71); @@ -46159,37 +46163,37 @@ switch (step) { case 71: r0 = s.retval; s.tmp_2 = r0; - if ((s.noteChar___319258) && (s.noteChar___319258).vtable) { + if ((s.noteChar___21441) && (s.noteChar___21441).vtable) { setupResume(s, 72); - pxsim_String__stringConv(s.noteChar___319258); + pxsim_String__stringConv(s.noteChar___21441); checkResumeConsumed(); return; - } else { s.retval = (s.noteChar___319258) + ""; } + } else { s.retval = (s.noteChar___21441) + ""; } case 72: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_2, s.tmp_4); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - s.prevNote___319230 = (false); + s.prevNote___21413 = (false); case 40: - r0 = (s.i___319252 + 1); - s.i___319252 = (r0); + r0 = (s.i___21435 + 1); + s.i___21435 = (r0); { step = 10; continue; } case 41: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___319153; + s.tmp_0.argL = s.consumeToken___21336; setupLambda(s.tmp_0, s.tmp_0.argL); s.pc = 73; return s.tmp_0; case 73: r0 = s.retval; - s.tmp_0 = r0 = s.note___319248; + s.tmp_0 = r0 = s.note___21431; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 42; continue; } r0 = s.tmp_0; { step = 43; continue; } case 42: - r0 = pxsim_pxtrt_ldlocRef(s.hz___319010); + r0 = pxsim_pxtrt_ldlocRef(s.hz___21193); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); case 43: @@ -46197,17 +46201,17 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 46; continue; } - s.tmp_3 = r0 = s.note___319248; - r0 = pxsim_pxtrt_ldlocRef(s.octave___319008); + s.tmp_3 = r0 = s.note___21431; + r0 = pxsim_pxtrt_ldlocRef(s.octave___21191); s.tmp_6 = r0; r0 = (s.tmp_6 - 1); s.tmp_5 = r0; r0 = (12 * s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); - s.keyNumber___319333 = (r0); - s.tmp_1 = r0 = globals.freqs___300196; - r0 = (s.keyNumber___319333 * 2); + s.keyNumber___21516 = (r0); + s.tmp_1 = r0 = globals.freqs___393; + r0 = (s.keyNumber___21516 * 2); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 4, s.tmp_2); s.tmp_0 = r0; @@ -46220,26 +46224,26 @@ switch (step) { case 45: // jmp value (already in r0) s.tmp_3 = r0; - r0 = pxsim_pxtrt_stlocRef(s.hz___319010, s.tmp_3); + r0 = pxsim_pxtrt_stlocRef(s.hz___21193, s.tmp_3); case 46: case 47: - r0 = pxsim_pxtrt_ldlocRef(s.ms___319014); - s.currMs___319350 = (r0); - r0 = (s.currMs___319350 <= 0); + r0 = pxsim_pxtrt_ldlocRef(s.ms___21197); + s.currMs___21533 = (r0); + r0 = (s.currMs___21533 <= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } - r0 = pxsim_pxtrt_ldlocRef(s.tempo___319009); + r0 = pxsim_pxtrt_ldlocRef(s.tempo___21192); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(15000, s.tmp_1); - s.beat___319354 = (r0); - r0 = pxsim_pxtrt_ldlocRef(s.duration___319007); + s.beat___21537 = (r0); + r0 = pxsim_pxtrt_ldlocRef(s.duration___21190); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.beat___319354); - s.currMs___319350 = (r0); + r0 = (s.tmp_0 * s.beat___21537); + s.currMs___21533 = (r0); case 48: case 49: - r0 = pxsim_pxtrt_ldlocRef(s.hz___319010); + r0 = pxsim_pxtrt_ldlocRef(s.hz___21193); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -46247,32 +46251,32 @@ switch (step) { if (!r0) { step = 50; continue; } { step = 55; continue; } case 50: - r0 = pxsim_pxtrt_ldlocRef(s.hz___319010); + r0 = pxsim_pxtrt_ldlocRef(s.hz___21193); s.tmp_3 = r0; r0 = (s.tmp_3 == 0); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 51; continue; } - r0 = (s.timePos___319015 + s.currMs___319350); - s.timePos___319015 = (r0); + r0 = (s.timePos___21198 + s.currMs___21533); + s.timePos___21198 = (r0); { step = 54; continue; } case 51: - r0 = pxsim_pxtrt_ldlocRef(s.endHz___319011); + r0 = pxsim_pxtrt_ldlocRef(s.endHz___21194); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 52; continue; } - s.tmp_2 = r0 = s.endHz___319011; - r0 = pxsim_pxtrt_ldlocRef(s.hz___319010); + s.tmp_2 = r0 = s.endHz___21194; + r0 = pxsim_pxtrt_ldlocRef(s.hz___21193); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); case 52: case 53: - r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___319031, 0); + r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___21214, 0); s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___319032; - r0 = pxsim_pxtrt_ldlocRef(s.envA___319020); + s.tmp_0.argL = s.addForm___21215; + r0 = pxsim_pxtrt_ldlocRef(s.envA___21203); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 255; @@ -46282,36 +46286,36 @@ switch (step) { case 74: r0 = s.retval; s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___319032; - r0 = pxsim_pxtrt_ldlocRef(s.envD___319021); + s.tmp_0.argL = s.addForm___21215; + r0 = pxsim_pxtrt_ldlocRef(s.envD___21204); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 255; - r0 = pxsim_pxtrt_ldlocRef(s.envS___319022); + r0 = pxsim_pxtrt_ldlocRef(s.envS___21205); s.tmp_0.arg2 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envA___319020); + r0 = pxsim_pxtrt_ldlocRef(s.envA___21203); s.tmp_0.arg3 = r0; setupLambda(s.tmp_0, s.tmp_0.argL); s.pc = 75; return s.tmp_0; case 75: r0 = s.retval; s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___319032; - s.tmp_1 = r0 = s.currMs___319350; - r0 = pxsim_pxtrt_ldlocRef(s.envA___319020); + s.tmp_0.argL = s.addForm___21215; + s.tmp_1 = r0 = s.currMs___21533; + r0 = pxsim_pxtrt_ldlocRef(s.envA___21203); s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envD___319021); + r0 = pxsim_pxtrt_ldlocRef(s.envD___21204); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___319022); + r0 = pxsim_pxtrt_ldlocRef(s.envS___21205); s.tmp_0.arg1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___319022); + r0 = pxsim_pxtrt_ldlocRef(s.envS___21205); s.tmp_0.arg2 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envD___319021); + r0 = pxsim_pxtrt_ldlocRef(s.envD___21204); s.tmp_5 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envA___319020); + r0 = pxsim_pxtrt_ldlocRef(s.envA___21203); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; @@ -46320,46 +46324,46 @@ switch (step) { case 76: r0 = s.retval; s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___319032; - r0 = pxsim_pxtrt_ldlocRef(s.envR___319023); + s.tmp_0.argL = s.addForm___21215; + r0 = pxsim_pxtrt_ldlocRef(s.envR___21206); s.tmp_0.arg0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___319022); + r0 = pxsim_pxtrt_ldlocRef(s.envS___21205); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = s.currMs___319350; + s.tmp_0.arg3 = s.currMs___21533; setupLambda(s.tmp_0, s.tmp_0.argL); s.pc = 77; return s.tmp_0; case 77: r0 = s.retval; - r0 = (s.timePos___319015 - s.now___319019); + r0 = (s.timePos___21198 - s.now___21202); s.tmp_0 = r0; - s.tmp_2 = r0 = s.sndInstr___319025; - r0 = pxsim_pxtrt_ldlocRef(s.sndInstrPtr___319031); + s.tmp_2 = r0 = s.sndInstr___21208; + r0 = pxsim_pxtrt_ldlocRef(s.sndInstrPtr___21214); s.tmp_3 = r0; r0 = pxsim.BufferMethods.slice(s.tmp_2, 0, s.tmp_3); s.tmp_1 = r0; r0 = pxsim.music.queuePlayInstructions(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_stlocRef(s.endHz___319011, -1); - r0 = (s.timePos___319015 + s.currMs___319350); - s.timePos___319015 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.endHz___21194, -1); + r0 = (s.timePos___21198 + s.currMs___21533); + s.timePos___21198 = (r0); case 54: case 55: - r0 = (s.timePos___319015 - s.now___319019); - s.timeLeft___319412 = (r0); - r0 = (s.timeLeft___319412 > 200); + r0 = (s.timePos___21198 - s.now___21202); + s.timeLeft___21595 = (r0); + r0 = (s.timeLeft___21595 > 200); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 56; continue; } - s.tmp_1 = pause__P297860_mk(s); - r0 = (s.timeLeft___319412 - 100); + s.tmp_1 = pause__P289_mk(s); + r0 = (s.timeLeft___21595 - 100); s.tmp_1.arg0 = r0; s.pc = 78; return s.tmp_1; case 78: r0 = s.retval; r0 = pxsim.control.millis(); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.startTime___319016); - s.now___319019 = (r0); + r0 = (s.tmp_0 - s.startTime___21199); + s.now___21202 = (r0); case 56: case 57: { step = 3; continue; } @@ -46369,13 +46373,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_MelodyPlayer_play__P300231.info = {"start":10805,"length":9001,"line":336,"column":8,"endLine":567,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"play","argumentNames":["this","volume"]} -music_MelodyPlayer_play__P300231.info = {"start":10805,"length":9001,"line":336,"column":8,"endLine":567,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"play","argumentNames":["this","volume"]} +music_MelodyPlayer_play__P428.info = {"start":10805,"length":9001,"line":336,"column":8,"endLine":567,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} +music_MelodyPlayer_play__P428.info = {"start":10805,"length":9001,"line":336,"column":8,"endLine":567,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} -function music_MelodyPlayer_play__P300231_mk(s) { +function music_MelodyPlayer_play__P428_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_play__P300231, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_play__P428, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46388,39 +46392,39 @@ function music_MelodyPlayer_play__P300231_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - notes___319002: undefined, - pos___319006: undefined, - duration___319007: undefined, - octave___319008: undefined, - tempo___319009: undefined, - hz___319010: undefined, - endHz___319011: undefined, - ms___319014: undefined, - timePos___319015: undefined, - startTime___319016: undefined, - now___319019: undefined, - envA___319020: undefined, - envD___319021: undefined, - envS___319022: undefined, - envR___319023: undefined, - soundWave___319024: undefined, - sndInstr___319025: undefined, - sndInstrPtr___319031: undefined, - addForm___319032: undefined, - scanNextWord___319092: undefined, - token___319149: undefined, - tokenKind___319150: undefined, - consumeToken___319153: undefined, - currNote___319228: undefined, - prevNote___319230: undefined, - timeLeft___319233: undefined, - note___319248: undefined, - i___319252: undefined, - noteChar___319258: undefined, - keyNumber___319333: undefined, - currMs___319350: undefined, - beat___319354: undefined, - timeLeft___319412: undefined, + notes___21185: undefined, + pos___21189: undefined, + duration___21190: undefined, + octave___21191: undefined, + tempo___21192: undefined, + hz___21193: undefined, + endHz___21194: undefined, + ms___21197: undefined, + timePos___21198: undefined, + startTime___21199: undefined, + now___21202: undefined, + envA___21203: undefined, + envD___21204: undefined, + envS___21205: undefined, + envR___21206: undefined, + soundWave___21207: undefined, + sndInstr___21208: undefined, + sndInstrPtr___21214: undefined, + addForm___21215: undefined, + scanNextWord___21275: undefined, + token___21332: undefined, + tokenKind___21333: undefined, + consumeToken___21336: undefined, + currNote___21411: undefined, + prevNote___21413: undefined, + timeLeft___21416: undefined, + note___21431: undefined, + i___21435: undefined, + noteChar___21441: undefined, + keyNumber___21516: undefined, + currMs___21533: undefined, + beat___21537: undefined, + timeLeft___21595: undefined, arg0: undefined, arg1: undefined, } } @@ -46429,7 +46433,7 @@ function music_MelodyPlayer_play__P300231_mk(s) { -function inline__P319033(s) { +function inline__P21216(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46439,10 +46443,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.freqStart___319038 = undefined; - s.freqEnd___319040 = undefined; - s.envelopeWidth___319042 = undefined; - s.slope___319060 = undefined; + s.freqStart___21221 = undefined; + s.freqEnd___21223 = undefined; + s.envelopeWidth___21225 = undefined; + s.slope___21243 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -46451,9 +46455,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); - s.freqStart___319038 = (r0); + s.freqStart___21221 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); - s.freqEnd___319040 = (r0); + s.freqEnd___21223 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); @@ -46477,7 +46481,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_7 = r0; - s.envelopeWidth___319042 = (s.tmp_7); + s.envelopeWidth___21225 = (s.tmp_7); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_1 = r0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); @@ -46489,35 +46493,35 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = (s.envelopeWidth___319042 != 0); + r0 = (s.envelopeWidth___21225 != 0); case 4: // jmp value (already in r0) s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 5; continue; } - r0 = (s.freqEnd___319040 - s.freqStart___319038); + r0 = (s.freqEnd___21223 - s.freqStart___21221); s.tmp_4 = r0; - r0 = (s.tmp_4 / s.envelopeWidth___319042); - s.slope___319060 = (r0); + r0 = (s.tmp_4 / s.envelopeWidth___21225); + s.slope___21243 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; - r0 = (s.slope___319060 * s.arg3); + r0 = (s.slope___21243 * s.arg3); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.freqStart___319038 = (r0); + s.freqStart___21221 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; - s.tmp_2 = r0 = s.slope___319060; + s.tmp_2 = r0 = s.slope___21243; r0 = (s.arg3 + s.arg0); s.tmp_3 = r0; r0 = (s.tmp_2 * s.tmp_3); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.freqEnd___319040 = (r0); + s.freqEnd___21223 = (r0); case 5: case 6: s.tmp_0 = r0 = s.caps[6]; - s.tmp_2 = music_addNote__P300228_mk(s); + s.tmp_2 = music_addNote__P425_mk(s); s.tmp_2.arg0 = s.caps[7]; r0 = pxsim_pxtrt_ldlocRef(s.caps[6]); s.tmp_2.arg1 = r0; @@ -46526,10 +46530,10 @@ switch (step) { s.tmp_2.arg4 = s.arg2; r0 = pxsim_pxtrt_ldlocRef(s.caps[8]); s.tmp_2.arg5 = r0; - s.tmp_2.arg6 = s.freqStart___319038; + s.tmp_2.arg6 = s.freqStart___21221; r0 = pxsim_pxtrt_ldlocRef(s.caps[9]); s.tmp_2.arg7 = r0; - s.tmp_2.arg8 = s.freqEnd___319040; + s.tmp_2.arg8 = s.freqEnd___21223; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -46539,13 +46543,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P319033.info = {"start":11613,"length":643,"line":362,"column":28,"endLine":373,"endColumn":13,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"inline","argumentNames":["formDuration","beg","end","msOff"]} -inline__P319033.info = {"start":11613,"length":643,"line":362,"column":28,"endLine":373,"endColumn":13,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"inline","argumentNames":["formDuration","beg","end","msOff"]} +inline__P21216.info = {"start":11613,"length":643,"line":362,"column":28,"endLine":373,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["formDuration","beg","end","msOff"]} +inline__P21216.info = {"start":11613,"length":643,"line":362,"column":28,"endLine":373,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["formDuration","beg","end","msOff"]} -function inline__P319033_mk(s) { +function inline__P21216_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P319033, depth: s.depth + 1, + parent: s, fn: inline__P21216, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46555,10 +46559,10 @@ function inline__P319033_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - freqStart___319038: undefined, - freqEnd___319040: undefined, - envelopeWidth___319042: undefined, - slope___319060: undefined, + freqStart___21221: undefined, + freqEnd___21223: undefined, + envelopeWidth___21225: undefined, + slope___21243: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -46569,7 +46573,7 @@ function inline__P319033_mk(s) { -function inline__P319093(s) { +function inline__P21276(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46579,9 +46583,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.c___319102 = undefined; - s.note___319119 = undefined; - s.c___319125 = undefined; + s.c___21285 = undefined; + s.note___21302 = undefined; + s.c___21308 = undefined; r0 = s.caps[0].fields["melody"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -46607,15 +46611,15 @@ switch (step) { r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_7 = r0; r0 = pxsim_String_.charAt(s.tmp_6, s.tmp_7); - s.c___319102 = (r0); - r0 = (s.c___319102 != " "); + s.c___21285 = (r0); + r0 = (s.c___21285 != " "); 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: - r0 = (s.c___319102 != "\r"); + r0 = (s.c___21285 != "\r"); case 5: // jmp value (already in r0) s.tmp_1 = r0; @@ -46624,7 +46628,7 @@ switch (step) { r0 = s.tmp_1; { step = 7; continue; } case 6: - r0 = (s.c___319102 != "\n"); + r0 = (s.c___21285 != "\n"); case 7: // jmp value (already in r0) s.tmp_2 = r0; @@ -46633,7 +46637,7 @@ switch (step) { r0 = s.tmp_2; { step = 9; continue; } case 8: - r0 = (s.c___319102 != "\t"); + r0 = (s.c___21285 != "\t"); case 9: // jmp value (already in r0) s.tmp_3 = r0; @@ -46651,7 +46655,7 @@ switch (step) { { step = 3; continue; } case 12: r0 = pxsim_String_.mkEmpty(); - s.note___319119 = (r0); + s.note___21302 = (r0); case 13: r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_1 = r0; @@ -46665,15 +46669,15 @@ switch (step) { r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_4 = r0; r0 = pxsim_String_.charAt(s.tmp_3, s.tmp_4); - s.c___319125 = (r0); - r0 = (s.c___319125 == " "); + s.c___21308 = (r0); + r0 = (s.c___21308 == " "); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 14; continue; } r0 = s.tmp_0; { step = 15; continue; } case 14: - r0 = (s.c___319125 == "\r"); + r0 = (s.c___21308 == "\r"); case 15: // jmp value (already in r0) s.tmp_1 = r0; @@ -46682,7 +46686,7 @@ switch (step) { r0 = s.tmp_1; { step = 17; continue; } case 16: - r0 = (s.c___319125 == "\n"); + r0 = (s.c___21308 == "\n"); case 17: // jmp value (already in r0) s.tmp_2 = r0; @@ -46691,7 +46695,7 @@ switch (step) { r0 = s.tmp_2; { step = 19; continue; } case 18: - r0 = (s.c___319125 == "\t"); + r0 = (s.c___21308 == "\t"); case 19: // jmp value (already in r0) s.tmp_3 = r0; @@ -46700,26 +46704,26 @@ switch (step) { { step = 22; continue; } case 20: case 21: - if ((s.note___319119) && (s.note___319119).vtable) { + if ((s.note___21302) && (s.note___21302).vtable) { setupResume(s, 24); - pxsim_String__stringConv(s.note___319119); + pxsim_String__stringConv(s.note___21302); checkResumeConsumed(); return; - } else { s.retval = (s.note___319119) + ""; } + } else { s.retval = (s.note___21302) + ""; } case 24: r0 = s.retval; s.tmp_4 = r0; - if ((s.c___319125) && (s.c___319125).vtable) { + if ((s.c___21308) && (s.c___21308).vtable) { setupResume(s, 25); - pxsim_String__stringConv(s.c___319125); + pxsim_String__stringConv(s.c___21308); checkResumeConsumed(); return; - } else { s.retval = (s.c___319125) + ""; } + } else { s.retval = (s.c___21308) + ""; } case 25: r0 = s.retval; s.tmp_5 = r0; r0 = pxsim_String__concat(s.tmp_4, s.tmp_5); - s.note___319119 = (r0); + s.note___21302 = (r0); s.tmp_0 = r0 = s.caps[1]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; @@ -46728,18 +46732,18 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 13; continue; } case 22: - r0 = s.note___319119; + r0 = s.note___21302; case 23: return leave(s, r0) default: oops() } } } -inline__P319093.info = {"start":12291,"length":708,"line":375,"column":33,"endLine":397,"endColumn":13,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"inline","argumentNames":[]} -inline__P319093.info = {"start":12291,"length":708,"line":375,"column":33,"endLine":397,"endColumn":13,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"inline","argumentNames":[]} +inline__P21276.info = {"start":12291,"length":708,"line":375,"column":33,"endLine":397,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P21276.info = {"start":12291,"length":708,"line":375,"column":33,"endLine":397,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P319093_mk(s) { +function inline__P21276_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P319093, depth: s.depth + 1, + parent: s, fn: inline__P21276, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46749,16 +46753,16 @@ function inline__P319093_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - c___319102: undefined, - note___319119: undefined, - c___319125: undefined, + c___21285: undefined, + note___21302: undefined, + c___21308: undefined, } } -function inline__P319154(s) { +function inline__P21337(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46768,7 +46772,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.d___319160 = undefined; + s.d___21343 = undefined; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -46789,7 +46793,7 @@ switch (step) { r0 = pxsim_String_.toNumber(s.tmp_3); s.tmp_4 = r0; r0 = (s.tmp_4 >> 0); - s.d___319160 = (r0); + s.d___21343 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(1, s.tmp_0); @@ -46817,15 +46821,15 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 3: - r0 = pxsim_pxtrt_stlocRef(s.caps[2], s.d___319160); + r0 = pxsim_pxtrt_stlocRef(s.caps[2], s.d___21343); { step = 14; continue; } case 4: s.tmp_0 = r0 = s.caps[3]; - s.tmp_2 = Math_max__P297646_mk(s); + s.tmp_2 = Math_max__P75_mk(s); s.tmp_2.arg0 = 1; - s.tmp_3 = Math_min__P297647_mk(s); + s.tmp_3 = Math_min__P76_mk(s); s.tmp_3.arg0 = 16; - s.tmp_3.arg1 = s.d___319160; + s.tmp_3.arg1 = s.d___21343; s.pc = 18; return s.tmp_3; case 18: r0 = s.retval; @@ -46839,9 +46843,9 @@ switch (step) { { step = 14; continue; } case 5: s.tmp_0 = r0 = s.caps[5]; - s.tmp_2 = Math_max__P297646_mk(s); + s.tmp_2 = Math_max__P75_mk(s); s.tmp_2.arg0 = 1; - s.tmp_2.arg1 = s.d___319160; + s.tmp_2.arg1 = s.d___21343; s.pc = 19; return s.tmp_2; case 19: r0 = s.retval; @@ -46849,18 +46853,18 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 14; continue; } case 6: - r0 = pxsim_pxtrt_stlocRef(s.caps[6], s.d___319160); + r0 = pxsim_pxtrt_stlocRef(s.caps[6], s.d___21343); r0 = pxsim_pxtrt_stlocRef(s.caps[1], 6); { step = 14; continue; } case 7: - r0 = pxsim_pxtrt_stlocRef(s.caps[4], s.d___319160); + r0 = pxsim_pxtrt_stlocRef(s.caps[4], s.d___21343); { step = 14; continue; } case 8: s.tmp_0 = r0 = s.caps[7]; - s.tmp_2 = Math_clamp__P297643_mk(s); + s.tmp_2 = Math_clamp__P72_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = 15; - s.tmp_2.arg2 = s.d___319160; + s.tmp_2.arg2 = s.d___21343; s.pc = 20; return s.tmp_2; case 20: r0 = s.retval; @@ -46868,19 +46872,19 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 14; continue; } case 9: - r0 = pxsim_pxtrt_stlocRef(s.caps[8], s.d___319160); + r0 = pxsim_pxtrt_stlocRef(s.caps[8], s.d___21343); r0 = pxsim_pxtrt_stlocRef(s.caps[1], 9); { step = 14; continue; } case 10: - r0 = pxsim_pxtrt_stlocRef(s.caps[9], s.d___319160); + r0 = pxsim_pxtrt_stlocRef(s.caps[9], s.d___21343); r0 = pxsim_pxtrt_stlocRef(s.caps[1], 10); { step = 14; continue; } case 11: s.tmp_0 = r0 = s.caps[10]; - s.tmp_2 = Math_clamp__P297643_mk(s); + s.tmp_2 = Math_clamp__P72_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = 255; - s.tmp_2.arg2 = s.d___319160; + s.tmp_2.arg2 = s.d___21343; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; @@ -46889,10 +46893,10 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.caps[1], 11); { step = 14; continue; } case 12: - r0 = pxsim_pxtrt_stlocRef(s.caps[11], s.d___319160); + r0 = pxsim_pxtrt_stlocRef(s.caps[11], s.d___21343); { step = 14; continue; } case 13: - r0 = pxsim_pxtrt_stlocRef(s.caps[12], s.d___319160); + r0 = pxsim_pxtrt_stlocRef(s.caps[12], s.d___21343); case 14: s.tmp_0 = r0 = s.caps[0]; r0 = pxsim_String_.mkEmpty(); @@ -46904,27 +46908,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P319154.info = {"start":14032,"length":1189,"line":433,"column":33,"endLine":454,"endColumn":13,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"inline","argumentNames":[]} -inline__P319154.info = {"start":14032,"length":1189,"line":433,"column":33,"endLine":454,"endColumn":13,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"inline","argumentNames":[]} +inline__P21337.info = {"start":14032,"length":1189,"line":433,"column":33,"endLine":454,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P21337.info = {"start":14032,"length":1189,"line":433,"column":33,"endLine":454,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P319154_mk(s) { +function inline__P21337_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P319154, depth: s.depth + 1, + parent: s, fn: inline__P21337, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - d___319160: undefined, + d___21343: undefined, } } -function music_addNote__P300228(s) { +function music_addNote__P425(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46992,13 +46996,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_addNote__P300228.info = {"start":9672,"length":904,"line":307,"column":4,"endLine":320,"endColumn":5,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} -music_addNote__P300228.info = {"start":9672,"length":904,"line":307,"column":4,"endLine":320,"endColumn":5,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} +music_addNote__P425.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__P425.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__P300228_mk(s) { +function music_addNote__P425_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_addNote__P300228, depth: s.depth + 1, + parent: s, fn: music_addNote__P425, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47019,7 +47023,7 @@ function music_addNote__P300228_mk(s) { -function music_volume__P300207(s) { +function music_volume__P404(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47029,21 +47033,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = music_initVolume__P300205_mk(s); + s.tmp_0 = music_initVolume__P402_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___300201; + r0 = globals.globalVolume___398; return leave(s, r0) default: oops() } } } -music_volume__P300207.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"volume","argumentNames":[]} -music_volume__P300207.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"volume","argumentNames":[]} +music_volume__P404.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} +music_volume__P404.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__P300207_mk(s) { +function music_volume__P404_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_volume__P300207, depth: s.depth + 1, + parent: s, fn: music_volume__P404, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -47052,7 +47056,7 @@ function music_volume__P300207_mk(s) { -function music_initVolume__P300205(s) { +function music_initVolume__P402(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47062,12 +47066,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = (globals.globalVolume___300201 === null); + r0 = (globals.globalVolume___398 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___300201 = (0); - s.tmp_0 = music_setVolume__P300206_mk(s); + globals.globalVolume___398 = (0); + s.tmp_0 = music_setVolume__P403_mk(s); r0 = pxsim_pxtcore.getConfig(59, 128); s.tmp_0.arg0 = r0; s.pc = 3; return s.tmp_0; @@ -47079,13 +47083,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_initVolume__P300205.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"initVolume","argumentNames":[]} -music_initVolume__P300205.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P402.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P402.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__P300205_mk(s) { +function music_initVolume__P402_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P300205, depth: s.depth + 1, + parent: s, fn: music_initVolume__P402, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -47094,7 +47098,7 @@ function music_initVolume__P300205_mk(s) { -function music_setVolume__P300206(s) { +function music_setVolume__P403(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47108,7 +47112,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P297643_mk(s); + s.tmp_0 = Math_clamp__P72_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 255; r0 = (s.arg0 | 0); @@ -47116,8 +47120,8 @@ switch (step) { s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___300201 = (r0); - r0 = (globals.globalVolume___300201 > 0); + globals.globalVolume___398 = (r0); + r0 = (globals.globalVolume___398 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -47133,13 +47137,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_setVolume__P300206.info = {"start":1533,"length":153,"line":51,"column":4,"endLine":54,"endColumn":5,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"setVolume","argumentNames":["volume"]} -music_setVolume__P300206.info = {"start":1533,"length":153,"line":51,"column":4,"endLine":54,"endColumn":5,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"setVolume","argumentNames":["volume"]} +music_setVolume__P403.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__P403.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__P300206_mk(s) { +function music_setVolume__P403_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_setVolume__P300206, depth: s.depth + 1, + parent: s, fn: music_setVolume__P403, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47150,7 +47154,7 @@ function music_setVolume__P300206_mk(s) { -function music_enableAmp__P300204(s) { +function music_enableAmp__P401(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47168,13 +47172,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_enableAmp__P300204.info = {"start":944,"length":64,"line":29,"column":4,"endLine":31,"endColumn":5,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"enableAmp","argumentNames":["en"]} -music_enableAmp__P300204.info = {"start":944,"length":64,"line":29,"column":4,"endLine":31,"endColumn":5,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"enableAmp","argumentNames":["en"]} +music_enableAmp__P401.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__P401.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__P300204_mk(s) { +function music_enableAmp__P401_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P300204, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P401, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -47183,7 +47187,7 @@ function music_enableAmp__P300204_mk(s) { -function parseInt__P297617(s) { +function parseInt__P46(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47203,13 +47207,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -parseInt__P297617.info = {"start":819,"length":77,"line":41,"column":0,"endLine":43,"endColumn":1,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"parseInt","argumentNames":["text"]} -parseInt__P297617.info = {"start":819,"length":77,"line":41,"column":0,"endLine":43,"endColumn":1,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"parseInt","argumentNames":["text"]} +parseInt__P46.info = {"start":819,"length":77,"line":41,"column":0,"endLine":43,"endColumn":1,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"parseInt","argumentNames":["text"]} +parseInt__P46.info = {"start":819,"length":77,"line":41,"column":0,"endLine":43,"endColumn":1,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"parseInt","argumentNames":["text"]} -function parseInt__P297617_mk(s) { +function parseInt__P46_mk(s) { checkStack(s.depth); return { - parent: s, fn: parseInt__P297617, depth: s.depth + 1, + parent: s, fn: parseInt__P46, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -47219,7 +47223,7 @@ function parseInt__P297617_mk(s) { -function music_Melody_unregisterMelody__P300220(s) { +function music_Melody_unregisterMelody__P417(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47234,23 +47238,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C300215_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___300226); + if (!checkSubtype(r0, music_Melody__C412_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___423); if (!r0) { step = 1; continue; } - r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___300226, s.arg0); + r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___423, s.arg0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_unregisterMelody__P300220.info = {"start":7438,"length":201,"line":234,"column":8,"endLine":239,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"unregisterMelody","argumentNames":["this"]} -music_Melody_unregisterMelody__P300220.info = {"start":7438,"length":201,"line":234,"column":8,"endLine":239,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"unregisterMelody","argumentNames":["this"]} +music_Melody_unregisterMelody__P417.info = {"start":7438,"length":201,"line":234,"column":8,"endLine":239,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"unregisterMelody","argumentNames":["this"]} +music_Melody_unregisterMelody__P417.info = {"start":7438,"length":201,"line":234,"column":8,"endLine":239,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"unregisterMelody","argumentNames":["this"]} -function music_Melody_unregisterMelody__P300220_mk(s) { +function music_Melody_unregisterMelody__P417_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_unregisterMelody__P300220, depth: s.depth + 1, + parent: s, fn: music_Melody_unregisterMelody__P417, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -47259,7 +47263,7 @@ function music_Melody_unregisterMelody__P300220_mk(s) { -function music_Melody_registerMelody__P300219(s) { +function music_Melody_registerMelody__P416(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47274,26 +47278,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C300215_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___300226); + if (!checkSubtype(r0, music_Melody__C412_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___423); 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.music_Melody_playingMelodies___300226 = (r0); + globals.music_Melody_playingMelodies___423 = (r0); case 1: case 2: - r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___300226); + r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___423); s.tmp_1 = r0; r0 = (s.tmp_1 > 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_Melody_stop__P300218_mk(s); - s.tmp_3 = r0 = globals.music_Melody_playingMelodies___300226; - r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___300226); + s.tmp_2 = music_Melody_stop__P415_mk(s); + s.tmp_3 = r0 = globals.music_Melody_playingMelodies___423; + r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___423); s.tmp_5 = r0; r0 = (s.tmp_5 - 1); s.tmp_4 = r0; @@ -47304,19 +47308,19 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___300226, s.arg0); - r0 = pxsim_Array__push(globals.music_Melody_playingMelodies___300226, s.arg0); + r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___423, s.arg0); + r0 = pxsim_Array__push(globals.music_Melody_playingMelodies___423, s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_registerMelody__P300219.info = {"start":6856,"length":573,"line":222,"column":8,"endLine":233,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"registerMelody","argumentNames":["this"]} -music_Melody_registerMelody__P300219.info = {"start":6856,"length":573,"line":222,"column":8,"endLine":233,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"registerMelody","argumentNames":["this"]} +music_Melody_registerMelody__P416.info = {"start":6856,"length":573,"line":222,"column":8,"endLine":233,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"registerMelody","argumentNames":["this"]} +music_Melody_registerMelody__P416.info = {"start":6856,"length":573,"line":222,"column":8,"endLine":233,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"registerMelody","argumentNames":["this"]} -function music_Melody_registerMelody__P300219_mk(s) { +function music_Melody_registerMelody__P416_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_registerMelody__P300219, depth: s.depth + 1, + parent: s, fn: music_Melody_registerMelody__P416, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47331,7 +47335,7 @@ function music_Melody_registerMelody__P300219_mk(s) { -function music_Melody_stop__P300218(s) { +function music_Melody_stop__P415(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47346,12 +47350,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C300215_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C412_VT)) failedCast(r0); r0 = s.arg0.fields["_player"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_MelodyPlayer_stop__P300230_mk(s); + s.tmp_1 = music_MelodyPlayer_stop__P427_mk(s); r0 = s.arg0.fields["_player"]; s.tmp_1.arg0 = r0; s.pc = 3; return s.tmp_1; @@ -47360,7 +47364,7 @@ switch (step) { r0 = (s.arg0).fields["_player"] = (null); case 1: case 2: - s.tmp_0 = music_Melody_unregisterMelody__P300220_mk(s); + s.tmp_0 = music_Melody_unregisterMelody__P417_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 4; return s.tmp_0; case 4: @@ -47369,13 +47373,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_stop__P300218.info = {"start":6673,"length":173,"line":214,"column":8,"endLine":220,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"stop","argumentNames":["this"]} -music_Melody_stop__P300218.info = {"start":6673,"length":173,"line":214,"column":8,"endLine":220,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"stop","argumentNames":["this"]} +music_Melody_stop__P415.info = {"start":6673,"length":173,"line":214,"column":8,"endLine":220,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} +music_Melody_stop__P415.info = {"start":6673,"length":173,"line":214,"column":8,"endLine":220,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} -function music_Melody_stop__P300218_mk(s) { +function music_Melody_stop__P415_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_stop__P300218, depth: s.depth + 1, + parent: s, fn: music_Melody_stop__P415, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47386,7 +47390,7 @@ function music_Melody_stop__P300218_mk(s) { -function music_MelodyPlayer_stop__P300230(s) { +function music_MelodyPlayer_stop__P427(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47401,71 +47405,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C300229_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C426_VT)) failedCast(r0); r0 = (s.arg0).fields["melody"] = (null); r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayer_stop__P300230.info = {"start":10746,"length":49,"line":332,"column":8,"endLine":334,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"stop","argumentNames":["this"]} -music_MelodyPlayer_stop__P300230.info = {"start":10746,"length":49,"line":332,"column":8,"endLine":334,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"stop","argumentNames":["this"]} - -function music_MelodyPlayer_stop__P300230_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_MelodyPlayer_stop__P300230, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function scene_Scene_destroy__P298638(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__C298633_VT)) failedCast(r0); - r0 = (s.arg0).fields["eventContext"] = (undefined); - r0 = (s.arg0).fields["background"] = (undefined); - r0 = (s.arg0).fields["tileMap"] = (undefined); - r0 = (s.arg0).fields["allSprites"] = (undefined); - r0 = (s.arg0).fields["spriteNextId"] = (undefined); - r0 = (s.arg0).fields["spritesByKind"] = (undefined); - r0 = (s.arg0).fields["physicsEngine"] = (undefined); - r0 = (s.arg0).fields["camera"] = (undefined); - r0 = (s.arg0).fields["flags"] = (undefined); - r0 = (s.arg0).fields["destroyedHandlers"] = (undefined); - r0 = (s.arg0).fields["createdHandlers"] = (undefined); - r0 = (s.arg0).fields["overlapHandlers"] = (undefined); - r0 = (s.arg0).fields["tileOverlapHandlers"] = (undefined); - r0 = (s.arg0).fields["collisionHandlers"] = (undefined); - r0 = (s.arg0).fields["wallCollisionHandlers"] = (undefined); - r0 = (s.arg0).fields["gameForeverHandlers"] = (undefined); - r0 = (s.arg0).fields["_data"] = (undefined); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_Scene_destroy__P298638.info = {"start":6550,"length":764,"line":185,"column":8,"endLine":203,"endColumn":9,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"destroy","argumentNames":["this"]} -scene_Scene_destroy__P298638.info = {"start":6550,"length":764,"line":185,"column":8,"endLine":203,"endColumn":9,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"destroy","argumentNames":["this"]} +music_MelodyPlayer_stop__P427.info = {"start":10746,"length":49,"line":332,"column":8,"endLine":334,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} +music_MelodyPlayer_stop__P427.info = {"start":10746,"length":49,"line":332,"column":8,"endLine":334,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} -function scene_Scene_destroy__P298638_mk(s) { +function music_MelodyPlayer_stop__P427_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_destroy__P298638, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_stop__P427, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -47474,7 +47426,7 @@ function scene_Scene_destroy__P298638_mk(s) { -function info_PlayerInfo_drawLives__P298486(s) { +function info_PlayerInfo_drawLives__P994(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47484,25 +47436,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.state___319781 = undefined; - s.font___319788 = undefined; - s.i___319831 = undefined; - s.num___319853 = undefined; - s.textWidth___319860 = undefined; - s.mult___319912 = undefined; + s.state___21964 = undefined; + s.font___21971 = undefined; + s.i___22014 = undefined; + s.num___22036 = undefined; + s.textWidth___22043 = undefined; + s.mult___22095 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C298470_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P298472_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C978_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P980_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.state___319781 = (r0); - r0 = s.state___319781.fields["life"]; + s.state___21964 = (r0); + r0 = s.state___21964.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -47511,20 +47463,20 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.font___319788 = (globals.font8___297999); - r0 = s.state___319781.fields["life"]; + s.font___21971 = (globals.font8___497); + r0 = s.state___21964.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 <= 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_imageFillRect__P297986_mk(s); - s.tmp_2.arg0 = globals.screen___298046; + s.tmp_2 = helpers_imageFillRect__P484_mk(s); + s.tmp_2.arg0 = globals.screen___545; s.tmp_2.arg1 = 0; s.tmp_2.arg2 = 0; - r0 = s.state___319781.fields["life"]; + r0 = s.state___21964.fields["life"]; s.tmp_4 = r0; - r0 = globals.infoState___298388.fields["heartImage"]; + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_7 = r0; r0 = pxsim_ImageMethods.width(s.tmp_7); s.tmp_6 = r0; @@ -47534,24 +47486,24 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_3 + 3); s.tmp_2.arg3 = r0; - r0 = globals.infoState___298388.fields["heartImage"]; + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_9 = r0; r0 = pxsim_ImageMethods.height(s.tmp_9); s.tmp_8 = r0; r0 = (s.tmp_8 + 4); s.tmp_2.arg4 = r0; - r0 = globals.infoState___298388.fields["borderColor"]; + r0 = globals.infoState___896.fields["borderColor"]; s.tmp_2.arg5 = r0; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - r0 = s.state___319781.fields["life"]; + r0 = s.state___21964.fields["life"]; s.tmp_2 = r0; - r0 = globals.infoState___298388.fields["heartImage"]; + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; @@ -47561,30 +47513,30 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 2); s.tmp_0.arg3 = r0; - r0 = globals.infoState___298388.fields["heartImage"]; + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_7 = r0; r0 = pxsim_ImageMethods.height(s.tmp_7); s.tmp_6 = r0; r0 = (s.tmp_6 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___298388.fields["bgColor"]; + r0 = globals.infoState___896.fields["bgColor"]; s.tmp_0.arg5 = r0; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.i___319831 = (0); + s.i___22014 = (0); case 3: - r0 = s.state___319781.fields["life"]; + r0 = s.state___21964.fields["life"]; s.tmp_1 = r0; - r0 = (s.i___319831 < s.tmp_1); + r0 = (s.i___22014 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = r0 = globals.screen___298046; - r0 = globals.infoState___298388.fields["heartImage"]; + s.tmp_2 = r0 = globals.screen___545; + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_3 = r0; - s.tmp_6 = r0 = s.i___319831; - r0 = globals.infoState___298388.fields["heartImage"]; + s.tmp_6 = r0 = s.i___22014; + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_9 = r0; r0 = pxsim_ImageMethods.width(s.tmp_9); s.tmp_8 = r0; @@ -47595,13 +47547,13 @@ switch (step) { r0 = (1 + s.tmp_5); s.tmp_4 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_2, s.tmp_3, s.tmp_4, 1); - r0 = (s.i___319831 + 1); - s.i___319831 = (r0); + r0 = (s.i___22014 + 1); + s.i___22014 = (r0); { step = 3; continue; } case 4: { step = 6; continue; } case 5: - r0 = s.state___319781.fields["life"]; + r0 = s.state___21964.fields["life"]; s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 11); @@ -47615,11 +47567,11 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_2); - s.num___319853 = (r0); - r0 = pxsim_String_.length(s.num___319853); + s.num___22036 = (r0); + r0 = pxsim_String_.length(s.num___22036); s.tmp_1 = r0; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___319788; + s.tmp_3.arg0 = s.font___21971; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { @@ -47634,85 +47586,85 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.textWidth___319860 = (r0); - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.textWidth___22043 = (r0); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - r0 = globals.infoState___298388.fields["heartImage"]; + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = globals.infoState___298388.fields["multiplierImage"]; + r0 = globals.infoState___896.fields["multiplierImage"]; s.tmp_6 = r0; r0 = pxsim_ImageMethods.width(s.tmp_6); s.tmp_5 = r0; r0 = (s.tmp_3 + s.tmp_5); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.textWidth___319860); + r0 = (s.tmp_2 + s.textWidth___22043); s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg3 = r0; - r0 = globals.infoState___298388.fields["heartImage"]; + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_8 = r0; r0 = pxsim_ImageMethods.height(s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 + 4); s.tmp_0.arg4 = r0; - r0 = globals.infoState___298388.fields["borderColor"]; + r0 = globals.infoState___896.fields["borderColor"]; s.tmp_0.arg5 = r0; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - r0 = globals.infoState___298388.fields["heartImage"]; + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = globals.infoState___298388.fields["multiplierImage"]; + r0 = globals.infoState___896.fields["multiplierImage"]; s.tmp_6 = r0; r0 = pxsim_ImageMethods.width(s.tmp_6); s.tmp_5 = r0; r0 = (s.tmp_3 + s.tmp_5); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.textWidth___319860); + r0 = (s.tmp_2 + s.textWidth___22043); s.tmp_1 = r0; r0 = (s.tmp_1 + 4); s.tmp_0.arg3 = r0; - r0 = globals.infoState___298388.fields["heartImage"]; + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_8 = r0; r0 = pxsim_ImageMethods.height(s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___298388.fields["bgColor"]; + r0 = globals.infoState___896.fields["bgColor"]; s.tmp_0.arg5 = r0; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - r0 = globals.infoState___298388.fields["heartImage"]; + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___298046, s.tmp_0, 1, 1); - r0 = globals.infoState___298388.fields["multiplierImage"]; + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___545, s.tmp_0, 1, 1); + r0 = globals.infoState___896.fields["multiplierImage"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.mult___319912 = (r0); - r0 = globals.infoState___298388.fields["fontColor"]; + s.mult___22095 = (r0); + r0 = globals.infoState___896.fields["fontColor"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.mult___319912, 1, s.tmp_0); - s.tmp_0 = r0 = globals.screen___298046; - s.tmp_1 = r0 = s.mult___319912; - r0 = globals.infoState___298388.fields["heartImage"]; + r0 = pxsim_ImageMethods.replace(s.mult___22095, 1, s.tmp_0); + s.tmp_0 = r0 = globals.screen___545; + s.tmp_1 = r0 = s.mult___22095; + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; r0 = (s.tmp_3 + 2); s.tmp_2 = r0; s.tmp_8 = if_charHeight_1_mk(s); - s.tmp_8.arg0 = s.font___319788; + s.tmp_8.arg0 = s.font___21971; if (!s.tmp_8.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_8.arg0, "charHeight"); } else { @@ -47724,7 +47676,7 @@ switch (step) { case 15: r0 = s.retval; s.tmp_7 = r0; - r0 = globals.infoState___298388.fields["multiplierImage"]; + r0 = globals.infoState___896.fields["multiplierImage"]; s.tmp_10 = r0; r0 = pxsim_ImageMethods.height(s.tmp_10); s.tmp_9 = r0; @@ -47733,25 +47685,25 @@ switch (step) { r0 = (s.tmp_6 - 1); s.tmp_5 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_5); - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_0.arg1 = s.num___319853; - r0 = globals.infoState___298388.fields["heartImage"]; + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_0.arg1 = s.num___22036; + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); s.tmp_2 = r0; r0 = (s.tmp_2 + 3); s.tmp_1 = r0; - r0 = globals.infoState___298388.fields["multiplierImage"]; + r0 = globals.infoState___896.fields["multiplierImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_1 + s.tmp_4); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 1; - r0 = globals.infoState___298388.fields["fontColor"]; + r0 = globals.infoState___896.fields["fontColor"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___319788; + s.tmp_0.arg5 = s.font___21971; s.tmp_0.arg6 = undefined; s.pc = 16; return s.tmp_0; case 16: @@ -47762,13 +47714,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_drawLives__P298486.info = {"start":25956,"length":2458,"line":847,"column":8,"endLine":913,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"drawLives","argumentNames":["this"]} -info_PlayerInfo_drawLives__P298486.info = {"start":25956,"length":2458,"line":847,"column":8,"endLine":913,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"drawLives","argumentNames":["this"]} +info_PlayerInfo_drawLives__P994.info = {"start":25956,"length":2458,"line":847,"column":8,"endLine":913,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawLives","argumentNames":["this"]} +info_PlayerInfo_drawLives__P994.info = {"start":25956,"length":2458,"line":847,"column":8,"endLine":913,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawLives","argumentNames":["this"]} -function info_PlayerInfo_drawLives__P298486_mk(s) { +function info_PlayerInfo_drawLives__P994_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_drawLives__P298486, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_drawLives__P994, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47781,12 +47733,12 @@ function info_PlayerInfo_drawLives__P298486_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - state___319781: undefined, - font___319788: undefined, - i___319831: undefined, - num___319853: undefined, - textWidth___319860: undefined, - mult___319912: undefined, + state___21964: undefined, + font___21971: undefined, + i___22014: undefined, + num___22036: undefined, + textWidth___22043: undefined, + mult___22095: undefined, arg0: undefined, } } @@ -47794,7 +47746,7 @@ function info_PlayerInfo_drawLives__P298486_mk(s) { -function info_PlayerInfo_drawScore__P298485(s) { +function info_PlayerInfo_drawScore__P993(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47804,42 +47756,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.s___319969 = undefined; - s.font___319973 = undefined; - s.offsetY___319974 = undefined; - s.num___319983 = undefined; - s.width___319987 = undefined; + s.s___22152 = undefined; + s.font___22156 = undefined; + s.offsetY___22157 = undefined; + s.num___22166 = undefined; + s.width___22170 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C298470_VT)) failedCast(r0); - s.tmp_1 = info_PlayerInfo_score__P298474_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C978_VT)) failedCast(r0); + s.tmp_1 = info_PlayerInfo_score__P982_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.s___319969 = (r0); - r0 = (s.s___319969 >= 1000000); + s.s___22152 = (r0); + r0 = (s.s___22152 >= 1000000); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.offsetY___319974 = (2); - s.font___319973 = (globals.font5___298006); + s.offsetY___22157 = (2); + s.font___22156 = (globals.font5___504); { step = 2; continue; } case 1: - s.offsetY___319974 = (1); - s.font___319973 = (globals.font8___297999); + s.offsetY___22157 = (1); + s.font___22156 = (globals.font8___497); case 2: - r0 = pxsim_numops.toString(s.s___319969); - s.num___319983 = (r0); - r0 = pxsim_String_.length(s.num___319983); + r0 = pxsim_numops.toString(s.s___22152); + s.num___22166 = (r0); + r0 = pxsim_String_.length(s.num___22166); s.tmp_0 = r0; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___319973; + s.tmp_2.arg0 = s.font___22156; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -47852,20 +47804,20 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.width___319987 = (r0); - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + s.width___22170 = (r0); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.width___319987); + r0 = (s.tmp_2 - s.width___22170); s.tmp_1 = r0; r0 = (s.tmp_1 - 2); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_0.arg3 = r0; s.tmp_4 = if_charHeight_1_mk(s); - s.tmp_4.arg0 = globals.font8___297999; + s.tmp_4.arg0 = globals.font8___497; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charHeight"); } else { @@ -47879,24 +47831,24 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_3 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___298388.fields["borderColor"]; + r0 = globals.infoState___896.fields["borderColor"]; s.tmp_0.arg5 = r0; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.width___319987); + r0 = (s.tmp_2 - s.width___22170); s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_0.arg3 = r0; s.tmp_4 = if_charHeight_1_mk(s); - s.tmp_4.arg0 = globals.font8___297999; + s.tmp_4.arg0 = globals.font8___497; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charHeight"); } else { @@ -47910,22 +47862,22 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_3 + 2); s.tmp_0.arg4 = r0; - r0 = globals.infoState___298388.fields["bgColor"]; + r0 = globals.infoState___896.fields["bgColor"]; s.tmp_0.arg5 = r0; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_0.arg1 = s.num___319983; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_0.arg1 = s.num___22166; + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.width___319987); + r0 = (s.tmp_1 - s.width___22170); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.offsetY___319974; - r0 = globals.infoState___298388.fields["fontColor"]; + s.tmp_0.arg3 = s.offsetY___22157; + r0 = globals.infoState___896.fields["fontColor"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___319973; + s.tmp_0.arg5 = s.font___22156; s.tmp_0.arg6 = undefined; s.pc = 9; return s.tmp_0; case 9: @@ -47934,24 +47886,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_drawScore__P298485.info = {"start":24898,"length":1048,"line":807,"column":8,"endLine":845,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"drawScore","argumentNames":["this"]} -info_PlayerInfo_drawScore__P298485.info = {"start":24898,"length":1048,"line":807,"column":8,"endLine":845,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"drawScore","argumentNames":["this"]} +info_PlayerInfo_drawScore__P993.info = {"start":24898,"length":1048,"line":807,"column":8,"endLine":845,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawScore","argumentNames":["this"]} +info_PlayerInfo_drawScore__P993.info = {"start":24898,"length":1048,"line":807,"column":8,"endLine":845,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawScore","argumentNames":["this"]} -function info_PlayerInfo_drawScore__P298485_mk(s) { +function info_PlayerInfo_drawScore__P993_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_drawScore__P298485, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_drawScore__P993, 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___319969: undefined, - font___319973: undefined, - offsetY___319974: undefined, - num___319983: undefined, - width___319987: undefined, + s___22152: undefined, + font___22156: undefined, + offsetY___22157: undefined, + num___22166: undefined, + width___22170: undefined, arg0: undefined, } } @@ -47959,7 +47911,7 @@ function info_PlayerInfo_drawScore__P298485_mk(s) { -function info_PlayerInfo_drawPlayer__P298484(s) { +function info_PlayerInfo_drawPlayer__P992(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47969,44 +47921,44 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.state___320060 = undefined; - s.font___320063 = undefined; - s.score___320065 = undefined; - s.life___320066 = undefined; - s.height___320067 = undefined; - s.scoreWidth___320068 = undefined; - s.lifeWidth___320069 = undefined; - s.offsetY___320072 = undefined; - s.showScore___320073 = undefined; - s.showLife___320081 = undefined; - s.width___320149 = undefined; - s.x___320159 = undefined; - s.y___320166 = undefined; - s.bump___320199 = undefined; - s.xLoc___320224 = undefined; - s.mult___320235 = undefined; - s.pNum___320297 = undefined; - s.iconWidth___320304 = undefined; - s.iconHeight___320312 = undefined; - s.iconX___320320 = undefined; - s.iconY___320332 = undefined; + s.state___22243 = undefined; + s.font___22246 = undefined; + s.score___22248 = undefined; + s.life___22249 = undefined; + s.height___22250 = undefined; + s.scoreWidth___22251 = undefined; + s.lifeWidth___22252 = undefined; + s.offsetY___22255 = undefined; + s.showScore___22256 = undefined; + s.showLife___22264 = undefined; + s.width___22332 = undefined; + s.x___22342 = undefined; + s.y___22349 = undefined; + s.bump___22382 = undefined; + s.xLoc___22407 = undefined; + s.mult___22418 = undefined; + s.pNum___22480 = undefined; + s.iconWidth___22487 = undefined; + s.iconHeight___22495 = undefined; + s.iconX___22503 = undefined; + s.iconY___22515 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C298470_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P298472_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C978_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P980_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.state___320060 = (r0); - s.font___320063 = (globals.font5___298006); - s.height___320067 = (4); - s.scoreWidth___320068 = (0); - s.lifeWidth___320069 = (0); - s.offsetY___320072 = (2); + s.state___22243 = (r0); + s.font___22246 = (globals.font5___504); + s.height___22250 = (4); + s.scoreWidth___22251 = (0); + s.lifeWidth___22252 = (0); + s.offsetY___22255 = (2); r0 = s.arg0.fields["showScore"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -48014,13 +47966,13 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.state___320060.fields["score"]; + r0 = s.state___22243.fields["score"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.showScore___320073 = (s.tmp_2); + s.showScore___22256 = (s.tmp_2); r0 = s.arg0.fields["showLife"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -48028,18 +47980,18 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = s.state___320060.fields["life"]; + r0 = s.state___22243.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.showLife___320081 = (s.tmp_2); - r0 = pxsim_numops_toBoolDecr(s.showScore___320073); + s.showLife___22264 = (s.tmp_2); + r0 = pxsim_numops_toBoolDecr(s.showScore___22256); if (!r0) { step = 5; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_0 = r0; - r0 = s.state___320060.fields["score"]; + r0 = s.state___22243.fields["score"]; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 44); @@ -48051,11 +48003,11 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.score___320065 = (r0); - r0 = pxsim_String_.length(s.score___320065); + s.score___22248 = (r0); + r0 = pxsim_String_.length(s.score___22248); s.tmp_1 = r0; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___320063; + s.tmp_3.arg0 = s.font___22246; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { @@ -48070,10 +48022,10 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 3); - s.scoreWidth___320068 = (r0); - s.tmp_0 = r0 = s.height___320067; + s.scoreWidth___22251 = (r0); + s.tmp_0 = r0 = s.height___22250; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___320063; + s.tmp_2.arg0 = s.font___22246; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -48086,10 +48038,10 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___320067 = (r0); - s.tmp_0 = r0 = s.offsetY___320072; + s.height___22250 = (r0); + s.tmp_0 = r0 = s.offsetY___22255; s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = s.font___320063; + s.tmp_3.arg0 = s.font___22246; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charHeight"); } else { @@ -48104,12 +48056,12 @@ switch (step) { r0 = (s.tmp_2 + 1); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.offsetY___320072 = (r0); + s.offsetY___22255 = (r0); case 5: case 6: - r0 = pxsim_numops_toBoolDecr(s.showLife___320081); + r0 = pxsim_numops_toBoolDecr(s.showLife___22264); if (!r0) { step = 9; continue; } - r0 = s.state___320060.fields["life"]; + r0 = s.state___22243.fields["life"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 7; continue; } @@ -48132,21 +48084,21 @@ switch (step) { r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_String__concat(s.tmp_2, s.tmp_3); - s.life___320066 = (r0); - r0 = globals.infoState___298388.fields["heartImage"]; + s.life___22249 = (r0); + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); s.tmp_2 = r0; - r0 = globals.infoState___298388.fields["multiplierImage"]; + r0 = globals.infoState___896.fields["multiplierImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; - r0 = pxsim_String_.length(s.life___320066); + r0 = pxsim_String_.length(s.life___22249); s.tmp_7 = r0; s.tmp_9 = if_charWidth_1_mk(s); - s.tmp_9.arg0 = s.font___320063; + s.tmp_9.arg0 = s.font___22246; if (!s.tmp_9.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_9.arg0, "charWidth"); } else { @@ -48163,44 +48115,44 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_6); s.tmp_0 = r0; r0 = (s.tmp_0 + 3); - s.lifeWidth___320069 = (r0); - s.tmp_0 = r0 = s.height___320067; - r0 = globals.infoState___298388.fields["heartImage"]; + s.lifeWidth___22252 = (r0); + s.tmp_0 = r0 = s.height___22250; + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___320067 = (r0); + s.height___22250 = (r0); case 9: case 10: - s.tmp_0 = Math_max__P297646_mk(s); - s.tmp_0.arg0 = s.scoreWidth___320068; - s.tmp_0.arg1 = s.lifeWidth___320069; + s.tmp_0 = Math_max__P75_mk(s); + s.tmp_0.arg0 = s.scoreWidth___22251; + s.tmp_0.arg1 = s.lifeWidth___22252; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.width___320149 = (r0); - s.tmp_0 = r0 = s.showScore___320073; + s.width___22332 = (r0); + s.tmp_0 = r0 = s.showScore___22256; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } r0 = s.tmp_0; { step = 12; continue; } case 11: - r0 = s.showLife___320081; + r0 = s.showLife___22264; case 12: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 13; continue; } - r0 = (s.height___320067 + 1); - s.height___320067 = (r0); + r0 = (s.height___22250 + 1); + s.height___22250 = (r0); case 13: case 14: r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = s.width___320149; + r0 = s.width___22332; { step = 16; continue; } case 15: r0 = 0; @@ -48210,12 +48162,12 @@ switch (step) { r0 = s.arg0.fields["x"]; s.tmp_2 = r0; r0 = (s.tmp_2 - s.tmp_1); - s.x___320159 = (r0); + s.x___22342 = (r0); r0 = s.arg0.fields["up"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - r0 = s.height___320067; + r0 = s.height___22250; { step = 18; continue; } case 17: r0 = 0; @@ -48225,39 +48177,39 @@ switch (step) { r0 = s.arg0.fields["y"]; s.tmp_2 = r0; r0 = (s.tmp_2 - s.tmp_1); - s.y___320166 = (r0); - s.tmp_0 = r0 = s.showScore___320073; + s.y___22349 = (r0); + s.tmp_0 = r0 = s.showScore___22256; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 19; continue; } r0 = s.tmp_0; { step = 20; continue; } case 19: - r0 = s.showLife___320081; + r0 = s.showLife___22264; case 20: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 21; continue; } - s.tmp_2 = helpers_imageFillRect__P297986_mk(s); - s.tmp_2.arg0 = globals.screen___298046; - s.tmp_2.arg1 = s.x___320159; - s.tmp_2.arg2 = s.y___320166; - s.tmp_2.arg3 = s.width___320149; - s.tmp_2.arg4 = s.height___320067; + s.tmp_2 = helpers_imageFillRect__P484_mk(s); + s.tmp_2.arg0 = globals.screen___545; + s.tmp_2.arg1 = s.x___22342; + s.tmp_2.arg2 = s.y___22349; + s.tmp_2.arg3 = s.width___22332; + s.tmp_2.arg4 = s.height___22250; r0 = s.arg0.fields["border"]; s.tmp_2.arg5 = r0; s.pc = 51; return s.tmp_2; case 51: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - r0 = (s.x___320159 + 1); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; + r0 = (s.x___22342 + 1); s.tmp_0.arg1 = r0; - r0 = (s.y___320166 + 1); + r0 = (s.y___22349 + 1); s.tmp_0.arg2 = r0; - r0 = (s.width___320149 - 2); + r0 = (s.width___22332 - 2); s.tmp_0.arg3 = r0; - r0 = (s.height___320067 - 2); + r0 = (s.height___22250 - 2); s.tmp_0.arg4 = r0; r0 = s.arg0.fields["bg"]; s.tmp_0.arg5 = r0; @@ -48266,84 +48218,84 @@ switch (step) { r0 = s.retval; case 21: case 22: - r0 = pxsim_numops_toBoolDecr(s.showScore___320073); + r0 = pxsim_numops_toBoolDecr(s.showScore___22256); if (!r0) { step = 25; continue; } r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - r0 = (s.width___320149 - s.scoreWidth___320068); + r0 = (s.width___22332 - s.scoreWidth___22251); { step = 24; continue; } case 23: r0 = 0; case 24: // jmp value (already in r0) s.tmp_1 = r0; - s.bump___320199 = (s.tmp_1); - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_0.arg1 = s.score___320065; - r0 = (s.x___320159 + 1); + s.bump___22382 = (s.tmp_1); + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_0.arg1 = s.score___22248; + r0 = (s.x___22342 + 1); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.bump___320199); + r0 = (s.tmp_2 + s.bump___22382); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg2 = r0; - r0 = (s.y___320166 + 2); + r0 = (s.y___22349 + 2); s.tmp_0.arg3 = r0; r0 = s.arg0.fields["fc"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___320063; + s.tmp_0.arg5 = s.font___22246; s.tmp_0.arg6 = undefined; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; case 25: case 26: - r0 = pxsim_numops_toBoolDecr(s.showLife___320081); + r0 = pxsim_numops_toBoolDecr(s.showLife___22264); if (!r0) { step = 29; continue; } r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - r0 = (s.width___320149 - s.lifeWidth___320069); + r0 = (s.width___22332 - s.lifeWidth___22252); { step = 28; continue; } case 27: r0 = 0; case 28: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___320159 + 1); + r0 = (s.x___22342 + 1); s.tmp_2 = r0; r0 = (s.tmp_2 + s.tmp_1); - s.xLoc___320224 = (r0); - r0 = globals.infoState___298388.fields["multiplierImage"]; + s.xLoc___22407 = (r0); + r0 = globals.infoState___896.fields["multiplierImage"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.mult___320235 = (r0); + s.mult___22418 = (r0); r0 = s.arg0.fields["fc"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.mult___320235, 1, s.tmp_0); - s.tmp_0 = r0 = globals.screen___298046; - r0 = globals.infoState___298388.fields["heartImage"]; + r0 = pxsim_ImageMethods.replace(s.mult___22418, 1, s.tmp_0); + s.tmp_0 = r0 = globals.screen___545; + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_1 = r0; - s.tmp_2 = r0 = s.xLoc___320224; - r0 = (s.y___320166 + s.offsetY___320072); + s.tmp_2 = r0 = s.xLoc___22407; + r0 = (s.y___22349 + s.offsetY___22255); s.tmp_3 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_3); - s.tmp_0 = r0 = globals.screen___298046; - s.tmp_1 = r0 = s.mult___320235; - s.tmp_3 = r0 = s.xLoc___320224; - r0 = globals.infoState___298388.fields["heartImage"]; + s.tmp_0 = r0 = globals.screen___545; + s.tmp_1 = r0 = s.mult___22418; + s.tmp_3 = r0 = s.xLoc___22407; + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; - r0 = (s.y___320166 + s.offsetY___320072); + r0 = (s.y___22349 + s.offsetY___22255); s.tmp_9 = r0; s.tmp_11 = if_charHeight_1_mk(s); - s.tmp_11.arg0 = s.font___320063; + s.tmp_11.arg0 = s.font___22246; if (!s.tmp_11.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_11.arg0, "charHeight"); } else { @@ -48357,7 +48309,7 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_9 + s.tmp_10); s.tmp_8 = r0; - r0 = globals.infoState___298388.fields["multiplierImage"]; + r0 = globals.infoState___896.fields["multiplierImage"]; s.tmp_13 = r0; r0 = pxsim_ImageMethods.height(s.tmp_13); s.tmp_12 = r0; @@ -48366,17 +48318,17 @@ switch (step) { r0 = (s.tmp_7 - 1); s.tmp_6 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_6); - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_0.arg1 = s.life___320066; - s.tmp_3 = r0 = s.xLoc___320224; - r0 = globals.infoState___298388.fields["heartImage"]; + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_0.arg1 = s.life___22249; + s.tmp_3 = r0 = s.xLoc___22407; + r0 = globals.infoState___896.fields["heartImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; - r0 = globals.infoState___298388.fields["multiplierImage"]; + r0 = globals.infoState___896.fields["multiplierImage"]; s.tmp_7 = r0; r0 = pxsim_ImageMethods.width(s.tmp_7); s.tmp_6 = r0; @@ -48384,11 +48336,11 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg2 = r0; - r0 = (s.y___320166 + s.offsetY___320072); + r0 = (s.y___22349 + s.offsetY___22255); s.tmp_0.arg3 = r0; r0 = s.arg0.fields["fc"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___320063; + s.tmp_0.arg5 = s.font___22246; s.tmp_0.arg6 = undefined; s.pc = 55; return s.tmp_0; case 55: @@ -48413,11 +48365,11 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - s.pNum___320297 = (r0); - r0 = pxsim_String_.length(s.pNum___320297); + s.pNum___22480 = (r0); + r0 = pxsim_String_.length(s.pNum___22480); s.tmp_1 = r0; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___320063; + s.tmp_3.arg0 = s.font___22246; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { @@ -48432,11 +48384,11 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.iconWidth___320304 = (r0); - s.tmp_0 = Math_max__P297646_mk(s); - s.tmp_0.arg0 = s.height___320067; + s.iconWidth___22487 = (r0); + s.tmp_0 = Math_max__P75_mk(s); + s.tmp_0.arg0 = s.height___22250; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___320063; + s.tmp_2.arg0 = s.font___22246; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -48453,25 +48405,25 @@ switch (step) { s.pc = 58; return s.tmp_0; case 58: r0 = s.retval; - s.iconHeight___320312 = (r0); + s.iconHeight___22495 = (r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = (s.x___320159 - s.iconWidth___320304); + r0 = (s.x___22342 - s.iconWidth___22487); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); { step = 32; continue; } case 31: - r0 = (s.x___320159 + s.width___320149); + r0 = (s.x___22342 + s.width___22332); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); case 32: // jmp value (already in r0) s.tmp_3 = r0; - s.iconX___320320 = (s.tmp_3); - s.iconY___320332 = (s.y___320166); - r0 = pxsim_numops_toBoolDecr(s.showScore___320073); + s.iconX___22503 = (s.tmp_3); + s.iconY___22515 = (s.y___22349); + r0 = pxsim_numops_toBoolDecr(s.showScore___22256); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -48480,7 +48432,7 @@ switch (step) { r0 = s.tmp_0; { step = 34; continue; } case 33: - r0 = pxsim_numops_toBoolDecr(s.showLife___320081); + r0 = pxsim_numops_toBoolDecr(s.showLife___22264); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 34: @@ -48499,41 +48451,41 @@ switch (step) { case 36: // jmp value (already in r0) s.tmp_5 = r0; - r0 = (s.iconX___320320 + s.tmp_5); - s.iconX___320320 = (r0); + r0 = (s.iconX___22503 + s.tmp_5); + s.iconX___22503 = (r0); r0 = s.arg0.fields["up"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 37; continue; } - r0 = (s.iconY___320332 - 3); - s.iconY___320332 = (r0); + r0 = (s.iconY___22515 - 3); + s.iconY___22515 = (r0); case 37: case 38: case 39: case 40: - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_0.arg1 = s.iconX___320320; - s.tmp_0.arg2 = s.iconY___320332; - s.tmp_0.arg3 = s.iconWidth___320304; - s.tmp_0.arg4 = s.iconHeight___320312; + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_0.arg1 = s.iconX___22503; + s.tmp_0.arg2 = s.iconY___22515; + s.tmp_0.arg3 = s.iconWidth___22487; + s.tmp_0.arg4 = s.iconHeight___22495; r0 = s.arg0.fields["border"]; s.tmp_0.arg5 = r0; s.pc = 60; return s.tmp_0; case 60: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_0.arg1 = s.pNum___320297; - r0 = (s.iconX___320320 + 1); + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_0.arg1 = s.pNum___22480; + r0 = (s.iconX___22503 + 1); s.tmp_0.arg2 = r0; - s.tmp_2 = r0 = s.iconY___320332; - r0 = (s.iconHeight___320312 >> 1); + s.tmp_2 = r0 = s.iconY___22515; + r0 = (s.iconHeight___22495 >> 1); s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; s.tmp_6 = if_charHeight_1_mk(s); - s.tmp_6.arg0 = s.font___320063; + s.tmp_6.arg0 = s.font___22246; if (!s.tmp_6.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "charHeight"); } else { @@ -48551,7 +48503,7 @@ switch (step) { s.tmp_0.arg3 = r0; r0 = s.arg0.fields["bg"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___320063; + s.tmp_0.arg5 = s.font___22246; s.tmp_0.arg6 = undefined; s.pc = 61; return s.tmp_0; case 61: @@ -48562,13 +48514,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_drawPlayer__P298484.info = {"start":21253,"length":3635,"line":702,"column":8,"endLine":805,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"drawPlayer","argumentNames":["this"]} -info_PlayerInfo_drawPlayer__P298484.info = {"start":21253,"length":3635,"line":702,"column":8,"endLine":805,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"drawPlayer","argumentNames":["this"]} +info_PlayerInfo_drawPlayer__P992.info = {"start":21253,"length":3635,"line":702,"column":8,"endLine":805,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawPlayer","argumentNames":["this"]} +info_PlayerInfo_drawPlayer__P992.info = {"start":21253,"length":3635,"line":702,"column":8,"endLine":805,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawPlayer","argumentNames":["this"]} -function info_PlayerInfo_drawPlayer__P298484_mk(s) { +function info_PlayerInfo_drawPlayer__P992_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_drawPlayer__P298484, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_drawPlayer__P992, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48584,27 +48536,27 @@ function info_PlayerInfo_drawPlayer__P298484_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - state___320060: undefined, - font___320063: undefined, - score___320065: undefined, - life___320066: undefined, - height___320067: undefined, - scoreWidth___320068: undefined, - lifeWidth___320069: undefined, - offsetY___320072: undefined, - showScore___320073: undefined, - showLife___320081: undefined, - width___320149: undefined, - x___320159: undefined, - y___320166: undefined, - bump___320199: undefined, - xLoc___320224: undefined, - mult___320235: undefined, - pNum___320297: undefined, - iconWidth___320304: undefined, - iconHeight___320312: undefined, - iconX___320320: undefined, - iconY___320332: undefined, + state___22243: undefined, + font___22246: undefined, + score___22248: undefined, + life___22249: undefined, + height___22250: undefined, + scoreWidth___22251: undefined, + lifeWidth___22252: undefined, + offsetY___22255: undefined, + showScore___22256: undefined, + showLife___22264: undefined, + width___22332: undefined, + x___22342: undefined, + y___22349: undefined, + bump___22382: undefined, + xLoc___22407: undefined, + mult___22418: undefined, + pNum___22480: undefined, + iconWidth___22487: undefined, + iconHeight___22495: undefined, + iconX___22503: undefined, + iconY___22515: undefined, arg0: undefined, } } @@ -48612,7 +48564,7 @@ function info_PlayerInfo_drawPlayer__P298484_mk(s) { -function info_PlayerInfo_raiseLifeZero__P298483(s) { +function info_PlayerInfo_raiseLifeZero__P991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48622,21 +48574,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.state___320037 = undefined; + s.state___22220 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C298470_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P298472_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C978_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P980_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.state___320037 = (r0); - r0 = s.state___320037.fields["life"]; + s.state___22220 = (r0); + r0 = s.state___22220.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== null); s.tmp_0 = r0; @@ -48645,7 +48597,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.state___320037.fields["life"]; + r0 = s.state___22220.fields["life"]; s.tmp_2 = r0; r0 = (s.tmp_2 <= 0); case 2: @@ -48653,13 +48605,13 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - r0 = (s.state___320037).fields["life"] = (null); - r0 = s.state___320037.fields["lifeZeroHandler"]; + r0 = (s.state___22220).fields["life"] = (null); + r0 = s.state___22220.fields["lifeZeroHandler"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = if_lifeZeroHandler_1_mk(s); - s.tmp_1.arg0 = s.state___320037; + s.tmp_1.arg0 = s.state___22220; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "lifeZeroHandler"), 1); s.pc = 10; return s.tmp_1; @@ -48675,7 +48627,7 @@ switch (step) { case 3: r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 4; continue; } - s.tmp_0 = game_over__P298735_mk(s); + s.tmp_0 = game_over__P1243_mk(s); s.tmp_0.arg0 = false; s.tmp_0.arg1 = undefined; s.pc = 11; return s.tmp_0; @@ -48690,19 +48642,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_raiseLifeZero__P298483.info = {"start":20869,"length":374,"line":690,"column":8,"endLine":700,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"raiseLifeZero","argumentNames":["this","gameOver"]} -info_PlayerInfo_raiseLifeZero__P298483.info = {"start":20869,"length":374,"line":690,"column":8,"endLine":700,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"raiseLifeZero","argumentNames":["this","gameOver"]} +info_PlayerInfo_raiseLifeZero__P991.info = {"start":20869,"length":374,"line":690,"column":8,"endLine":700,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"raiseLifeZero","argumentNames":["this","gameOver"]} +info_PlayerInfo_raiseLifeZero__P991.info = {"start":20869,"length":374,"line":690,"column":8,"endLine":700,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"raiseLifeZero","argumentNames":["this","gameOver"]} -function info_PlayerInfo_raiseLifeZero__P298483_mk(s) { +function info_PlayerInfo_raiseLifeZero__P991_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_raiseLifeZero__P298483, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_raiseLifeZero__P991, 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, - state___320037: undefined, + state___22220: undefined, arg0: undefined, arg1: undefined, } } @@ -48711,7 +48663,7 @@ function info_PlayerInfo_raiseLifeZero__P298483_mk(s) { -function info_PlayerInfo_hasLife__P298481(s) { +function info_PlayerInfo_hasLife__P989(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48721,20 +48673,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.state___319956 = undefined; + s.state___22139 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C298470_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P298472_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C978_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P980_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.state___319956 = (r0); - r0 = s.state___319956.fields["life"]; + s.state___22139 = (r0); + r0 = s.state___22139.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); s.tmp_0 = r0; @@ -48743,7 +48695,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.state___319956.fields["life"]; + r0 = s.state___22139.fields["life"]; s.tmp_2 = r0; r0 = (s.tmp_2 !== null); case 2: @@ -48753,19 +48705,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_hasLife__P298481.info = {"start":20346,"length":141,"line":673,"column":8,"endLine":676,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"hasLife","argumentNames":["this"]} -info_PlayerInfo_hasLife__P298481.info = {"start":20346,"length":141,"line":673,"column":8,"endLine":676,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"hasLife","argumentNames":["this"]} +info_PlayerInfo_hasLife__P989.info = {"start":20346,"length":141,"line":673,"column":8,"endLine":676,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasLife","argumentNames":["this"]} +info_PlayerInfo_hasLife__P989.info = {"start":20346,"length":141,"line":673,"column":8,"endLine":676,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasLife","argumentNames":["this"]} -function info_PlayerInfo_hasLife__P298481_mk(s) { +function info_PlayerInfo_hasLife__P989_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_hasLife__P298481, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_hasLife__P989, 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, - state___319956: undefined, + state___22139: undefined, arg0: undefined, } } @@ -48773,7 +48725,7 @@ function info_PlayerInfo_hasLife__P298481_mk(s) { -function info_drawTimer__P298469(s) { +function info_drawTimer__P977(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48783,18 +48735,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.font___319627 = undefined; - s.smallFont___319629 = undefined; - s.seconds___319631 = undefined; - s.width___319635 = undefined; - s.left___319640 = undefined; - s.color1___319650 = undefined; - s.color2___319654 = undefined; - s.temp___319667 = undefined; - s.remainder___319703 = undefined; - s.decimalLeft___319722 = undefined; - s.minutes___319740 = undefined; - s.remainder___319744 = undefined; + s.font___21810 = undefined; + s.smallFont___21812 = undefined; + s.seconds___21814 = undefined; + s.width___21818 = undefined; + s.left___21823 = undefined; + s.color1___21833 = undefined; + s.color2___21837 = undefined; + s.temp___21850 = undefined; + s.remainder___21886 = undefined; + s.decimalLeft___21905 = undefined; + s.minutes___21923 = undefined; + s.remainder___21927 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -48808,12 +48760,12 @@ switch (step) { case 2: r0 = (s.arg0 | 0); s.arg0 = (r0); - s.font___319627 = (globals.font8___297999); - s.smallFont___319629 = (globals.font5___298006); + s.font___21810 = (globals.font8___497); + s.smallFont___21812 = (globals.font5___504); r0 = pxsim.Math_.idiv(s.arg0, 1000); - s.seconds___319631 = (r0); + s.seconds___21814 = (r0); s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___319627; + s.tmp_2.arg0 = s.font___21810; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -48828,29 +48780,29 @@ switch (step) { r0 = (s.tmp_1 * 5); s.tmp_0 = r0; r0 = (s.tmp_0 - 2); - s.width___319635 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___298046); + s.width___21818 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; - r0 = (s.width___319635 >> 1); + r0 = (s.width___21818 >> 1); s.tmp_3 = r0; r0 = (s.tmp_1 - s.tmp_3); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.left___319640 = (r0); - r0 = globals.infoState___298388.fields["fontColor"]; - s.color1___319650 = (r0); - r0 = globals.infoState___298388.fields["bgColor"]; - s.color2___319654 = (r0); - r0 = (s.seconds___319631 < 10); + s.left___21823 = (r0); + r0 = globals.infoState___896.fields["fontColor"]; + s.color1___21833 = (r0); + r0 = globals.infoState___896.fields["bgColor"]; + s.color2___21837 = (r0); + r0 = (s.seconds___21814 < 10); 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.seconds___319631 & 1); + r0 = (s.seconds___21814 & 1); case 4: // jmp value (already in r0) s.tmp_1 = r0; @@ -48859,7 +48811,7 @@ switch (step) { r0 = s.tmp_1; { step = 6; continue; } case 5: - r0 = pxsim_ImageMethods.isMono(globals.screen___298046); + r0 = pxsim_ImageMethods.isMono(globals.screen___545); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -48869,20 +48821,20 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 7; continue; } - s.temp___319667 = (s.color1___319650); - s.color1___319650 = (s.color2___319654); - s.color2___319654 = (s.temp___319667); + s.temp___21850 = (s.color1___21833); + s.color1___21833 = (s.color2___21837); + s.color2___21837 = (s.temp___21850); case 7: case 8: - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - r0 = (s.left___319640 - 3); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; + r0 = (s.left___21823 - 3); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = (s.width___319635 + 6); + r0 = (s.width___21818 + 6); s.tmp_0.arg3 = r0; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___319627; + s.tmp_2.arg0 = s.font___21810; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -48896,20 +48848,20 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___298388.fields["borderColor"]; + r0 = globals.infoState___896.fields["borderColor"]; s.tmp_0.arg5 = r0; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - r0 = (s.left___319640 - 2); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; + r0 = (s.left___21823 - 2); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = (s.width___319635 + 4); + r0 = (s.width___21818 + 4); s.tmp_0.arg3 = r0; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___319627; + s.tmp_2.arg0 = s.font___21810; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -48923,22 +48875,22 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 2); s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.color2___319654; + s.tmp_0.arg5 = s.color2___21837; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - r0 = (s.seconds___319631 < 60); + r0 = (s.seconds___21814 < 60); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } r0 = (s.arg0 % 1000); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 10); - s.remainder___319703 = (r0); - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_3 = info_formatDecimal__P298488_mk(s); - s.tmp_3.arg0 = s.seconds___319631; + s.remainder___21886 = (r0); + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_3 = info_formatDecimal__P996_mk(s); + s.tmp_3.arg0 = s.seconds___21814; s.pc = 17; return s.tmp_3; case 17: r0 = s.retval; @@ -48954,17 +48906,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "."); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___319640; + s.tmp_0.arg2 = s.left___21823; s.tmp_0.arg3 = 1; - s.tmp_0.arg4 = s.color1___319650; - s.tmp_0.arg5 = s.font___319627; + s.tmp_0.arg4 = s.color1___21833; + s.tmp_0.arg5 = s.font___21810; s.tmp_0.arg6 = undefined; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.left___319640; + s.tmp_0 = r0 = s.left___21823; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___319627; + s.tmp_3.arg0 = s.font___21810; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { @@ -48979,33 +48931,33 @@ switch (step) { r0 = (3 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.decimalLeft___319722 = (r0); - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_1 = info_formatDecimal__P298488_mk(s); - s.tmp_1.arg0 = s.remainder___319703; + s.decimalLeft___21905 = (r0); + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_1 = info_formatDecimal__P996_mk(s); + s.tmp_1.arg0 = s.remainder___21886; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.decimalLeft___319722; + s.tmp_0.arg2 = s.decimalLeft___21905; s.tmp_0.arg3 = 3; - s.tmp_0.arg4 = s.color1___319650; - s.tmp_0.arg5 = s.smallFont___319629; + s.tmp_0.arg4 = s.color1___21833; + s.tmp_0.arg5 = s.smallFont___21812; s.tmp_0.arg6 = undefined; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim.Math_.idiv(s.seconds___319631, 60); - s.minutes___319740 = (r0); - r0 = (s.seconds___319631 % 60); - s.remainder___319744 = (r0); - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_5 = info_formatDecimal__P298488_mk(s); - s.tmp_5.arg0 = s.minutes___319740; + r0 = pxsim.Math_.idiv(s.seconds___21814, 60); + s.minutes___21923 = (r0); + r0 = (s.seconds___21814 % 60); + s.remainder___21927 = (r0); + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_5 = info_formatDecimal__P996_mk(s); + s.tmp_5.arg0 = s.minutes___21923; s.pc = 23; return s.tmp_5; case 23: r0 = s.retval; @@ -49030,8 +48982,8 @@ switch (step) { case 25: r0 = s.retval; s.tmp_1 = r0; - s.tmp_8 = info_formatDecimal__P298488_mk(s); - s.tmp_8.arg0 = s.remainder___319744; + s.tmp_8 = info_formatDecimal__P996_mk(s); + s.tmp_8.arg0 = s.remainder___21927; s.pc = 26; return s.tmp_8; case 26: r0 = s.retval; @@ -49047,10 +48999,10 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_6); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___319640; + s.tmp_0.arg2 = s.left___21823; s.tmp_0.arg3 = 1; - s.tmp_0.arg4 = s.color1___319650; - s.tmp_0.arg5 = s.font___319627; + s.tmp_0.arg4 = s.color1___21833; + s.tmp_0.arg5 = s.font___21810; s.tmp_0.arg6 = undefined; s.pc = 22; return s.tmp_0; case 22: @@ -49060,13 +49012,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_drawTimer__P298469.info = {"start":13488,"length":1328,"line":462,"column":4,"endLine":497,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"drawTimer","argumentNames":["millis"]} -info_drawTimer__P298469.info = {"start":13488,"length":1328,"line":462,"column":4,"endLine":497,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"drawTimer","argumentNames":["millis"]} +info_drawTimer__P977.info = {"start":13488,"length":1328,"line":462,"column":4,"endLine":497,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"drawTimer","argumentNames":["millis"]} +info_drawTimer__P977.info = {"start":13488,"length":1328,"line":462,"column":4,"endLine":497,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"drawTimer","argumentNames":["millis"]} -function info_drawTimer__P298469_mk(s) { +function info_drawTimer__P977_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_drawTimer__P298469, depth: s.depth + 1, + parent: s, fn: info_drawTimer__P977, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49077,18 +49029,18 @@ function info_drawTimer__P298469_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - font___319627: undefined, - smallFont___319629: undefined, - seconds___319631: undefined, - width___319635: undefined, - left___319640: undefined, - color1___319650: undefined, - color2___319654: undefined, - temp___319667: undefined, - remainder___319703: undefined, - decimalLeft___319722: undefined, - minutes___319740: undefined, - remainder___319744: undefined, + font___21810: undefined, + smallFont___21812: undefined, + seconds___21814: undefined, + width___21818: undefined, + left___21823: undefined, + color1___21833: undefined, + color2___21837: undefined, + temp___21850: undefined, + remainder___21886: undefined, + decimalLeft___21905: undefined, + minutes___21923: undefined, + remainder___21927: undefined, arg0: undefined, } } @@ -49096,7 +49048,7 @@ function info_drawTimer__P298469_mk(s) { -function info_formatDecimal__P298488(s) { +function info_formatDecimal__P996(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49134,13 +49086,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_formatDecimal__P298488.info = {"start":28426,"length":156,"line":916,"column":4,"endLine":922,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"formatDecimal","argumentNames":["val"]} -info_formatDecimal__P298488.info = {"start":28426,"length":156,"line":916,"column":4,"endLine":922,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"formatDecimal","argumentNames":["val"]} +info_formatDecimal__P996.info = {"start":28426,"length":156,"line":916,"column":4,"endLine":922,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"formatDecimal","argumentNames":["val"]} +info_formatDecimal__P996.info = {"start":28426,"length":156,"line":916,"column":4,"endLine":922,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"formatDecimal","argumentNames":["val"]} -function info_formatDecimal__P298488_mk(s) { +function info_formatDecimal__P996_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_formatDecimal__P298488, depth: s.depth + 1, + parent: s, fn: info_formatDecimal__P996, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49151,7 +49103,7 @@ function info_formatDecimal__P298488_mk(s) { -function info_InfoState_constructor__P298386(s) { +function info_InfoState_constructor__P894(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49166,24 +49118,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_InfoState__C298385_VT)) failedCast(r0); + if (!checkSubtype(r0, info_InfoState__C893_VT)) failedCast(r0); r0 = (s.arg0).fields["visibilityFlag"] = (8); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["playerStates"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = info_defaultHeartImage__P298442_mk(s); + s.tmp_2 = info_defaultHeartImage__P950_mk(s); s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["heartImage"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - r0 = pxsim.image.ofBuffer(_hex320393); + r0 = pxsim.image.ofBuffer(_hex22576); s.tmp_1 = r0; r0 = (s.tmp_0).fields["multiplierImage"] = (s.tmp_1); - r0 = pxsim_ImageMethods.isMono(globals.screen___298046); + r0 = pxsim_ImageMethods.isMono(globals.screen___545); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -49195,7 +49147,7 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg0).fields["bgColor"] = (s.tmp_1); - r0 = pxsim_ImageMethods.isMono(globals.screen___298046); + r0 = pxsim_ImageMethods.isMono(globals.screen___545); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -49207,7 +49159,7 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg0).fields["borderColor"] = (s.tmp_1); - r0 = pxsim_ImageMethods.isMono(globals.screen___298046); + r0 = pxsim_ImageMethods.isMono(globals.screen___545); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -49230,13 +49182,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_InfoState_constructor__P298386.info = {"start":1045,"length":674,"line":43,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["this"]} -info_InfoState_constructor__P298386.info = {"start":1045,"length":674,"line":43,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["this"]} +info_InfoState_constructor__P894.info = {"start":1045,"length":674,"line":43,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} +info_InfoState_constructor__P894.info = {"start":1045,"length":674,"line":43,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} -function info_InfoState_constructor__P298386_mk(s) { +function info_InfoState_constructor__P894_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_InfoState_constructor__P298386, depth: s.depth + 1, + parent: s, fn: info_InfoState_constructor__P894, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49244,12 +49196,12 @@ function info_InfoState_constructor__P298386_mk(s) { arg0: undefined, } } -const _hex320393 = pxsim.BufferMethods.createBufferFromHex("87040500050000000100010010100000000100001010000001000100") +const _hex22576 = pxsim.BufferMethods.createBufferFromHex("87040500050000000100010010100000000100001010000001000100") -function info_defaultHeartImage__P298442(s) { +function info_defaultHeartImage__P950(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49259,14 +49211,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___298046); + r0 = pxsim_ImageMethods.isMono(globals.screen___545); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex320421); + r0 = pxsim.image.ofBuffer(_hex22604); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex320423); + r0 = pxsim.image.ofBuffer(_hex22606); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -49274,25 +49226,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_defaultHeartImage__P298442.info = {"start":5080,"length":592,"line":162,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"defaultHeartImage","argumentNames":[]} -info_defaultHeartImage__P298442.info = {"start":5080,"length":592,"line":162,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/game---hw/info.ts","functionName":"defaultHeartImage","argumentNames":[]} +info_defaultHeartImage__P950.info = {"start":5080,"length":592,"line":162,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultHeartImage","argumentNames":[]} +info_defaultHeartImage__P950.info = {"start":5080,"length":592,"line":162,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultHeartImage","argumentNames":[]} -function info_defaultHeartImage__P298442_mk(s) { +function info_defaultHeartImage__P950_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_defaultHeartImage__P298442, depth: s.depth + 1, + parent: s, fn: info_defaultHeartImage__P950, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex320421 = pxsim.BufferMethods.createBufferFromHex("87040800070000001011000001000100010010001000000101001000010001001011000000000000") -const _hex320423 = pxsim.BufferMethods.createBufferFromHex("8704080007000000c0cc00002c220c002222c2002222220c20222202222422004222020020220000") +const _hex22604 = pxsim.BufferMethods.createBufferFromHex("87040800070000001011000001000100010010001000000101001000010001001011000000000000") +const _hex22606 = pxsim.BufferMethods.createBufferFromHex("8704080007000000c0cc00002c220c002222c2002222220c20222202222422004222020020220000") -function info_PlayerState_constructor__P298384(s) { +function info_PlayerState_constructor__P892(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49307,18 +49259,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerState__C298383_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerState__C891_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -info_PlayerState_constructor__P298384.info = {"start":608,"length":17,"line":27,"column":8,"endLine":27,"endColumn":25,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["this"]} -info_PlayerState_constructor__P298384.info = {"start":608,"length":17,"line":27,"column":8,"endLine":27,"endColumn":25,"fileName":"pxt_modules/game---hw/info.ts","functionName":"inline","argumentNames":["this"]} +info_PlayerState_constructor__P892.info = {"start":608,"length":17,"line":27,"column":8,"endLine":27,"endColumn":25,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} +info_PlayerState_constructor__P892.info = {"start":608,"length":17,"line":27,"column":8,"endLine":27,"endColumn":25,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} -function info_PlayerState_constructor__P298384_mk(s) { +function info_PlayerState_constructor__P892_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerState_constructor__P298384, depth: s.depth + 1, + parent: s, fn: info_PlayerState_constructor__P892, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -49327,7 +49279,7 @@ function info_PlayerState_constructor__P298384_mk(s) { -function tileworld_TileWorldVM_round__P1084480(s) { +function tileworld_TileWorldVM_round__P6657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49337,15 +49289,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.rcCount___1084606 = undefined; - s.against___1084668 = undefined; + s.rcCount___6784 = undefined; + s.against___6846 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); r0 = s.arg0.fields["vm"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -49376,9 +49328,9 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["paintTile"] = (s.tmp_1); - s.tmp_0 = tileworld_TileWorldVM_allSprites__P1084483_mk(s); + s.tmp_0 = tileworld_TileWorldVM_allSprites__P6660_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = inline__P1084571; + s.tmp_0.arg1 = inline__P6749; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -49386,133 +49338,133 @@ switch (step) { r0 = r0.fields["nextWorld"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, 15); - s.tmp_0 = tileworld_TileWorldVM_allSprites__P1084483_mk(s); + s.tmp_0 = tileworld_TileWorldVM_allSprites__P6660_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = inline__P1084600; + s.tmp_0.arg1 = inline__P6778; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.rcCount___1084606 = (0); + s.rcCount___6784 = (0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["ruleClosures"] = (s.tmp_1); - s.tmp_0 = tileworld_TileWorldVM_applyRules__P1084486_mk(s); + s.tmp_0 = tileworld_TileWorldVM_applyRules__P6663_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P1084617); + r0 = pxsim_pxtcore_mkAction(1, inline__P6795); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["ruleClosures"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.tmp_0 = r0 = s.rcCount___1084606; + s.tmp_0 = r0 = s.rcCount___6784; r0 = s.arg0.fields["ruleClosures"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.rcCount___1084606 = (r0); + s.rcCount___6784 = (r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["ruleClosures"] = (s.tmp_1); - s.tmp_0 = tileworld_TileWorldVM_applyRules__P1084486_mk(s); + s.tmp_0 = tileworld_TileWorldVM_applyRules__P6663_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P1084636); + r0 = pxsim_pxtcore_mkAction(1, inline__P6814); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["ruleClosures"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.tmp_0 = r0 = s.rcCount___1084606; + s.tmp_0 = r0 = s.rcCount___6784; r0 = s.arg0.fields["ruleClosures"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.rcCount___1084606 = (r0); + s.rcCount___6784 = (r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["ruleClosures"] = (s.tmp_1); - s.tmp_0 = tileworld_TileWorldVM_applyRules__P1084486_mk(s); + s.tmp_0 = tileworld_TileWorldVM_applyRules__P6663_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P1084655); + r0 = pxsim_pxtcore_mkAction(1, inline__P6833); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["ruleClosures"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - s.tmp_0 = r0 = s.rcCount___1084606; + s.tmp_0 = r0 = s.rcCount___6784; r0 = s.arg0.fields["ruleClosures"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.rcCount___1084606 = (r0); + s.rcCount___6784 = (r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["ruleClosures"] = (s.tmp_1); r0 = pxsim_Array__mk(); - s.against___1084668 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P1084671); + s.against___6846 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P6849); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.against___1084668); - s.tmp_1 = tileworld_TileWorldVM_allSprites__P1084483_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.against___6846); + s.tmp_1 = tileworld_TileWorldVM_allSprites__P6660_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - s.tmp_0 = tileworld_TileWorldVM_collisionDetection__P1084488_mk(s); + s.tmp_0 = tileworld_TileWorldVM_collisionDetection__P6665_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.against___1084668; + s.tmp_0.arg1 = s.against___6846; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P1084682); + r0 = pxsim_pxtcore_mkAction(1, inline__P6860); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["ruleClosures"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - s.tmp_0 = r0 = s.rcCount___1084606; + s.tmp_0 = r0 = s.rcCount___6784; r0 = s.arg0.fields["ruleClosures"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.rcCount___1084606 = (r0); - s.tmp_0 = tileworld_TileWorldVM_updateWorld__P1084481_mk(s); + s.rcCount___6784 = (r0); + s.tmp_0 = tileworld_TileWorldVM_updateWorld__P6658_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 15; return s.tmp_0; case 15: @@ -49522,19 +49474,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_round__P1084480.info = {"start":2878,"length":2082,"line":89,"column":8,"endLine":133,"endColumn":9,"fileName":"vm.ts","functionName":"round","argumentNames":["this","currDir"]} -tileworld_TileWorldVM_round__P1084480.info = {"start":2878,"length":2082,"line":89,"column":8,"endLine":133,"endColumn":9,"fileName":"vm.ts","functionName":"round","argumentNames":["this","currDir"]} +tileworld_TileWorldVM_round__P6657.info = {"start":2878,"length":2082,"line":89,"column":8,"endLine":133,"endColumn":9,"fileName":"vm.ts","functionName":"round","argumentNames":["this","currDir"]} +tileworld_TileWorldVM_round__P6657.info = {"start":2878,"length":2082,"line":89,"column":8,"endLine":133,"endColumn":9,"fileName":"vm.ts","functionName":"round","argumentNames":["this","currDir"]} -function tileworld_TileWorldVM_round__P1084480_mk(s) { +function tileworld_TileWorldVM_round__P6657_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_round__P1084480, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_round__P6657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rcCount___1084606: undefined, - against___1084668: undefined, + rcCount___6784: undefined, + against___6846: undefined, arg0: undefined, arg1: undefined, } } @@ -49543,7 +49495,7 @@ function tileworld_TileWorldVM_round__P1084480_mk(s) { -function inline__P1084571(s) { +function inline__P6749(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49557,9 +49509,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_x__P298230_mk(s); + s.tmp_0 = Sprite_x__P738_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_4 = Sprite_x__P298229_mk(s); + s.tmp_4 = Sprite_x__P737_mk(s); s.tmp_4.arg0 = s.arg0; s.pc = 2; return s.tmp_4; case 2: @@ -49574,9 +49526,9 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); + s.tmp_0 = Sprite_y__P740_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_4 = Sprite_y__P298231_mk(s); + s.tmp_4 = Sprite_y__P739_mk(s); s.tmp_4.arg0 = s.arg0; s.pc = 4; return s.tmp_4; case 4: @@ -49595,13 +49547,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1084571.info = {"start":3217,"length":115,"line":98,"column":28,"endLine":101,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -inline__P1084571.info = {"start":3217,"length":115,"line":98,"column":28,"endLine":101,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P6749.info = {"start":3217,"length":115,"line":98,"column":28,"endLine":101,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P6749.info = {"start":3217,"length":115,"line":98,"column":28,"endLine":101,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P1084571_mk(s) { +function inline__P6749_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1084571, depth: s.depth + 1, + parent: s, fn: inline__P6749, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49615,7 +49567,7 @@ function inline__P1084571_mk(s) { -function inline__P1084600(s) { +function inline__P6778(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49634,13 +49586,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1084600.info = {"start":3403,"length":23,"line":103,"column":28,"endLine":103,"endColumn":51,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -inline__P1084600.info = {"start":3403,"length":23,"line":103,"column":28,"endLine":103,"endColumn":51,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P6778.info = {"start":3403,"length":23,"line":103,"column":28,"endLine":103,"endColumn":51,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P6778.info = {"start":3403,"length":23,"line":103,"column":28,"endLine":103,"endColumn":51,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P1084600_mk(s) { +function inline__P6778_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1084600, depth: s.depth + 1, + parent: s, fn: inline__P6778, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -49649,7 +49601,7 @@ function inline__P1084600_mk(s) { -function inline__P1084617(s) { +function inline__P6795(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49663,7 +49615,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_TileWorldVM_evaluateRuleClosure__P1084496_mk(s); + s.tmp_0 = tileworld_TileWorldVM_evaluateRuleClosure__P6673_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.pc = 1; return s.tmp_0; @@ -49673,13 +49625,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1084617.info = {"start":3628,"length":34,"line":108,"column":38,"endLine":108,"endColumn":72,"fileName":"vm.ts","functionName":"inline","argumentNames":["rc"]} -inline__P1084617.info = {"start":3628,"length":34,"line":108,"column":38,"endLine":108,"endColumn":72,"fileName":"vm.ts","functionName":"inline","argumentNames":["rc"]} +inline__P6795.info = {"start":3628,"length":34,"line":108,"column":38,"endLine":108,"endColumn":72,"fileName":"vm.ts","functionName":"inline","argumentNames":["rc"]} +inline__P6795.info = {"start":3628,"length":34,"line":108,"column":38,"endLine":108,"endColumn":72,"fileName":"vm.ts","functionName":"inline","argumentNames":["rc"]} -function inline__P1084617_mk(s) { +function inline__P6795_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1084617, depth: s.depth + 1, + parent: s, fn: inline__P6795, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -49689,7 +49641,7 @@ function inline__P1084617_mk(s) { -function inline__P1084636(s) { +function inline__P6814(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49703,7 +49655,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_TileWorldVM_evaluateRuleClosure__P1084496_mk(s); + s.tmp_0 = tileworld_TileWorldVM_evaluateRuleClosure__P6673_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.pc = 1; return s.tmp_0; @@ -49713,13 +49665,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1084636.info = {"start":3832,"length":34,"line":112,"column":38,"endLine":112,"endColumn":72,"fileName":"vm.ts","functionName":"inline","argumentNames":["rc"]} -inline__P1084636.info = {"start":3832,"length":34,"line":112,"column":38,"endLine":112,"endColumn":72,"fileName":"vm.ts","functionName":"inline","argumentNames":["rc"]} +inline__P6814.info = {"start":3832,"length":34,"line":112,"column":38,"endLine":112,"endColumn":72,"fileName":"vm.ts","functionName":"inline","argumentNames":["rc"]} +inline__P6814.info = {"start":3832,"length":34,"line":112,"column":38,"endLine":112,"endColumn":72,"fileName":"vm.ts","functionName":"inline","argumentNames":["rc"]} -function inline__P1084636_mk(s) { +function inline__P6814_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1084636, depth: s.depth + 1, + parent: s, fn: inline__P6814, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -49729,7 +49681,7 @@ function inline__P1084636_mk(s) { -function inline__P1084655(s) { +function inline__P6833(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49743,7 +49695,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_TileWorldVM_evaluateRuleClosure__P1084496_mk(s); + s.tmp_0 = tileworld_TileWorldVM_evaluateRuleClosure__P6673_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.pc = 1; return s.tmp_0; @@ -49753,13 +49705,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1084655.info = {"start":4036,"length":34,"line":116,"column":38,"endLine":116,"endColumn":72,"fileName":"vm.ts","functionName":"inline","argumentNames":["rc"]} -inline__P1084655.info = {"start":4036,"length":34,"line":116,"column":38,"endLine":116,"endColumn":72,"fileName":"vm.ts","functionName":"inline","argumentNames":["rc"]} +inline__P6833.info = {"start":4036,"length":34,"line":116,"column":38,"endLine":116,"endColumn":72,"fileName":"vm.ts","functionName":"inline","argumentNames":["rc"]} +inline__P6833.info = {"start":4036,"length":34,"line":116,"column":38,"endLine":116,"endColumn":72,"fileName":"vm.ts","functionName":"inline","argumentNames":["rc"]} -function inline__P1084655_mk(s) { +function inline__P6833_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1084655, depth: s.depth + 1, + parent: s, fn: inline__P6833, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -49769,7 +49721,7 @@ function inline__P1084655_mk(s) { -function inline__P1084671(s) { +function inline__P6849(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49788,13 +49740,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1084671.info = {"start":4625,"length":26,"line":126,"column":28,"endLine":126,"endColumn":54,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -inline__P1084671.info = {"start":4625,"length":26,"line":126,"column":28,"endLine":126,"endColumn":54,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P6849.info = {"start":4625,"length":26,"line":126,"column":28,"endLine":126,"endColumn":54,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P6849.info = {"start":4625,"length":26,"line":126,"column":28,"endLine":126,"endColumn":54,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P1084671_mk(s) { +function inline__P6849_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1084671, depth: s.depth + 1, + parent: s, fn: inline__P6849, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -49803,7 +49755,7 @@ function inline__P1084671_mk(s) { -function inline__P1084682(s) { +function inline__P6860(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49817,7 +49769,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_TileWorldVM_evaluateRuleClosure__P1084496_mk(s); + s.tmp_0 = tileworld_TileWorldVM_evaluateRuleClosure__P6673_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.pc = 1; return s.tmp_0; @@ -49827,13 +49779,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1084682.info = {"start":4741,"length":34,"line":128,"column":38,"endLine":128,"endColumn":72,"fileName":"vm.ts","functionName":"inline","argumentNames":["rc"]} -inline__P1084682.info = {"start":4741,"length":34,"line":128,"column":38,"endLine":128,"endColumn":72,"fileName":"vm.ts","functionName":"inline","argumentNames":["rc"]} +inline__P6860.info = {"start":4741,"length":34,"line":128,"column":38,"endLine":128,"endColumn":72,"fileName":"vm.ts","functionName":"inline","argumentNames":["rc"]} +inline__P6860.info = {"start":4741,"length":34,"line":128,"column":38,"endLine":128,"endColumn":72,"fileName":"vm.ts","functionName":"inline","argumentNames":["rc"]} -function inline__P1084682_mk(s) { +function inline__P6860_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1084682, depth: s.depth + 1, + parent: s, fn: inline__P6860, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -49843,7 +49795,7 @@ function inline__P1084682_mk(s) { -function tileworld_TileWorldVM_updateWorld__P1084481(s) { +function tileworld_TileWorldVM_updateWorld__P6658(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49853,29 +49805,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.x___1084745 = undefined; - s.y___1084753 = undefined; - s.pixel___1084761 = undefined; - s.tm___1084771 = undefined; - s.i___1084818 = undefined; - s.inst___1084825 = undefined; - s.arg___1084829 = undefined; - s.cc___1084855 = undefined; - s.liveCount___1084871 = undefined; + s.x___6923 = undefined; + s.y___6931 = undefined; + s.pixel___6939 = undefined; + s.tm___6949 = undefined; + s.i___6997 = undefined; + s.inst___7004 = undefined; + s.arg___7008 = undefined; + s.cc___7038 = undefined; + s.liveCount___7054 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); r0 = s.arg0.fields["vm"]; r0 = r0.fields["changed"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, 0); - r0 = pxsim_pxtcore_mkAction(1, inline__P1084701); + r0 = pxsim_pxtcore_mkAction(1, inline__P6879); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = tileworld_TileWorldVM_allSprites__P1084483_mk(s); + s.tmp_1 = tileworld_TileWorldVM_allSprites__P6660_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; s.pc = 26; return s.tmp_1; @@ -49888,9 +49840,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.x___1084745 = (0); + s.x___6923 = (0); case 1: - s.tmp_1 = r0 = s.x___1084745; + s.tmp_1 = r0 = s.x___6923; r0 = s.arg0.fields["vm"]; r0 = r0.fields["nextWorld"]; s.tmp_3 = r0; @@ -49900,9 +49852,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.y___1084753 = (0); + s.y___6931 = (0); case 2: - s.tmp_1 = r0 = s.y___1084753; + s.tmp_1 = r0 = s.y___6931; r0 = s.arg0.fields["vm"]; r0 = r0.fields["nextWorld"]; s.tmp_3 = r0; @@ -49915,24 +49867,24 @@ switch (step) { r0 = s.arg0.fields["vm"]; r0 = r0.fields["nextWorld"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.getPixel(s.tmp_4, s.x___1084745, s.y___1084753); - s.pixel___1084761 = (r0); - r0 = (s.pixel___1084761 != 15); + r0 = pxsim_ImageMethods.getPixel(s.tmp_4, s.x___6923, s.y___6931); + s.pixel___6939 = (r0); + r0 = (s.pixel___6939 != 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = game_currentScene__P298414_mk(s); + s.tmp_1 = game_currentScene__P922_mk(s); s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___1084771 = (r0); - s.tmp_0 = tiles_TileMap__C298537_v9_4_mk(s); - s.tmp_0.arg0 = s.tm___1084771; - s.tmp_0.arg1 = s.x___1084745; - s.tmp_0.arg2 = s.y___1084753; - s.tmp_0.arg3 = s.pixel___1084761; - if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_0.arg0); + s.tm___6949 = (r0); + s.tmp_0 = tiles_TileMap__C1045_v9_4_mk(s); + s.tmp_0.arg0 = s.tm___6949; + s.tmp_0.arg1 = s.x___6923; + s.tmp_0.arg2 = s.y___6931; + s.tmp_0.arg3 = s.pixel___6939; + if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.setTileAt; s.pc = 28; return s.tmp_0; case 28: @@ -49940,23 +49892,23 @@ switch (step) { r0 = s.arg0.fields["vm"]; r0 = r0.fields["changed"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.x___1084745, s.y___1084753, 1); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.x___6923, s.y___6931, 1); case 3: case 4: - r0 = (s.y___1084753 + 1); - s.y___1084753 = (r0); + r0 = (s.y___6931 + 1); + s.y___6931 = (r0); { step = 2; continue; } case 5: - r0 = (s.x___1084745 + 1); - s.x___1084745 = (r0); + r0 = (s.x___6923 + 1); + s.x___6923 = (r0); { step = 1; continue; } case 6: { step = 8; continue; } case 7: - r0 = pxsim_pxtcore_mkAction(1, inline__P1084795); + r0 = pxsim_pxtcore_mkAction(1, inline__P6974); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["vm"]; r0 = r0.fields["paintTile"]; s.tmp_1.arg0 = r0; @@ -49965,9 +49917,9 @@ switch (step) { case 29: r0 = s.retval; case 8: - s.i___1084818 = (0); + s.i___6997 = (0); case 9: - s.tmp_1 = r0 = s.i___1084818; + s.tmp_1 = r0 = s.i___6997; r0 = s.arg0.fields["globalInsts"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -49978,13 +49930,13 @@ switch (step) { if (!r0) { step = 25; continue; } r0 = s.arg0.fields["globalInsts"]; s.tmp_4 = r0; - r0 = pxsim_Array__getAt(s.tmp_4, s.i___1084818); - s.inst___1084825 = (r0); + r0 = pxsim_Array__getAt(s.tmp_4, s.i___6997); + s.inst___7004 = (r0); r0 = s.arg0.fields["globalArgs"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.i___1084818); - s.arg___1084829 = (r0); - s.tmp_0 = r0 = s.inst___1084825; + r0 = pxsim_Array__getAt(s.tmp_0, s.i___6997); + s.arg___7008 = (r0); + s.tmp_0 = r0 = s.inst___7004; r0 = pxsim_pxtcore.switch_eq(4, s.tmp_0); if (r0) { step = 10; continue; } r0 = pxsim_pxtcore.switch_eq(3, s.tmp_0); @@ -49992,20 +49944,20 @@ switch (step) { r0 = s.tmp_0; { step = 24; continue; } case 10: - r0 = (s.arg___1084829 == 0); + r0 = (s.arg___7008 == 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (!r0) { step = 11; continue; } r0 = s.tmp_1; { step = 12; continue; } case 11: - r0 = (s.arg___1084829 == 1); + r0 = (s.arg___7008 == 1); case 12: // jmp value (already in r0) s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 15; continue; } - r0 = (s.arg___1084829 == 0); + r0 = (s.arg___7008 == 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 13; continue; } @@ -50029,17 +49981,17 @@ switch (step) { r0 = s.arg0.fields["vm"]; r0 = r0.fields["fixed"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.arg___1084829); + r0 = (s.tmp_2 + s.arg___7008); s.tmp_1 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_1); - s.cc___1084855 = (r0); - s.tmp_0 = r0 = s.cc___1084855; + s.cc___7038 = (r0); + s.tmp_0 = r0 = s.cc___7038; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 18; continue; } r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = pxsim_Array__length(s.cc___1084855); + r0 = pxsim_Array__length(s.cc___7038); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); case 19: @@ -50047,41 +49999,41 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 22; continue; } - s.tmp_3 = helpers_arrayFilter__P297631_mk(s); - s.tmp_3.arg0 = s.cc___1084855; - s.tmp_3.arg1 = inline__P1084874; + s.tmp_3 = helpers_arrayFilter__P60_mk(s); + s.tmp_3.arg0 = s.cc___7038; + s.tmp_3.arg1 = inline__P7057; s.pc = 30; return s.tmp_3; case 30: r0 = s.retval; - s.liveCount___1084871 = (r0); - r0 = pxsim_Array__length(s.liveCount___1084871); + s.liveCount___7054 = (r0); + r0 = pxsim_Array__length(s.liveCount___7054); 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; } - r0 = (s.i___1084818 + 1); - s.i___1084818 = (r0); + r0 = (s.i___6997 + 1); + s.i___6997 = (r0); case 20: case 21: case 22: case 23: case 24: - r0 = (s.i___1084818 + 1); - s.i___1084818 = (r0); + r0 = (s.i___6997 + 1); + s.i___6997 = (r0); { step = 9; continue; } case 25: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_updateWorld__P1084481.info = {"start":4970,"length":2407,"line":135,"column":8,"endLine":187,"endColumn":9,"fileName":"vm.ts","functionName":"updateWorld","argumentNames":["this"]} -tileworld_TileWorldVM_updateWorld__P1084481.info = {"start":4970,"length":2407,"line":135,"column":8,"endLine":187,"endColumn":9,"fileName":"vm.ts","functionName":"updateWorld","argumentNames":["this"]} +tileworld_TileWorldVM_updateWorld__P6658.info = {"start":4970,"length":2407,"line":135,"column":8,"endLine":187,"endColumn":9,"fileName":"vm.ts","functionName":"updateWorld","argumentNames":["this"]} +tileworld_TileWorldVM_updateWorld__P6658.info = {"start":4970,"length":2407,"line":135,"column":8,"endLine":187,"endColumn":9,"fileName":"vm.ts","functionName":"updateWorld","argumentNames":["this"]} -function tileworld_TileWorldVM_updateWorld__P1084481_mk(s) { +function tileworld_TileWorldVM_updateWorld__P6658_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_updateWorld__P1084481, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_updateWorld__P6658, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50089,15 +50041,15 @@ function tileworld_TileWorldVM_updateWorld__P1084481_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x___1084745: undefined, - y___1084753: undefined, - pixel___1084761: undefined, - tm___1084771: undefined, - i___1084818: undefined, - inst___1084825: undefined, - arg___1084829: undefined, - cc___1084855: undefined, - liveCount___1084871: undefined, + x___6923: undefined, + y___6931: undefined, + pixel___6939: undefined, + tm___6949: undefined, + i___6997: undefined, + inst___7004: undefined, + arg___7008: undefined, + cc___7038: undefined, + liveCount___7054: undefined, arg0: undefined, } } @@ -50105,7 +50057,7 @@ function tileworld_TileWorldVM_updateWorld__P1084481_mk(s) { -function inline__P1084701(s) { +function inline__P6879(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50119,7 +50071,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_TileSprite_update__P1084383_mk(s); + s.tmp_0 = tileworld_TileSprite_update__P6558_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 3; return s.tmp_0; case 3: @@ -50133,13 +50085,13 @@ switch (step) { r0 = s.caps[0].fields["vm"]; r0 = r0.fields["changed"]; s.tmp_2 = r0; - s.tmp_4 = tileworld_TileSprite_col__P1084381_mk(s); + s.tmp_4 = tileworld_TileSprite_col__P6556_mk(s); s.tmp_4.arg0 = s.arg0; s.pc = 4; return s.tmp_4; case 4: r0 = s.retval; s.tmp_3 = r0; - s.tmp_6 = tileworld_TileSprite_row__P1084382_mk(s); + s.tmp_6 = tileworld_TileSprite_row__P6557_mk(s); s.tmp_6.arg0 = s.arg0; s.pc = 5; return s.tmp_6; case 5: @@ -50149,13 +50101,13 @@ switch (step) { r0 = s.caps[0].fields["vm"]; r0 = r0.fields["changed"]; s.tmp_0 = r0; - s.tmp_3 = tileworld_TileSprite_col__P1084381_mk(s); + s.tmp_3 = tileworld_TileSprite_col__P6556_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; s.tmp_2 = r0; - s.tmp_5 = tileworld_moveXdelta__P302362_mk(s); + s.tmp_5 = tileworld_moveXdelta__P4206_mk(s); r0 = s.arg0.fields["dir"]; s.tmp_5.arg0 = r0; s.pc = 7; return s.tmp_5; @@ -50164,13 +50116,13 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; - s.tmp_8 = tileworld_TileSprite_row__P1084382_mk(s); + s.tmp_8 = tileworld_TileSprite_row__P6557_mk(s); s.tmp_8.arg0 = s.arg0; s.pc = 8; return s.tmp_8; case 8: r0 = s.retval; s.tmp_7 = r0; - s.tmp_10 = tileworld_moveYdelta__P302374_mk(s); + s.tmp_10 = tileworld_moveYdelta__P4218_mk(s); r0 = s.arg0.fields["dir"]; s.tmp_10.arg0 = r0; s.pc = 9; return s.tmp_10; @@ -50186,13 +50138,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1084701.info = {"start":5059,"length":285,"line":137,"column":28,"endLine":143,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -inline__P1084701.info = {"start":5059,"length":285,"line":137,"column":28,"endLine":143,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P6879.info = {"start":5059,"length":285,"line":137,"column":28,"endLine":143,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P6879.info = {"start":5059,"length":285,"line":137,"column":28,"endLine":143,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P1084701_mk(s) { +function inline__P6879_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1084701, depth: s.depth + 1, + parent: s, fn: inline__P6879, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50212,7 +50164,7 @@ function inline__P1084701_mk(s) { -function inline__P1084795(s) { +function inline__P6974(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50222,26 +50174,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tm___1084797 = undefined; + s.tm___6976 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P298414_mk(s); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___1084797 = (r0); - s.tmp_0 = tiles_TileMap__C298537_v9_4_mk(s); - s.tmp_0.arg0 = s.tm___1084797; + s.tm___6976 = (r0); + s.tmp_0 = tiles_TileMap__C1045_v9_4_mk(s); + s.tmp_0.arg0 = s.tm___6976; r0 = s.arg0.fields["col"]; s.tmp_0.arg1 = r0; r0 = s.arg0.fields["row"]; s.tmp_0.arg2 = r0; r0 = s.arg0.fields["tile"]; s.tmp_0.arg3 = r0; - if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.setTileAt; s.pc = 2; return s.tmp_0; case 2: @@ -50258,18 +50210,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1084795.info = {"start":6090,"length":209,"line":159,"column":42,"endLine":163,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["pt"]} -inline__P1084795.info = {"start":6090,"length":209,"line":159,"column":42,"endLine":163,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["pt"]} +inline__P6974.info = {"start":6090,"length":209,"line":159,"column":42,"endLine":163,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["pt"]} +inline__P6974.info = {"start":6090,"length":209,"line":159,"column":42,"endLine":163,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["pt"]} -function inline__P1084795_mk(s) { +function inline__P6974_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1084795, depth: s.depth + 1, + parent: s, fn: inline__P6974, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - tm___1084797: undefined, + tm___6976: undefined, arg0: undefined, } } @@ -50277,7 +50229,7 @@ function inline__P1084795_mk(s) { -function inline__P1084874(s) { +function inline__P7057(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50297,13 +50249,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1084874.info = {"start":7039,"length":35,"line":178,"column":54,"endLine":178,"endColumn":89,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -inline__P1084874.info = {"start":7039,"length":35,"line":178,"column":54,"endLine":178,"endColumn":89,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P7057.info = {"start":7039,"length":35,"line":178,"column":54,"endLine":178,"endColumn":89,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P7057.info = {"start":7039,"length":35,"line":178,"column":54,"endLine":178,"endColumn":89,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P1084874_mk(s) { +function inline__P7057_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1084874, depth: s.depth + 1, + parent: s, fn: inline__P7057, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -50313,7 +50265,7 @@ function inline__P1084874_mk(s) { -function tiles_TileMap_setTileAt__P298551(s) { +function tiles_TileMap_setTileAt__P1059(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50331,8 +50283,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); - s.tmp_3 = tiles_TileMapData_isOutsideMap__P298535_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); + s.tmp_3 = tiles_TileMapData_isOutsideMap__P1043_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.arg1; @@ -50350,10 +50302,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_6 = tiles_TileMap__C298537_v10_2_mk(s); + s.tmp_6 = tiles_TileMap__C1045_v10_2_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = s.arg3; - if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_6.arg0); s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.isInvalidIndex; s.pc = 6; return s.tmp_6; case 6: @@ -50367,7 +50319,7 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 3; continue; } - s.tmp_8 = tiles_TileMapData_setTile__P298530_mk(s); + s.tmp_8 = tiles_TileMapData_setTile__P1038_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; @@ -50382,13 +50334,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_setTileAt__P298551.info = {"start":7307,"length":209,"line":267,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"setTileAt","argumentNames":["this","col","row","index"]} -tiles_TileMap_setTileAt__P298551.info = {"start":7307,"length":209,"line":267,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"setTileAt","argumentNames":["this","col","row","index"]} +tiles_TileMap_setTileAt__P1059.info = {"start":7307,"length":209,"line":267,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTileAt","argumentNames":["this","col","row","index"]} +tiles_TileMap_setTileAt__P1059.info = {"start":7307,"length":209,"line":267,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTileAt","argumentNames":["this","col","row","index"]} -function tiles_TileMap_setTileAt__P298551_mk(s) { +function tiles_TileMap_setTileAt__P1059_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_setTileAt__P298551, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_setTileAt__P1059, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50409,7 +50361,7 @@ function tiles_TileMap_setTileAt__P298551_mk(s) { -function tiles_TileMap_isInvalidIndex__P298555(s) { +function tiles_TileMap_isInvalidIndex__P1063(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50425,7 +50377,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -50441,13 +50393,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isInvalidIndex__P298555.info = {"start":8521,"length":106,"line":299,"column":8,"endLine":301,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} -tiles_TileMap_isInvalidIndex__P298555.info = {"start":8521,"length":106,"line":299,"column":8,"endLine":301,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} +tiles_TileMap_isInvalidIndex__P1063.info = {"start":8521,"length":106,"line":299,"column":8,"endLine":301,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} +tiles_TileMap_isInvalidIndex__P1063.info = {"start":8521,"length":106,"line":299,"column":8,"endLine":301,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} -function tiles_TileMap_isInvalidIndex__P298555_mk(s) { +function tiles_TileMap_isInvalidIndex__P1063_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isInvalidIndex__P298555, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isInvalidIndex__P1063, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50459,7 +50411,7 @@ function tiles_TileMap_isInvalidIndex__P298555_mk(s) { -function tiles_TileMapData_isOutsideMap__P298535(s) { +function tiles_TileMapData_isOutsideMap__P1043(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50476,7 +50428,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C298524_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C1032_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -50516,13 +50468,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isOutsideMap__P298535.info = {"start":5392,"length":132,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} -tiles_TileMapData_isOutsideMap__P298535.info = {"start":5392,"length":132,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} +tiles_TileMapData_isOutsideMap__P1043.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__P1043.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__P298535_mk(s) { +function tiles_TileMapData_isOutsideMap__P1043_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P298535, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P1043, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50541,7 +50493,7 @@ function tiles_TileMapData_isOutsideMap__P298535_mk(s) { -function tiles_TileMapData_setTile__P298530(s) { +function tiles_TileMapData_setTile__P1038(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50559,8 +50511,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C298524_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P298535_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C1032_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P1043_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -50607,13 +50559,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_setTile__P298530.info = {"start":4019,"length":315,"line":148,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"setTile","argumentNames":["this","col","row","tile"]} -tiles_TileMapData_setTile__P298530.info = {"start":4019,"length":315,"line":148,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"setTile","argumentNames":["this","col","row","tile"]} +tiles_TileMapData_setTile__P1038.info = {"start":4019,"length":315,"line":148,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTile","argumentNames":["this","col","row","tile"]} +tiles_TileMapData_setTile__P1038.info = {"start":4019,"length":315,"line":148,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTile","argumentNames":["this","col","row","tile"]} -function tiles_TileMapData_setTile__P298530_mk(s) { +function tiles_TileMapData_setTile__P1038_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_setTile__P298530, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_setTile__P1038, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50632,7 +50584,7 @@ function tiles_TileMapData_setTile__P298530_mk(s) { -function tileworld_TileSprite_row__P1084382(s) { +function tileworld_TileSprite_row__P6557(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50647,8 +50599,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileSprite__C1084379_VT)) failedCast(r0); - s.tmp_1 = Sprite_y__P298231_mk(s); + if (!checkSubtype(r0, tileworld_TileSprite__C6554_VT)) failedCast(r0); + s.tmp_1 = Sprite_y__P739_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 1; return s.tmp_1; case 1: @@ -50658,13 +50610,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileSprite_row__P1084382.info = {"start":955,"length":36,"line":29,"column":8,"endLine":29,"endColumn":44,"fileName":"vm.ts","functionName":"row","argumentNames":["this"]} -tileworld_TileSprite_row__P1084382.info = {"start":955,"length":36,"line":29,"column":8,"endLine":29,"endColumn":44,"fileName":"vm.ts","functionName":"row","argumentNames":["this"]} +tileworld_TileSprite_row__P6557.info = {"start":955,"length":36,"line":29,"column":8,"endLine":29,"endColumn":44,"fileName":"vm.ts","functionName":"row","argumentNames":["this"]} +tileworld_TileSprite_row__P6557.info = {"start":955,"length":36,"line":29,"column":8,"endLine":29,"endColumn":44,"fileName":"vm.ts","functionName":"row","argumentNames":["this"]} -function tileworld_TileSprite_row__P1084382_mk(s) { +function tileworld_TileSprite_row__P6557_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileSprite_row__P1084382, depth: s.depth + 1, + parent: s, fn: tileworld_TileSprite_row__P6557, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50675,7 +50627,7 @@ function tileworld_TileSprite_row__P1084382_mk(s) { -function tileworld_TileSprite_col__P1084381(s) { +function tileworld_TileSprite_col__P6556(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50690,8 +50642,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileSprite__C1084379_VT)) failedCast(r0); - s.tmp_1 = Sprite_x__P298229_mk(s); + if (!checkSubtype(r0, tileworld_TileSprite__C6554_VT)) failedCast(r0); + s.tmp_1 = Sprite_x__P737_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 1; return s.tmp_1; case 1: @@ -50701,13 +50653,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileSprite_col__P1084381.info = {"start":910,"length":36,"line":28,"column":8,"endLine":28,"endColumn":44,"fileName":"vm.ts","functionName":"col","argumentNames":["this"]} -tileworld_TileSprite_col__P1084381.info = {"start":910,"length":36,"line":28,"column":8,"endLine":28,"endColumn":44,"fileName":"vm.ts","functionName":"col","argumentNames":["this"]} +tileworld_TileSprite_col__P6556.info = {"start":910,"length":36,"line":28,"column":8,"endLine":28,"endColumn":44,"fileName":"vm.ts","functionName":"col","argumentNames":["this"]} +tileworld_TileSprite_col__P6556.info = {"start":910,"length":36,"line":28,"column":8,"endLine":28,"endColumn":44,"fileName":"vm.ts","functionName":"col","argumentNames":["this"]} -function tileworld_TileSprite_col__P1084381_mk(s) { +function tileworld_TileSprite_col__P6556_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileSprite_col__P1084381, depth: s.depth + 1, + parent: s, fn: tileworld_TileSprite_col__P6556, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50718,7 +50670,7 @@ function tileworld_TileSprite_col__P1084381_mk(s) { -function tileworld_TileSprite_update__P1084383(s) { +function tileworld_TileSprite_update__P6558(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50733,7 +50685,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileSprite__C1084379_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileSprite__C6554_VT)) failedCast(r0); r0 = s.arg0.fields["inst"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 0); @@ -50785,7 +50737,7 @@ switch (step) { case 8: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = Sprite_vx__P298234_mk(s); + s.tmp_6 = Sprite_vx__P742_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = s.tmp_5; s.pc = 13; return s.tmp_6; @@ -50817,7 +50769,7 @@ switch (step) { case 12: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = Sprite_vy__P298236_mk(s); + s.tmp_6 = Sprite_vy__P744_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = s.tmp_5; s.pc = 14; return s.tmp_6; @@ -50827,13 +50779,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileSprite_update__P1084383.info = {"start":1000,"length":370,"line":30,"column":8,"endLine":35,"endColumn":9,"fileName":"vm.ts","functionName":"update","argumentNames":["this"]} -tileworld_TileSprite_update__P1084383.info = {"start":1000,"length":370,"line":30,"column":8,"endLine":35,"endColumn":9,"fileName":"vm.ts","functionName":"update","argumentNames":["this"]} +tileworld_TileSprite_update__P6558.info = {"start":1000,"length":370,"line":30,"column":8,"endLine":35,"endColumn":9,"fileName":"vm.ts","functionName":"update","argumentNames":["this"]} +tileworld_TileSprite_update__P6558.info = {"start":1000,"length":370,"line":30,"column":8,"endLine":35,"endColumn":9,"fileName":"vm.ts","functionName":"update","argumentNames":["this"]} -function tileworld_TileSprite_update__P1084383_mk(s) { +function tileworld_TileSprite_update__P6558_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileSprite_update__P1084383, depth: s.depth + 1, + parent: s, fn: tileworld_TileSprite_update__P6558, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50849,7 +50801,7 @@ function tileworld_TileSprite_update__P1084383_mk(s) { -function tileworld_TileWorldVM_collisionDetection__P1084488(s) { +function tileworld_TileWorldVM_collisionDetection__P6665(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50865,12 +50817,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P1085173); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P7358); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg1); - s.tmp_1 = tileworld_TileWorldVM_allSprites__P1084483_mk(s); + s.tmp_1 = tileworld_TileWorldVM_allSprites__P6660_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; s.pc = 1; return s.tmp_1; @@ -50880,13 +50832,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_collisionDetection__P1084488.info = {"start":11075,"length":2372,"line":274,"column":8,"endLine":316,"endColumn":9,"fileName":"vm.ts","functionName":"collisionDetection","argumentNames":["this","against"]} -tileworld_TileWorldVM_collisionDetection__P1084488.info = {"start":11075,"length":2372,"line":274,"column":8,"endLine":316,"endColumn":9,"fileName":"vm.ts","functionName":"collisionDetection","argumentNames":["this","against"]} +tileworld_TileWorldVM_collisionDetection__P6665.info = {"start":11075,"length":2372,"line":274,"column":8,"endLine":316,"endColumn":9,"fileName":"vm.ts","functionName":"collisionDetection","argumentNames":["this","against"]} +tileworld_TileWorldVM_collisionDetection__P6665.info = {"start":11075,"length":2372,"line":274,"column":8,"endLine":316,"endColumn":9,"fileName":"vm.ts","functionName":"collisionDetection","argumentNames":["this","against"]} -function tileworld_TileWorldVM_collisionDetection__P1084488_mk(s) { +function tileworld_TileWorldVM_collisionDetection__P6665_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_collisionDetection__P1084488, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_collisionDetection__P6665, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50898,7 +50850,7 @@ function tileworld_TileWorldVM_collisionDetection__P1084488_mk(s) { -function inline__P1085173(s) { +function inline__P7358(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50908,13 +50860,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.wcol___1085179 = undefined; - s.wrow___1085188 = undefined; + s.wcol___7364 = undefined; + s.wrow___7373 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_3 = tileworld_TileWorldVM_moving__P1084482_mk(s); + s.tmp_3 = tileworld_TileWorldVM_moving__P6659_mk(s); s.tmp_3.arg0 = s.caps[0]; s.tmp_3.arg1 = s.arg0; s.pc = 4; return s.tmp_3; @@ -50930,13 +50882,13 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_5 = tileworld_TileSprite_col__P1084381_mk(s); + s.tmp_5 = tileworld_TileSprite_col__P6556_mk(s); s.tmp_5.arg0 = s.arg0; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; s.tmp_4 = r0; - s.tmp_7 = tileworld_moveXdelta__P302362_mk(s); + s.tmp_7 = tileworld_moveXdelta__P4206_mk(s); r0 = s.arg0.fields["arg"]; s.tmp_7.arg0 = r0; s.pc = 6; return s.tmp_7; @@ -50944,14 +50896,14 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_4 + s.tmp_6); - s.wcol___1085179 = (r0); - s.tmp_1 = tileworld_TileSprite_row__P1084382_mk(s); + s.wcol___7364 = (r0); + s.tmp_1 = tileworld_TileSprite_row__P6557_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = tileworld_moveYdelta__P302374_mk(s); + s.tmp_3 = tileworld_moveYdelta__P4218_mk(s); r0 = s.arg0.fields["arg"]; s.tmp_3.arg0 = r0; s.pc = 8; return s.tmp_3; @@ -50959,15 +50911,15 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.wrow___1085188 = (r0); - r0 = pxsim_pxtcore_mkAction(5, inline__P1085199); + s.wrow___7373 = (r0); + r0 = pxsim_pxtcore_mkAction(5, inline__P7384); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.caps[0]); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.caps[1]); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.wcol___1085179); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.wrow___1085188); - s.tmp_1 = tileworld_TileWorldVM_collidingRules__P1084487_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.wcol___7364); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.wrow___7373); + s.tmp_1 = tileworld_TileWorldVM_collidingRules__P6664_mk(s); s.tmp_1.arg0 = s.caps[0]; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.tmp_0; @@ -50979,13 +50931,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1085173.info = {"start":11155,"length":2280,"line":275,"column":28,"endLine":315,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -inline__P1085173.info = {"start":11155,"length":2280,"line":275,"column":28,"endLine":315,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P7358.info = {"start":11155,"length":2280,"line":275,"column":28,"endLine":315,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P7358.info = {"start":11155,"length":2280,"line":275,"column":28,"endLine":315,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P1085173_mk(s) { +function inline__P7358_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1085173, depth: s.depth + 1, + parent: s, fn: inline__P7358, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50995,8 +50947,8 @@ function inline__P1085173_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - wcol___1085179: undefined, - wrow___1085188: undefined, + wcol___7364: undefined, + wrow___7373: undefined, arg0: undefined, } } @@ -51004,7 +50956,7 @@ function inline__P1085173_mk(s) { -function inline__P1085199(s) { +function inline__P7384(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51014,12 +50966,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.moving___1085201 = undefined; + s.moving___7386 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = tileworld_Project_getType__P303144_mk(s); + s.tmp_1 = tileworld_Project_getType__P4992_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg0; @@ -51028,16 +50980,16 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 == 4); - s.moving___1085201 = (r0); - r0 = pxsim_pxtcore_mkAction(6, inline__P1085211); + s.moving___7386 = (r0); + r0 = pxsim_pxtcore_mkAction(6, inline__P7397); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.caps[2]); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.caps[3]); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.caps[4]); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.moving___1085201); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.moving___7386); r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.caps[0]); r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); s.tmp_1.arg0 = s.caps[1]; s.tmp_1.arg1 = s.tmp_0; s.pc = 2; return s.tmp_1; @@ -51047,17 +50999,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1085199.info = {"start":11365,"length":2054,"line":279,"column":40,"endLine":314,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} -inline__P1085199.info = {"start":11365,"length":2054,"line":279,"column":40,"endLine":314,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} +inline__P7384.info = {"start":11365,"length":2054,"line":279,"column":40,"endLine":314,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} +inline__P7384.info = {"start":11365,"length":2054,"line":279,"column":40,"endLine":314,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} -function inline__P1085199_mk(s) { +function inline__P7384_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1085199, depth: s.depth + 1, + parent: s, fn: inline__P7384, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - moving___1085201: undefined, + moving___7386: undefined, arg0: undefined, } } @@ -51065,7 +51017,7 @@ function inline__P1085199_mk(s) { -function inline__P1085211(s) { +function inline__P7397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51075,10 +51027,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.leftRotate___1085253 = undefined; - s.osCol___1085258 = undefined; - s.osRow___1085264 = undefined; - s.rightRotate___1085290 = undefined; + s.leftRotate___7439 = undefined; + s.osCol___7444 = undefined; + s.osRow___7450 = undefined; + s.rightRotate___7476 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -51090,7 +51042,7 @@ switch (step) { { step = 39; continue; } case 1: case 2: - s.tmp_3 = tileworld_TileSprite_col__P1084381_mk(s); + s.tmp_3 = tileworld_TileSprite_col__P6556_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 40; return s.tmp_3; case 40: @@ -51103,7 +51055,7 @@ switch (step) { r0 = s.tmp_1; { step = 4; continue; } case 3: - s.tmp_5 = tileworld_TileSprite_row__P1084382_mk(s); + s.tmp_5 = tileworld_TileSprite_row__P6557_mk(s); s.tmp_5.arg0 = s.arg0; s.pc = 41; return s.tmp_5; case 41: @@ -51124,7 +51076,7 @@ switch (step) { r0 = s.tmp_7; { step = 6; continue; } case 5: - s.tmp_11 = tileworld_TileWorldVM_moving__P1084482_mk(s); + s.tmp_11 = tileworld_TileWorldVM_moving__P6659_mk(s); s.tmp_11.arg0 = s.caps[4]; s.tmp_11.arg1 = s.arg0; s.pc = 42; return s.tmp_11; @@ -51148,7 +51100,7 @@ switch (step) { r0 = s.tmp_13; { step = 9; continue; } case 8: - s.tmp_14 = tileworld_TileWorldVM_moving__P1084482_mk(s); + s.tmp_14 = tileworld_TileWorldVM_moving__P6659_mk(s); s.tmp_14.arg0 = s.caps[4]; s.tmp_14.arg1 = s.arg0; s.pc = 43; return s.tmp_14; @@ -51162,7 +51114,7 @@ switch (step) { r0 = s.tmp_15; { step = 11; continue; } case 10: - s.tmp_16 = tileworld_oppDir__P302386_mk(s); + s.tmp_16 = tileworld_oppDir__P4230_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_16.arg0 = r0; r0 = s.arg0.fields["arg"]; @@ -51179,7 +51131,7 @@ switch (step) { s.tmp_18 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_18); if (!r0) { step = 13; continue; } - s.tmp_19 = tileworld_TileWorldVM_collide__P1084489_mk(s); + s.tmp_19 = tileworld_TileWorldVM_collide__P6666_mk(s); s.tmp_19.arg0 = s.caps[4]; s.tmp_19.arg1 = s.caps[5]; s.tmp_19.arg2 = s.caps[0]; @@ -51198,7 +51150,7 @@ switch (step) { r0 = s.tmp_0; { step = 17; continue; } case 16: - s.tmp_1 = tileworld_TileWorldVM_moving__P1084482_mk(s); + s.tmp_1 = tileworld_TileWorldVM_moving__P6659_mk(s); s.tmp_1.arg0 = s.caps[4]; s.tmp_1.arg1 = s.arg0; s.pc = 46; return s.tmp_1; @@ -51209,52 +51161,52 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 36; continue; } - s.tmp_3 = tileworld_flipRotateDir__P302421_mk(s); + s.tmp_3 = tileworld_flipRotateDir__P4265_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = 2; s.pc = 47; return s.tmp_3; case 47: r0 = s.retval; - s.leftRotate___1085253 = (r0); + s.leftRotate___7439 = (r0); s.tmp_0 = r0 = s.caps[1]; - s.tmp_2 = tileworld_moveXdelta__P302362_mk(s); - s.tmp_2.arg0 = s.leftRotate___1085253; + s.tmp_2 = tileworld_moveXdelta__P4206_mk(s); + s.tmp_2.arg0 = s.leftRotate___7439; s.pc = 48; return s.tmp_2; case 48: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.osCol___1085258 = (r0); + s.osCol___7444 = (r0); s.tmp_0 = r0 = s.caps[2]; - s.tmp_2 = tileworld_moveYdelta__P302374_mk(s); - s.tmp_2.arg0 = s.leftRotate___1085253; + s.tmp_2 = tileworld_moveYdelta__P4218_mk(s); + s.tmp_2.arg0 = s.leftRotate___7439; s.pc = 49; return s.tmp_2; case 49: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.osRow___1085264 = (r0); - s.tmp_2 = tileworld_TileSprite_col__P1084381_mk(s); + s.osRow___7450 = (r0); + s.tmp_2 = tileworld_TileSprite_col__P6556_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 50; return s.tmp_2; case 50: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.osCol___1085258); + r0 = (s.tmp_1 == s.osCol___7444); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 18; continue; } r0 = s.tmp_0; { step = 19; continue; } case 18: - s.tmp_4 = tileworld_TileSprite_row__P1084382_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P6557_mk(s); s.tmp_4.arg0 = s.arg0; s.pc = 51; return s.tmp_4; case 51: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 == s.osRow___1085264); + r0 = (s.tmp_3 == s.osRow___7450); case 19: // jmp value (already in r0) s.tmp_5 = r0; @@ -51263,8 +51215,8 @@ switch (step) { r0 = s.tmp_5; { step = 21; continue; } case 20: - s.tmp_6 = tileworld_oppDir__P302386_mk(s); - s.tmp_6.arg0 = s.leftRotate___1085253; + s.tmp_6 = tileworld_oppDir__P4230_mk(s); + s.tmp_6.arg0 = s.leftRotate___7439; r0 = s.arg0.fields["arg"]; s.tmp_6.arg1 = r0; s.pc = 52; return s.tmp_6; @@ -51275,7 +51227,7 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 22; continue; } - s.tmp_8 = tileworld_TileWorldVM_collide__P1084489_mk(s); + s.tmp_8 = tileworld_TileWorldVM_collide__P6666_mk(s); s.tmp_8.arg0 = s.caps[4]; s.tmp_8.arg1 = s.caps[5]; s.tmp_8.arg2 = s.caps[0]; @@ -51286,52 +51238,52 @@ switch (step) { { step = 39; continue; } case 22: case 23: - s.tmp_0 = tileworld_flipRotateDir__P302421_mk(s); + s.tmp_0 = tileworld_flipRotateDir__P4265_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 3; s.pc = 54; return s.tmp_0; case 54: r0 = s.retval; - s.rightRotate___1085290 = (r0); + s.rightRotate___7476 = (r0); s.tmp_0 = r0 = s.caps[1]; - s.tmp_2 = tileworld_moveXdelta__P302362_mk(s); - s.tmp_2.arg0 = s.rightRotate___1085290; + s.tmp_2 = tileworld_moveXdelta__P4206_mk(s); + s.tmp_2.arg0 = s.rightRotate___7476; s.pc = 55; return s.tmp_2; case 55: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.osCol___1085258 = (r0); + s.osCol___7444 = (r0); s.tmp_0 = r0 = s.caps[2]; - s.tmp_2 = tileworld_moveYdelta__P302374_mk(s); - s.tmp_2.arg0 = s.rightRotate___1085290; + s.tmp_2 = tileworld_moveYdelta__P4218_mk(s); + s.tmp_2.arg0 = s.rightRotate___7476; s.pc = 56; return s.tmp_2; case 56: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.osRow___1085264 = (r0); - s.tmp_2 = tileworld_TileSprite_col__P1084381_mk(s); + s.osRow___7450 = (r0); + s.tmp_2 = tileworld_TileSprite_col__P6556_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 57; return s.tmp_2; case 57: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.osCol___1085258); + r0 = (s.tmp_1 == s.osCol___7444); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 24; continue; } r0 = s.tmp_0; { step = 25; continue; } case 24: - s.tmp_4 = tileworld_TileSprite_row__P1084382_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P6557_mk(s); s.tmp_4.arg0 = s.arg0; s.pc = 58; return s.tmp_4; case 58: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 == s.osRow___1085264); + r0 = (s.tmp_3 == s.osRow___7450); case 25: // jmp value (already in r0) s.tmp_5 = r0; @@ -51340,8 +51292,8 @@ switch (step) { r0 = s.tmp_5; { step = 27; continue; } case 26: - s.tmp_6 = tileworld_oppDir__P302386_mk(s); - s.tmp_6.arg0 = s.rightRotate___1085290; + s.tmp_6 = tileworld_oppDir__P4230_mk(s); + s.tmp_6.arg0 = s.rightRotate___7476; r0 = s.arg0.fields["arg"]; s.tmp_6.arg1 = r0; s.pc = 59; return s.tmp_6; @@ -51352,7 +51304,7 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 28; continue; } - s.tmp_8 = tileworld_TileWorldVM_collide__P1084489_mk(s); + s.tmp_8 = tileworld_TileWorldVM_collide__P6666_mk(s); s.tmp_8.arg0 = s.caps[4]; s.tmp_8.arg1 = s.caps[5]; s.tmp_8.arg2 = s.caps[0]; @@ -51364,7 +51316,7 @@ switch (step) { case 28: case 29: s.tmp_0 = r0 = s.caps[1]; - s.tmp_2 = tileworld_moveXdelta__P302362_mk(s); + s.tmp_2 = tileworld_moveXdelta__P4206_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_2.arg0 = r0; s.pc = 61; return s.tmp_2; @@ -51372,9 +51324,9 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.osCol___1085258 = (r0); + s.osCol___7444 = (r0); s.tmp_0 = r0 = s.caps[2]; - s.tmp_2 = tileworld_moveYdelta__P302374_mk(s); + s.tmp_2 = tileworld_moveYdelta__P4218_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_2.arg0 = r0; s.pc = 62; return s.tmp_2; @@ -51382,27 +51334,27 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.osRow___1085264 = (r0); - s.tmp_2 = tileworld_TileSprite_col__P1084381_mk(s); + s.osRow___7450 = (r0); + s.tmp_2 = tileworld_TileSprite_col__P6556_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 63; return s.tmp_2; case 63: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.osCol___1085258); + r0 = (s.tmp_1 == s.osCol___7444); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 30; continue; } r0 = s.tmp_0; { step = 31; continue; } case 30: - s.tmp_4 = tileworld_TileSprite_row__P1084382_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P6557_mk(s); s.tmp_4.arg0 = s.arg0; s.pc = 64; return s.tmp_4; case 64: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 == s.osRow___1085264); + r0 = (s.tmp_3 == s.osRow___7450); case 31: // jmp value (already in r0) s.tmp_5 = r0; @@ -51411,7 +51363,7 @@ switch (step) { r0 = s.tmp_5; { step = 33; continue; } case 32: - s.tmp_6 = tileworld_oppDir__P302386_mk(s); + s.tmp_6 = tileworld_oppDir__P4230_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_6.arg0 = r0; r0 = s.arg0.fields["arg"]; @@ -51424,7 +51376,7 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 34; continue; } - s.tmp_8 = tileworld_TileWorldVM_collide__P1084489_mk(s); + s.tmp_8 = tileworld_TileWorldVM_collide__P6666_mk(s); s.tmp_8.arg0 = s.caps[4]; s.tmp_8.arg1 = s.caps[5]; s.tmp_8.arg2 = s.caps[0]; @@ -51443,13 +51395,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1085211.info = {"start":11534,"length":1865,"line":282,"column":36,"endLine":313,"endColumn":21,"fileName":"vm.ts","functionName":"inline","argumentNames":["os"]} -inline__P1085211.info = {"start":11534,"length":1865,"line":282,"column":36,"endLine":313,"endColumn":21,"fileName":"vm.ts","functionName":"inline","argumentNames":["os"]} +inline__P7397.info = {"start":11534,"length":1865,"line":282,"column":36,"endLine":313,"endColumn":21,"fileName":"vm.ts","functionName":"inline","argumentNames":["os"]} +inline__P7397.info = {"start":11534,"length":1865,"line":282,"column":36,"endLine":313,"endColumn":21,"fileName":"vm.ts","functionName":"inline","argumentNames":["os"]} -function inline__P1085211_mk(s) { +function inline__P7397_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1085211, depth: s.depth + 1, + parent: s, fn: inline__P7397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51471,10 +51423,10 @@ function inline__P1085211_mk(s) { tmp_17: undefined, tmp_18: undefined, tmp_19: undefined, - leftRotate___1085253: undefined, - osCol___1085258: undefined, - osRow___1085264: undefined, - rightRotate___1085290: undefined, + leftRotate___7439: undefined, + osCol___7444: undefined, + osRow___7450: undefined, + rightRotate___7476: undefined, arg0: undefined, } } @@ -51482,7 +51434,7 @@ function inline__P1085211_mk(s) { -function tileworld_flipRotateDir__P302421(s) { +function tileworld_flipRotateDir__P4265(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51619,13 +51571,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_flipRotateDir__P302421.info = {"start":3285,"length":1134,"line":106,"column":4,"endLine":127,"endColumn":5,"fileName":"rule.ts","functionName":"flipRotateDir","argumentNames":["d","fr"]} -tileworld_flipRotateDir__P302421.info = {"start":3285,"length":1134,"line":106,"column":4,"endLine":127,"endColumn":5,"fileName":"rule.ts","functionName":"flipRotateDir","argumentNames":["d","fr"]} +tileworld_flipRotateDir__P4265.info = {"start":3285,"length":1134,"line":106,"column":4,"endLine":127,"endColumn":5,"fileName":"rule.ts","functionName":"flipRotateDir","argumentNames":["d","fr"]} +tileworld_flipRotateDir__P4265.info = {"start":3285,"length":1134,"line":106,"column":4,"endLine":127,"endColumn":5,"fileName":"rule.ts","functionName":"flipRotateDir","argumentNames":["d","fr"]} -function tileworld_flipRotateDir__P302421_mk(s) { +function tileworld_flipRotateDir__P4265_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_flipRotateDir__P302421, depth: s.depth + 1, + parent: s, fn: tileworld_flipRotateDir__P4265, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51648,7 +51600,7 @@ function tileworld_flipRotateDir__P302421_mk(s) { -function tileworld_TileWorldVM_collide__P1084489(s) { +function tileworld_TileWorldVM_collide__P6666(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51658,9 +51610,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.wcol___1085366 = undefined; - s.wrow___1085375 = undefined; - s.witnesses___1085399 = undefined; + s.wcol___7553 = undefined; + s.wrow___7562 = undefined; + s.witnesses___7586 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -51669,14 +51621,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); - s.tmp_1 = tileworld_TileSprite_col__P1084381_mk(s); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); + s.tmp_1 = tileworld_TileSprite_col__P6556_mk(s); s.tmp_1.arg0 = s.arg2; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = tileworld_moveXdelta__P302362_mk(s); + s.tmp_3 = tileworld_moveXdelta__P4206_mk(s); r0 = s.arg2.fields["arg"]; s.tmp_3.arg0 = r0; s.pc = 6; return s.tmp_3; @@ -51684,14 +51636,14 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.wcol___1085366 = (r0); - s.tmp_1 = tileworld_TileSprite_row__P1084382_mk(s); + s.wcol___7553 = (r0); + s.tmp_1 = tileworld_TileSprite_row__P6557_mk(s); s.tmp_1.arg0 = s.arg2; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = tileworld_moveYdelta__P302374_mk(s); + s.tmp_3 = tileworld_moveYdelta__P4218_mk(s); r0 = s.arg2.fields["arg"]; s.tmp_3.arg0 = r0; s.pc = 8; return s.tmp_3; @@ -51699,41 +51651,41 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.wrow___1085375 = (r0); + s.wrow___7562 = (r0); r0 = s.arg0.fields["p"]; r0 = r0.fields["debug"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = console_logValue__P297811_mk(s); + s.tmp_1 = console_logValue__P240_mk(s); s.tmp_1.arg0 = "rid"; s.tmp_1.arg1 = s.arg1; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.tmp_0 = console_logValue__P297811_mk(s); + s.tmp_0 = console_logValue__P240_mk(s); s.tmp_0.arg0 = "ts.cnt"; r0 = s.arg2.fields["cnt"]; s.tmp_0.arg1 = r0; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = console_logValue__P297811_mk(s); + s.tmp_0 = console_logValue__P240_mk(s); s.tmp_0.arg0 = "os.cnt"; r0 = s.arg3.fields["cnt"]; s.tmp_0.arg1 = r0; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = console_logValue__P297811_mk(s); + s.tmp_0 = console_logValue__P240_mk(s); s.tmp_0.arg0 = "col"; - s.tmp_0.arg1 = s.wcol___1085366; + s.tmp_0.arg1 = s.wcol___7553; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = console_logValue__P297811_mk(s); + s.tmp_0 = console_logValue__P240_mk(s); s.tmp_0.arg0 = "row"; - s.tmp_0.arg1 = s.wrow___1085375; + s.tmp_0.arg1 = s.wrow___7562; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -51742,12 +51694,12 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg3); - s.witnesses___1085399 = (s.tmp_0); - s.tmp_1 = tileworld_TileWorldVM_evaluateWhenDo__P1084495_mk(s); + s.witnesses___7586 = (s.tmp_0); + s.tmp_1 = tileworld_TileWorldVM_evaluateWhenDo__P6672_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; s.tmp_1.arg2 = s.arg1; - s.tmp_3 = tileworld_moveXdelta__P302362_mk(s); + s.tmp_3 = tileworld_moveXdelta__P4206_mk(s); r0 = s.arg2.fields["arg"]; s.tmp_3.arg0 = r0; s.pc = 15; return s.tmp_3; @@ -51756,7 +51708,7 @@ switch (step) { s.tmp_2 = r0; r0 = (2 + s.tmp_2); s.tmp_1.arg3 = r0; - s.tmp_5 = tileworld_moveYdelta__P302374_mk(s); + s.tmp_5 = tileworld_moveYdelta__P4218_mk(s); r0 = s.arg2.fields["arg"]; s.tmp_5.arg0 = r0; s.pc = 16; return s.tmp_5; @@ -51765,20 +51717,20 @@ switch (step) { s.tmp_4 = r0; r0 = (2 + s.tmp_4); s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.witnesses___1085399; + s.tmp_1.arg5 = s.witnesses___7586; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C1084472_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C6649_VT); s.tmp_6 = r0; - s.tmp_7 = tileworld_RuleClosure_constructor__P1084473_mk(s); + s.tmp_7 = tileworld_RuleClosure_constructor__P6650_mk(s); s.tmp_7.arg0 = s.tmp_6; s.tmp_7.arg1 = s.arg1; s.tmp_7.arg2 = s.arg2; - s.tmp_7.arg3 = s.witnesses___1085399; + s.tmp_7.arg3 = s.witnesses___7586; s.pc = 17; return s.tmp_7; case 17: r0 = s.retval; @@ -51791,13 +51743,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_collide__P1084489.info = {"start":13457,"length":757,"line":318,"column":8,"endLine":333,"endColumn":9,"fileName":"vm.ts","functionName":"collide","argumentNames":["this","rid","ts","os"]} -tileworld_TileWorldVM_collide__P1084489.info = {"start":13457,"length":757,"line":318,"column":8,"endLine":333,"endColumn":9,"fileName":"vm.ts","functionName":"collide","argumentNames":["this","rid","ts","os"]} +tileworld_TileWorldVM_collide__P6666.info = {"start":13457,"length":757,"line":318,"column":8,"endLine":333,"endColumn":9,"fileName":"vm.ts","functionName":"collide","argumentNames":["this","rid","ts","os"]} +tileworld_TileWorldVM_collide__P6666.info = {"start":13457,"length":757,"line":318,"column":8,"endLine":333,"endColumn":9,"fileName":"vm.ts","functionName":"collide","argumentNames":["this","rid","ts","os"]} -function tileworld_TileWorldVM_collide__P1084489_mk(s) { +function tileworld_TileWorldVM_collide__P6666_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_collide__P1084489, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_collide__P6666, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51808,9 +51760,9 @@ function tileworld_TileWorldVM_collide__P1084489_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - wcol___1085366: undefined, - wrow___1085375: undefined, - witnesses___1085399: undefined, + wcol___7553: undefined, + wrow___7562: undefined, + witnesses___7586: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -51821,7 +51773,7 @@ function tileworld_TileWorldVM_collide__P1084489_mk(s) { -function tileworld_RuleClosure_constructor__P1084473(s) { +function tileworld_RuleClosure_constructor__P6650(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51839,7 +51791,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleClosure__C1084472_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleClosure__C6649_VT)) failedCast(r0); r0 = (s.arg0).fields["rid"] = (s.arg1); r0 = (s.arg0).fields["self"] = (s.arg2); r0 = (s.arg0).fields["witnesses"] = (s.arg3); @@ -51847,13 +51799,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleClosure_constructor__P1084473.info = {"start":1903,"length":137,"line":58,"column":8,"endLine":62,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","rid","self","witnesses"]} -tileworld_RuleClosure_constructor__P1084473.info = {"start":1903,"length":137,"line":58,"column":8,"endLine":62,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","rid","self","witnesses"]} +tileworld_RuleClosure_constructor__P6650.info = {"start":1903,"length":137,"line":58,"column":8,"endLine":62,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","rid","self","witnesses"]} +tileworld_RuleClosure_constructor__P6650.info = {"start":1903,"length":137,"line":58,"column":8,"endLine":62,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","rid","self","witnesses"]} -function tileworld_RuleClosure_constructor__P1084473_mk(s) { +function tileworld_RuleClosure_constructor__P6650_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleClosure_constructor__P1084473, depth: s.depth + 1, + parent: s, fn: tileworld_RuleClosure_constructor__P6650, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -51865,7 +51817,7 @@ function tileworld_RuleClosure_constructor__P1084473_mk(s) { -function tileworld_TileWorldVM_evaluateWhenDo__P1084495(s) { +function tileworld_TileWorldVM_evaluateWhenDo__P6672(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51875,21 +51827,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.whendo___1085605 = undefined; - s.wcol___1085620 = undefined; - s.wrow___1085628 = undefined; - s.oneOf___1085641 = undefined; - s.oneOfPassed___1085642 = undefined; - s.captureWitness___1085643 = undefined; - s.kind___1085645 = undefined; - s.tm___1085652 = undefined; - s.hasKind___1085656 = undefined; - s.attr___1085664 = undefined; - s.adjacent___1085691 = undefined; - s.kind___1085704 = undefined; - s.attr___1085714 = undefined; - s.witness___1085721 = undefined; - s.ret___1085771 = undefined; + s.whendo___7792 = undefined; + s.wcol___7807 = undefined; + s.wrow___7815 = undefined; + s.oneOf___7828 = undefined; + s.oneOfPassed___7829 = undefined; + s.captureWitness___7830 = undefined; + s.kind___7832 = undefined; + s.tm___7839 = undefined; + s.hasKind___7843 = undefined; + s.attr___7851 = undefined; + s.adjacent___7878 = undefined; + s.kind___7891 = undefined; + s.attr___7901 = undefined; + s.witness___7908 = undefined; + s.ret___7958 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -51900,8 +51852,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_getWhenDo__P303148_mk(s); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_getWhenDo__P4996_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; @@ -51910,18 +51862,18 @@ switch (step) { s.pc = 56; return s.tmp_0; case 56: r0 = s.retval; - s.whendo___1085605 = (r0); - r0 = (s.whendo___1085605 == -1); + s.whendo___7792 = (r0); + r0 = (s.whendo___7792 == -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_1 = tileworld_TileWorldVM_whendoTrue__P1084494_mk(s); + s.tmp_1 = tileworld_TileWorldVM_whendoTrue__P6671_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; - s.tmp_1.arg2 = s.whendo___1085605; + s.tmp_1.arg2 = s.whendo___7792; s.pc = 57; return s.tmp_1; case 57: r0 = s.retval; @@ -51934,7 +51886,7 @@ switch (step) { { step = 55; continue; } case 3: case 4: - s.tmp_4 = tileworld_TileSprite_col__P1084381_mk(s); + s.tmp_4 = tileworld_TileSprite_col__P6556_mk(s); s.tmp_4.arg0 = s.arg1; s.pc = 58; return s.tmp_4; case 58: @@ -51943,8 +51895,8 @@ switch (step) { r0 = (s.arg3 - 2); s.tmp_5 = r0; r0 = (s.tmp_3 + s.tmp_5); - s.wcol___1085620 = (r0); - s.tmp_1 = tileworld_TileSprite_row__P1084382_mk(s); + s.wcol___7807 = (r0); + s.tmp_1 = tileworld_TileSprite_row__P6557_mk(s); s.tmp_1.arg0 = s.arg1; s.pc = 59; return s.tmp_1; case 59: @@ -51953,11 +51905,11 @@ switch (step) { r0 = (s.arg4 - 2); s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.wrow___1085628 = (r0); - s.tmp_3 = tileworld_TileWorldVM_inBounds__P1084492_mk(s); + s.wrow___7815 = (r0); + s.tmp_3 = tileworld_TileWorldVM_inBounds__P6669_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.wcol___1085620; - s.tmp_3.arg2 = s.wrow___1085628; + s.tmp_3.arg1 = s.wcol___7807; + s.tmp_3.arg2 = s.wrow___7815; s.pc = 60; return s.tmp_3; case 60: r0 = s.retval; @@ -51972,30 +51924,30 @@ switch (step) { { step = 55; continue; } case 5: case 6: - s.oneOf___1085641 = (false); - s.oneOfPassed___1085642 = (false); - s.captureWitness___1085643 = (null); - s.kind___1085645 = (0); + s.oneOf___7828 = (false); + s.oneOfPassed___7829 = (false); + s.captureWitness___7830 = (null); + s.kind___7832 = (0); case 7: r0 = s.arg0.fields["vm"]; r0 = r0.fields["fixed"]; s.tmp_1 = r0; - r0 = (s.kind___1085645 < s.tmp_1); + r0 = (s.kind___7832 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_2 = game_currentScene__P298414_mk(s); + s.tmp_2 = game_currentScene__P922_mk(s); s.pc = 61; return s.tmp_2; case 61: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___1085652 = (r0); - s.tmp_1 = tiles_Location_tileSet__P298510_mk(s); - s.tmp_2 = tiles_TileMap__C298537_v7_3_mk(s); - s.tmp_2.arg0 = s.tm___1085652; - s.tmp_2.arg1 = s.wcol___1085620; - s.tmp_2.arg2 = s.wrow___1085628; - if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_2.arg0); + s.tm___7839 = (r0); + s.tmp_1 = tiles_Location_tileSet__P1018_mk(s); + s.tmp_2 = tiles_TileMap__C1045_v7_3_mk(s); + s.tmp_2.arg0 = s.tm___7839; + s.tmp_2.arg1 = s.wcol___7807; + s.tmp_2.arg2 = s.wrow___7815; + if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.getTile; s.pc = 63; return s.tmp_2; case 63: @@ -52005,26 +51957,26 @@ switch (step) { case 62: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 == s.kind___1085645); - s.hasKind___1085656 = (r0); - s.tmp_0 = tileworld_Project_getAttr__P303150_mk(s); + r0 = (s.tmp_0 == s.kind___7832); + s.hasKind___7843 = (r0); + s.tmp_0 = tileworld_Project_getAttr__P4998_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; - s.tmp_0.arg2 = s.whendo___1085605; - s.tmp_0.arg3 = s.kind___1085645; + s.tmp_0.arg2 = s.whendo___7792; + s.tmp_0.arg3 = s.kind___7832; s.pc = 64; return s.tmp_0; case 64: r0 = s.retval; - s.attr___1085664 = (r0); - r0 = (s.attr___1085664 == 3); + s.attr___7851 = (r0); + r0 = (s.attr___7851 == 3); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 8; continue; } r0 = s.tmp_0; { step = 9; continue; } case 8: - r0 = s.hasKind___1085656; + r0 = s.hasKind___7843; case 9: // jmp value (already in r0) s.tmp_1 = r0; @@ -52033,14 +51985,14 @@ switch (step) { r0 = s.tmp_1; { step = 13; continue; } case 10: - r0 = (s.attr___1085664 == 1); + r0 = (s.attr___7851 == 1); s.tmp_2 = r0; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.hasKind___1085656); + r0 = pxsim_numops_toBoolDecr(s.hasKind___7843); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 12: @@ -52056,31 +52008,31 @@ switch (step) { { step = 55; continue; } { step = 19; continue; } case 14: - r0 = (s.attr___1085664 == 2); + r0 = (s.attr___7851 == 2); s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 17; continue; } - s.oneOf___1085641 = (true); - r0 = pxsim_numops_toBoolDecr(s.hasKind___1085656); + s.oneOf___7828 = (true); + r0 = pxsim_numops_toBoolDecr(s.hasKind___7843); if (!r0) { step = 15; continue; } - s.oneOfPassed___1085642 = (true); + s.oneOfPassed___7829 = (true); case 15: case 16: case 17: case 18: case 19: - r0 = (s.kind___1085645 + 1); - s.kind___1085645 = (r0); + r0 = (s.kind___7832 + 1); + s.kind___7832 = (r0); { step = 7; continue; } case 20: - s.tmp_2 = Math_abs__P297644_mk(s); + s.tmp_2 = Math_abs__P73_mk(s); r0 = (2 - s.arg3); s.tmp_2.arg0 = r0; s.pc = 65; return s.tmp_2; case 65: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Math_abs__P297644_mk(s); + s.tmp_4 = Math_abs__P73_mk(s); r0 = (2 - s.arg4); s.tmp_4.arg0 = r0; s.pc = 66; return s.tmp_4; @@ -52090,38 +52042,38 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_3); s.tmp_0 = r0; r0 = (s.tmp_0 <= 1); - s.adjacent___1085691 = (r0); + s.adjacent___7878 = (r0); r0 = s.arg0.fields["vm"]; r0 = r0.fields["fixed"]; - s.kind___1085704 = (r0); + s.kind___7891 = (r0); case 21: r0 = s.arg0.fields["vm"]; r0 = r0.fields["all"]; s.tmp_1 = r0; - r0 = (s.kind___1085704 < s.tmp_1); + r0 = (s.kind___7891 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 46; continue; } - s.tmp_2 = tileworld_Project_getAttr__P303150_mk(s); + s.tmp_2 = tileworld_Project_getAttr__P4998_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg2; - s.tmp_2.arg2 = s.whendo___1085605; - s.tmp_2.arg3 = s.kind___1085704; + s.tmp_2.arg2 = s.whendo___7792; + s.tmp_2.arg3 = s.kind___7891; s.pc = 67; return s.tmp_2; case 67: r0 = s.retval; - s.attr___1085714 = (r0); - s.tmp_0 = tileworld_TileWorldVM_getWitness__P1084491_mk(s); + s.attr___7901 = (r0); + s.tmp_0 = tileworld_TileWorldVM_getWitness__P6668_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.kind___1085704; - s.tmp_0.arg2 = s.wcol___1085620; - s.tmp_0.arg3 = s.wrow___1085628; + s.tmp_0.arg1 = s.kind___7891; + s.tmp_0.arg2 = s.wcol___7807; + s.tmp_0.arg3 = s.wrow___7815; s.pc = 68; return s.tmp_0; case 68: r0 = s.retval; - s.witness___1085721 = (r0); - s.tmp_2 = tileworld_Project_getType__P303144_mk(s); + s.witness___7908 = (r0); + s.tmp_2 = tileworld_Project_getType__P4992_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg2; @@ -52137,7 +52089,7 @@ switch (step) { s.tmp_5 = r0; r0 = s.tmp_5.fields["_kind"]; s.tmp_4 = r0; - r0 = (s.tmp_4 == s.kind___1085704); + r0 = (s.tmp_4 == s.kind___7891); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 22; continue; } @@ -52148,17 +52100,17 @@ switch (step) { case 23: // jmp value (already in r0) s.tmp_6 = r0; - s.witness___1085721 = (s.tmp_6); + s.witness___7908 = (s.tmp_6); case 24: case 25: - r0 = (s.attr___1085714 == 3); + r0 = (s.attr___7901 == 3); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 26; continue; } r0 = s.tmp_0; { step = 27; continue; } case 26: - r0 = s.witness___1085721; + r0 = s.witness___7908; case 27: // jmp value (already in r0) s.tmp_1 = r0; @@ -52168,11 +52120,11 @@ switch (step) { { step = 55; continue; } { step = 45; continue; } case 28: - r0 = (s.attr___1085714 == 1); + r0 = (s.attr___7901 == 1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 35; continue; } - r0 = pxsim_numops_toBoolDecr(s.witness___1085721); + r0 = pxsim_numops_toBoolDecr(s.witness___7908); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -52182,13 +52134,13 @@ switch (step) { { step = 55; continue; } case 29: case 30: - s.tmp_5 = r0 = s.adjacent___1085691; + s.tmp_5 = r0 = s.adjacent___7878; r0 = pxsim_numops_toBool(s.tmp_5); if (r0) { step = 31; continue; } r0 = s.tmp_5; { step = 32; continue; } case 31: - r0 = pxsim_numops_toBoolDecr(s.captureWitness___1085643); + r0 = pxsim_numops_toBoolDecr(s.captureWitness___7830); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); case 32: @@ -52196,28 +52148,28 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 33; continue; } - s.captureWitness___1085643 = (s.witness___1085721); + s.captureWitness___7830 = (s.witness___7908); case 33: case 34: { step = 44; continue; } case 35: - r0 = (s.attr___1085714 == 2); + r0 = (s.attr___7901 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 42; continue; } - s.oneOf___1085641 = (true); - r0 = pxsim_numops_toBoolDecr(s.witness___1085721); + s.oneOf___7828 = (true); + r0 = pxsim_numops_toBoolDecr(s.witness___7908); if (!r0) { step = 36; continue; } - s.oneOfPassed___1085642 = (true); + s.oneOfPassed___7829 = (true); case 36: case 37: - s.tmp_0 = r0 = s.adjacent___1085691; + s.tmp_0 = r0 = s.adjacent___7878; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 38; continue; } r0 = s.tmp_0; { step = 39; continue; } case 38: - r0 = pxsim_numops_toBoolDecr(s.captureWitness___1085643); + r0 = pxsim_numops_toBoolDecr(s.captureWitness___7830); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); case 39: @@ -52225,18 +52177,18 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 40; continue; } - s.captureWitness___1085643 = (s.witness___1085721); + s.captureWitness___7830 = (s.witness___7908); case 40: case 41: case 42: case 43: case 44: case 45: - r0 = (s.kind___1085704 + 1); - s.kind___1085704 = (r0); + r0 = (s.kind___7891 + 1); + s.kind___7891 = (r0); { step = 21; continue; } case 46: - r0 = pxsim_numops_toBoolDecr(s.oneOf___1085641); + r0 = pxsim_numops_toBoolDecr(s.oneOf___7828); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -52245,18 +52197,18 @@ switch (step) { r0 = s.tmp_0; { step = 48; continue; } case 47: - r0 = s.oneOfPassed___1085642; + r0 = s.oneOfPassed___7829; case 48: // jmp value (already in r0) s.tmp_2 = r0; - s.ret___1085771 = (s.tmp_2); - s.tmp_0 = r0 = s.ret___1085771; + s.ret___7958 = (s.tmp_2); + s.tmp_0 = r0 = s.ret___7958; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 49; continue; } r0 = s.tmp_0; { step = 50; continue; } case 49: - r0 = s.captureWitness___1085643; + r0 = s.captureWitness___7830; case 50: // jmp value (already in r0) s.tmp_1 = r0; @@ -52265,7 +52217,7 @@ switch (step) { r0 = s.tmp_1; { step = 52; continue; } case 51: - s.tmp_3 = tileworld_Project_getType__P303144_mk(s); + s.tmp_3 = tileworld_Project_getType__P4992_mk(s); r0 = s.arg0.fields["p"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.arg2; @@ -52279,21 +52231,21 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 53; continue; } - r0 = pxsim_Array__push(s.arg5, s.captureWitness___1085643); + r0 = pxsim_Array__push(s.arg5, s.captureWitness___7830); case 53: case 54: - r0 = s.ret___1085771; + r0 = s.ret___7958; case 55: return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_evaluateWhenDo__P1084495.info = {"start":16182,"length":2566,"line":383,"column":8,"endLine":435,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateWhenDo","argumentNames":["this","ts","rid","col","row","witnesses"]} -tileworld_TileWorldVM_evaluateWhenDo__P1084495.info = {"start":16182,"length":2566,"line":383,"column":8,"endLine":435,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateWhenDo","argumentNames":["this","ts","rid","col","row","witnesses"]} +tileworld_TileWorldVM_evaluateWhenDo__P6672.info = {"start":16182,"length":2566,"line":383,"column":8,"endLine":435,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateWhenDo","argumentNames":["this","ts","rid","col","row","witnesses"]} +tileworld_TileWorldVM_evaluateWhenDo__P6672.info = {"start":16182,"length":2566,"line":383,"column":8,"endLine":435,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateWhenDo","argumentNames":["this","ts","rid","col","row","witnesses"]} -function tileworld_TileWorldVM_evaluateWhenDo__P1084495_mk(s) { +function tileworld_TileWorldVM_evaluateWhenDo__P6672_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_evaluateWhenDo__P1084495, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_evaluateWhenDo__P6672, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52303,21 +52255,21 @@ function tileworld_TileWorldVM_evaluateWhenDo__P1084495_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - whendo___1085605: undefined, - wcol___1085620: undefined, - wrow___1085628: undefined, - oneOf___1085641: undefined, - oneOfPassed___1085642: undefined, - captureWitness___1085643: undefined, - kind___1085645: undefined, - tm___1085652: undefined, - hasKind___1085656: undefined, - attr___1085664: undefined, - adjacent___1085691: undefined, - kind___1085704: undefined, - attr___1085714: undefined, - witness___1085721: undefined, - ret___1085771: undefined, + whendo___7792: undefined, + wcol___7807: undefined, + wrow___7815: undefined, + oneOf___7828: undefined, + oneOfPassed___7829: undefined, + captureWitness___7830: undefined, + kind___7832: undefined, + tm___7839: undefined, + hasKind___7843: undefined, + attr___7851: undefined, + adjacent___7878: undefined, + kind___7891: undefined, + attr___7901: undefined, + witness___7908: undefined, + ret___7958: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -52330,7 +52282,7 @@ function tileworld_TileWorldVM_evaluateWhenDo__P1084495_mk(s) { -function tileworld_TileWorldVM_getWitness__P1084491(s) { +function tileworld_TileWorldVM_getWitness__P6668(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52348,7 +52300,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); r0 = s.arg0.fields["vm"]; r0 = r0.fields["sprites"]; s.tmp_1 = r0; @@ -52359,11 +52311,11 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_pxtcore_mkAction(2, inline__P1085491); + r0 = pxsim_pxtcore_mkAction(2, inline__P7678); s.tmp_2 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.arg2); r0 = pxsim_pxtrt_stclo(s.tmp_2, 1, s.arg3); - s.tmp_3 = helpers_arrayFind__P297632_mk(s); + s.tmp_3 = helpers_arrayFind__P61_mk(s); r0 = s.arg0.fields["vm"]; r0 = r0.fields["sprites"]; s.tmp_4 = r0; @@ -52380,13 +52332,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_getWitness__P1084491.info = {"start":14995,"length":184,"line":352,"column":8,"endLine":354,"endColumn":9,"fileName":"vm.ts","functionName":"getWitness","argumentNames":["this","kind","col","row"]} -tileworld_TileWorldVM_getWitness__P1084491.info = {"start":14995,"length":184,"line":352,"column":8,"endLine":354,"endColumn":9,"fileName":"vm.ts","functionName":"getWitness","argumentNames":["this","kind","col","row"]} +tileworld_TileWorldVM_getWitness__P6668.info = {"start":14995,"length":184,"line":352,"column":8,"endLine":354,"endColumn":9,"fileName":"vm.ts","functionName":"getWitness","argumentNames":["this","kind","col","row"]} +tileworld_TileWorldVM_getWitness__P6668.info = {"start":14995,"length":184,"line":352,"column":8,"endLine":354,"endColumn":9,"fileName":"vm.ts","functionName":"getWitness","argumentNames":["this","kind","col","row"]} -function tileworld_TileWorldVM_getWitness__P1084491_mk(s) { +function tileworld_TileWorldVM_getWitness__P6668_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_getWitness__P1084491, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_getWitness__P6668, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52404,7 +52356,7 @@ function tileworld_TileWorldVM_getWitness__P1084491_mk(s) { -function inline__P1085491(s) { +function inline__P7678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52418,7 +52370,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_2 = tileworld_TileSprite_col__P1084381_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P6556_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 3; return s.tmp_2; case 3: @@ -52431,7 +52383,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_TileSprite_row__P1084382_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P6557_mk(s); s.tmp_4.arg0 = s.arg0; s.pc = 4; return s.tmp_4; case 4: @@ -52445,13 +52397,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1085491.info = {"start":15127,"length":40,"line":353,"column":71,"endLine":353,"endColumn":111,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -inline__P1085491.info = {"start":15127,"length":40,"line":353,"column":71,"endLine":353,"endColumn":111,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P7678.info = {"start":15127,"length":40,"line":353,"column":71,"endLine":353,"endColumn":111,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P7678.info = {"start":15127,"length":40,"line":353,"column":71,"endLine":353,"endColumn":111,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P1085491_mk(s) { +function inline__P7678_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1085491, depth: s.depth + 1, + parent: s, fn: inline__P7678, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52466,7 +52418,7 @@ function inline__P1085491_mk(s) { -function tiles_TileMap_getTile__P298549(s) { +function tiles_TileMap_getTile__P1057(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52483,10 +52435,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C298507_VT); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C1015_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P298513_mk(s); + s.tmp_1 = tiles_Location_constructor__P1021_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -52498,13 +52450,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTile__P298549.info = {"start":7071,"length":111,"line":259,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -tiles_TileMap_getTile__P298549.info = {"start":7071,"length":111,"line":259,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMap_getTile__P1057.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__P1057.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__P298549_mk(s) { +function tiles_TileMap_getTile__P1057_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P298549, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P1057, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52517,7 +52469,7 @@ function tiles_TileMap_getTile__P298549_mk(s) { -function tiles_Location_constructor__P298513(s) { +function tiles_Location_constructor__P1021(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52535,7 +52487,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C298507_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C1015_VT)) failedCast(r0); r0 = (s.arg0).fields["_col"] = (s.arg1); r0 = (s.arg0).fields["_row"] = (s.arg2); r0 = (s.arg0).fields["tileMap"] = (s.arg3); @@ -52543,13 +52495,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_Location_constructor__P298513.info = {"start":406,"length":153,"line":19,"column":8,"endLine":23,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} -tiles_Location_constructor__P298513.info = {"start":406,"length":153,"line":19,"column":8,"endLine":23,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} +tiles_Location_constructor__P1021.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__P1021.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__P298513_mk(s) { +function tiles_Location_constructor__P1021_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P298513, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P1021, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -52561,7 +52513,7 @@ function tiles_Location_constructor__P298513_mk(s) { -function tiles_Location_tileSet__P298510(s) { +function tiles_Location_tileSet__P1018(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52576,15 +52528,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C298507_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap__C298537_v8_3_mk(s); + if (!checkSubtype(r0, tiles_Location__C1015_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap__C1045_v8_3_mk(s); r0 = s.arg0.fields["tileMap"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["_col"]; s.tmp_0.arg1 = r0; r0 = s.arg0.fields["_row"]; s.tmp_0.arg2 = r0; - if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.getTileIndex; s.pc = 1; return s.tmp_0; case 1: @@ -52592,14 +52544,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileSet__P298510.info = {"start":859,"length":101,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} -tiles_Location_tileSet__P298510.isGetter = true; -tiles_Location_tileSet__P298510.info = {"start":859,"length":101,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} +tiles_Location_tileSet__P1018.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__P1018.isGetter = true; +tiles_Location_tileSet__P1018.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__P298510_mk(s) { +function tiles_Location_tileSet__P1018_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P298510, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P1018, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -52609,7 +52561,7 @@ function tiles_Location_tileSet__P298510_mk(s) { -function tiles_TileMap_getTileIndex__P298550(s) { +function tiles_TileMap_getTileIndex__P1058(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52626,11 +52578,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P298529_mk(s); - s.tmp_1 = tiles_TileMap__C298537_v0_1_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P1037_mk(s); + s.tmp_1 = tiles_TileMap__C1045_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.data; s.pc = 2; return s.tmp_1; case 2: @@ -52644,13 +52596,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileIndex__P298550.info = {"start":7192,"length":105,"line":263,"column":8,"endLine":265,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} -tiles_TileMap_getTileIndex__P298550.info = {"start":7192,"length":105,"line":263,"column":8,"endLine":265,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} +tiles_TileMap_getTileIndex__P1058.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__P1058.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__P298550_mk(s) { +function tiles_TileMap_getTileIndex__P1058_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P298550, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P1058, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52663,7 +52615,7 @@ function tiles_TileMap_getTileIndex__P298550_mk(s) { -function tiles_TileMap_data__P298540(s) { +function tiles_TileMap_data__P1048(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52678,19 +52630,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_data__P298540.info = {"start":6156,"length":75,"line":221,"column":8,"endLine":223,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"data","argumentNames":["this"]} -tiles_TileMap_data__P298540.isGetter = true; -tiles_TileMap_data__P298540.info = {"start":6156,"length":75,"line":221,"column":8,"endLine":223,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"data","argumentNames":["this"]} +tiles_TileMap_data__P1048.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__P1048.isGetter = true; +tiles_TileMap_data__P1048.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__P298540_mk(s) { +function tiles_TileMap_data__P1048_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P298540, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P1048, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -52699,7 +52651,7 @@ function tiles_TileMap_data__P298540_mk(s) { -function tiles_TileMapData_getTile__P298529(s) { +function tiles_TileMapData_getTile__P1037(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52716,8 +52668,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C298524_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P298535_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C1032_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P1043_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -52750,13 +52702,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTile__P298529.info = {"start":3809,"length":200,"line":142,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -tiles_TileMapData_getTile__P298529.info = {"start":3809,"length":200,"line":142,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMapData_getTile__P1037.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__P1037.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__P298529_mk(s) { +function tiles_TileMapData_getTile__P1037_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P298529, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P1037, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52776,7 +52728,7 @@ function tiles_TileMapData_getTile__P298529_mk(s) { -function tileworld_TileWorldVM_inBounds__P1084492(s) { +function tileworld_TileWorldVM_inBounds__P6669(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52793,7 +52745,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); r0 = (0 <= s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -52839,13 +52791,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_inBounds__P1084492.info = {"start":15189,"length":178,"line":356,"column":8,"endLine":359,"endColumn":9,"fileName":"vm.ts","functionName":"inBounds","argumentNames":["this","col","row"]} -tileworld_TileWorldVM_inBounds__P1084492.info = {"start":15189,"length":178,"line":356,"column":8,"endLine":359,"endColumn":9,"fileName":"vm.ts","functionName":"inBounds","argumentNames":["this","col","row"]} +tileworld_TileWorldVM_inBounds__P6669.info = {"start":15189,"length":178,"line":356,"column":8,"endLine":359,"endColumn":9,"fileName":"vm.ts","functionName":"inBounds","argumentNames":["this","col","row"]} +tileworld_TileWorldVM_inBounds__P6669.info = {"start":15189,"length":178,"line":356,"column":8,"endLine":359,"endColumn":9,"fileName":"vm.ts","functionName":"inBounds","argumentNames":["this","col","row"]} -function tileworld_TileWorldVM_inBounds__P1084492_mk(s) { +function tileworld_TileWorldVM_inBounds__P6669_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_inBounds__P1084492, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_inBounds__P6669, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52866,7 +52818,7 @@ function tileworld_TileWorldVM_inBounds__P1084492_mk(s) { -function tileworld_TileWorldVM_whendoTrue__P1084494(s) { +function tileworld_TileWorldVM_whendoTrue__P6671(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52876,7 +52828,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.kind___1085580 = undefined; + s.kind___7767 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -52884,22 +52836,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); - s.kind___1085580 = (0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); + s.kind___7767 = (0); case 1: r0 = s.arg0.fields["vm"]; r0 = r0.fields["all"]; s.tmp_1 = r0; - r0 = (s.kind___1085580 < s.tmp_1); + r0 = (s.kind___7767 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_4 = tileworld_Project_getAttr__P303150_mk(s); + s.tmp_4 = tileworld_Project_getAttr__P4998_mk(s); r0 = s.arg0.fields["p"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg1; s.tmp_4.arg2 = s.arg2; - s.tmp_4.arg3 = s.kind___1085580; + s.tmp_4.arg3 = s.kind___7767; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; @@ -52912,8 +52864,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.kind___1085580 + 1); - s.kind___1085580 = (r0); + r0 = (s.kind___7767 + 1); + s.kind___7767 = (r0); { step = 1; continue; } case 4: r0 = true; @@ -52921,20 +52873,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_whendoTrue__P1084494.info = {"start":15910,"length":262,"line":375,"column":8,"endLine":381,"endColumn":9,"fileName":"vm.ts","functionName":"whendoTrue","argumentNames":["this","rid","whendo"]} -tileworld_TileWorldVM_whendoTrue__P1084494.info = {"start":15910,"length":262,"line":375,"column":8,"endLine":381,"endColumn":9,"fileName":"vm.ts","functionName":"whendoTrue","argumentNames":["this","rid","whendo"]} +tileworld_TileWorldVM_whendoTrue__P6671.info = {"start":15910,"length":262,"line":375,"column":8,"endLine":381,"endColumn":9,"fileName":"vm.ts","functionName":"whendoTrue","argumentNames":["this","rid","whendo"]} +tileworld_TileWorldVM_whendoTrue__P6671.info = {"start":15910,"length":262,"line":375,"column":8,"endLine":381,"endColumn":9,"fileName":"vm.ts","functionName":"whendoTrue","argumentNames":["this","rid","whendo"]} -function tileworld_TileWorldVM_whendoTrue__P1084494_mk(s) { +function tileworld_TileWorldVM_whendoTrue__P6671_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_whendoTrue__P1084494, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_whendoTrue__P6671, 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, - kind___1085580: undefined, + kind___7767: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -52944,7 +52896,7 @@ function tileworld_TileWorldVM_whendoTrue__P1084494_mk(s) { -function tileworld_oppDir__P302386(s) { +function tileworld_oppDir__P4230(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53034,13 +52986,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_oppDir__P302386.info = {"start":2917,"length":362,"line":99,"column":4,"endLine":104,"endColumn":5,"fileName":"rule.ts","functionName":"oppDir","argumentNames":["dir","dir2"]} -tileworld_oppDir__P302386.info = {"start":2917,"length":362,"line":99,"column":4,"endLine":104,"endColumn":5,"fileName":"rule.ts","functionName":"oppDir","argumentNames":["dir","dir2"]} +tileworld_oppDir__P4230.info = {"start":2917,"length":362,"line":99,"column":4,"endLine":104,"endColumn":5,"fileName":"rule.ts","functionName":"oppDir","argumentNames":["dir","dir2"]} +tileworld_oppDir__P4230.info = {"start":2917,"length":362,"line":99,"column":4,"endLine":104,"endColumn":5,"fileName":"rule.ts","functionName":"oppDir","argumentNames":["dir","dir2"]} -function tileworld_oppDir__P302386_mk(s) { +function tileworld_oppDir__P4230_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_oppDir__P302386, depth: s.depth + 1, + parent: s, fn: tileworld_oppDir__P4230, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53061,7 +53013,7 @@ function tileworld_oppDir__P302386_mk(s) { -function tileworld_TileWorldVM_collidingRules__P1084487(s) { +function tileworld_TileWorldVM_collidingRules__P6664(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53078,13 +53030,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P1085136); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P7320); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg2); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["rules"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -53095,13 +53047,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_collidingRules__P1084487.info = {"start":10412,"length":388,"line":259,"column":8,"endLine":267,"endColumn":9,"fileName":"vm.ts","functionName":"collidingRules","argumentNames":["this","ts","handler"]} -tileworld_TileWorldVM_collidingRules__P1084487.info = {"start":10412,"length":388,"line":259,"column":8,"endLine":267,"endColumn":9,"fileName":"vm.ts","functionName":"collidingRules","argumentNames":["this","ts","handler"]} +tileworld_TileWorldVM_collidingRules__P6664.info = {"start":10412,"length":388,"line":259,"column":8,"endLine":267,"endColumn":9,"fileName":"vm.ts","functionName":"collidingRules","argumentNames":["this","ts","handler"]} +tileworld_TileWorldVM_collidingRules__P6664.info = {"start":10412,"length":388,"line":259,"column":8,"endLine":267,"endColumn":9,"fileName":"vm.ts","functionName":"collidingRules","argumentNames":["this","ts","handler"]} -function tileworld_TileWorldVM_collidingRules__P1084487_mk(s) { +function tileworld_TileWorldVM_collidingRules__P6664_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_collidingRules__P1084487, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_collidingRules__P6664, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53114,7 +53066,7 @@ function tileworld_TileWorldVM_collidingRules__P1084487_mk(s) { -function inline__P1085136(s) { +function inline__P7320(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53128,7 +53080,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_3 = tileworld_Project_getKinds__P303142_mk(s); + s.tmp_3 = tileworld_Project_getKinds__P4990_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.arg0; @@ -53147,7 +53099,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_6 = tileworld_Project_getType__P303144_mk(s); + s.tmp_6 = tileworld_Project_getType__P4992_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_6.arg0 = r0; s.tmp_6.arg1 = s.arg0; @@ -53164,7 +53116,7 @@ switch (step) { r0 = s.tmp_7; { step = 4; continue; } case 3: - s.tmp_9 = tileworld_Project_getDir__P303146_mk(s); + s.tmp_9 = tileworld_Project_getDir__P4994_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg0; @@ -53193,13 +53145,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1085136.info = {"start":10516,"length":272,"line":260,"column":31,"endLine":266,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} -inline__P1085136.info = {"start":10516,"length":272,"line":260,"column":31,"endLine":266,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} +inline__P7320.info = {"start":10516,"length":272,"line":260,"column":31,"endLine":266,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} +inline__P7320.info = {"start":10516,"length":272,"line":260,"column":31,"endLine":266,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} -function inline__P1085136_mk(s) { +function inline__P7320_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1085136, depth: s.depth + 1, + parent: s, fn: inline__P7320, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53221,7 +53173,7 @@ function inline__P1085136_mk(s) { -function tileworld_TileWorldVM_moving__P1084482(s) { +function tileworld_TileWorldVM_moving__P6659(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53237,7 +53189,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); r0 = s.arg1.fields["inst"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 0); @@ -53257,13 +53209,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_moving__P1084482.info = {"start":7387,"length":115,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"vm.ts","functionName":"moving","argumentNames":["this","ts"]} -tileworld_TileWorldVM_moving__P1084482.info = {"start":7387,"length":115,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"vm.ts","functionName":"moving","argumentNames":["this","ts"]} +tileworld_TileWorldVM_moving__P6659.info = {"start":7387,"length":115,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"vm.ts","functionName":"moving","argumentNames":["this","ts"]} +tileworld_TileWorldVM_moving__P6659.info = {"start":7387,"length":115,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"vm.ts","functionName":"moving","argumentNames":["this","ts"]} -function tileworld_TileWorldVM_moving__P1084482_mk(s) { +function tileworld_TileWorldVM_moving__P6659_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_moving__P1084482, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_moving__P6659, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53277,7 +53229,7 @@ function tileworld_TileWorldVM_moving__P1084482_mk(s) { -function tileworld_TileWorldVM_evaluateRuleClosure__P1084496(s) { +function tileworld_TileWorldVM_evaluateRuleClosure__P6673(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53287,36 +53239,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.col___1085794 = undefined; - s.row___1085798 = undefined; + s.col___7981 = undefined; + s.row___7985 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); - s.col___1085794 = (0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); + s.col___7981 = (0); case 1: - r0 = (s.col___1085794 < 5); + r0 = (s.col___7981 < 5); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.row___1085798 = (0); + s.row___7985 = (0); case 2: - r0 = (s.row___1085798 < 5); + r0 = (s.row___7985 < 5); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_4 = Math_abs__P297644_mk(s); - r0 = (2 - s.col___1085794); + s.tmp_4 = Math_abs__P73_mk(s); + r0 = (2 - s.col___7981); s.tmp_4.arg0 = r0; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; s.tmp_3 = r0; - s.tmp_6 = Math_abs__P297644_mk(s); - r0 = (2 - s.row___1085798); + s.tmp_6 = Math_abs__P73_mk(s); + r0 = (2 - s.row___7985); s.tmp_6.arg0 = r0; s.pc = 9; return s.tmp_6; case 9: @@ -53331,34 +53283,34 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_7 = tileworld_TileWorldVM_evaluateWhenDoCommands__P1084497_mk(s); + s.tmp_7 = tileworld_TileWorldVM_evaluateWhenDoCommands__P6674_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = s.arg1; - s.tmp_7.arg2 = s.col___1085794; - s.tmp_7.arg3 = s.row___1085798; + s.tmp_7.arg2 = s.col___7981; + s.tmp_7.arg3 = s.row___7985; s.pc = 10; return s.tmp_7; case 10: r0 = s.retval; case 5: - r0 = (s.row___1085798 + 1); - s.row___1085798 = (r0); + r0 = (s.row___7985 + 1); + s.row___7985 = (r0); { step = 2; continue; } case 6: - r0 = (s.col___1085794 + 1); - s.col___1085794 = (r0); + r0 = (s.col___7981 + 1); + s.col___7981 = (r0); { step = 1; continue; } case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_evaluateRuleClosure__P1084496.info = {"start":18762,"length":352,"line":437,"column":8,"endLine":445,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateRuleClosure","argumentNames":["this","rc"]} -tileworld_TileWorldVM_evaluateRuleClosure__P1084496.info = {"start":18762,"length":352,"line":437,"column":8,"endLine":445,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateRuleClosure","argumentNames":["this","rc"]} +tileworld_TileWorldVM_evaluateRuleClosure__P6673.info = {"start":18762,"length":352,"line":437,"column":8,"endLine":445,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateRuleClosure","argumentNames":["this","rc"]} +tileworld_TileWorldVM_evaluateRuleClosure__P6673.info = {"start":18762,"length":352,"line":437,"column":8,"endLine":445,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateRuleClosure","argumentNames":["this","rc"]} -function tileworld_TileWorldVM_evaluateRuleClosure__P1084496_mk(s) { +function tileworld_TileWorldVM_evaluateRuleClosure__P6673_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_evaluateRuleClosure__P1084496, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_evaluateRuleClosure__P6673, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53368,8 +53320,8 @@ function tileworld_TileWorldVM_evaluateRuleClosure__P1084496_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - col___1085794: undefined, - row___1085798: undefined, + col___7981: undefined, + row___7985: undefined, arg0: undefined, arg1: undefined, } } @@ -53378,7 +53330,7 @@ function tileworld_TileWorldVM_evaluateRuleClosure__P1084496_mk(s) { -function tileworld_TileWorldVM_evaluateWhenDoCommands__P1084497(s) { +function tileworld_TileWorldVM_evaluateWhenDoCommands__P6674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53388,16 +53340,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.wid___1085826 = undefined; - s.wcol___1085849 = undefined; - s.wrow___1085858 = undefined; - s.self___1085867 = undefined; - s.cid___1085873 = undefined; - s.inst___1085877 = undefined; - s.arg___1085889 = undefined; - s.colliding___1085943 = undefined; - s.witness___1085952 = undefined; - s.witness___1085994 = undefined; + s.wid___8013 = undefined; + s.wcol___8036 = undefined; + s.wrow___8045 = undefined; + s.self___8054 = undefined; + s.cid___8060 = undefined; + s.inst___8064 = undefined; + s.arg___8076 = undefined; + s.colliding___8132 = undefined; + s.witness___8141 = undefined; + s.witness___8183 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -53406,8 +53358,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_getWhenDo__P303148_mk(s); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_getWhenDo__P4996_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg1.fields["rid"]; @@ -53417,20 +53369,20 @@ switch (step) { s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; - s.wid___1085826 = (r0); - r0 = (s.wid___1085826 == -1); + s.wid___8013 = (r0); + r0 = (s.wid___8013 == -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 = tileworld_Project_getInst__P303152_mk(s); + s.tmp_2 = tileworld_Project_getInst__P5000_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; r0 = s.arg1.fields["rid"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.wid___1085826; + s.tmp_2.arg2 = s.wid___8013; s.tmp_2.arg3 = 0; s.pc = 43; return s.tmp_2; case 43: @@ -53445,7 +53397,7 @@ switch (step) { { step = 41; continue; } case 3: case 4: - s.tmp_5 = tileworld_TileSprite_col__P1084381_mk(s); + s.tmp_5 = tileworld_TileSprite_col__P6556_mk(s); r0 = s.arg1.fields["self"]; s.tmp_5.arg0 = r0; s.pc = 44; return s.tmp_5; @@ -53455,8 +53407,8 @@ switch (step) { r0 = (s.arg2 - 2); s.tmp_6 = r0; r0 = (s.tmp_4 + s.tmp_6); - s.wcol___1085849 = (r0); - s.tmp_1 = tileworld_TileSprite_row__P1084382_mk(s); + s.wcol___8036 = (r0); + s.tmp_1 = tileworld_TileSprite_row__P6557_mk(s); r0 = s.arg1.fields["self"]; s.tmp_1.arg0 = r0; s.pc = 45; return s.tmp_1; @@ -53466,7 +53418,7 @@ switch (step) { r0 = (s.arg3 - 2); s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.wrow___1085858 = (r0); + s.wrow___8045 = (r0); r0 = (s.arg2 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -53478,43 +53430,43 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - s.self___1085867 = (s.tmp_1); - s.cid___1085873 = (0); + s.self___8054 = (s.tmp_1); + s.cid___8060 = (0); case 7: - r0 = (s.cid___1085873 < 4); + r0 = (s.cid___8060 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 40; continue; } - s.tmp_1 = tileworld_Project_getInst__P303152_mk(s); + s.tmp_1 = tileworld_Project_getInst__P5000_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; r0 = s.arg1.fields["rid"]; s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.wid___1085826; - s.tmp_1.arg3 = s.cid___1085873; + s.tmp_1.arg2 = s.wid___8013; + s.tmp_1.arg3 = s.cid___8060; s.pc = 46; return s.tmp_1; case 46: r0 = s.retval; - s.inst___1085877 = (r0); - r0 = (s.inst___1085877 == -1); + s.inst___8064 = (r0); + r0 = (s.inst___8064 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } { step = 40; continue; } case 8: case 9: - s.tmp_1 = tileworld_Project_getArg__P303153_mk(s); + s.tmp_1 = tileworld_Project_getArg__P5001_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; r0 = s.arg1.fields["rid"]; s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.wid___1085826; - s.tmp_1.arg3 = s.cid___1085873; + s.tmp_1.arg2 = s.wid___8013; + s.tmp_1.arg3 = s.cid___8060; s.pc = 47; return s.tmp_1; case 47: r0 = s.retval; - s.arg___1085889 = (r0); - s.tmp_0 = r0 = s.inst___1085877; + s.arg___8076 = (r0); + s.tmp_0 = r0 = s.inst___8064; r0 = pxsim_pxtcore.switch_eq(1, s.tmp_0); if (r0) { step = 10; continue; } r0 = pxsim_pxtcore.switch_eq(0, s.tmp_0); @@ -53531,7 +53483,7 @@ switch (step) { r0 = s.arg0.fields["vm"]; r0 = r0.fields["nextWorld"]; s.tmp_3 = r0; - r0 = pxsim_ImageMethods.getPixel(s.tmp_3, s.wcol___1085849, s.wrow___1085858); + r0 = pxsim_ImageMethods.getPixel(s.tmp_3, s.wcol___8036, s.wrow___8045); s.tmp_2 = r0; r0 = (s.tmp_2 == 15); s.tmp_1 = r0; @@ -53540,7 +53492,7 @@ switch (step) { r0 = s.arg0.fields["vm"]; r0 = r0.fields["nextWorld"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_4, s.wcol___1085849, s.wrow___1085858, s.arg___1085889); + r0 = pxsim_ImageMethods.setPixel(s.tmp_4, s.wcol___8036, s.wrow___8045, s.arg___8076); r0 = s.arg0.fields["vm"]; r0 = r0.fields["paintTile"]; s.tmp_0 = r0; @@ -53560,13 +53512,13 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 13; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tileworld_PaintTile__C1084463_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_PaintTile__C6640_VT); s.tmp_4 = r0; - s.tmp_5 = tileworld_PaintTile_constructor__P1084464_mk(s); + s.tmp_5 = tileworld_PaintTile_constructor__P6641_mk(s); s.tmp_5.arg0 = s.tmp_4; - s.tmp_5.arg1 = s.wcol___1085849; - s.tmp_5.arg2 = s.wrow___1085858; - s.tmp_5.arg3 = s.arg___1085889; + s.tmp_5.arg1 = s.wcol___8036; + s.tmp_5.arg2 = s.wrow___8045; + s.tmp_5.arg3 = s.arg___8076; s.pc = 48; return s.tmp_5; case 48: r0 = s.retval; @@ -53584,7 +53536,7 @@ switch (step) { case 16: { step = 39; continue; } case 17: - s.tmp_1 = tileworld_Project_getType__P303144_mk(s); + s.tmp_1 = tileworld_Project_getType__P4992_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; r0 = s.arg1.fields["rid"]; @@ -53594,24 +53546,24 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 >= 3); - s.colliding___1085943 = (r0); - r0 = pxsim_numops_toBoolDecr(s.self___1085867); + s.colliding___8132 = (r0); + r0 = pxsim_numops_toBoolDecr(s.self___8054); if (!r0) { step = 18; continue; } r0 = s.arg1.fields["self"]; { step = 21; continue; } case 18: - r0 = pxsim_numops_toBoolDecr(s.colliding___1085943); + r0 = pxsim_numops_toBoolDecr(s.colliding___8132); if (!r0) { step = 19; continue; } r0 = s.arg1.fields["witnesses"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, 0); { step = 20; continue; } case 19: - r0 = pxsim_pxtcore_mkAction(2, inline__P1085962); + r0 = pxsim_pxtcore_mkAction(2, inline__P8151); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.wcol___1085849); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.wrow___1085858); - s.tmp_2 = helpers_arrayFind__P297632_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.wcol___8036); + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.wrow___8045); + s.tmp_2 = helpers_arrayFind__P61_mk(s); r0 = s.arg1.fields["witnesses"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; @@ -53625,14 +53577,14 @@ switch (step) { case 21: // jmp value (already in r0) s.tmp_4 = r0; - s.witness___1085952 = (s.tmp_4); - s.tmp_0 = r0 = s.witness___1085952; + s.witness___8141 = (s.tmp_4); + s.tmp_0 = r0 = s.witness___8141; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 22; continue; } r0 = s.tmp_0; { step = 27; continue; } case 22: - r0 = s.witness___1085952.fields["inst"]; + r0 = s.witness___8141.fields["inst"]; s.tmp_2 = r0; r0 = (s.tmp_2 == -1); s.tmp_1 = r0; @@ -53652,7 +53604,7 @@ switch (step) { r0 = s.tmp_4; { step = 26; continue; } case 25: - r0 = s.colliding___1085943; + r0 = s.colliding___8132; case 26: // jmp value (already in r0) s.tmp_5 = r0; @@ -53662,25 +53614,25 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 28; continue; } - r0 = (s.witness___1085952).fields["inst"] = (s.inst___1085877); - r0 = (s.witness___1085952).fields["arg"] = (s.arg___1085889); + r0 = (s.witness___8141).fields["inst"] = (s.inst___8064); + r0 = (s.witness___8141).fields["arg"] = (s.arg___8076); case 28: case 29: { step = 39; continue; } case 30: - r0 = pxsim_pxtcore_mkAction(2, inline__P1085998); + r0 = pxsim_pxtcore_mkAction(2, inline__P8187); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.wcol___1085849); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.wrow___1085858); - s.tmp_1 = helpers_arrayFind__P297632_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.wcol___8036); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.wrow___8045); + s.tmp_1 = helpers_arrayFind__P61_mk(s); r0 = s.arg1.fields["witnesses"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.pc = 51; return s.tmp_1; case 51: r0 = s.retval; - s.witness___1085994 = (r0); - s.tmp_2 = tileworld_Project_getType__P303144_mk(s); + s.witness___8183 = (r0); + s.tmp_2 = tileworld_Project_getType__P4992_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; r0 = s.arg1.fields["rid"]; @@ -53696,27 +53648,27 @@ switch (step) { r0 = s.arg1.fields["witnesses"]; s.tmp_3 = r0; r0 = pxsim_Array__getAt(s.tmp_3, 0); - s.witness___1085994 = (r0); + s.witness___8183 = (r0); case 31: case 32: - r0 = (s.arg___1085889 == 0); + r0 = (s.arg___8076 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 33; continue; } r0 = s.tmp_0; { step = 34; continue; } case 33: - r0 = s.witness___1085994; + r0 = s.witness___8183; case 34: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 35; continue; } - r0 = (s.witness___1085994).fields["state"] = (1); + r0 = (s.witness___8183).fields["state"] = (1); r0 = s.arg0.fields["vm"]; r0 = r0.fields["deadSprites"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.witness___1085994); + r0 = pxsim_Array__push(s.tmp_0, s.witness___8183); case 35: case 36: { step = 39; continue; } @@ -53724,13 +53676,13 @@ switch (step) { case 38: r0 = s.arg0.fields["globalInsts"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.inst___1085877); + r0 = pxsim_Array__push(s.tmp_0, s.inst___8064); r0 = s.arg0.fields["globalArgs"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.arg___1085889); + r0 = pxsim_Array__push(s.tmp_0, s.arg___8076); case 39: - r0 = (s.cid___1085873 + 1); - s.cid___1085873 = (r0); + r0 = (s.cid___8060 + 1); + s.cid___8060 = (r0); { step = 7; continue; } case 40: case 41: @@ -53738,13 +53690,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_evaluateWhenDoCommands__P1084497.info = {"start":19124,"length":3050,"line":447,"column":8,"endLine":504,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateWhenDoCommands","argumentNames":["this","rc","col","row"]} -tileworld_TileWorldVM_evaluateWhenDoCommands__P1084497.info = {"start":19124,"length":3050,"line":447,"column":8,"endLine":504,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateWhenDoCommands","argumentNames":["this","rc","col","row"]} +tileworld_TileWorldVM_evaluateWhenDoCommands__P6674.info = {"start":19124,"length":3050,"line":447,"column":8,"endLine":504,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateWhenDoCommands","argumentNames":["this","rc","col","row"]} +tileworld_TileWorldVM_evaluateWhenDoCommands__P6674.info = {"start":19124,"length":3050,"line":447,"column":8,"endLine":504,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateWhenDoCommands","argumentNames":["this","rc","col","row"]} -function tileworld_TileWorldVM_evaluateWhenDoCommands__P1084497_mk(s) { +function tileworld_TileWorldVM_evaluateWhenDoCommands__P6674_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_evaluateWhenDoCommands__P1084497, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_evaluateWhenDoCommands__P6674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53753,16 +53705,16 @@ function tileworld_TileWorldVM_evaluateWhenDoCommands__P1084497_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - wid___1085826: undefined, - wcol___1085849: undefined, - wrow___1085858: undefined, - self___1085867: undefined, - cid___1085873: undefined, - inst___1085877: undefined, - arg___1085889: undefined, - colliding___1085943: undefined, - witness___1085952: undefined, - witness___1085994: undefined, + wid___8013: undefined, + wcol___8036: undefined, + wrow___8045: undefined, + self___8054: undefined, + cid___8060: undefined, + inst___8064: undefined, + arg___8076: undefined, + colliding___8132: undefined, + witness___8141: undefined, + witness___8183: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -53773,7 +53725,7 @@ function tileworld_TileWorldVM_evaluateWhenDoCommands__P1084497_mk(s) { -function inline__P1085962(s) { +function inline__P8151(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53787,7 +53739,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_2 = tileworld_TileSprite_col__P1084381_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P6556_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 3; return s.tmp_2; case 3: @@ -53800,7 +53752,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_TileSprite_row__P1084382_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P6557_mk(s); s.tmp_4.arg0 = s.arg0; s.pc = 4; return s.tmp_4; case 4: @@ -53814,13 +53766,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1085962.info = {"start":20585,"length":42,"line":473,"column":56,"endLine":473,"endColumn":98,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -inline__P1085962.info = {"start":20585,"length":42,"line":473,"column":56,"endLine":473,"endColumn":98,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P8151.info = {"start":20585,"length":42,"line":473,"column":56,"endLine":473,"endColumn":98,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P8151.info = {"start":20585,"length":42,"line":473,"column":56,"endLine":473,"endColumn":98,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P1085962_mk(s) { +function inline__P8151_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1085962, depth: s.depth + 1, + parent: s, fn: inline__P8151, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53835,7 +53787,7 @@ function inline__P1085962_mk(s) { -function inline__P1085998(s) { +function inline__P8187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53849,7 +53801,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_2 = tileworld_TileSprite_col__P1084381_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P6556_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 3; return s.tmp_2; case 3: @@ -53862,7 +53814,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_TileSprite_row__P1084382_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P6557_mk(s); s.tmp_4.arg0 = s.arg0; s.pc = 4; return s.tmp_4; case 4: @@ -53876,13 +53828,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1085998.info = {"start":21079,"length":42,"line":482,"column":56,"endLine":482,"endColumn":98,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -inline__P1085998.info = {"start":21079,"length":42,"line":482,"column":56,"endLine":482,"endColumn":98,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P8187.info = {"start":21079,"length":42,"line":482,"column":56,"endLine":482,"endColumn":98,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P8187.info = {"start":21079,"length":42,"line":482,"column":56,"endLine":482,"endColumn":98,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P1085998_mk(s) { +function inline__P8187_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1085998, depth: s.depth + 1, + parent: s, fn: inline__P8187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53897,7 +53849,7 @@ function inline__P1085998_mk(s) { -function tileworld_PaintTile_constructor__P1084464(s) { +function tileworld_PaintTile_constructor__P6641(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53915,7 +53867,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_PaintTile__C1084463_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_PaintTile__C6640_VT)) failedCast(r0); r0 = (s.arg0).fields["col"] = (s.arg1); r0 = (s.arg0).fields["row"] = (s.arg2); r0 = (s.arg0).fields["tile"] = (s.arg3); @@ -53923,13 +53875,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_PaintTile_constructor__P1084464.info = {"start":1452,"length":84,"line":41,"column":8,"endLine":42,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","col","row","tile"]} -tileworld_PaintTile_constructor__P1084464.info = {"start":1452,"length":84,"line":41,"column":8,"endLine":42,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","col","row","tile"]} +tileworld_PaintTile_constructor__P6641.info = {"start":1452,"length":84,"line":41,"column":8,"endLine":42,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","col","row","tile"]} +tileworld_PaintTile_constructor__P6641.info = {"start":1452,"length":84,"line":41,"column":8,"endLine":42,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","col","row","tile"]} -function tileworld_PaintTile_constructor__P1084464_mk(s) { +function tileworld_PaintTile_constructor__P6641_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_PaintTile_constructor__P1084464, depth: s.depth + 1, + parent: s, fn: tileworld_PaintTile_constructor__P6641, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -53941,7 +53893,7 @@ function tileworld_PaintTile_constructor__P1084464_mk(s) { -function tileworld_TileWorldVM_applyRules__P1084486(s) { +function tileworld_TileWorldVM_applyRules__P6663(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53957,12 +53909,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P1085058); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P7242); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg0); - s.tmp_1 = tileworld_TileWorldVM_allSprites__P1084483_mk(s); + s.tmp_1 = tileworld_TileWorldVM_allSprites__P6660_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; s.pc = 4; return s.tmp_1; @@ -53975,11 +53927,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkAction(2, inline__P1085101); + r0 = pxsim_pxtcore_mkAction(2, inline__P7285); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.arg1); - s.tmp_2 = tileworld_TileWorldVM_allSprites__P1084483_mk(s); + s.tmp_2 = tileworld_TileWorldVM_allSprites__P6660_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; s.pc = 5; return s.tmp_2; @@ -53990,13 +53942,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_applyRules__P1084486.info = {"start":9203,"length":1163,"line":231,"column":8,"endLine":256,"endColumn":9,"fileName":"vm.ts","functionName":"applyRules","argumentNames":["this","phase"]} -tileworld_TileWorldVM_applyRules__P1084486.info = {"start":9203,"length":1163,"line":231,"column":8,"endLine":256,"endColumn":9,"fileName":"vm.ts","functionName":"applyRules","argumentNames":["this","phase"]} +tileworld_TileWorldVM_applyRules__P6663.info = {"start":9203,"length":1163,"line":231,"column":8,"endLine":256,"endColumn":9,"fileName":"vm.ts","functionName":"applyRules","argumentNames":["this","phase"]} +tileworld_TileWorldVM_applyRules__P6663.info = {"start":9203,"length":1163,"line":231,"column":8,"endLine":256,"endColumn":9,"fileName":"vm.ts","functionName":"applyRules","argumentNames":["this","phase"]} -function tileworld_TileWorldVM_applyRules__P1084486_mk(s) { +function tileworld_TileWorldVM_applyRules__P6663_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_applyRules__P1084486, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_applyRules__P6663, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -54009,7 +53961,7 @@ function tileworld_TileWorldVM_applyRules__P1084486_mk(s) { -function inline__P1085058(s) { +function inline__P7242(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54057,7 +54009,7 @@ switch (step) { r0 = s.tmp_4; { step = 7; continue; } case 6: - s.tmp_5 = tileworld_TileWorldVM_restingWithChange__P1084484_mk(s); + s.tmp_5 = tileworld_TileWorldVM_restingWithChange__P6661_mk(s); s.tmp_5.arg0 = s.caps[1]; s.tmp_5.arg1 = s.arg0; s.pc = 11; return s.tmp_5; @@ -54072,11 +54024,11 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P1085085); + r0 = pxsim_pxtcore_mkAction(2, inline__P7269); s.tmp_8 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_8, 0, s.caps[1]); r0 = pxsim_pxtrt_stclo(s.tmp_8, 1, s.arg0); - s.tmp_9 = tileworld_TileWorldVM_matchingRules__P1084485_mk(s); + s.tmp_9 = tileworld_TileWorldVM_matchingRules__P6662_mk(s); s.tmp_9.arg0 = s.caps[1]; r0 = s.caps[1].fields["rules"]; s.tmp_9.arg1 = r0; @@ -54092,13 +54044,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1085058.info = {"start":9266,"length":487,"line":232,"column":28,"endLine":242,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -inline__P1085058.info = {"start":9266,"length":487,"line":232,"column":28,"endLine":242,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P7242.info = {"start":9266,"length":487,"line":232,"column":28,"endLine":242,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P7242.info = {"start":9266,"length":487,"line":232,"column":28,"endLine":242,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P1085058_mk(s) { +function inline__P7242_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1085058, depth: s.depth + 1, + parent: s, fn: inline__P7242, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -54117,7 +54069,7 @@ function inline__P1085058_mk(s) { -function inline__P1085085(s) { +function inline__P7269(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54127,40 +54079,40 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.closure___1085087 = undefined; + s.closure___7271 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_TileWorldVM_evaluateRule__P1084490_mk(s); + s.tmp_0 = tileworld_TileWorldVM_evaluateRule__P6667_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.caps[1]; s.tmp_0.arg2 = s.arg0; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.closure___1085087 = (r0); - r0 = pxsim_numops_toBoolDecr(s.closure___1085087); + s.closure___7271 = (r0); + r0 = pxsim_numops_toBoolDecr(s.closure___7271); if (!r0) { step = 1; continue; } r0 = s.caps[0].fields["ruleClosures"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.closure___1085087); + r0 = pxsim_Array__push(s.tmp_0, s.closure___7271); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P1085085.info = {"start":9523,"length":196,"line":236,"column":62,"endLine":240,"endColumn":21,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} -inline__P1085085.info = {"start":9523,"length":196,"line":236,"column":62,"endLine":240,"endColumn":21,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} +inline__P7269.info = {"start":9523,"length":196,"line":236,"column":62,"endLine":240,"endColumn":21,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} +inline__P7269.info = {"start":9523,"length":196,"line":236,"column":62,"endLine":240,"endColumn":21,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} -function inline__P1085085_mk(s) { +function inline__P7269_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1085085, depth: s.depth + 1, + parent: s, fn: inline__P7269, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - closure___1085087: undefined, + closure___7271: undefined, arg0: undefined, } } @@ -54168,7 +54120,7 @@ function inline__P1085085_mk(s) { -function inline__P1085101(s) { +function inline__P7285(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54191,7 +54143,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_TileWorldVM_moving__P1084482_mk(s); + s.tmp_4 = tileworld_TileWorldVM_moving__P6659_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = s.arg0; s.pc = 5; return s.tmp_4; @@ -54206,11 +54158,11 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P1085118); + r0 = pxsim_pxtcore_mkAction(2, inline__P7302); s.tmp_6 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_6, 0, s.caps[0]); r0 = pxsim_pxtrt_stclo(s.tmp_6, 1, s.arg0); - s.tmp_7 = tileworld_TileWorldVM_matchingRules__P1084485_mk(s); + s.tmp_7 = tileworld_TileWorldVM_matchingRules__P6662_mk(s); s.tmp_7.arg0 = s.caps[0]; r0 = s.caps[0].fields["allTrueResting"]; s.tmp_7.arg1 = r0; @@ -54226,13 +54178,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1085101.info = {"start":9987,"length":367,"line":247,"column":28,"endLine":255,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -inline__P1085101.info = {"start":9987,"length":367,"line":247,"column":28,"endLine":255,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P7285.info = {"start":9987,"length":367,"line":247,"column":28,"endLine":255,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P7285.info = {"start":9987,"length":367,"line":247,"column":28,"endLine":255,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P1085101_mk(s) { +function inline__P7285_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1085101, depth: s.depth + 1, + parent: s, fn: inline__P7285, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -54249,7 +54201,7 @@ function inline__P1085101_mk(s) { -function inline__P1085118(s) { +function inline__P7302(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54259,40 +54211,40 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.closure___1085120 = undefined; + s.closure___7304 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_TileWorldVM_evaluateRule__P1084490_mk(s); + s.tmp_0 = tileworld_TileWorldVM_evaluateRule__P6667_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.caps[1]; s.tmp_0.arg2 = s.arg0; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.closure___1085120 = (r0); - r0 = pxsim_numops_toBoolDecr(s.closure___1085120); + s.closure___7304 = (r0); + r0 = pxsim_numops_toBoolDecr(s.closure___7304); if (!r0) { step = 1; continue; } r0 = s.caps[0].fields["ruleClosures"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.closure___1085120); + r0 = pxsim_Array__push(s.tmp_0, s.closure___7304); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P1085118.info = {"start":10124,"length":196,"line":249,"column":71,"endLine":253,"endColumn":21,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} -inline__P1085118.info = {"start":10124,"length":196,"line":249,"column":71,"endLine":253,"endColumn":21,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} +inline__P7302.info = {"start":10124,"length":196,"line":249,"column":71,"endLine":253,"endColumn":21,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} +inline__P7302.info = {"start":10124,"length":196,"line":249,"column":71,"endLine":253,"endColumn":21,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} -function inline__P1085118_mk(s) { +function inline__P7302_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1085118, depth: s.depth + 1, + parent: s, fn: inline__P7302, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - closure___1085120: undefined, + closure___7304: undefined, arg0: undefined, } } @@ -54300,7 +54252,7 @@ function inline__P1085118_mk(s) { -function tileworld_TileWorldVM_evaluateRule__P1084490(s) { +function tileworld_TileWorldVM_evaluateRule__P6667(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54310,9 +54262,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.witnesses___1085430 = undefined; - s.col___1085432 = undefined; - s.row___1085436 = undefined; + s.witnesses___7617 = undefined; + s.col___7619 = undefined; + s.row___7623 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -54320,30 +54272,30 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.witnesses___1085430 = (r0); - s.col___1085432 = (0); + s.witnesses___7617 = (r0); + s.col___7619 = (0); case 1: - r0 = (s.col___1085432 < 5); + r0 = (s.col___7619 < 5); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.row___1085436 = (0); + s.row___7623 = (0); case 2: - r0 = (s.row___1085436 < 5); + r0 = (s.row___7623 < 5); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_4 = Math_abs__P297644_mk(s); - r0 = (2 - s.col___1085432); + s.tmp_4 = Math_abs__P73_mk(s); + r0 = (2 - s.col___7619); s.tmp_4.arg0 = r0; s.pc = 15; return s.tmp_4; case 15: r0 = s.retval; s.tmp_3 = r0; - s.tmp_6 = Math_abs__P297644_mk(s); - r0 = (2 - s.row___1085436); + s.tmp_6 = Math_abs__P73_mk(s); + r0 = (2 - s.row___7623); s.tmp_6.arg0 = r0; s.pc = 16; return s.tmp_6; case 16: @@ -54358,14 +54310,14 @@ switch (step) { r0 = s.tmp_1; { step = 6; continue; } case 3: - r0 = (s.col___1085432 == 2); + r0 = (s.col___7619 == 2); s.tmp_7 = r0; r0 = pxsim_numops_toBool(s.tmp_7); if (r0) { step = 4; continue; } r0 = s.tmp_7; { step = 5; continue; } case 4: - r0 = (s.row___1085436 == 2); + r0 = (s.row___7623 == 2); case 5: // jmp value (already in r0) s.tmp_8 = r0; @@ -54378,13 +54330,13 @@ switch (step) { { step = 11; continue; } case 7: case 8: - s.tmp_13 = tileworld_TileWorldVM_evaluateWhenDo__P1084495_mk(s); + s.tmp_13 = tileworld_TileWorldVM_evaluateWhenDo__P6672_mk(s); s.tmp_13.arg0 = s.arg0; s.tmp_13.arg1 = s.arg1; s.tmp_13.arg2 = s.arg2; - s.tmp_13.arg3 = s.col___1085432; - s.tmp_13.arg4 = s.row___1085436; - s.tmp_13.arg5 = s.witnesses___1085430; + s.tmp_13.arg3 = s.col___7619; + s.tmp_13.arg4 = s.row___7623; + s.tmp_13.arg5 = s.witnesses___7617; s.pc = 17; return s.tmp_13; case 17: r0 = s.retval; @@ -54400,21 +54352,21 @@ switch (step) { case 9: case 10: case 11: - r0 = (s.row___1085436 + 1); - s.row___1085436 = (r0); + r0 = (s.row___7623 + 1); + s.row___7623 = (r0); { step = 2; continue; } case 12: - r0 = (s.col___1085432 + 1); - s.col___1085432 = (r0); + r0 = (s.col___7619 + 1); + s.col___7619 = (r0); { step = 1; continue; } case 13: - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C1084472_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C6649_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_RuleClosure_constructor__P1084473_mk(s); + s.tmp_1 = tileworld_RuleClosure_constructor__P6650_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg2; s.tmp_1.arg2 = s.arg1; - s.tmp_1.arg3 = s.witnesses___1085430; + s.tmp_1.arg3 = s.witnesses___7617; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; @@ -54423,13 +54375,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_evaluateRule__P1084490.info = {"start":14283,"length":702,"line":336,"column":8,"endLine":350,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateRule","argumentNames":["this","ts","rid"]} -tileworld_TileWorldVM_evaluateRule__P1084490.info = {"start":14283,"length":702,"line":336,"column":8,"endLine":350,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateRule","argumentNames":["this","ts","rid"]} +tileworld_TileWorldVM_evaluateRule__P6667.info = {"start":14283,"length":702,"line":336,"column":8,"endLine":350,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateRule","argumentNames":["this","ts","rid"]} +tileworld_TileWorldVM_evaluateRule__P6667.info = {"start":14283,"length":702,"line":336,"column":8,"endLine":350,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateRule","argumentNames":["this","ts","rid"]} -function tileworld_TileWorldVM_evaluateRule__P1084490_mk(s) { +function tileworld_TileWorldVM_evaluateRule__P6667_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_evaluateRule__P1084490, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_evaluateRule__P6667, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -54445,9 +54397,9 @@ function tileworld_TileWorldVM_evaluateRule__P1084490_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - witnesses___1085430: undefined, - col___1085432: undefined, - row___1085436: undefined, + witnesses___7617: undefined, + col___7619: undefined, + row___7623: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -54457,7 +54409,7 @@ function tileworld_TileWorldVM_evaluateRule__P1084490_mk(s) { -function tileworld_TileWorldVM_matchingRules__P1084485(s) { +function tileworld_TileWorldVM_matchingRules__P6662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54476,14 +54428,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(4, inline__P1084984); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(4, inline__P7167); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg3); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg2); r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.arg4); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = s.tmp_0; s.pc = 1; return s.tmp_1; @@ -54493,13 +54445,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_matchingRules__P1084485.info = {"start":8567,"length":626,"line":220,"column":8,"endLine":229,"endColumn":9,"fileName":"vm.ts","functionName":"matchingRules","argumentNames":["this","rules","phase","ts","handler"]} -tileworld_TileWorldVM_matchingRules__P1084485.info = {"start":8567,"length":626,"line":220,"column":8,"endLine":229,"endColumn":9,"fileName":"vm.ts","functionName":"matchingRules","argumentNames":["this","rules","phase","ts","handler"]} +tileworld_TileWorldVM_matchingRules__P6662.info = {"start":8567,"length":626,"line":220,"column":8,"endLine":229,"endColumn":9,"fileName":"vm.ts","functionName":"matchingRules","argumentNames":["this","rules","phase","ts","handler"]} +tileworld_TileWorldVM_matchingRules__P6662.info = {"start":8567,"length":626,"line":220,"column":8,"endLine":229,"endColumn":9,"fileName":"vm.ts","functionName":"matchingRules","argumentNames":["this","rules","phase","ts","handler"]} -function tileworld_TileWorldVM_matchingRules__P1084485_mk(s) { +function tileworld_TileWorldVM_matchingRules__P6662_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_matchingRules__P1084485, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_matchingRules__P6662, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -54514,7 +54466,7 @@ function tileworld_TileWorldVM_matchingRules__P1084485_mk(s) { -function inline__P1084984(s) { +function inline__P7167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54528,7 +54480,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_3 = tileworld_Project_getKinds__P303142_mk(s); + s.tmp_3 = tileworld_Project_getKinds__P4990_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.arg0; @@ -54554,7 +54506,7 @@ switch (step) { r0 = s.tmp_5; { step = 3; continue; } case 2: - s.tmp_7 = tileworld_Project_getDir__P303146_mk(s); + s.tmp_7 = tileworld_Project_getDir__P4994_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = s.arg0; @@ -54573,7 +54525,7 @@ switch (step) { r0 = s.tmp_9; { step = 5; continue; } case 4: - s.tmp_11 = tileworld_Project_getType__P303144_mk(s); + s.tmp_11 = tileworld_Project_getType__P4992_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_11.arg0 = r0; s.tmp_11.arg1 = s.arg0; @@ -54597,7 +54549,7 @@ switch (step) { r0 = s.tmp_13; { step = 8; continue; } case 7: - s.tmp_15 = tileworld_Project_getType__P303144_mk(s); + s.tmp_15 = tileworld_Project_getType__P4992_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_15.arg0 = r0; s.tmp_15.arg1 = s.arg0; @@ -54625,7 +54577,7 @@ switch (step) { r0 = s.tmp_18; { step = 12; continue; } case 11: - s.tmp_20 = tileworld_Project_getDir__P303146_mk(s); + s.tmp_20 = tileworld_Project_getDir__P4994_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_20.arg0 = r0; s.tmp_20.arg1 = s.arg0; @@ -54644,7 +54596,7 @@ switch (step) { r0 = s.tmp_22; { step = 14; continue; } case 13: - s.tmp_24 = tileworld_Project_getType__P303144_mk(s); + s.tmp_24 = tileworld_Project_getType__P4992_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_24.arg0 = r0; s.tmp_24.arg1 = s.arg0; @@ -54679,13 +54631,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1084984.info = {"start":8696,"length":485,"line":221,"column":26,"endLine":228,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} -inline__P1084984.info = {"start":8696,"length":485,"line":221,"column":26,"endLine":228,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} +inline__P7167.info = {"start":8696,"length":485,"line":221,"column":26,"endLine":228,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} +inline__P7167.info = {"start":8696,"length":485,"line":221,"column":26,"endLine":228,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} -function inline__P1084984_mk(s) { +function inline__P7167_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1084984, depth: s.depth + 1, + parent: s, fn: inline__P7167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -54723,7 +54675,7 @@ function inline__P1084984_mk(s) { -function tileworld_TileWorldVM_restingWithChange__P1084484(s) { +function tileworld_TileWorldVM_restingWithChange__P6661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54733,19 +54685,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.col___1084927 = undefined; - s.row___1084930 = undefined; - s.i___1084933 = undefined; - s.j___1084939 = undefined; - s.x___1084953 = undefined; - s.y___1084957 = undefined; + s.col___7110 = undefined; + s.row___7113 = undefined; + s.i___7116 = undefined; + s.j___7122 = undefined; + s.x___7136 = undefined; + s.y___7140 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); r0 = s.arg1.fields["dir"]; s.tmp_1 = r0; r0 = (s.tmp_1 == -1); @@ -54755,7 +54707,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_TileWorldVM_moving__P1084482_mk(s); + s.tmp_4 = tileworld_TileWorldVM_moving__P6659_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; s.pc = 16; return s.tmp_4; @@ -54770,38 +54722,38 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 13; continue; } - s.tmp_6 = tileworld_TileSprite_col__P1084381_mk(s); + s.tmp_6 = tileworld_TileSprite_col__P6556_mk(s); s.tmp_6.arg0 = s.arg1; s.pc = 17; return s.tmp_6; case 17: r0 = s.retval; - s.col___1084927 = (r0); - s.tmp_0 = tileworld_TileSprite_row__P1084382_mk(s); + s.col___7110 = (r0); + s.tmp_0 = tileworld_TileSprite_row__P6557_mk(s); s.tmp_0.arg0 = s.arg1; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.row___1084930 = (r0); - s.i___1084933 = (-2); + s.row___7113 = (r0); + s.i___7116 = (-2); case 3: - r0 = (s.i___1084933 <= 2); + r0 = (s.i___7116 <= 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.j___1084939 = (-2); + s.j___7122 = (-2); case 4: - r0 = (s.j___1084939 <= 2); + r0 = (s.j___7122 <= 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_4 = Math_abs__P297644_mk(s); - s.tmp_4.arg0 = s.i___1084933; + s.tmp_4 = Math_abs__P73_mk(s); + s.tmp_4.arg0 = s.i___7116; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; s.tmp_3 = r0; - s.tmp_6 = Math_abs__P297644_mk(s); - s.tmp_6.arg0 = s.j___1084939; + s.tmp_6 = Math_abs__P73_mk(s); + s.tmp_6.arg0 = s.j___7122; s.pc = 20; return s.tmp_6; case 20: r0 = s.retval; @@ -54812,14 +54764,14 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } - r0 = (s.col___1084927 + s.i___1084933); - s.x___1084953 = (r0); - r0 = (s.row___1084930 + s.j___1084939); - s.y___1084957 = (r0); - s.tmp_1 = tileworld_TileWorldVM_inBounds__P1084492_mk(s); + r0 = (s.col___7110 + s.i___7116); + s.x___7136 = (r0); + r0 = (s.row___7113 + s.j___7122); + s.y___7140 = (r0); + s.tmp_1 = tileworld_TileWorldVM_inBounds__P6669_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.x___1084953; - s.tmp_1.arg2 = s.y___1084957; + s.tmp_1.arg1 = s.x___7136; + s.tmp_1.arg2 = s.y___7140; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; @@ -54832,7 +54784,7 @@ switch (step) { r0 = s.arg0.fields["vm"]; r0 = r0.fields["changed"]; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.getPixel(s.tmp_2, s.x___1084953, s.y___1084957); + r0 = pxsim_ImageMethods.getPixel(s.tmp_2, s.x___7136, s.y___7140); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -54844,12 +54796,12 @@ switch (step) { case 8: case 9: case 10: - r0 = (s.j___1084939 + 1); - s.j___1084939 = (r0); + r0 = (s.j___7122 + 1); + s.j___7122 = (r0); { step = 4; continue; } case 11: - r0 = (s.i___1084933 + 1); - s.i___1084933 = (r0); + r0 = (s.i___7116 + 1); + s.i___7116 = (r0); { step = 3; continue; } case 12: case 13: @@ -54859,13 +54811,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_restingWithChange__P1084484.info = {"start":7701,"length":856,"line":199,"column":8,"endLine":218,"endColumn":9,"fileName":"vm.ts","functionName":"restingWithChange","argumentNames":["this","ts"]} -tileworld_TileWorldVM_restingWithChange__P1084484.info = {"start":7701,"length":856,"line":199,"column":8,"endLine":218,"endColumn":9,"fileName":"vm.ts","functionName":"restingWithChange","argumentNames":["this","ts"]} +tileworld_TileWorldVM_restingWithChange__P6661.info = {"start":7701,"length":856,"line":199,"column":8,"endLine":218,"endColumn":9,"fileName":"vm.ts","functionName":"restingWithChange","argumentNames":["this","ts"]} +tileworld_TileWorldVM_restingWithChange__P6661.info = {"start":7701,"length":856,"line":199,"column":8,"endLine":218,"endColumn":9,"fileName":"vm.ts","functionName":"restingWithChange","argumentNames":["this","ts"]} -function tileworld_TileWorldVM_restingWithChange__P1084484_mk(s) { +function tileworld_TileWorldVM_restingWithChange__P6661_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_restingWithChange__P1084484, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_restingWithChange__P6661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -54874,12 +54826,12 @@ function tileworld_TileWorldVM_restingWithChange__P1084484_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - col___1084927: undefined, - row___1084930: undefined, - i___1084933: undefined, - j___1084939: undefined, - x___1084953: undefined, - y___1084957: undefined, + col___7110: undefined, + row___7113: undefined, + i___7116: undefined, + j___7122: undefined, + x___7136: undefined, + y___7140: undefined, arg0: undefined, arg1: undefined, } } @@ -54888,7 +54840,7 @@ function tileworld_TileWorldVM_restingWithChange__P1084484_mk(s) { -function tileworld_TileWorldVM_allSprites__P1084483(s) { +function tileworld_TileWorldVM_allSprites__P6660(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54904,11 +54856,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P1084906); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P7089); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["vm"]; r0 = r0.fields["sprites"]; s.tmp_1.arg0 = r0; @@ -54920,13 +54872,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_allSprites__P1084483.info = {"start":7512,"length":179,"line":193,"column":8,"endLine":197,"endColumn":9,"fileName":"vm.ts","functionName":"allSprites","argumentNames":["this","handler"]} -tileworld_TileWorldVM_allSprites__P1084483.info = {"start":7512,"length":179,"line":193,"column":8,"endLine":197,"endColumn":9,"fileName":"vm.ts","functionName":"allSprites","argumentNames":["this","handler"]} +tileworld_TileWorldVM_allSprites__P6660.info = {"start":7512,"length":179,"line":193,"column":8,"endLine":197,"endColumn":9,"fileName":"vm.ts","functionName":"allSprites","argumentNames":["this","handler"]} +tileworld_TileWorldVM_allSprites__P6660.info = {"start":7512,"length":179,"line":193,"column":8,"endLine":197,"endColumn":9,"fileName":"vm.ts","functionName":"allSprites","argumentNames":["this","handler"]} -function tileworld_TileWorldVM_allSprites__P1084483_mk(s) { +function tileworld_TileWorldVM_allSprites__P6660_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_allSprites__P1084483, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_allSprites__P6660, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -54938,7 +54890,7 @@ function tileworld_TileWorldVM_allSprites__P1084483_mk(s) { -function inline__P1084906(s) { +function inline__P7089(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54954,10 +54906,10 @@ switch (step) { } r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P1084911); + r0 = pxsim_pxtcore_mkAction(1, inline__P7094); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.caps[0]); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; s.pc = 3; return s.tmp_1; @@ -54969,13 +54921,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1084906.info = {"start":7602,"length":77,"line":194,"column":36,"endLine":196,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ls"]} -inline__P1084906.info = {"start":7602,"length":77,"line":194,"column":36,"endLine":196,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ls"]} +inline__P7089.info = {"start":7602,"length":77,"line":194,"column":36,"endLine":196,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ls"]} +inline__P7089.info = {"start":7602,"length":77,"line":194,"column":36,"endLine":196,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ls"]} -function inline__P1084906_mk(s) { +function inline__P7089_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1084906, depth: s.depth + 1, + parent: s, fn: inline__P7089, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -54986,7 +54938,7 @@ function inline__P1084906_mk(s) { -function inline__P1084911(s) { +function inline__P7094(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55011,13 +54963,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1084911.info = {"start":7646,"length":17,"line":195,"column":35,"endLine":195,"endColumn":52,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -inline__P1084911.info = {"start":7646,"length":17,"line":195,"column":35,"endLine":195,"endColumn":52,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P7094.info = {"start":7646,"length":17,"line":195,"column":35,"endLine":195,"endColumn":52,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P7094.info = {"start":7646,"length":17,"line":195,"column":35,"endLine":195,"endColumn":52,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P1084911_mk(s) { +function inline__P7094_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1084911, depth: s.depth + 1, + parent: s, fn: inline__P7094, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -55027,7 +54979,7 @@ function inline__P1084911_mk(s) { -function tileworld_TileWorldVM_setState__P1084479(s) { +function tileworld_TileWorldVM_setState__P6656(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55043,22 +54995,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); r0 = (s.arg0).fields["vm"] = (s.arg1); - r0 = pxsim_pxtcore_mkAction(1, inline__P1084516); + r0 = pxsim_pxtcore_mkAction(1, inline__P6693); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["rules"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P1084536); + r0 = pxsim_pxtcore_mkAction(1, inline__P6714); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["allTrueResting"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -55069,13 +55021,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_setState__P1084479.info = {"start":2535,"length":333,"line":80,"column":8,"endLine":87,"endColumn":9,"fileName":"vm.ts","functionName":"setState","argumentNames":["this","v"]} -tileworld_TileWorldVM_setState__P1084479.info = {"start":2535,"length":333,"line":80,"column":8,"endLine":87,"endColumn":9,"fileName":"vm.ts","functionName":"setState","argumentNames":["this","v"]} +tileworld_TileWorldVM_setState__P6656.info = {"start":2535,"length":333,"line":80,"column":8,"endLine":87,"endColumn":9,"fileName":"vm.ts","functionName":"setState","argumentNames":["this","v"]} +tileworld_TileWorldVM_setState__P6656.info = {"start":2535,"length":333,"line":80,"column":8,"endLine":87,"endColumn":9,"fileName":"vm.ts","functionName":"setState","argumentNames":["this","v"]} -function tileworld_TileWorldVM_setState__P1084479_mk(s) { +function tileworld_TileWorldVM_setState__P6656_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_setState__P1084479, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_setState__P6656, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55087,7 +55039,7 @@ function tileworld_TileWorldVM_setState__P1084479_mk(s) { -function inline__P1084516(s) { +function inline__P6693(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55101,7 +55053,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_2 = tileworld_Project_getType__P303144_mk(s); + s.tmp_2 = tileworld_Project_getType__P4992_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg0; @@ -55116,7 +55068,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_3 = tileworld_TileWorldVM_allTrue__P1084493_mk(s); + s.tmp_3 = tileworld_TileWorldVM_allTrue__P6670_mk(s); s.tmp_3.arg0 = s.caps[0]; s.tmp_3.arg1 = s.arg0; s.pc = 6; return s.tmp_3; @@ -55136,13 +55088,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1084516.info = {"start":2621,"length":156,"line":82,"column":31,"endLine":85,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} -inline__P1084516.info = {"start":2621,"length":156,"line":82,"column":31,"endLine":85,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} +inline__P6693.info = {"start":2621,"length":156,"line":82,"column":31,"endLine":85,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} +inline__P6693.info = {"start":2621,"length":156,"line":82,"column":31,"endLine":85,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} -function inline__P1084516_mk(s) { +function inline__P6693_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1084516, depth: s.depth + 1, + parent: s, fn: inline__P6693, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55157,7 +55109,7 @@ function inline__P1084516_mk(s) { -function inline__P1084536(s) { +function inline__P6714(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55177,13 +55129,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P1084536.info = {"start":2820,"length":36,"line":86,"column":40,"endLine":86,"endColumn":76,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} -inline__P1084536.info = {"start":2820,"length":36,"line":86,"column":40,"endLine":86,"endColumn":76,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} +inline__P6714.info = {"start":2820,"length":36,"line":86,"column":40,"endLine":86,"endColumn":76,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} +inline__P6714.info = {"start":2820,"length":36,"line":86,"column":40,"endLine":86,"endColumn":76,"fileName":"vm.ts","functionName":"inline","argumentNames":["rid"]} -function inline__P1084536_mk(s) { +function inline__P6714_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P1084536, depth: s.depth + 1, + parent: s, fn: inline__P6714, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -55193,7 +55145,7 @@ function inline__P1084536_mk(s) { -function tileworld_TileWorldVM_allTrue__P1084493(s) { +function tileworld_TileWorldVM_allTrue__P6670(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55203,37 +55155,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.col___1085530 = undefined; - s.row___1085534 = undefined; - s.whendo___1085556 = undefined; + s.col___7717 = undefined; + s.row___7721 = undefined; + s.whendo___7743 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); - s.col___1085530 = (0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); + s.col___7717 = (0); case 1: - r0 = (s.col___1085530 < 5); + r0 = (s.col___7717 < 5); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.row___1085534 = (0); + s.row___7721 = (0); case 2: - r0 = (s.row___1085534 < 5); + r0 = (s.row___7721 < 5); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tmp_4 = Math_abs__P297644_mk(s); - r0 = (2 - s.col___1085530); + s.tmp_4 = Math_abs__P73_mk(s); + r0 = (2 - s.col___7717); s.tmp_4.arg0 = r0; s.pc = 16; return s.tmp_4; case 16: r0 = s.retval; s.tmp_3 = r0; - s.tmp_6 = Math_abs__P297644_mk(s); - r0 = (2 - s.row___1085534); + s.tmp_6 = Math_abs__P73_mk(s); + r0 = (2 - s.row___7721); s.tmp_6.arg0 = r0; s.pc = 17; return s.tmp_6; case 17: @@ -55248,14 +55200,14 @@ switch (step) { r0 = s.tmp_1; { step = 6; continue; } case 3: - r0 = (s.col___1085530 == 2); + r0 = (s.col___7717 == 2); s.tmp_7 = r0; r0 = pxsim_numops_toBool(s.tmp_7); if (r0) { step = 4; continue; } r0 = s.tmp_7; { step = 5; continue; } case 4: - r0 = (s.row___1085534 == 2); + r0 = (s.row___7721 == 2); case 5: // jmp value (already in r0) s.tmp_8 = r0; @@ -55265,27 +55217,27 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 11; continue; } - s.tmp_10 = tileworld_Project_getWhenDo__P303148_mk(s); + s.tmp_10 = tileworld_Project_getWhenDo__P4996_mk(s); r0 = s.arg0.fields["p"]; s.tmp_10.arg0 = r0; s.tmp_10.arg1 = s.arg1; - s.tmp_10.arg2 = s.col___1085530; - s.tmp_10.arg3 = s.row___1085534; + s.tmp_10.arg2 = s.col___7717; + s.tmp_10.arg3 = s.row___7721; s.pc = 18; return s.tmp_10; case 18: r0 = s.retval; - s.whendo___1085556 = (r0); - r0 = (s.whendo___1085556 != -1); + s.whendo___7743 = (r0); + r0 = (s.whendo___7743 != -1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 7; continue; } r0 = s.tmp_0; { step = 8; continue; } case 7: - s.tmp_3 = tileworld_TileWorldVM_whendoTrue__P1084494_mk(s); + s.tmp_3 = tileworld_TileWorldVM_whendoTrue__P6671_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = s.arg1; - s.tmp_3.arg2 = s.whendo___1085556; + s.tmp_3.arg2 = s.whendo___7743; s.pc = 19; return s.tmp_3; case 19: r0 = s.retval; @@ -55304,12 +55256,12 @@ switch (step) { case 10: case 11: case 12: - r0 = (s.row___1085534 + 1); - s.row___1085534 = (r0); + r0 = (s.row___7721 + 1); + s.row___7721 = (r0); { step = 2; continue; } case 13: - r0 = (s.col___1085530 + 1); - s.col___1085530 = (r0); + r0 = (s.col___7717 + 1); + s.col___7717 = (r0); { step = 1; continue; } case 14: r0 = true; @@ -55317,13 +55269,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_allTrue__P1084493.info = {"start":15377,"length":523,"line":361,"column":8,"endLine":373,"endColumn":9,"fileName":"vm.ts","functionName":"allTrue","argumentNames":["this","rid"]} -tileworld_TileWorldVM_allTrue__P1084493.info = {"start":15377,"length":523,"line":361,"column":8,"endLine":373,"endColumn":9,"fileName":"vm.ts","functionName":"allTrue","argumentNames":["this","rid"]} +tileworld_TileWorldVM_allTrue__P6670.info = {"start":15377,"length":523,"line":361,"column":8,"endLine":373,"endColumn":9,"fileName":"vm.ts","functionName":"allTrue","argumentNames":["this","rid"]} +tileworld_TileWorldVM_allTrue__P6670.info = {"start":15377,"length":523,"line":361,"column":8,"endLine":373,"endColumn":9,"fileName":"vm.ts","functionName":"allTrue","argumentNames":["this","rid"]} -function tileworld_TileWorldVM_allTrue__P1084493_mk(s) { +function tileworld_TileWorldVM_allTrue__P6670_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_allTrue__P1084493, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_allTrue__P6670, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55336,9 +55288,9 @@ function tileworld_TileWorldVM_allTrue__P1084493_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - col___1085530: undefined, - row___1085534: undefined, - whendo___1085556: undefined, + col___7717: undefined, + row___7721: undefined, + whendo___7743: undefined, arg0: undefined, arg1: undefined, } } @@ -55347,7 +55299,7 @@ function tileworld_TileWorldVM_allTrue__P1084493_mk(s) { -function scene_cameraFollowSprite__P298651(s) { +function scene_cameraFollowSprite__P1159(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55357,33 +55309,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___320768 = undefined; + s.scene___22951 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P298414_mk(s); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___320768 = (r0); - r0 = s.scene___320768.fields["camera"]; + s.scene___22951 = (r0); + r0 = s.scene___22951.fields["camera"]; s.tmp_0 = r0; r0 = (s.tmp_0).fields["sprite"] = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_cameraFollowSprite__P298651.info = {"start":3787,"length":139,"line":126,"column":4,"endLine":129,"endColumn":5,"fileName":"pxt_modules/game---hw/scenes.ts","functionName":"cameraFollowSprite","argumentNames":["sprite"]} -scene_cameraFollowSprite__P298651.info = {"start":3787,"length":139,"line":126,"column":4,"endLine":129,"endColumn":5,"fileName":"pxt_modules/game---hw/scenes.ts","functionName":"cameraFollowSprite","argumentNames":["sprite"]} +scene_cameraFollowSprite__P1159.info = {"start":3787,"length":139,"line":126,"column":4,"endLine":129,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"cameraFollowSprite","argumentNames":["sprite"]} +scene_cameraFollowSprite__P1159.info = {"start":3787,"length":139,"line":126,"column":4,"endLine":129,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"cameraFollowSprite","argumentNames":["sprite"]} -function scene_cameraFollowSprite__P298651_mk(s) { +function scene_cameraFollowSprite__P1159_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_cameraFollowSprite__P298651, depth: s.depth + 1, + parent: s, fn: scene_cameraFollowSprite__P1159, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___320768: undefined, + scene___22951: undefined, arg0: undefined, } } @@ -55391,7 +55343,7 @@ function scene_cameraFollowSprite__P298651_mk(s) { -function tileworld_Project_getPlayer__P303121(s) { +function tileworld_Project_getPlayer__P4969(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55406,18 +55358,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); r0 = s.arg0.fields["_player"]; return leave(s, r0) default: oops() } } } -tileworld_Project_getPlayer__P303121.info = {"start":778,"length":63,"line":27,"column":8,"endLine":29,"endColumn":9,"fileName":"project.ts","functionName":"getPlayer","argumentNames":["this"]} -tileworld_Project_getPlayer__P303121.info = {"start":778,"length":63,"line":27,"column":8,"endLine":29,"endColumn":9,"fileName":"project.ts","functionName":"getPlayer","argumentNames":["this"]} +tileworld_Project_getPlayer__P4969.info = {"start":778,"length":63,"line":27,"column":8,"endLine":29,"endColumn":9,"fileName":"project.ts","functionName":"getPlayer","argumentNames":["this"]} +tileworld_Project_getPlayer__P4969.info = {"start":778,"length":63,"line":27,"column":8,"endLine":29,"endColumn":9,"fileName":"project.ts","functionName":"getPlayer","argumentNames":["this"]} -function tileworld_Project_getPlayer__P303121_mk(s) { +function tileworld_Project_getPlayer__P4969_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getPlayer__P303121, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getPlayer__P4969, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -55426,7 +55378,7 @@ function tileworld_Project_getPlayer__P303121_mk(s) { -function tileworld_TileSprite_constructor__P1084384(s) { +function tileworld_TileSprite_constructor__P6559(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55436,7 +55388,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___1084395 = undefined; + s.scene___6570 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -55444,32 +55396,32 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileSprite__C1084379_VT)) failedCast(r0); - s.tmp_0 = Sprite_constructor__P298278_mk(s); + if (!checkSubtype(r0, tileworld_TileSprite__C6554_VT)) failedCast(r0); + s.tmp_0 = Sprite_constructor__P786_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 = r0 = globals.spriteCount___1084378; + s.tmp_0 = r0 = globals.spriteCount___6553; r0 = (s.tmp_0 + 1); - globals.spriteCount___1084378 = (r0); + globals.spriteCount___6553 = (r0); r0 = (s.arg0).fields["cnt"] = (s.tmp_0); - s.tmp_0 = game_currentScene__P298414_mk(s); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.scene___1084395 = (r0); - s.tmp_0 = PhysicsEngine__C298333_v0_2_mk(s); - r0 = s.scene___1084395.fields["physicsEngine"]; + s.scene___6570 = (r0); + s.tmp_0 = PhysicsEngine__C841_v0_2_mk(s); + r0 = s.scene___6570.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C298333_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C841_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.addSprite; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P298258_mk(s); + s.tmp_0 = Sprite_setKind__P766_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.pc = 4; return s.tmp_0; @@ -55482,16 +55434,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileSprite_constructor__P1084384.info = {"start":563,"length":338,"line":18,"column":8,"endLine":27,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","img","kind"]} -tileworld_TileSprite_constructor__P1084384.info = {"start":563,"length":338,"line":18,"column":8,"endLine":27,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","img","kind"]} +tileworld_TileSprite_constructor__P6559.info = {"start":563,"length":338,"line":18,"column":8,"endLine":27,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","img","kind"]} +tileworld_TileSprite_constructor__P6559.info = {"start":563,"length":338,"line":18,"column":8,"endLine":27,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","img","kind"]} -function tileworld_TileSprite_constructor__P1084384_mk(s) { +function tileworld_TileSprite_constructor__P6559_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileSprite_constructor__P1084384, depth: s.depth + 1, + parent: s, fn: tileworld_TileSprite_constructor__P6559, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___1084395: undefined, + scene___6570: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -55501,7 +55453,7 @@ function tileworld_TileSprite_constructor__P1084384_mk(s) { -function tileworld_Project_getSprites__P303125(s) { +function tileworld_Project_getSprites__P4973(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55516,18 +55468,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; return leave(s, r0) default: oops() } } } -tileworld_Project_getSprites__P303125.info = {"start":1087,"length":66,"line":43,"column":8,"endLine":45,"endColumn":9,"fileName":"project.ts","functionName":"getSprites","argumentNames":["this"]} -tileworld_Project_getSprites__P303125.info = {"start":1087,"length":66,"line":43,"column":8,"endLine":45,"endColumn":9,"fileName":"project.ts","functionName":"getSprites","argumentNames":["this"]} +tileworld_Project_getSprites__P4973.info = {"start":1087,"length":66,"line":43,"column":8,"endLine":45,"endColumn":9,"fileName":"project.ts","functionName":"getSprites","argumentNames":["this"]} +tileworld_Project_getSprites__P4973.info = {"start":1087,"length":66,"line":43,"column":8,"endLine":45,"endColumn":9,"fileName":"project.ts","functionName":"getSprites","argumentNames":["this"]} -function tileworld_Project_getSprites__P303125_mk(s) { +function tileworld_Project_getSprites__P4973_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getSprites__P303125, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getSprites__P4973, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -55536,7 +55488,7 @@ function tileworld_Project_getSprites__P303125_mk(s) { -function tileworld_RunGame_setWorld__P1086051(s) { +function tileworld_RunGame_setWorld__P8243(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55546,13 +55498,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.kind___1086118 = undefined; - s.art___1086132 = undefined; - s.x___1086149 = undefined; - s.y___1086155 = undefined; - s.kind___1086161 = undefined; - s.art___1086169 = undefined; - s.ts___1086174 = undefined; + s.kind___8313 = undefined; + s.art___8327 = undefined; + s.x___8344 = undefined; + s.y___8350 = undefined; + s.kind___8356 = undefined; + s.art___8364 = undefined; + s.ts___8369 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -55560,9 +55512,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RunGame__C1086049_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RunGame__C8239_VT)) failedCast(r0); r0 = (s.arg0).fields["signal"] = (null); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_VMState__C1084469_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_VMState__C6646_VT); s.tmp_0 = r0; r0 = undefined; r0 = (s.arg0).fields["state"] = (s.tmp_0); @@ -55580,7 +55532,7 @@ switch (step) { r0 = (s.tmp_0).fields["fixed"] = (s.tmp_1); r0 = s.arg0.fields["state"]; s.tmp_0 = r0; - s.tmp_3 = tileworld_Project_all__P303128_mk(s); + s.tmp_3 = tileworld_Project_all__P4976_mk(s); r0 = s.arg0.fields["p"]; s.tmp_3.arg0 = r0; s.pc = 12; return s.tmp_3; @@ -55595,7 +55547,7 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["sprites"] = (s.tmp_1); - s.tmp_0 = scene_setTileMap__P299556_mk(s); + s.tmp_0 = scene_setTileMap__P2064_mk(s); r0 = pxsim_ImageMethods.clone(s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; @@ -55612,10 +55564,10 @@ switch (step) { r0 = pxsim_ImageMethods.clone(s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["changed"] = (s.tmp_1); - s.kind___1086118 = (0); + s.kind___8313 = (0); case 1: - s.tmp_1 = r0 = s.kind___1086118; - s.tmp_4 = tileworld_Project_all__P303128_mk(s); + s.tmp_1 = r0 = s.kind___8313; + s.tmp_4 = tileworld_Project_all__P4976_mk(s); r0 = s.arg0.fields["p"]; s.tmp_4.arg0 = r0; s.pc = 14; return s.tmp_4; @@ -55628,7 +55580,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_6 = r0 = s.kind___1086118; + s.tmp_6 = r0 = s.kind___8313; r0 = s.arg0.fields["p"]; s.tmp_9 = r0; r0 = s.tmp_9.fields["fixedImages"]; @@ -55639,17 +55591,17 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 2; continue; } - s.tmp_10 = tileworld_Project_getImage__P303129_mk(s); + s.tmp_10 = tileworld_Project_getImage__P4977_mk(s); r0 = s.arg0.fields["p"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = s.kind___1086118; + s.tmp_10.arg1 = s.kind___8313; s.pc = 15; return s.tmp_10; case 15: r0 = s.retval; - s.art___1086132 = (r0); - s.tmp_0 = scene_setTile__P299557_mk(s); - s.tmp_0.arg0 = s.kind___1086118; - s.tmp_0.arg1 = s.art___1086132; + s.art___8327 = (r0); + s.tmp_0 = scene_setTile__P2065_mk(s); + s.tmp_0.arg0 = s.kind___8313; + s.tmp_0.arg1 = s.art___8327; s.tmp_0.arg2 = undefined; s.pc = 16; return s.tmp_0; case 16: @@ -55659,78 +55611,78 @@ switch (step) { r0 = s.arg0.fields["state"]; r0 = r0.fields["sprites"]; s.tmp_0 = r0; - s.tmp_1 = r0 = s.kind___1086118; + s.tmp_1 = r0 = s.kind___8313; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, s.tmp_1, s.tmp_2); case 3: - r0 = (s.kind___1086118 + 1); - s.kind___1086118 = (r0); + r0 = (s.kind___8313 + 1); + s.kind___8313 = (r0); { step = 1; continue; } case 4: - s.x___1086149 = (0); + s.x___8344 = (0); case 5: - s.tmp_1 = r0 = s.x___1086149; + s.tmp_1 = r0 = s.x___8344; r0 = pxsim_ImageMethods.width(s.arg2); 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; } - s.y___1086155 = (0); + s.y___8350 = (0); case 6: - s.tmp_1 = r0 = s.y___1086155; + s.tmp_1 = r0 = s.y___8350; r0 = pxsim_ImageMethods.height(s.arg2); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - r0 = pxsim_ImageMethods.getPixel(s.arg2, s.x___1086149, s.y___1086155); - s.kind___1086161 = (r0); - r0 = (s.kind___1086161 == 15); + r0 = pxsim_ImageMethods.getPixel(s.arg2, s.x___8344, s.y___8350); + s.kind___8356 = (r0); + r0 = (s.kind___8356 == 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } { step = 9; continue; } case 7: case 8: - s.tmp_1 = tileworld_Project_getImage__P303129_mk(s); + s.tmp_1 = tileworld_Project_getImage__P4977_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.kind___1086161; + s.tmp_1.arg1 = s.kind___8356; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.art___1086169 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileSprite__C1084379_VT); + s.art___8364 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileSprite__C6554_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_TileSprite_constructor__P1084384_mk(s); + s.tmp_1 = tileworld_TileSprite_constructor__P6559_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.art___1086169; - s.tmp_1.arg2 = s.kind___1086161; + s.tmp_1.arg1 = s.art___8364; + s.tmp_1.arg2 = s.kind___8356; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - s.ts___1086174 = (s.tmp_0); + s.ts___8369 = (s.tmp_0); r0 = s.arg0.fields["state"]; r0 = r0.fields["sprites"]; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.kind___1086161); + r0 = pxsim_Array__getAt(s.tmp_1, s.kind___8356); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.ts___1086174); - s.tmp_0 = Sprite_x__P298230_mk(s); - s.tmp_0.arg0 = s.ts___1086174; - r0 = (s.x___1086149 << 4); + r0 = pxsim_Array__push(s.tmp_0, s.ts___8369); + s.tmp_0 = Sprite_x__P738_mk(s); + s.tmp_0.arg0 = s.ts___8369; + r0 = (s.x___8344 << 4); s.tmp_1 = r0; r0 = (s.tmp_1 + 8); s.tmp_0.arg1 = r0; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); - s.tmp_0.arg0 = s.ts___1086174; - r0 = (s.y___1086155 << 4); + s.tmp_0 = Sprite_y__P740_mk(s); + s.tmp_0.arg0 = s.ts___8369; + r0 = (s.y___8350 << 4); s.tmp_1 = r0; r0 = (s.tmp_1 + 8); s.tmp_0.arg1 = r0; @@ -55738,25 +55690,25 @@ switch (step) { case 20: r0 = s.retval; case 9: - r0 = (s.y___1086155 + 1); - s.y___1086155 = (r0); + r0 = (s.y___8350 + 1); + s.y___8350 = (r0); { step = 6; continue; } case 10: - r0 = (s.x___1086149 + 1); - s.x___1086149 = (r0); + r0 = (s.x___8344 + 1); + s.x___8344 = (r0); { step = 5; continue; } case 11: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RunGame_setWorld__P1086051.info = {"start":22488,"length":1326,"line":516,"column":8,"endLine":548,"endColumn":9,"fileName":"vm.ts","functionName":"setWorld","argumentNames":["this","w","sprites"]} -tileworld_RunGame_setWorld__P1086051.info = {"start":22488,"length":1326,"line":516,"column":8,"endLine":548,"endColumn":9,"fileName":"vm.ts","functionName":"setWorld","argumentNames":["this","w","sprites"]} +tileworld_RunGame_setWorld__P8243.info = {"start":22488,"length":1326,"line":516,"column":8,"endLine":548,"endColumn":9,"fileName":"vm.ts","functionName":"setWorld","argumentNames":["this","w","sprites"]} +tileworld_RunGame_setWorld__P8243.info = {"start":22488,"length":1326,"line":516,"column":8,"endLine":548,"endColumn":9,"fileName":"vm.ts","functionName":"setWorld","argumentNames":["this","w","sprites"]} -function tileworld_RunGame_setWorld__P1086051_mk(s) { +function tileworld_RunGame_setWorld__P8243_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RunGame_setWorld__P1086051, depth: s.depth + 1, + parent: s, fn: tileworld_RunGame_setWorld__P8243, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55769,13 +55721,13 @@ function tileworld_RunGame_setWorld__P1086051_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - kind___1086118: undefined, - art___1086132: undefined, - x___1086149: undefined, - y___1086155: undefined, - kind___1086161: undefined, - art___1086169: undefined, - ts___1086174: undefined, + kind___8313: undefined, + art___8327: undefined, + x___8344: undefined, + y___8350: undefined, + kind___8356: undefined, + art___8364: undefined, + ts___8369: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -55785,7 +55737,7 @@ function tileworld_RunGame_setWorld__P1086051_mk(s) { -function scene_setTile__P299557(s) { +function scene_setTile__P2065(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55795,19 +55747,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___320807 = undefined; + s.scene___22990 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P298414_mk(s); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___320807 = (r0); - r0 = s.scene___320807.fields["tileMap"]; + s.scene___22990 = (r0); + r0 = s.scene___22990.fields["tileMap"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -55818,7 +55770,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___320807.fields["tileMap"]; + r0 = s.scene___22990.fields["tileMap"]; r0 = r0.fields["isLegacy"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); @@ -55829,19 +55781,19 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_LegacyTilemap__C299568_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_LegacyTilemap__C2076_VT); s.tmp_6 = r0; - s.tmp_7 = tiles_legacy_LegacyTilemap_constructor__P299595_mk(s); + s.tmp_7 = tiles_legacy_LegacyTilemap_constructor__P2103_mk(s); s.tmp_7.arg0 = s.tmp_6; s.tmp_7.arg1 = 4; s.pc = 6; return s.tmp_7; case 6: r0 = s.retval; - r0 = (s.scene___320807).fields["tileMap"] = (s.tmp_6); + r0 = (s.scene___22990).fields["tileMap"] = (s.tmp_6); case 3: case 4: - s.tmp_0 = tiles_legacy_LegacyTilemap_setTile__P299579_mk(s); - r0 = s.scene___320807.fields["tileMap"]; + s.tmp_0 = tiles_legacy_LegacyTilemap_setTile__P2087_mk(s); + r0 = s.scene___22990.fields["tileMap"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; @@ -55860,13 +55812,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_setTile__P299557.info = {"start":1159,"length":361,"line":32,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setTile","argumentNames":["index","img","wall"]} -scene_setTile__P299557.info = {"start":1159,"length":361,"line":32,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setTile","argumentNames":["index","img","wall"]} +scene_setTile__P2065.info = {"start":1159,"length":361,"line":32,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setTile","argumentNames":["index","img","wall"]} +scene_setTile__P2065.info = {"start":1159,"length":361,"line":32,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setTile","argumentNames":["index","img","wall"]} -function scene_setTile__P299557_mk(s) { +function scene_setTile__P2065_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setTile__P299557, depth: s.depth + 1, + parent: s, fn: scene_setTile__P2065, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55876,7 +55828,7 @@ function scene_setTile__P299557_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___320807: undefined, + scene___22990: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -55886,7 +55838,7 @@ function scene_setTile__P299557_mk(s) { -function tiles_legacy_LegacyTilemap_constructor__P299595(s) { +function tiles_legacy_LegacyTilemap_constructor__P2103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55902,8 +55854,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_constructor__P298561_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_constructor__P1069_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.pc = 1; return s.tmp_0; @@ -55918,13 +55870,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_constructor__P299595.info = {"start":6944,"length":154,"line":190,"column":8,"endLine":194,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} -tiles_legacy_LegacyTilemap_constructor__P299595.info = {"start":6944,"length":154,"line":190,"column":8,"endLine":194,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} +tiles_legacy_LegacyTilemap_constructor__P2103.info = {"start":6944,"length":154,"line":190,"column":8,"endLine":194,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} +tiles_legacy_LegacyTilemap_constructor__P2103.info = {"start":6944,"length":154,"line":190,"column":8,"endLine":194,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} -function tiles_legacy_LegacyTilemap_constructor__P299595_mk(s) { +function tiles_legacy_LegacyTilemap_constructor__P2103_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_constructor__P299595, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_constructor__P2103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55936,7 +55888,7 @@ function tiles_legacy_LegacyTilemap_constructor__P299595_mk(s) { -function tiles_TileMap_constructor__P298561(s) { +function tiles_TileMap_constructor__P1069(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55952,18 +55904,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P298539_mk(s); + s.tmp_0 = tiles_TileMap_scale__P1047_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__P320890); + r0 = pxsim_pxtcore_mkAction(1, inline__P23073); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = scene_createRenderable__P298587_mk(s); + s.tmp_1 = scene_createRenderable__P1095_mk(s); s.tmp_1.arg0 = -1; s.tmp_1.arg1 = s.tmp_0; s.tmp_1.arg2 = undefined; @@ -55974,13 +55926,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_constructor__P298561.info = {"start":5677,"length":250,"line":200,"column":8,"endLine":208,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} -tiles_TileMap_constructor__P298561.info = {"start":5677,"length":250,"line":200,"column":8,"endLine":208,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} +tiles_TileMap_constructor__P1069.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__P1069.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__P298561_mk(s) { +function tiles_TileMap_constructor__P1069_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P298561, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P1069, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55992,7 +55944,7 @@ function tiles_TileMap_constructor__P298561_mk(s) { -function inline__P320890(s) { +function inline__P23073(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56007,11 +55959,11 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap__C298537_v11_3_mk(s); + s.tmp_0 = tiles_TileMap__C1045_v11_3_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; - if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.draw; s.pc = 1; return s.tmp_0; case 1: @@ -56020,13 +55972,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P320890.info = {"start":5877,"length":25,"line":206,"column":16,"endLine":206,"endColumn":41,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} -inline__P320890.info = {"start":5877,"length":25,"line":206,"column":16,"endLine":206,"endColumn":41,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} +inline__P23073.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__P23073.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__P320890_mk(s) { +function inline__P23073_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P320890, depth: s.depth + 1, + parent: s, fn: inline__P23073, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -56037,7 +55989,7 @@ function inline__P320890_mk(s) { -function tiles_TileMap_draw__P298556(s) { +function tiles_TileMap_draw__P1064(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56047,21 +55999,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.bitmask___320901 = undefined; - s.offsetX___320907 = undefined; - s.offsetY___320912 = undefined; - s.x0___320917 = undefined; - s.xn___320924 = undefined; - s.y0___320941 = undefined; - s.yn___320948 = undefined; - s.x___320965 = undefined; - s.y___320971 = undefined; - s.index___320977 = undefined; - s.tile___320984 = undefined; - s.x___321020 = undefined; - s.xLine___321026 = undefined; - s.y___321052 = undefined; - s.yLine___321058 = undefined; + s.bitmask___23084 = undefined; + s.offsetX___23090 = undefined; + s.offsetY___23095 = undefined; + s.x0___23100 = undefined; + s.xn___23107 = undefined; + s.y0___23124 = undefined; + s.yn___23131 = undefined; + s.x___23148 = undefined; + s.y___23154 = undefined; + s.index___23160 = undefined; + s.tile___23167 = undefined; + s.x___23203 = undefined; + s.xLine___23209 = undefined; + s.y___23235 = undefined; + s.yLine___23241 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -56069,10 +56021,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); - s.tmp_3 = tiles_TileMap__C298537_v6_1_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); + s.tmp_3 = tiles_TileMap__C1045_v6_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.enabled; s.pc = 24; return s.tmp_3; case 24: @@ -56092,16 +56044,16 @@ switch (step) { r0 = (1 << s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_4 - 1); - s.bitmask___320901 = (r0); + s.bitmask___23084 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___320901); - s.offsetX___320907 = (r0); + r0 = (s.tmp_0 & s.bitmask___23084); + s.offsetX___23090 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___320901); - s.offsetY___320912 = (r0); - s.tmp_0 = Math_max__P297646_mk(s); + r0 = (s.tmp_0 & s.bitmask___23084); + s.offsetY___23095 = (r0); + s.tmp_0 = Math_max__P75_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -56112,8 +56064,8 @@ switch (step) { s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.x0___320917 = (r0); - s.tmp_0 = Math_min__P297647_mk(s); + s.x0___23100 = (r0); + s.tmp_0 = Math_min__P76_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -56133,8 +56085,8 @@ switch (step) { s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.xn___320924 = (r0); - s.tmp_0 = Math_max__P297646_mk(s); + s.xn___23107 = (r0); + s.tmp_0 = Math_max__P75_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -56145,8 +56097,8 @@ switch (step) { s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.y0___320941 = (r0); - s.tmp_0 = Math_min__P297647_mk(s); + s.y0___23124 = (r0); + s.tmp_0 = Math_min__P76_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -56166,92 +56118,92 @@ switch (step) { s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.yn___320948 = (r0); - s.x___320965 = (s.x0___320917); + s.yn___23131 = (r0); + s.x___23148 = (s.x0___23100); case 3: - r0 = (s.x___320965 <= s.xn___320924); + r0 = (s.x___23148 <= s.xn___23107); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___320971 = (s.y0___320941); + s.y___23154 = (s.y0___23124); case 4: - r0 = (s.y___320971 <= s.yn___320948); + r0 = (s.y___23154 <= s.yn___23131); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P298529_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P1037_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___320965; - s.tmp_1.arg2 = s.y___320971; + s.tmp_1.arg1 = s.x___23148; + s.tmp_1.arg2 = s.y___23154; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; - s.index___320977 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P298532_mk(s); + s.index___23160 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P1040_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___320977; + s.tmp_0.arg1 = s.index___23160; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - s.tile___320984 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___320984); + s.tile___23167 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___23167); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___320984; - r0 = (s.x___320965 - s.x0___320917); + s.tmp_1 = r0 = s.tile___23167; + r0 = (s.x___23148 - s.x0___23100); 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___320907); + r0 = (s.tmp_3 - s.offsetX___23090); s.tmp_2 = r0; - r0 = (s.y___320971 - s.y0___320941); + r0 = (s.y___23154 - s.y0___23124); 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___320912); + r0 = (s.tmp_7 - s.offsetY___23095); 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___320971 + 1); - s.y___320971 = (r0); + r0 = (s.y___23154 + 1); + s.y___23154 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___320965 + 1); - s.x___320965 = (r0); + r0 = (s.x___23148 + 1); + s.x___23148 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___298705); + r0 = pxsim_numops_toBoolDecr(globals.debug___1213); if (!r0) { step = 21; continue; } - s.x___321020 = (s.x0___320917); + s.x___23203 = (s.x0___23100); case 9: - r0 = (s.x___321020 <= s.xn___320924); + r0 = (s.x___23203 <= s.xn___23107); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___321020 - s.x0___320917); + r0 = (s.x___23203 - s.x0___23100); 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___320907); - s.xLine___321026 = (r0); - r0 = (s.xLine___321026 >= 0); + r0 = (s.tmp_1 - s.offsetX___23090); + s.xLine___23209 = (r0); + r0 = (s.xLine___23209 >= 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___321026; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + s.tmp_1 = r0 = s.xLine___23209; + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -56259,11 +56211,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P297988_mk(s); + s.tmp_4 = helpers_imageDrawLine__P486_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___321026; + s.tmp_4.arg1 = s.xLine___23209; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___321026; + s.tmp_4.arg3 = s.xLine___23209; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; @@ -56272,33 +56224,33 @@ switch (step) { r0 = s.retval; case 12: case 13: - r0 = (s.x___321020 + 1); - s.x___321020 = (r0); + r0 = (s.x___23203 + 1); + s.x___23203 = (r0); { step = 9; continue; } case 14: - s.y___321052 = (s.y0___320941); + s.y___23235 = (s.y0___23124); case 15: - r0 = (s.y___321052 <= s.yn___320948); + r0 = (s.y___23235 <= s.yn___23131); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___321052 - s.y0___320941); + r0 = (s.y___23235 - s.y0___23124); 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___320912); - s.yLine___321058 = (r0); - r0 = (s.yLine___321058 >= 0); + r0 = (s.tmp_1 - s.offsetY___23095); + s.yLine___23241 = (r0); + r0 = (s.yLine___23241 >= 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___321058; - r0 = pxsim_ImageMethods.height(globals.screen___298046); + s.tmp_1 = r0 = s.yLine___23241; + r0 = pxsim_ImageMethods.height(globals.screen___545); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -56306,21 +56258,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P297988_mk(s); + s.tmp_4 = helpers_imageDrawLine__P486_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___321058; + s.tmp_4.arg2 = s.yLine___23241; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___321058; + s.tmp_4.arg4 = s.yLine___23241; s.tmp_4.arg5 = 1; s.pc = 32; return s.tmp_4; case 32: r0 = s.retval; case 18: case 19: - r0 = (s.y___321052 + 1); - s.y___321052 = (r0); + r0 = (s.y___23235 + 1); + s.y___23235 = (r0); { step = 15; continue; } case 20: case 21: @@ -56330,13 +56282,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P298556.info = {"start":8637,"length":2224,"line":303,"column":8,"endLine":358,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} -tiles_TileMap_draw__P298556.info = {"start":8637,"length":2224,"line":303,"column":8,"endLine":358,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} +tiles_TileMap_draw__P1064.info = {"start":8637,"length":2224,"line":303,"column":8,"endLine":358,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} +tiles_TileMap_draw__P1064.info = {"start":8637,"length":2224,"line":303,"column":8,"endLine":358,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} -function tiles_TileMap_draw__P298556_mk(s) { +function tiles_TileMap_draw__P1064_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P298556, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P1064, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56348,21 +56300,21 @@ function tiles_TileMap_draw__P298556_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___320901: undefined, - offsetX___320907: undefined, - offsetY___320912: undefined, - x0___320917: undefined, - xn___320924: undefined, - y0___320941: undefined, - yn___320948: undefined, - x___320965: undefined, - y___320971: undefined, - index___320977: undefined, - tile___320984: undefined, - x___321020: undefined, - xLine___321026: undefined, - y___321052: undefined, - yLine___321058: undefined, + bitmask___23084: undefined, + offsetX___23090: undefined, + offsetY___23095: undefined, + x0___23100: undefined, + xn___23107: undefined, + y0___23124: undefined, + yn___23131: undefined, + x___23148: undefined, + y___23154: undefined, + index___23160: undefined, + tile___23167: undefined, + x___23203: undefined, + xLine___23209: undefined, + y___23235: undefined, + yLine___23241: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -56372,7 +56324,7 @@ function tiles_TileMap_draw__P298556_mk(s) { -function tiles_TileMapData_getTileImage__P298532(s) { +function tiles_TileMapData_getTileImage__P1040(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56382,25 +56334,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.size___321086 = undefined; - s.cachedImage___321090 = undefined; - s.originalImage___321097 = undefined; + s.size___23269 = undefined; + s.cachedImage___23273 = undefined; + s.originalImage___23280 = 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__C298524_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C1032_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___321086 = (r0); + s.size___23269 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___321090 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___321090); + s.cachedImage___23273 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___23273); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -56409,59 +56361,59 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___321097 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___321097); + s.originalImage___23280 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___23280); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___321097); + r0 = pxsim_ImageMethods.width(s.originalImage___23280); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___321086); + r0 = (s.tmp_1 <= s.size___23269); 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___321097); + r0 = pxsim_ImageMethods.height(s.originalImage___23280); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___321086); + r0 = (s.tmp_2 <= s.size___23269); 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___321090 = (s.originalImage___321097); + s.cachedImage___23273 = (s.originalImage___23280); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___321086, s.size___321086); - s.cachedImage___321090 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___321090, s.originalImage___321097, 0, 0); + r0 = pxsim.image.create(s.size___23269, s.size___23269); + s.cachedImage___23273 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___23273, s.originalImage___23280, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___321090); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___23273); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___321090; + r0 = s.cachedImage___23273; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileImage__P298532.info = {"start":4411,"length":717,"line":162,"column":8,"endLine":179,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -tiles_TileMapData_getTileImage__P298532.info = {"start":4411,"length":717,"line":162,"column":8,"endLine":179,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMapData_getTileImage__P1040.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__P1040.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__P298532_mk(s) { +function tiles_TileMapData_getTileImage__P1040_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P298532, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P1040, 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___321086: undefined, - cachedImage___321090: undefined, - originalImage___321097: undefined, + size___23269: undefined, + cachedImage___23273: undefined, + originalImage___23280: undefined, arg0: undefined, arg1: undefined, } } @@ -56470,7 +56422,7 @@ function tiles_TileMapData_getTileImage__P298532_mk(s) { -function tiles_TileMapData_scale__P298527(s) { +function tiles_TileMapData_scale__P1035(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56485,19 +56437,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C298524_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C1032_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_scale__P298527.info = {"start":3621,"length":66,"line":133,"column":8,"endLine":135,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMapData_scale__P298527.isGetter = true; -tiles_TileMapData_scale__P298527.info = {"start":3621,"length":66,"line":133,"column":8,"endLine":135,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMapData_scale__P1035.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__P1035.isGetter = true; +tiles_TileMapData_scale__P1035.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__P298527_mk(s) { +function tiles_TileMapData_scale__P1035_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P298527, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P1035, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -56506,7 +56458,7 @@ function tiles_TileMapData_scale__P298527_mk(s) { -function tiles_TileMap_scale__P298539(s) { +function tiles_TileMap_scale__P1047(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56522,13 +56474,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C1045_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__P298528_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P1036_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -56541,13 +56493,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_scale__P298539.info = {"start":6002,"length":144,"line":214,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -tiles_TileMap_scale__P298539.info = {"start":6002,"length":144,"line":214,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMap_scale__P1047.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__P1047.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__P298539_mk(s) { +function tiles_TileMap_scale__P1047_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P298539, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P1047, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56559,7 +56511,7 @@ function tiles_TileMap_scale__P298539_mk(s) { -function tiles_TileMapData_scale__P298528(s) { +function tiles_TileMapData_scale__P1036(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56575,7 +56527,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C298524_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C1032_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -56585,13 +56537,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_scale__P298528.info = {"start":3697,"length":102,"line":137,"column":8,"endLine":140,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -tiles_TileMapData_scale__P298528.info = {"start":3697,"length":102,"line":137,"column":8,"endLine":140,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMapData_scale__P1036.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__P1036.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__P298528_mk(s) { +function tiles_TileMapData_scale__P1036_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P298528, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P1036, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56603,7 +56555,7 @@ function tiles_TileMapData_scale__P298528_mk(s) { -function tiles_legacy_LegacyTilemap_setTile__P299579(s) { +function tiles_legacy_LegacyTilemap_setTile__P2087(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56621,11 +56573,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); - s.tmp_1 = tiles_legacy_LegacyTilemap__C299568_v10_2_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); + s.tmp_1 = tiles_legacy_LegacyTilemap__C2076_v10_2_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; - if (!checkSubtype(s.tmp_1.arg0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isInvalidIndex; s.pc = 4; return s.tmp_1; case 4: @@ -56636,9 +56588,9 @@ switch (step) { { step = 3; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_TileSet__C299565_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_TileSet__C2073_VT); s.tmp_2 = r0; - s.tmp_3 = tiles_legacy_TileSet_constructor__P299567_mk(s); + s.tmp_3 = tiles_legacy_TileSet_constructor__P2075_mk(s); s.tmp_3.arg0 = s.tmp_2; s.tmp_3.arg1 = s.arg2; s.tmp_3.arg2 = s.arg3; @@ -56654,13 +56606,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_setTile__P299579.info = {"start":8032,"length":192,"line":234,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setTile","argumentNames":["this","index","img","collisions"]} -tiles_legacy_LegacyTilemap_setTile__P299579.info = {"start":8032,"length":192,"line":234,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setTile","argumentNames":["this","index","img","collisions"]} +tiles_legacy_LegacyTilemap_setTile__P2087.info = {"start":8032,"length":192,"line":234,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setTile","argumentNames":["this","index","img","collisions"]} +tiles_legacy_LegacyTilemap_setTile__P2087.info = {"start":8032,"length":192,"line":234,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setTile","argumentNames":["this","index","img","collisions"]} -function tiles_legacy_LegacyTilemap_setTile__P299579_mk(s) { +function tiles_legacy_LegacyTilemap_setTile__P2087_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_setTile__P299579, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_setTile__P2087, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56677,7 +56629,7 @@ function tiles_legacy_LegacyTilemap_setTile__P299579_mk(s) { -function tiles_legacy_LegacyTilemap_isInvalidIndex__P299588(s) { +function tiles_legacy_LegacyTilemap_isInvalidIndex__P2096(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56693,7 +56645,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -56709,13 +56661,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_isInvalidIndex__P299588.info = {"start":10403,"length":105,"line":299,"column":8,"endLine":301,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} -tiles_legacy_LegacyTilemap_isInvalidIndex__P299588.info = {"start":10403,"length":105,"line":299,"column":8,"endLine":301,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} +tiles_legacy_LegacyTilemap_isInvalidIndex__P2096.info = {"start":10403,"length":105,"line":299,"column":8,"endLine":301,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} +tiles_legacy_LegacyTilemap_isInvalidIndex__P2096.info = {"start":10403,"length":105,"line":299,"column":8,"endLine":301,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} -function tiles_legacy_LegacyTilemap_isInvalidIndex__P299588_mk(s) { +function tiles_legacy_LegacyTilemap_isInvalidIndex__P2096_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_isInvalidIndex__P299588, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_isInvalidIndex__P2096, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56727,7 +56679,7 @@ function tiles_legacy_LegacyTilemap_isInvalidIndex__P299588_mk(s) { -function tiles_legacy_TileSet_constructor__P299567(s) { +function tiles_legacy_TileSet_constructor__P2075(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56745,7 +56697,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_TileSet__C299565_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_TileSet__C2073_VT)) failedCast(r0); r0 = (s.arg0).fields["originalImage"] = (s.arg1); r0 = (s.arg0).fields["obstacle"] = (s.arg2); r0 = (s.arg0).fields["map"] = (s.arg3); @@ -56753,13 +56705,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_TileSet_constructor__P299567.info = {"start":6002,"length":186,"line":164,"column":8,"endLine":168,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"inline","argumentNames":["this","image","collisions","map"]} -tiles_legacy_TileSet_constructor__P299567.info = {"start":6002,"length":186,"line":164,"column":8,"endLine":168,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"inline","argumentNames":["this","image","collisions","map"]} +tiles_legacy_TileSet_constructor__P2075.info = {"start":6002,"length":186,"line":164,"column":8,"endLine":168,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"inline","argumentNames":["this","image","collisions","map"]} +tiles_legacy_TileSet_constructor__P2075.info = {"start":6002,"length":186,"line":164,"column":8,"endLine":168,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"inline","argumentNames":["this","image","collisions","map"]} -function tiles_legacy_TileSet_constructor__P299567_mk(s) { +function tiles_legacy_TileSet_constructor__P2075_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_TileSet_constructor__P299567, depth: s.depth + 1, + parent: s, fn: tiles_legacy_TileSet_constructor__P2075, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -56771,7 +56723,7 @@ function tiles_legacy_TileSet_constructor__P299567_mk(s) { -function scene_setTileMap__P299556(s) { +function scene_setTileMap__P2064(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56781,18 +56733,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___321193 = undefined; + s.scene___23376 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P298414_mk(s); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___321193 = (r0); - r0 = s.scene___321193.fields["tileMap"]; + s.scene___23376 = (r0); + r0 = s.scene___23376.fields["tileMap"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -56803,7 +56755,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___321193.fields["tileMap"]; + r0 = s.scene___23376.fields["tileMap"]; r0 = r0.fields["isLegacy"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); @@ -56814,26 +56766,26 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_LegacyTilemap__C299568_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_LegacyTilemap__C2076_VT); s.tmp_6 = r0; - s.tmp_7 = tiles_legacy_LegacyTilemap_constructor__P299595_mk(s); + s.tmp_7 = tiles_legacy_LegacyTilemap_constructor__P2103_mk(s); s.tmp_7.arg0 = s.tmp_6; s.tmp_7.arg1 = 4; s.pc = 6; return s.tmp_7; case 6: r0 = s.retval; - r0 = (s.scene___321193).fields["tileMap"] = (s.tmp_6); + r0 = (s.scene___23376).fields["tileMap"] = (s.tmp_6); case 3: case 4: - s.tmp_0 = tiles_legacy_LegacyTilemap_setMap__P299580_mk(s); - r0 = s.scene___321193.fields["tileMap"]; + s.tmp_0 = tiles_legacy_LegacyTilemap_setMap__P2088_mk(s); + r0 = s.scene___23376.fields["tileMap"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = tiles_TileMap_scale__P298539_mk(s); - r0 = s.scene___321193.fields["tileMap"]; + s.tmp_0 = tiles_TileMap_scale__P1047_mk(s); + r0 = s.scene___23376.fields["tileMap"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.pc = 8; return s.tmp_0; @@ -56843,13 +56795,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_setTileMap__P299556.info = {"start":451,"length":381,"line":15,"column":4,"endLine":22,"endColumn":5,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setTileMap","argumentNames":["map","scale"]} -scene_setTileMap__P299556.info = {"start":451,"length":381,"line":15,"column":4,"endLine":22,"endColumn":5,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setTileMap","argumentNames":["map","scale"]} +scene_setTileMap__P2064.info = {"start":451,"length":381,"line":15,"column":4,"endLine":22,"endColumn":5,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setTileMap","argumentNames":["map","scale"]} +scene_setTileMap__P2064.info = {"start":451,"length":381,"line":15,"column":4,"endLine":22,"endColumn":5,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setTileMap","argumentNames":["map","scale"]} -function scene_setTileMap__P299556_mk(s) { +function scene_setTileMap__P2064_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setTileMap__P299556, depth: s.depth + 1, + parent: s, fn: scene_setTileMap__P2064, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56859,7 +56811,7 @@ function scene_setTileMap__P299556_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___321193: undefined, + scene___23376: undefined, arg0: undefined, arg1: undefined, } } @@ -56868,7 +56820,7 @@ function scene_setTileMap__P299556_mk(s) { -function tiles_legacy_LegacyTilemap_setMap__P299580(s) { +function tiles_legacy_LegacyTilemap_setMap__P2088(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56884,19 +56836,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); r0 = (s.arg0).fields["_mapImage"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_setMap__P299580.info = {"start":8234,"length":64,"line":239,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setMap","argumentNames":["this","map"]} -tiles_legacy_LegacyTilemap_setMap__P299580.info = {"start":8234,"length":64,"line":239,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setMap","argumentNames":["this","map"]} +tiles_legacy_LegacyTilemap_setMap__P2088.info = {"start":8234,"length":64,"line":239,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setMap","argumentNames":["this","map"]} +tiles_legacy_LegacyTilemap_setMap__P2088.info = {"start":8234,"length":64,"line":239,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setMap","argumentNames":["this","map"]} -function tiles_legacy_LegacyTilemap_setMap__P299580_mk(s) { +function tiles_legacy_LegacyTilemap_setMap__P2088_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_setMap__P299580, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_setMap__P2088, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -56906,7 +56858,7 @@ function tiles_legacy_LegacyTilemap_setMap__P299580_mk(s) { -function tileworld_VMState_constructor__P1084470(s) { +function tileworld_VMState_constructor__P6647(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56921,18 +56873,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_VMState__C1084469_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_VMState__C6646_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_VMState_constructor__P1084470.info = {"start":1847,"length":16,"line":54,"column":8,"endLine":54,"endColumn":24,"fileName":"vm.ts","functionName":"inline","argumentNames":["this"]} -tileworld_VMState_constructor__P1084470.info = {"start":1847,"length":16,"line":54,"column":8,"endLine":54,"endColumn":24,"fileName":"vm.ts","functionName":"inline","argumentNames":["this"]} +tileworld_VMState_constructor__P6647.info = {"start":1847,"length":16,"line":54,"column":8,"endLine":54,"endColumn":24,"fileName":"vm.ts","functionName":"inline","argumentNames":["this"]} +tileworld_VMState_constructor__P6647.info = {"start":1847,"length":16,"line":54,"column":8,"endLine":54,"endColumn":24,"fileName":"vm.ts","functionName":"inline","argumentNames":["this"]} -function tileworld_VMState_constructor__P1084470_mk(s) { +function tileworld_VMState_constructor__P6647_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_VMState_constructor__P1084470, depth: s.depth + 1, + parent: s, fn: tileworld_VMState_constructor__P6647, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -56941,7 +56893,7 @@ function tileworld_VMState_constructor__P1084470_mk(s) { -function tileworld_RunGame_constructor__P1086055(s) { +function tileworld_RunGame_constructor__P8247(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56958,16 +56910,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RunGame__C1086049_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RunGame__C8239_VT)) failedCast(r0); r0 = (s.arg0).fields["p"] = (s.arg1); - s.tmp_0 = tileworld_BackgroundBase_constructor__P306069_mk(s); + s.tmp_0 = tileworld_BackgroundBase_constructor__P8248_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileWorldVM__C1084478_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileWorldVM__C6655_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_TileWorldVM_constructor__P1084498_mk(s); + s.tmp_1 = tileworld_TileWorldVM_constructor__P6675_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -56979,13 +56931,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RunGame_constructor__P1086055.info = {"start":22341,"length":129,"line":511,"column":8,"endLine":514,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","p","rules"]} -tileworld_RunGame_constructor__P1086055.info = {"start":22341,"length":129,"line":511,"column":8,"endLine":514,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","p","rules"]} +tileworld_RunGame_constructor__P8247.info = {"start":22341,"length":129,"line":511,"column":8,"endLine":514,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","p","rules"]} +tileworld_RunGame_constructor__P8247.info = {"start":22341,"length":129,"line":511,"column":8,"endLine":514,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","p","rules"]} -function tileworld_RunGame_constructor__P1086055_mk(s) { +function tileworld_RunGame_constructor__P8247_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RunGame_constructor__P1086055, depth: s.depth + 1, + parent: s, fn: tileworld_RunGame_constructor__P8247, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56998,7 +56950,7 @@ function tileworld_RunGame_constructor__P1086055_mk(s) { -function tileworld_TileWorldVM_constructor__P1084498(s) { +function tileworld_TileWorldVM_constructor__P6675(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57015,7 +56967,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C1084478_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C6655_VT)) failedCast(r0); r0 = (s.arg0).fields["p"] = (s.arg1); r0 = (s.arg0).fields["rules"] = (s.arg2); s.tmp_0 = r0 = s.arg0; @@ -57027,13 +56979,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_constructor__P1084498.info = {"start":2429,"length":96,"line":76,"column":8,"endLine":78,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","p","rules"]} -tileworld_TileWorldVM_constructor__P1084498.info = {"start":2429,"length":96,"line":76,"column":8,"endLine":78,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","p","rules"]} +tileworld_TileWorldVM_constructor__P6675.info = {"start":2429,"length":96,"line":76,"column":8,"endLine":78,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","p","rules"]} +tileworld_TileWorldVM_constructor__P6675.info = {"start":2429,"length":96,"line":76,"column":8,"endLine":78,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","p","rules"]} -function tileworld_TileWorldVM_constructor__P1084498_mk(s) { +function tileworld_TileWorldVM_constructor__P6675_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_constructor__P1084498, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_constructor__P6675, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57046,7 +56998,7 @@ function tileworld_TileWorldVM_constructor__P1084498_mk(s) { -function tileworld_Project_getRuleIds__P303140(s) { +function tileworld_Project_getRuleIds__P4988(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57061,24 +57013,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); - s.tmp_0 = helpers_arrayMap__P297627_mk(s); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); + s.tmp_0 = helpers_arrayMap__P56_mk(s); r0 = s.arg0.fields["rules"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P303458; + s.tmp_0.arg1 = inline__P5306; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tileworld_Project_getRuleIds__P303140.info = {"start":3935,"length":87,"line":132,"column":8,"endLine":134,"endColumn":9,"fileName":"project.ts","functionName":"getRuleIds","argumentNames":["this"]} -tileworld_Project_getRuleIds__P303140.info = {"start":3935,"length":87,"line":132,"column":8,"endLine":134,"endColumn":9,"fileName":"project.ts","functionName":"getRuleIds","argumentNames":["this"]} +tileworld_Project_getRuleIds__P4988.info = {"start":3935,"length":87,"line":132,"column":8,"endLine":134,"endColumn":9,"fileName":"project.ts","functionName":"getRuleIds","argumentNames":["this"]} +tileworld_Project_getRuleIds__P4988.info = {"start":3935,"length":87,"line":132,"column":8,"endLine":134,"endColumn":9,"fileName":"project.ts","functionName":"getRuleIds","argumentNames":["this"]} -function tileworld_Project_getRuleIds__P303140_mk(s) { +function tileworld_Project_getRuleIds__P4988_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getRuleIds__P303140, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getRuleIds__P4988, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -57088,7 +57040,7 @@ function tileworld_Project_getRuleIds__P303140_mk(s) { -function inline__P303458(s) { +function inline__P5306(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57106,13 +57058,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P303458.info = {"start":4001,"length":9,"line":133,"column":34,"endLine":133,"endColumn":43,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -inline__P303458.info = {"start":4001,"length":9,"line":133,"column":34,"endLine":133,"endColumn":43,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P5306.info = {"start":4001,"length":9,"line":133,"column":34,"endLine":133,"endColumn":43,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P5306.info = {"start":4001,"length":9,"line":133,"column":34,"endLine":133,"endColumn":43,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -function inline__P303458_mk(s) { +function inline__P5306_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P303458, depth: s.depth + 1, + parent: s, fn: inline__P5306, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -57121,7 +57073,7 @@ function inline__P303458_mk(s) { -function tileworld_Project_fixed__P303126(s) { +function tileworld_Project_fixed__P4974(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57136,18 +57088,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); r0 = s.arg0.fields["fixedImages"]; return leave(s, r0) default: oops() } } } -tileworld_Project_fixed__P303126.info = {"start":1182,"length":43,"line":49,"column":8,"endLine":49,"endColumn":51,"fileName":"project.ts","functionName":"fixed","argumentNames":["this"]} -tileworld_Project_fixed__P303126.info = {"start":1182,"length":43,"line":49,"column":8,"endLine":49,"endColumn":51,"fileName":"project.ts","functionName":"fixed","argumentNames":["this"]} +tileworld_Project_fixed__P4974.info = {"start":1182,"length":43,"line":49,"column":8,"endLine":49,"endColumn":51,"fileName":"project.ts","functionName":"fixed","argumentNames":["this"]} +tileworld_Project_fixed__P4974.info = {"start":1182,"length":43,"line":49,"column":8,"endLine":49,"endColumn":51,"fileName":"project.ts","functionName":"fixed","argumentNames":["this"]} -function tileworld_Project_fixed__P303126_mk(s) { +function tileworld_Project_fixed__P4974_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_fixed__P303126, depth: s.depth + 1, + parent: s, fn: tileworld_Project_fixed__P4974, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -57156,7 +57108,7 @@ function tileworld_Project_fixed__P303126_mk(s) { -function tileworld_Gallery_constructor__P311930(s) { +function tileworld_Gallery_constructor__P14115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57174,17 +57126,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Gallery__C311927_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Gallery__C14112_VT)) failedCast(r0); r0 = (s.arg0).fields["kind"] = (s.arg2); r0 = (s.arg0).fields["gallery"] = (s.arg3); - s.tmp_0 = tileworld_RuleVisualsBase_constructor__P306480_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_constructor__P8665_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 = r0 = s.arg0; - s.tmp_3 = tileworld_Project_getImage__P303129_mk(s); + s.tmp_3 = tileworld_Project_getImage__P4977_mk(s); r0 = s.arg0.fields["p"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.arg2; @@ -57201,50 +57153,50 @@ switch (step) { r0 = pxsim_ImageMethods.clone(s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["newImage"] = (s.tmp_1); - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P306465_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P8650_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P306466_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P8651_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P306473_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P8658_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P306465_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P8650_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P306466_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P8651_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P311961); + r0 = pxsim_pxtcore_mkAction(1, inline__P14146); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.A___298124; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.A___632; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P311998); + r0 = pxsim_pxtcore_mkAction(1, inline__P14183); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.B___298126; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.B___634; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 9; return s.tmp_1; @@ -57254,13 +57206,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Gallery_constructor__P311930.info = {"start":11144,"length":1036,"line":299,"column":8,"endLine":322,"endColumn":9,"fileName":"gallery.ts","functionName":"inline","argumentNames":["this","p","kind","gallery"]} -tileworld_Gallery_constructor__P311930.info = {"start":11144,"length":1036,"line":299,"column":8,"endLine":322,"endColumn":9,"fileName":"gallery.ts","functionName":"inline","argumentNames":["this","p","kind","gallery"]} +tileworld_Gallery_constructor__P14115.info = {"start":11144,"length":1036,"line":299,"column":8,"endLine":322,"endColumn":9,"fileName":"gallery.ts","functionName":"inline","argumentNames":["this","p","kind","gallery"]} +tileworld_Gallery_constructor__P14115.info = {"start":11144,"length":1036,"line":299,"column":8,"endLine":322,"endColumn":9,"fileName":"gallery.ts","functionName":"inline","argumentNames":["this","p","kind","gallery"]} -function tileworld_Gallery_constructor__P311930_mk(s) { +function tileworld_Gallery_constructor__P14115_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Gallery_constructor__P311930, depth: s.depth + 1, + parent: s, fn: tileworld_Gallery_constructor__P14115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57276,7 +57228,7 @@ function tileworld_Gallery_constructor__P311930_mk(s) { -function inline__P311961(s) { +function inline__P14146(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57286,10 +57238,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.isCurrent___311962 = undefined; - s.index___311970 = undefined; - s.img___311982 = undefined; - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.isCurrent___14147 = undefined; + s.index___14155 = undefined; + s.img___14167 = undefined; + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 9; return s.tmp_2; @@ -57303,7 +57255,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; s.pc = 10; return s.tmp_4; @@ -57314,17 +57266,17 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_5 = r0; - s.isCurrent___311962 = (s.tmp_5); + s.isCurrent___14147 = (s.tmp_5); r0 = s.caps[0].fields["dirMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; s.pc = 12; return s.tmp_4; @@ -57332,34 +57284,34 @@ switch (step) { r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_3); - s.index___311970 = (r0); - s.tmp_0 = r0 = s.isCurrent___311962; + s.index___14155 = (r0); + s.tmp_0 = r0 = s.isCurrent___14147; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = (s.index___311970 != 15); + r0 = (s.index___14155 != 15); case 4: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_2 = tileworld_RuleVisualsBase_setTileSaved__P306473_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_setTileSaved__P8658_mk(s); s.tmp_2.arg0 = s.caps[0]; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; r0 = s.caps[0].fields["gallery"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.index___311970); - s.img___311982 = (r0); - r0 = pxsim_numops_toBoolDecr(s.isCurrent___311962); + r0 = pxsim_Array__getAt(s.tmp_0, s.index___14155); + s.img___14167 = (r0); + r0 = pxsim_numops_toBoolDecr(s.isCurrent___14147); if (!r0) { step = 5; continue; } r0 = s.caps[0].fields["current"]; { step = 6; continue; } case 5: - r0 = s.img___311982; + r0 = s.img___14167; case 6: // jmp value (already in r0) s.tmp_0 = r0; @@ -57372,13 +57324,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P311961.info = {"start":11534,"length":399,"line":307,"column":64,"endLine":315,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":[]} -inline__P311961.info = {"start":11534,"length":399,"line":307,"column":64,"endLine":315,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":[]} +inline__P14146.info = {"start":11534,"length":399,"line":307,"column":64,"endLine":315,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":[]} +inline__P14146.info = {"start":11534,"length":399,"line":307,"column":64,"endLine":315,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":[]} -function inline__P311961_mk(s) { +function inline__P14146_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P311961, depth: s.depth + 1, + parent: s, fn: inline__P14146, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57386,16 +57338,16 @@ function inline__P311961_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - isCurrent___311962: undefined, - index___311970: undefined, - img___311982: undefined, + isCurrent___14147: undefined, + index___14155: undefined, + img___14167: undefined, } } -function inline__P311998(s) { +function inline__P14183(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57405,7 +57357,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_1 = tileworld_Project_getImage__P303129_mk(s); + s.tmp_1 = tileworld_Project_getImage__P4977_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_1.arg0 = r0; r0 = s.caps[0].fields["kind"]; @@ -57417,7 +57369,7 @@ switch (step) { r0 = s.caps[0].fields["newImage"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.copyFrom(s.tmp_0, s.tmp_2); - s.tmp_0 = tileworld_Project_saveImage__P303131_mk(s); + s.tmp_0 = tileworld_Project_saveImage__P4979_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["kind"]; @@ -57425,7 +57377,7 @@ switch (step) { s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = game_popScene__P298729_mk(s); + s.tmp_0 = game_popScene__P1237_mk(s); s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; @@ -57433,13 +57385,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P311998.info = {"start":12001,"length":167,"line":317,"column":64,"endLine":321,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":[]} -inline__P311998.info = {"start":12001,"length":167,"line":317,"column":64,"endLine":321,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":[]} +inline__P14183.info = {"start":12001,"length":167,"line":317,"column":64,"endLine":321,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":[]} +inline__P14183.info = {"start":12001,"length":167,"line":317,"column":64,"endLine":321,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":[]} -function inline__P311998_mk(s) { +function inline__P14183_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P311998, depth: s.depth + 1, + parent: s, fn: inline__P14183, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57450,7 +57402,7 @@ function inline__P311998_mk(s) { -function game_pushScene__P298728(s) { +function game_pushScene__P1236(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57460,43 +57412,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.oldScene___318486 = undefined; - s.tmp_0 = game_currentScene__P298414_mk(s); + s.oldScene___20669 = undefined; + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___318486 = (r0); - s.tmp_0 = particles_clearAll__P299185_mk(s); + s.oldScene___20669 = (r0); + s.tmp_0 = particles_clearAll__P1693_mk(s); s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P299186_mk(s); + s.tmp_0 = particles_disableAll__P1694_mk(s); s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___298717); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___1225); 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___298717 = (r0); + globals._sceneStack___1225 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___298717, globals._scene___298716); - s.tmp_0 = game_init__P298727_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___1225, globals._scene___1224); + s.tmp_0 = game_init__P1235_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___298718); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___1226); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P318503); + r0 = pxsim_pxtcore_mkAction(1, inline__P20686); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___318486); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___298718; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___20669); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___1226; s.tmp_1.arg1 = s.tmp_0; s.pc = 9; return s.tmp_1; case 9: @@ -57507,24 +57459,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene__P298728.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"pushScene","argumentNames":[]} -game_pushScene__P298728.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P1236.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P1236.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__P298728_mk(s) { +function game_pushScene__P1236_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P298728, depth: s.depth + 1, + parent: s, fn: game_pushScene__P1236, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___318486: undefined, + oldScene___20669: undefined, } } -function inline__P318503(s) { +function inline__P20686(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57549,13 +57501,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P318503.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game---hw/game.ts","functionName":"inline","argumentNames":["cb"]} -inline__P318503.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game---hw/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P20686.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P20686.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__P318503_mk(s) { +function inline__P20686_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P318503, depth: s.depth + 1, + parent: s, fn: inline__P20686, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -57565,7 +57517,7 @@ function inline__P318503_mk(s) { -function particles_disableAll__P299186(s) { +function particles_disableAll__P1694(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57575,21 +57527,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sources___318507 = undefined; - s.tmp_0 = particles_particleSources__P299188_mk(s); + s.sources___20690 = undefined; + s.tmp_0 = particles_particleSources__P1696_mk(s); s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___318507 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___318507); + s.sources___20690 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___20690); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P297630_mk(s); - s.tmp_0.arg0 = s.sources___318507; - s.tmp_0.arg1 = inline__P318513; + s.tmp_0 = helpers_arrayForEach__P59_mk(s); + s.tmp_0.arg0 = s.sources___20690; + s.tmp_0.arg1 = inline__P20696; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P299175_mk(s); + s.tmp_0 = particles_pruneParticles__P1683_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -57599,23 +57551,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll__P299186.info = {"start":12353,"length":195,"line":401,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"disableAll","argumentNames":[]} -particles_disableAll__P299186.info = {"start":12353,"length":195,"line":401,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P1694.info = {"start":12353,"length":195,"line":401,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P1694.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__P299186_mk(s) { +function particles_disableAll__P1694_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P299186, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P1694, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___318507: undefined, + sources___20690: undefined, } } -function inline__P318513(s) { +function inline__P20696(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57629,7 +57581,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P299160_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P1668_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.pc = 1; return s.tmp_0; @@ -57639,13 +57591,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P318513.info = {"start":12478,"length":22,"line":404,"column":28,"endLine":404,"endColumn":50,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"inline","argumentNames":["s"]} -inline__P318513.info = {"start":12478,"length":22,"line":404,"column":28,"endLine":404,"endColumn":50,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P20696.info = {"start":12478,"length":22,"line":404,"column":28,"endLine":404,"endColumn":50,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P20696.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__P318513_mk(s) { +function inline__P20696_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P318513, depth: s.depth + 1, + parent: s, fn: inline__P20696, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -57655,7 +57607,7 @@ function inline__P318513_mk(s) { -function particles_clearAll__P299185(s) { +function particles_clearAll__P1693(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57665,21 +57617,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sources___318518 = undefined; - s.tmp_0 = particles_particleSources__P299188_mk(s); + s.sources___20701 = undefined; + s.tmp_0 = particles_particleSources__P1696_mk(s); s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___318518 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___318518); + s.sources___20701 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___20701); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P297630_mk(s); - s.tmp_0.arg0 = s.sources___318518; - s.tmp_0.arg1 = inline__P318524; + s.tmp_0 = helpers_arrayForEach__P59_mk(s); + s.tmp_0.arg0 = s.sources___20701; + s.tmp_0.arg1 = inline__P20707; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P299175_mk(s); + s.tmp_0 = particles_pruneParticles__P1683_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -57689,23 +57641,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll__P299185.info = {"start":12081,"length":185,"line":390,"column":4,"endLine":396,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"clearAll","argumentNames":[]} -particles_clearAll__P299185.info = {"start":12081,"length":185,"line":390,"column":4,"endLine":396,"endColumn":5,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P1693.info = {"start":12081,"length":185,"line":390,"column":4,"endLine":396,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P1693.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__P299185_mk(s) { +function particles_clearAll__P1693_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P299185, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P1693, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___318518: undefined, + sources___20701: undefined, } } -function inline__P318524(s) { +function inline__P20707(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57719,7 +57671,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P299162_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P1670_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: @@ -57728,13 +57680,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P318524.info = {"start":12204,"length":14,"line":393,"column":28,"endLine":393,"endColumn":42,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"inline","argumentNames":["s"]} -inline__P318524.info = {"start":12204,"length":14,"line":393,"column":28,"endLine":393,"endColumn":42,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P20707.info = {"start":12204,"length":14,"line":393,"column":28,"endLine":393,"endColumn":42,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P20707.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__P318524_mk(s) { +function inline__P20707_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P318524, depth: s.depth + 1, + parent: s, fn: inline__P20707, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -57744,7 +57696,7 @@ function inline__P318524_mk(s) { -function tileworld_saveEntireProject__P304251(s) { +function tileworld_saveEntireProject__P6099(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57754,10 +57706,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.prefix___304256 = undefined; - s.length___304259 = undefined; - s.worldBuf___304334 = undefined; - s.spritesBuf___304350 = undefined; + s.prefix___6104 = undefined; + s.length___6107 = undefined; + s.worldBuf___6182 = undefined; + s.spritesBuf___6198 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -57770,17 +57722,17 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["prefix"]; - s.prefix___304256 = (r0); + s.prefix___6104 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.length___304259 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.length___304259, 8); - s.tmp_0 = settings_writeString__P298071_mk(s); - if ((s.prefix___304256) && (s.prefix___304256).vtable) { + s.length___6107 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.length___6107, 8); + s.tmp_0 = settings_writeString__P579_mk(s); + if ((s.prefix___6104) && (s.prefix___6104).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.prefix___304256); + pxsim_String__stringConv(s.prefix___6104); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___304256) + ""; } + } else { s.retval = (s.prefix___6104) + ""; } case 7: r0 = s.retval; s.tmp_1 = r0; @@ -57802,13 +57754,13 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = settings_writeNumber__P298072_mk(s); - if ((s.prefix___304256) && (s.prefix___304256).vtable) { + s.tmp_2 = settings_writeNumber__P580_mk(s); + if ((s.prefix___6104) && (s.prefix___6104).vtable) { setupResume(s, 9); - pxsim_String__stringConv(s.prefix___304256); + pxsim_String__stringConv(s.prefix___6104); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___304256) + ""; } + } else { s.retval = (s.prefix___6104) + ""; } case 9: r0 = s.retval; s.tmp_3 = r0; @@ -57818,13 +57770,13 @@ switch (step) { s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P298072_mk(s); - if ((s.prefix___304256) && (s.prefix___304256).vtable) { + s.tmp_0 = settings_writeNumber__P580_mk(s); + if ((s.prefix___6104) && (s.prefix___6104).vtable) { setupResume(s, 11); - pxsim_String__stringConv(s.prefix___304256); + pxsim_String__stringConv(s.prefix___6104); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___304256) + ""; } + } else { s.retval = (s.prefix___6104) + ""; } case 11: r0 = s.retval; s.tmp_1 = r0; @@ -57837,13 +57789,13 @@ switch (step) { s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P298072_mk(s); - if ((s.prefix___304256) && (s.prefix___304256).vtable) { + s.tmp_0 = settings_writeNumber__P580_mk(s); + if ((s.prefix___6104) && (s.prefix___6104).vtable) { setupResume(s, 13); - pxsim_String__stringConv(s.prefix___304256); + pxsim_String__stringConv(s.prefix___6104); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___304256) + ""; } + } else { s.retval = (s.prefix___6104) + ""; } case 13: r0 = s.retval; s.tmp_1 = r0; @@ -57856,13 +57808,13 @@ switch (step) { s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P298072_mk(s); - if ((s.prefix___304256) && (s.prefix___304256).vtable) { + s.tmp_0 = settings_writeNumber__P580_mk(s); + if ((s.prefix___6104) && (s.prefix___6104).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.prefix___304256); + pxsim_String__stringConv(s.prefix___6104); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___304256) + ""; } + } else { s.retval = (s.prefix___6104) + ""; } case 15: r0 = s.retval; s.tmp_1 = r0; @@ -57873,95 +57825,95 @@ switch (step) { s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(2, inline__P304305); + r0 = pxsim_pxtcore_mkAction(2, inline__P6153); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.prefix___304256); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.length___304259); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.prefix___6104); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.length___6107); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["fixedImages"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(2, inline__P304321); + r0 = pxsim_pxtcore_mkAction(2, inline__P6169); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.prefix___304256); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.length___304259); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.prefix___6104); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.length___6107); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["movableImages"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = tileworld_imageToBuffer__P302128_mk(s); + s.tmp_0 = tileworld_imageToBuffer__P3972_mk(s); r0 = s.arg0.fields["_world"]; s.tmp_0.arg0 = r0; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.worldBuf___304334 = (r0); - s.tmp_0 = r0 = s.length___304259; - r0 = pxsim_pxtrt_ldlocRef(s.length___304259); + s.worldBuf___6182 = (r0); + s.tmp_0 = r0 = s.length___6107; + r0 = pxsim_pxtrt_ldlocRef(s.length___6107); s.tmp_2 = r0; - r0 = pxsim.BufferMethods.length(s.worldBuf___304334); + r0 = pxsim.BufferMethods.length(s.worldBuf___6182); s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - s.tmp_0 = settings_writeBuffer__P298070_mk(s); - if ((s.prefix___304256) && (s.prefix___304256).vtable) { + s.tmp_0 = settings_writeBuffer__P578_mk(s); + if ((s.prefix___6104) && (s.prefix___6104).vtable) { setupResume(s, 20); - pxsim_String__stringConv(s.prefix___304256); + pxsim_String__stringConv(s.prefix___6104); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___304256) + ""; } + } else { s.retval = (s.prefix___6104) + ""; } case 20: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "TM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.worldBuf___304334; + s.tmp_0.arg1 = s.worldBuf___6182; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = tileworld_imageToBuffer__P302128_mk(s); + s.tmp_0 = tileworld_imageToBuffer__P3972_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_0.arg0 = r0; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.spritesBuf___304350 = (r0); - s.tmp_0 = r0 = s.length___304259; - r0 = pxsim_pxtrt_ldlocRef(s.length___304259); + s.spritesBuf___6198 = (r0); + s.tmp_0 = r0 = s.length___6107; + r0 = pxsim_pxtrt_ldlocRef(s.length___6107); s.tmp_2 = r0; - r0 = pxsim.BufferMethods.length(s.spritesBuf___304350); + r0 = pxsim.BufferMethods.length(s.spritesBuf___6198); s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - s.tmp_0 = settings_writeBuffer__P298070_mk(s); - if ((s.prefix___304256) && (s.prefix___304256).vtable) { + s.tmp_0 = settings_writeBuffer__P578_mk(s); + if ((s.prefix___6104) && (s.prefix___6104).vtable) { setupResume(s, 23); - pxsim_String__stringConv(s.prefix___304256); + pxsim_String__stringConv(s.prefix___6104); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___304256) + ""; } + } else { s.retval = (s.prefix___6104) + ""; } case 23: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "TS"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.spritesBuf___304350; + s.tmp_0.arg1 = s.spritesBuf___6198; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(2, inline__P304369); + r0 = pxsim_pxtcore_mkAction(2, inline__P6217); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.prefix___304256); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.length___304259); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.prefix___6104); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.length___6107); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["rules"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -57973,22 +57925,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_saveEntireProject__P304251.info = {"start":11423,"length":1179,"line":330,"column":4,"endLine":358,"endColumn":5,"fileName":"project.ts","functionName":"saveEntireProject","argumentNames":["p"]} -tileworld_saveEntireProject__P304251.info = {"start":11423,"length":1179,"line":330,"column":4,"endLine":358,"endColumn":5,"fileName":"project.ts","functionName":"saveEntireProject","argumentNames":["p"]} +tileworld_saveEntireProject__P6099.info = {"start":11423,"length":1179,"line":330,"column":4,"endLine":358,"endColumn":5,"fileName":"project.ts","functionName":"saveEntireProject","argumentNames":["p"]} +tileworld_saveEntireProject__P6099.info = {"start":11423,"length":1179,"line":330,"column":4,"endLine":358,"endColumn":5,"fileName":"project.ts","functionName":"saveEntireProject","argumentNames":["p"]} -function tileworld_saveEntireProject__P304251_mk(s) { +function tileworld_saveEntireProject__P6099_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_saveEntireProject__P304251, depth: s.depth + 1, + parent: s, fn: tileworld_saveEntireProject__P6099, 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, - prefix___304256: undefined, - length___304259: undefined, - worldBuf___304334: undefined, - spritesBuf___304350: undefined, + prefix___6104: undefined, + length___6107: undefined, + worldBuf___6182: undefined, + spritesBuf___6198: undefined, arg0: undefined, } } @@ -57996,7 +57948,7 @@ function tileworld_saveEntireProject__P304251_mk(s) { -function inline__P304305(s) { +function inline__P6153(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58006,13 +57958,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.buf___304308 = undefined; + s.buf___6156 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_saveImage__P303278_mk(s); + s.tmp_0 = tileworld_saveImage__P5126_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg0; @@ -58020,11 +57972,11 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.buf___304308 = (r0); + s.buf___6156 = (r0); s.tmp_0 = r0 = s.caps[1]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.BufferMethods.length(s.buf___304308); + r0 = pxsim.BufferMethods.length(s.buf___6156); s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; @@ -58033,19 +57985,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P304305.info = {"start":11899,"length":112,"line":340,"column":26,"endLine":343,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["img","i"]} -inline__P304305.info = {"start":11899,"length":112,"line":340,"column":26,"endLine":343,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P6153.info = {"start":11899,"length":112,"line":340,"column":26,"endLine":343,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P6153.info = {"start":11899,"length":112,"line":340,"column":26,"endLine":343,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P304305_mk(s) { +function inline__P6153_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P304305, depth: s.depth + 1, + parent: s, fn: inline__P6153, 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, - buf___304308: undefined, + buf___6156: undefined, arg0: undefined, arg1: undefined, } } @@ -58054,7 +58006,7 @@ function inline__P304305_mk(s) { -function inline__P304321(s) { +function inline__P6169(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58064,13 +58016,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.buf___304324 = undefined; + s.buf___6172 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_saveImage__P303278_mk(s); + s.tmp_0 = tileworld_saveImage__P5126_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg0; @@ -58078,11 +58030,11 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.buf___304324 = (r0); + s.buf___6172 = (r0); s.tmp_0 = r0 = s.caps[1]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.BufferMethods.length(s.buf___304324); + r0 = pxsim.BufferMethods.length(s.buf___6172); s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; @@ -58091,19 +58043,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P304321.info = {"start":12042,"length":113,"line":344,"column":28,"endLine":347,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["img","i"]} -inline__P304321.info = {"start":12042,"length":113,"line":344,"column":28,"endLine":347,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P6169.info = {"start":12042,"length":113,"line":344,"column":28,"endLine":347,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P6169.info = {"start":12042,"length":113,"line":344,"column":28,"endLine":347,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P304321_mk(s) { +function inline__P6169_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P304321, depth: s.depth + 1, + parent: s, fn: inline__P6169, 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, - buf___304324: undefined, + buf___6172: undefined, arg0: undefined, arg1: undefined, } } @@ -58112,7 +58064,7 @@ function inline__P304321_mk(s) { -function inline__P304369(s) { +function inline__P6217(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58122,12 +58074,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.buf___304371 = undefined; + s.buf___6219 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_storeRule__P303288_mk(s); + s.tmp_0 = tileworld_storeRule__P5136_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = s.arg0.fields["id"]; s.tmp_0.arg1 = r0; @@ -58136,11 +58088,11 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.buf___304371 = (r0); + s.buf___6219 = (r0); s.tmp_0 = r0 = s.caps[1]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.BufferMethods.length(s.buf___304371); + r0 = pxsim.BufferMethods.length(s.buf___6219); s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; @@ -58149,19 +58101,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P304369.info = {"start":12487,"length":107,"line":354,"column":29,"endLine":357,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -inline__P304369.info = {"start":12487,"length":107,"line":354,"column":29,"endLine":357,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P6217.info = {"start":12487,"length":107,"line":354,"column":29,"endLine":357,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P6217.info = {"start":12487,"length":107,"line":354,"column":29,"endLine":357,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -function inline__P304369_mk(s) { +function inline__P6217_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P304369, depth: s.depth + 1, + parent: s, fn: inline__P6217, 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, - buf___304371: undefined, + buf___6219: undefined, arg0: undefined, } } @@ -58169,7 +58121,7 @@ function inline__P304369_mk(s) { -function tileworld_Project_getRules__P303137(s) { +function tileworld_Project_getRules__P4985(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58184,18 +58136,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); r0 = s.arg0.fields["rules"]; return leave(s, r0) default: oops() } } } -tileworld_Project_getRules__P303137.info = {"start":3175,"length":40,"line":109,"column":8,"endLine":109,"endColumn":48,"fileName":"project.ts","functionName":"getRules","argumentNames":["this"]} -tileworld_Project_getRules__P303137.info = {"start":3175,"length":40,"line":109,"column":8,"endLine":109,"endColumn":48,"fileName":"project.ts","functionName":"getRules","argumentNames":["this"]} +tileworld_Project_getRules__P4985.info = {"start":3175,"length":40,"line":109,"column":8,"endLine":109,"endColumn":48,"fileName":"project.ts","functionName":"getRules","argumentNames":["this"]} +tileworld_Project_getRules__P4985.info = {"start":3175,"length":40,"line":109,"column":8,"endLine":109,"endColumn":48,"fileName":"project.ts","functionName":"getRules","argumentNames":["this"]} -function tileworld_Project_getRules__P303137_mk(s) { +function tileworld_Project_getRules__P4985_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getRules__P303137, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getRules__P4985, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -58204,7 +58156,7 @@ function tileworld_Project_getRules__P303137_mk(s) { -function settings_writeString__P298071(s) { +function settings_writeString__P579(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58219,7 +58171,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; @@ -58230,13 +58182,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeString__P298071.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__P298071.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__P579.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__P579.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__P298071_mk(s) { +function settings_writeString__P579_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P298071, depth: s.depth + 1, + parent: s, fn: settings_writeString__P579, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -58247,7 +58199,7 @@ function settings_writeString__P298071_mk(s) { -function tileworld_emptyProject__P304424(s) { +function tileworld_emptyProject__P6272(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58257,88 +58209,88 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.fixed___304426 = undefined; - s.movable___304428 = undefined; - s.f___304430 = undefined; - s.f___304454 = undefined; - s.rules___304472 = undefined; - s.dir___304474 = undefined; - s.p___304485 = undefined; - s.world___304493 = undefined; - s.sprites___304498 = undefined; + s.fixed___6274 = undefined; + s.movable___6276 = undefined; + s.f___6278 = undefined; + s.f___6302 = undefined; + s.rules___6320 = undefined; + s.dir___6322 = undefined; + s.p___6333 = undefined; + s.world___6341 = undefined; + s.sprites___6346 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.fixed___304426 = (r0); + s.fixed___6274 = (r0); r0 = pxsim_Array__mk(); - s.movable___304428 = (r0); - s.f___304430 = (0); + s.movable___6276 = (r0); + s.f___6278 = (0); case 1: - r0 = (s.f___304430 < 4); + r0 = (s.f___6278 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.fixed___304426; - r0 = pxsim_Array__getAt(globals.galleryTiles___304441, s.f___304430); + s.tmp_1 = r0 = s.fixed___6274; + r0 = pxsim_Array__getAt(globals.galleryTiles___6289, s.f___6278); s.tmp_3 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_3); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.f___304430 + 1); - s.f___304430 = (r0); + r0 = (s.f___6278 + 1); + s.f___6278 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = r0 = s.movable___304428; - r0 = pxsim_ImageMethods.clone(globals.player___304422); + s.tmp_0 = r0 = s.movable___6276; + r0 = pxsim_ImageMethods.clone(globals.player___6270); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.f___304454 = (0); + s.f___6302 = (0); case 3: - r0 = (s.f___304454 < 3); + r0 = (s.f___6302 < 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = r0 = s.movable___304428; - r0 = pxsim_Array__getAt(globals.gallerySprites___304465, s.f___304454); + s.tmp_1 = r0 = s.movable___6276; + r0 = pxsim_Array__getAt(globals.gallerySprites___6313, s.f___6302); s.tmp_3 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_3); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.f___304454 + 1); - s.f___304454 = (r0); + r0 = (s.f___6302 + 1); + s.f___6302 = (r0); { step = 3; continue; } case 4: r0 = pxsim_Array__mk(); - s.rules___304472 = (r0); - s.dir___304474 = (0); + s.rules___6320 = (r0); + s.dir___6322 = (0); case 5: - r0 = (s.dir___304474 < 4); + r0 = (s.dir___6322 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_1 = r0 = s.rules___304472; - s.tmp_3 = tileworld_makePushRule__P304390_mk(s); - s.tmp_3.arg0 = s.dir___304474; + s.tmp_1 = r0 = s.rules___6320; + s.tmp_3 = tileworld_makePushRule__P6238_mk(s); + s.tmp_3.arg0 = s.dir___6322; s.pc = 7; return s.tmp_3; case 7: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.dir___304474 + 1); - s.dir___304474 = (r0); + r0 = (s.dir___6322 + 1); + s.dir___6322 = (r0); { step = 5; continue; } case 6: - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Project__C303119_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Project__C4967_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_Project_constructor__P303157_mk(s); + s.tmp_1 = tileworld_Project_constructor__P5005_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.fixed___304426; - s.tmp_1.arg3 = s.movable___304428; - s.tmp_2 = tileworld_makeIds__P302350_mk(s); - s.tmp_2.arg0 = s.rules___304472; + s.tmp_1.arg2 = s.fixed___6274; + s.tmp_1.arg3 = s.movable___6276; + s.tmp_2 = tileworld_makeIds__P4194_mk(s); + s.tmp_2.arg0 = s.rules___6320; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; @@ -58346,11 +58298,11 @@ switch (step) { s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.p___304485 = (s.tmp_0); + s.p___6333 = (s.tmp_0); r0 = pxsim.image.create(32, 24); - s.world___304493 = (r0); - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = s.world___304493; + s.world___6341 = (r0); + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = s.world___6341; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 1; s.tmp_0.arg3 = 30; @@ -58360,53 +58312,53 @@ switch (step) { case 10: r0 = s.retval; r0 = pxsim.image.create(32, 24); - s.sprites___304498 = (r0); - r0 = pxsim_ImageMethods.fill(s.sprites___304498, 15); - r0 = pxsim_ImageMethods.setPixel(s.sprites___304498, 5, 5, 4); - s.tmp_0 = tileworld_Project_setWorld__P303122_mk(s); - s.tmp_0.arg0 = s.p___304485; - s.tmp_0.arg1 = s.world___304493; + s.sprites___6346 = (r0); + r0 = pxsim_ImageMethods.fill(s.sprites___6346, 15); + r0 = pxsim_ImageMethods.setPixel(s.sprites___6346, 5, 5, 4); + s.tmp_0 = tileworld_Project_setWorld__P4970_mk(s); + s.tmp_0.arg0 = s.p___6333; + s.tmp_0.arg1 = s.world___6341; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = tileworld_Project_setSprites__P303124_mk(s); - s.tmp_0.arg0 = s.p___304485; - s.tmp_0.arg1 = s.sprites___304498; + s.tmp_0 = tileworld_Project_setSprites__P4972_mk(s); + s.tmp_0.arg0 = s.p___6333; + s.tmp_0.arg1 = s.sprites___6346; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = tileworld_Project_setPlayer__P303120_mk(s); - s.tmp_0.arg0 = s.p___304485; + s.tmp_0 = tileworld_Project_setPlayer__P4968_mk(s); + s.tmp_0.arg0 = s.p___6333; s.tmp_0.arg1 = 4; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - r0 = (s.p___304485).fields["version"] = (globals.projectVersion___303118); - r0 = s.p___304485; + r0 = (s.p___6333).fields["version"] = (globals.projectVersion___4966); + r0 = s.p___6333; return leave(s, r0) default: oops() } } } -tileworld_emptyProject__P304424.info = {"start":13591,"length":866,"line":386,"column":4,"endLine":409,"endColumn":5,"fileName":"project.ts","functionName":"emptyProject","argumentNames":["prefix"]} -tileworld_emptyProject__P304424.info = {"start":13591,"length":866,"line":386,"column":4,"endLine":409,"endColumn":5,"fileName":"project.ts","functionName":"emptyProject","argumentNames":["prefix"]} +tileworld_emptyProject__P6272.info = {"start":13591,"length":866,"line":386,"column":4,"endLine":409,"endColumn":5,"fileName":"project.ts","functionName":"emptyProject","argumentNames":["prefix"]} +tileworld_emptyProject__P6272.info = {"start":13591,"length":866,"line":386,"column":4,"endLine":409,"endColumn":5,"fileName":"project.ts","functionName":"emptyProject","argumentNames":["prefix"]} -function tileworld_emptyProject__P304424_mk(s) { +function tileworld_emptyProject__P6272_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_emptyProject__P304424, depth: s.depth + 1, + parent: s, fn: tileworld_emptyProject__P6272, 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, - fixed___304426: undefined, - movable___304428: undefined, - f___304430: undefined, - f___304454: undefined, - rules___304472: undefined, - dir___304474: undefined, - p___304485: undefined, - world___304493: undefined, - sprites___304498: undefined, + fixed___6274: undefined, + movable___6276: undefined, + f___6278: undefined, + f___6302: undefined, + rules___6320: undefined, + dir___6322: undefined, + p___6333: undefined, + world___6341: undefined, + sprites___6346: undefined, arg0: undefined, } } @@ -58414,7 +58366,7 @@ function tileworld_emptyProject__P304424_mk(s) { -function tileworld_makePushRule__P304390(s) { +function tileworld_makePushRule__P6238(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58428,16 +58380,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(Rule__C302328_VT); + r0 = pxsim_pxtcore_mkClassInstance(Rule__C4172_VT); s.tmp_0 = r0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_1, 4); - r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C302321_VT); + r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C4165_VT); s.tmp_2 = r0; - s.tmp_3 = WhenDo_constructor__P302322_mk(s); + s.tmp_3 = WhenDo_constructor__P4166_mk(s); s.tmp_3.arg0 = s.tmp_2; - s.tmp_5 = tileworld_moveXdelta__P302362_mk(s); + s.tmp_5 = tileworld_moveXdelta__P4206_mk(s); s.tmp_5.arg0 = s.arg0; s.pc = 2; return s.tmp_5; case 2: @@ -58445,7 +58397,7 @@ switch (step) { s.tmp_4 = r0; r0 = (2 + s.tmp_4); s.tmp_3.arg1 = r0; - s.tmp_7 = tileworld_moveYdelta__P302374_mk(s); + s.tmp_7 = tileworld_moveYdelta__P4218_mk(s); s.tmp_7.arg0 = s.arg0; s.pc = 3; return s.tmp_7; case 3: @@ -58453,7 +58405,7 @@ switch (step) { s.tmp_6 = r0; r0 = (2 + s.tmp_6); s.tmp_3.arg2 = r0; - s.tmp_3.arg3 = globals.wall___304384; + s.tmp_3.arg3 = globals.wall___6232; r0 = pxsim_Array__mk(); s.tmp_3.arg4 = r0; s.pc = 1; return s.tmp_3; @@ -58462,11 +58414,11 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_8 = r0; r0 = pxsim_Array__push(s.tmp_8, s.tmp_2); - r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C302321_VT); + r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C4165_VT); s.tmp_9 = r0; - r0 = pxsim_pxtcore_mkClassInstance(Command__C302316_VT); + r0 = pxsim_pxtcore_mkClassInstance(Command__C4160_VT); s.tmp_10 = r0; - s.tmp_11 = Command_constructor__P302317_mk(s); + s.tmp_11 = Command_constructor__P4161_mk(s); s.tmp_11.arg0 = s.tmp_10; s.tmp_11.arg1 = 0; s.tmp_11.arg2 = s.arg0; @@ -58476,7 +58428,7 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_12 = r0; r0 = pxsim_Array__push(s.tmp_12, s.tmp_10); - s.tmp_13 = WhenDo_constructor__P302322_mk(s); + s.tmp_13 = WhenDo_constructor__P4166_mk(s); s.tmp_13.arg0 = s.tmp_9; s.tmp_13.arg1 = 2; s.tmp_13.arg2 = 2; @@ -58487,7 +58439,7 @@ switch (step) { case 5: r0 = s.retval; r0 = pxsim_Array__push(s.tmp_8, s.tmp_9); - s.tmp_14 = Rule_constructor__P302329_mk(s); + s.tmp_14 = Rule_constructor__P4173_mk(s); s.tmp_14.arg0 = s.tmp_0; s.tmp_14.arg1 = s.tmp_1; s.tmp_14.arg2 = 2; @@ -58500,13 +58452,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_makePushRule__P304390.info = {"start":12681,"length":232,"line":362,"column":4,"endLine":365,"endColumn":5,"fileName":"project.ts","functionName":"makePushRule","argumentNames":["dir"]} -tileworld_makePushRule__P304390.info = {"start":12681,"length":232,"line":362,"column":4,"endLine":365,"endColumn":5,"fileName":"project.ts","functionName":"makePushRule","argumentNames":["dir"]} +tileworld_makePushRule__P6238.info = {"start":12681,"length":232,"line":362,"column":4,"endLine":365,"endColumn":5,"fileName":"project.ts","functionName":"makePushRule","argumentNames":["dir"]} +tileworld_makePushRule__P6238.info = {"start":12681,"length":232,"line":362,"column":4,"endLine":365,"endColumn":5,"fileName":"project.ts","functionName":"makePushRule","argumentNames":["dir"]} -function tileworld_makePushRule__P304390_mk(s) { +function tileworld_makePushRule__P6238_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_makePushRule__P304390, depth: s.depth + 1, + parent: s, fn: tileworld_makePushRule__P6238, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58530,7 +58482,7 @@ function tileworld_makePushRule__P304390_mk(s) { -function tileworld_LoadScreen_update__P311548(s) { +function tileworld_LoadScreen_update__P13733(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58540,110 +58492,110 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.col___311729 = undefined; - s.row___311733 = undefined; - s.i___311745 = undefined; - s.i___311765 = undefined; + s.col___13914 = undefined; + s.row___13918 = undefined; + s.i___13930 = undefined; + s.i___13950 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_LoadScreen__C311544_VT)) failedCast(r0); - s.col___311729 = (0); + if (!checkSubtype(r0, tileworld_LoadScreen__C13729_VT)) failedCast(r0); + s.col___13914 = (0); case 1: - r0 = (s.col___311729 < 10); + r0 = (s.col___13914 < 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.row___311733 = (0); + s.row___13918 = (0); case 2: - r0 = (s.row___311733 < 7); + r0 = (s.row___13918 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.col___311729; - s.tmp_1.arg2 = s.row___311733; - s.tmp_1.arg3 = globals.emptyTile___304538; + s.tmp_1.arg1 = s.col___13914; + s.tmp_1.arg2 = s.row___13918; + s.tmp_1.arg3 = globals.emptyTile___6386; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = (s.row___311733 + 1); - s.row___311733 = (r0); + r0 = (s.row___13918 + 1); + s.row___13918 = (r0); { step = 2; continue; } case 3: - r0 = (s.col___311729 + 1); - s.col___311729 = (r0); + r0 = (s.col___13914 + 1); + s.col___13914 = (r0); { step = 1; continue; } case 4: - s.i___311745 = (0); + s.i___13930 = (0); case 5: - r0 = (s.i___311745 < 10); + r0 = (s.i___13930 < 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.i___311745; + s.tmp_1.arg1 = s.i___13930; s.tmp_1.arg2 = 0; - s.tmp_1.arg3 = globals.genericSprite___304553; + s.tmp_1.arg3 = globals.genericSprite___6401; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.i___311745; + s.tmp_0.arg1 = s.i___13930; s.tmp_0.arg2 = 6; - s.tmp_0.arg3 = globals.genericSprite___304553; + s.tmp_0.arg3 = globals.genericSprite___6401; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - r0 = (s.i___311745 > 6); + r0 = (s.i___13930 > 6); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } { step = 8; continue; } case 6: case 7: - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.i___311745; - s.tmp_1.arg3 = globals.genericSprite___304553; + s.tmp_1.arg2 = s.i___13930; + s.tmp_1.arg3 = globals.genericSprite___6401; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 9; - s.tmp_0.arg2 = s.i___311745; - s.tmp_0.arg3 = globals.genericSprite___304553; + s.tmp_0.arg2 = s.i___13930; + s.tmp_0.arg3 = globals.genericSprite___6401; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; case 8: - r0 = (s.i___311745 + 1); - s.i___311745 = (r0); + r0 = (s.i___13930 + 1); + s.i___13930 = (r0); { step = 5; continue; } case 9: - s.i___311765 = (0); + s.i___13950 = (0); case 10: - r0 = (s.i___311765 < 4); + r0 = (s.i___13950 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_fillTile__P306472_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_fillTile__P8657_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.i___311765; + s.tmp_1.arg1 = s.i___13950; s.tmp_1.arg2 = 0; s.tmp_1.arg3 = 12; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; - r0 = (s.i___311765 + 1); - s.i___311765 = (r0); + r0 = (s.i___13950 + 1); + s.i___13950 = (r0); { step = 10; continue; } case 11: r0 = s.arg0.fields["lastDir"]; @@ -58652,18 +58604,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - r0 = globals.downButton___304574; + r0 = globals.downButton___6422; { step = 13; continue; } case 12: - s.tmp_2 = tileworld_greyImage__P302087_mk(s); - s.tmp_2.arg0 = globals.downButton___304574; + s.tmp_2 = tileworld_greyImage__P3931_mk(s); + s.tmp_2.arg0 = globals.downButton___6422; s.pc = 26; return s.tmp_2; case 26: r0 = s.retval; case 13: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 1; s.tmp_4.arg2 = 6; @@ -58677,18 +58629,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = globals.upButton___304580; + r0 = globals.upButton___6428; { step = 15; continue; } case 14: - s.tmp_2 = tileworld_greyImage__P302087_mk(s); - s.tmp_2.arg0 = globals.upButton___304580; + s.tmp_2 = tileworld_greyImage__P3931_mk(s); + s.tmp_2.arg0 = globals.upButton___6428; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; case 15: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 1; s.tmp_4.arg2 = 4; @@ -58702,18 +58654,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = globals.leftButton___304592; + r0 = globals.leftButton___6440; { step = 17; continue; } case 16: - s.tmp_2 = tileworld_greyImage__P302087_mk(s); - s.tmp_2.arg0 = globals.leftButton___304592; + s.tmp_2 = tileworld_greyImage__P3931_mk(s); + s.tmp_2.arg0 = globals.leftButton___6440; s.pc = 30; return s.tmp_2; case 30: r0 = s.retval; case 17: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 0; s.tmp_4.arg2 = 5; @@ -58727,18 +58679,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - r0 = globals.rightButton___304586; + r0 = globals.rightButton___6434; { step = 19; continue; } case 18: - s.tmp_2 = tileworld_greyImage__P302087_mk(s); - s.tmp_2.arg0 = globals.rightButton___304586; + s.tmp_2 = tileworld_greyImage__P3931_mk(s); + s.tmp_2.arg0 = globals.rightButton___6434; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; case 19: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 2; s.tmp_4.arg2 = 5; @@ -58746,8 +58698,8 @@ switch (step) { s.pc = 33; return s.tmp_4; case 33: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = "TileWorld"; s.tmp_0.arg2 = 6; s.tmp_0.arg3 = 10; @@ -58757,7 +58709,7 @@ switch (step) { s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P306472_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P8657_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 2; @@ -58765,7 +58717,7 @@ switch (step) { s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P306472_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P8657_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 2; @@ -58773,8 +58725,8 @@ switch (step) { s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = "Load"; r0 = (32 + 4); s.tmp_0.arg2 = r0; @@ -58788,7 +58740,7 @@ switch (step) { s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P306472_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P8657_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 3; @@ -58796,7 +58748,7 @@ switch (step) { s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P306472_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P8657_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 3; @@ -58804,8 +58756,8 @@ switch (step) { s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = "Game"; r0 = (32 + 4); s.tmp_0.arg2 = r0; @@ -58819,7 +58771,7 @@ switch (step) { s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.tmp_0 = tileworld_LoadScreen_makeIt__P311547_mk(s); + s.tmp_0 = tileworld_LoadScreen_makeIt__P13732_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; s.tmp_0.arg2 = 2; @@ -58827,7 +58779,7 @@ switch (step) { s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.tmp_0 = tileworld_LoadScreen_makeIt__P311547_mk(s); + s.tmp_0 = tileworld_LoadScreen_makeIt__P13732_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; s.tmp_0.arg2 = 2; @@ -58835,7 +58787,7 @@ switch (step) { s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; - s.tmp_0 = tileworld_LoadScreen_makeIt__P311547_mk(s); + s.tmp_0 = tileworld_LoadScreen_makeIt__P13732_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; s.tmp_0.arg2 = 4; @@ -58843,7 +58795,7 @@ switch (step) { s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.tmp_0 = tileworld_LoadScreen_makeIt__P311547_mk(s); + s.tmp_0 = tileworld_LoadScreen_makeIt__P13732_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; s.tmp_0.arg2 = 4; @@ -58851,11 +58803,11 @@ switch (step) { s.pc = 44; return s.tmp_0; case 44: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 9; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.settingsIcon___304616; + s.tmp_0.arg3 = globals.settingsIcon___6464; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; @@ -58863,23 +58815,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_LoadScreen_update__P311548.info = {"start":2101,"length":1693,"line":47,"column":8,"endLine":84,"endColumn":9,"fileName":"loadScreen.ts","functionName":"update","argumentNames":["this"]} -tileworld_LoadScreen_update__P311548.info = {"start":2101,"length":1693,"line":47,"column":8,"endLine":84,"endColumn":9,"fileName":"loadScreen.ts","functionName":"update","argumentNames":["this"]} +tileworld_LoadScreen_update__P13733.info = {"start":2101,"length":1693,"line":47,"column":8,"endLine":84,"endColumn":9,"fileName":"loadScreen.ts","functionName":"update","argumentNames":["this"]} +tileworld_LoadScreen_update__P13733.info = {"start":2101,"length":1693,"line":47,"column":8,"endLine":84,"endColumn":9,"fileName":"loadScreen.ts","functionName":"update","argumentNames":["this"]} -function tileworld_LoadScreen_update__P311548_mk(s) { +function tileworld_LoadScreen_update__P13733_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_LoadScreen_update__P311548, depth: s.depth + 1, + parent: s, fn: tileworld_LoadScreen_update__P13733, 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, - col___311729: undefined, - row___311733: undefined, - i___311745: undefined, - i___311765: undefined, + col___13914: undefined, + row___13918: undefined, + i___13930: undefined, + i___13950: undefined, arg0: undefined, } } @@ -58887,7 +58839,7 @@ function tileworld_LoadScreen_update__P311548_mk(s) { -function tileworld_LoadScreen_makeIt__P311547(s) { +function tileworld_LoadScreen_makeIt__P13732(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58897,8 +58849,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.prefix___311670 = undefined; - s.projectAvailable___311680 = undefined; + s.prefix___13855 = undefined; + s.projectAvailable___13865 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -58907,7 +58859,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_LoadScreen__C311544_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_LoadScreen__C13729_VT)) failedCast(r0); if ((s.arg3) && (s.arg3).vtable) { setupResume(s, 9); pxsim_String__stringConv(s.arg3); @@ -58929,9 +58881,9 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "-"); - s.prefix___311670 = (r0); - s.tmp_2 = settings_list__P298078_mk(s); - s.tmp_2.arg0 = s.prefix___311670; + s.prefix___13855 = (r0); + s.tmp_2 = settings_list__P586_mk(s); + s.tmp_2.arg0 = s.prefix___13855; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; @@ -58939,17 +58891,17 @@ switch (step) { r0 = pxsim_Array__length(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 > 0); - s.projectAvailable___311680 = (r0); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.projectAvailable___13865 = (r0); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 - 1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; - s.tmp_0.arg3 = globals.diskIcon___304613; + s.tmp_0.arg3 = globals.diskIcon___6461; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 13; return s.tmp_2; @@ -58963,7 +58915,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; s.pc = 14; return s.tmp_4; @@ -58981,7 +58933,7 @@ switch (step) { r0 = s.tmp_6; { step = 4; continue; } case 3: - s.tmp_8 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_8.arg0 = s.arg0; s.tmp_8.arg1 = true; s.pc = 15; return s.tmp_8; @@ -58997,7 +58949,7 @@ switch (step) { r0 = 7; { step = 8; continue; } case 5: - r0 = pxsim_numops_toBoolDecr(s.projectAvailable___311680); + r0 = pxsim_numops_toBoolDecr(s.projectAvailable___13865); if (!r0) { step = 6; continue; } r0 = 11; { step = 7; continue; } @@ -59010,7 +58962,7 @@ switch (step) { case 8: // jmp value (already in r0) s.tmp_11 = r0; - s.tmp_12 = tileworld_RuleVisualsBase_fillTile__P306472_mk(s); + s.tmp_12 = tileworld_RuleVisualsBase_fillTile__P8657_mk(s); s.tmp_12.arg0 = s.arg0; s.tmp_12.arg1 = s.arg1; s.tmp_12.arg2 = s.arg2; @@ -59018,8 +58970,8 @@ switch (step) { s.pc = 16; return s.tmp_12; case 16: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = s.arg3; r0 = (s.arg1 << 4); s.tmp_1 = r0; @@ -59041,13 +58993,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_LoadScreen_makeIt__P311547.info = {"start":1629,"length":460,"line":38,"column":8,"endLine":45,"endColumn":9,"fileName":"loadScreen.ts","functionName":"makeIt","argumentNames":["this","col","row","id"]} -tileworld_LoadScreen_makeIt__P311547.info = {"start":1629,"length":460,"line":38,"column":8,"endLine":45,"endColumn":9,"fileName":"loadScreen.ts","functionName":"makeIt","argumentNames":["this","col","row","id"]} +tileworld_LoadScreen_makeIt__P13732.info = {"start":1629,"length":460,"line":38,"column":8,"endLine":45,"endColumn":9,"fileName":"loadScreen.ts","functionName":"makeIt","argumentNames":["this","col","row","id"]} +tileworld_LoadScreen_makeIt__P13732.info = {"start":1629,"length":460,"line":38,"column":8,"endLine":45,"endColumn":9,"fileName":"loadScreen.ts","functionName":"makeIt","argumentNames":["this","col","row","id"]} -function tileworld_LoadScreen_makeIt__P311547_mk(s) { +function tileworld_LoadScreen_makeIt__P13732_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_LoadScreen_makeIt__P311547, depth: s.depth + 1, + parent: s, fn: tileworld_LoadScreen_makeIt__P13732, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59062,8 +59014,8 @@ function tileworld_LoadScreen_makeIt__P311547_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - prefix___311670: undefined, - projectAvailable___311680: undefined, + prefix___13855: undefined, + projectAvailable___13865: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -59074,7 +59026,7 @@ function tileworld_LoadScreen_makeIt__P311547_mk(s) { -function tileworld_loadProject__P303879(s) { +function tileworld_loadProject__P5727(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59084,42 +59036,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.names___303882 = undefined; - s.version___303905 = undefined; - s.buf___303913 = undefined; - s.world___303921 = undefined; - s.sprites___303943 = undefined; - s.fixedImages___303957 = undefined; - s.fixed___303971 = undefined; - s.i___303979 = undefined; - s.key___303984 = undefined; - s.buf___303996 = undefined; - s.img___304000 = undefined; - s.movableImages___304027 = undefined; - s.movable___304041 = undefined; - s.i___304049 = undefined; - s.key___304054 = undefined; - s.buf___304066 = undefined; - s.img___304070 = undefined; - s.help___304096 = undefined; - s.helpNum___304109 = undefined; - s.ruleName___304119 = undefined; - s.ruleids___304125 = undefined; - s.rules___304147 = undefined; - s.player___304175 = undefined; - s.p___304185 = undefined; + s.names___5730 = undefined; + s.version___5753 = undefined; + s.buf___5761 = undefined; + s.world___5769 = undefined; + s.sprites___5791 = undefined; + s.fixedImages___5805 = undefined; + s.fixed___5819 = undefined; + s.i___5827 = undefined; + s.key___5832 = undefined; + s.buf___5844 = undefined; + s.img___5848 = undefined; + s.movableImages___5875 = undefined; + s.movable___5889 = undefined; + s.i___5897 = undefined; + s.key___5902 = undefined; + s.buf___5914 = undefined; + s.img___5918 = undefined; + s.help___5944 = undefined; + s.helpNum___5957 = undefined; + s.ruleName___5967 = undefined; + s.ruleids___5973 = undefined; + s.rules___5995 = undefined; + s.player___6023 = undefined; + s.p___6033 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_list__P298078_mk(s); + s.tmp_0 = settings_list__P586_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 44; return s.tmp_0; case 44: r0 = s.retval; - s.names___303882 = (r0); - r0 = pxsim_Array__length(s.names___303882); + s.names___5730 = (r0); + r0 = pxsim_Array__length(s.names___5730); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -59131,8 +59083,8 @@ switch (step) { case 2: r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 3; continue; } - s.tmp_2 = console_log__P297810_mk(s); - s.tmp_7 = helpers_stringSlice__P297638_mk(s); + s.tmp_2 = console_log__P239_mk(s); + s.tmp_7 = helpers_stringSlice__P67_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = 0; s.tmp_7.arg2 = -1; @@ -59167,7 +59119,7 @@ switch (step) { r0 = s.retval; case 3: case 4: - s.tmp_0 = tileworld_settingsReadString__P303842_mk(s); + s.tmp_0 = tileworld_settingsReadString__P5690_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 50); pxsim_String__stringConv(s.arg0); @@ -59183,8 +59135,8 @@ switch (step) { s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; - s.version___303905 = (r0); - s.tmp_0 = tileworld_settingsReadBuffer__P303868_mk(s); + s.version___5753 = (r0); + s.tmp_0 = tileworld_settingsReadBuffer__P5716_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 52); pxsim_String__stringConv(s.arg0); @@ -59200,14 +59152,14 @@ switch (step) { s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; - s.buf___303913 = (r0); - s.tmp_0 = r0 = s.buf___303913; + s.buf___5761 = (r0); + s.tmp_0 = r0 = s.buf___5761; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } r0 = s.tmp_0; { step = 6; continue; } case 5: - r0 = pxsim.BufferMethods.length(s.buf___303913); + r0 = pxsim.BufferMethods.length(s.buf___5761); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); case 6: @@ -59215,8 +59167,8 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 7; continue; } - s.tmp_3 = tileworld_bufferToImage__P302248_mk(s); - s.tmp_3.arg0 = s.buf___303913; + s.tmp_3 = tileworld_bufferToImage__P4092_mk(s); + s.tmp_3.arg0 = s.buf___5761; s.pc = 53; return s.tmp_3; case 53: r0 = s.retval; @@ -59226,18 +59178,18 @@ switch (step) { case 8: // jmp value (already in r0) s.tmp_4 = r0; - s.world___303921 = (s.tmp_4); - r0 = pxsim_numops_toBoolDecr(s.world___303921); + s.world___5769 = (s.tmp_4); + r0 = pxsim_numops_toBoolDecr(s.world___5769); if (!r0) { step = 9; continue; } - r0 = s.world___303921; + r0 = s.world___5769; { step = 10; continue; } case 9: r0 = pxsim.image.create(32, 24); case 10: // jmp value (already in r0) s.tmp_0 = r0; - s.world___303921 = (s.tmp_0); - s.tmp_0 = tileworld_settingsReadBuffer__P303868_mk(s); + s.world___5769 = (s.tmp_0); + s.tmp_0 = tileworld_settingsReadBuffer__P5716_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 55); pxsim_String__stringConv(s.arg0); @@ -59253,14 +59205,14 @@ switch (step) { s.pc = 54; return s.tmp_0; case 54: r0 = s.retval; - s.buf___303913 = (r0); - s.tmp_0 = r0 = s.buf___303913; + s.buf___5761 = (r0); + s.tmp_0 = r0 = s.buf___5761; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } r0 = s.tmp_0; { step = 12; continue; } case 11: - r0 = pxsim.BufferMethods.length(s.buf___303913); + r0 = pxsim.BufferMethods.length(s.buf___5761); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); case 12: @@ -59268,8 +59220,8 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 13; continue; } - s.tmp_3 = tileworld_bufferToImage__P302248_mk(s); - s.tmp_3.arg0 = s.buf___303913; + s.tmp_3 = tileworld_bufferToImage__P4092_mk(s); + s.tmp_3.arg0 = s.buf___5761; s.pc = 56; return s.tmp_3; case 56: r0 = s.retval; @@ -59279,20 +59231,20 @@ switch (step) { case 14: // jmp value (already in r0) s.tmp_4 = r0; - s.sprites___303943 = (s.tmp_4); - r0 = pxsim_numops_toBoolDecr(s.sprites___303943); + s.sprites___5791 = (s.tmp_4); + r0 = pxsim_numops_toBoolDecr(s.sprites___5791); if (!r0) { step = 15; continue; } - r0 = s.sprites___303943; + r0 = s.sprites___5791; { step = 16; continue; } case 15: r0 = pxsim.image.create(32, 24); case 16: // jmp value (already in r0) s.tmp_0 = r0; - s.sprites___303943 = (s.tmp_0); + s.sprites___5791 = (s.tmp_0); r0 = pxsim_Array__mk(); - s.fixedImages___303957 = (r0); - s.tmp_2 = r0 = s.names___303882; + s.fixedImages___5805 = (r0); + s.tmp_2 = r0 = s.names___5730; if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 57); pxsim_String__stringConv(s.arg0); @@ -59310,7 +59262,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } - s.tmp_5 = tileworld_settingsReadNumber__P303814_mk(s); + s.tmp_5 = tileworld_settingsReadNumber__P5662_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 59); pxsim_String__stringConv(s.arg0); @@ -59326,10 +59278,10 @@ switch (step) { s.pc = 58; return s.tmp_5; case 58: r0 = s.retval; - s.fixed___303971 = (r0); - s.i___303979 = (0); + s.fixed___5819 = (r0); + s.i___5827 = (0); case 17: - r0 = (s.i___303979 < s.fixed___303971); + r0 = (s.i___5827 < s.fixed___5819); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } @@ -59353,7 +59305,7 @@ switch (step) { case 61: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_numops.toString(s.i___303979); + r0 = pxsim_numops.toString(s.i___5827); s.tmp_5 = r0; if ((s.tmp_5) && (s.tmp_5).vtable) { setupResume(s, 62); @@ -59365,21 +59317,21 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_4); - s.key___303984 = (r0); - s.tmp_0 = tileworld_settingsReadBuffer__P303868_mk(s); - s.tmp_0.arg0 = s.key___303984; + s.key___5832 = (r0); + s.tmp_0 = tileworld_settingsReadBuffer__P5716_mk(s); + s.tmp_0.arg0 = s.key___5832; s.tmp_0.arg1 = s.arg1; s.pc = 63; return s.tmp_0; case 63: r0 = s.retval; - s.buf___303996 = (r0); - s.tmp_0 = r0 = s.buf___303996; + s.buf___5844 = (r0); + s.tmp_0 = r0 = s.buf___5844; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 18; continue; } r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = pxsim.BufferMethods.length(s.buf___303996); + r0 = pxsim.BufferMethods.length(s.buf___5844); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); case 19: @@ -59387,8 +59339,8 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 20; continue; } - s.tmp_3 = tileworld_bufferToImage__P302248_mk(s); - s.tmp_3.arg0 = s.buf___303996; + s.tmp_3 = tileworld_bufferToImage__P4092_mk(s); + s.tmp_3.arg0 = s.buf___5844; s.pc = 64; return s.tmp_3; case 64: r0 = s.retval; @@ -59398,31 +59350,31 @@ switch (step) { case 21: // jmp value (already in r0) s.tmp_4 = r0; - s.img___304000 = (s.tmp_4); - r0 = pxsim_numops_toBoolDecr(s.img___304000); + s.img___5848 = (s.tmp_4); + r0 = pxsim_numops_toBoolDecr(s.img___5848); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } r0 = pxsim.image.create(16, 16); - s.img___304000 = (r0); - s.tmp_0 = r0 = s.img___304000; - r0 = (1 + s.i___303979); + s.img___5848 = (r0); + s.tmp_0 = r0 = s.img___5848; + r0 = (1 + s.i___5827); s.tmp_1 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, s.tmp_1); case 22: case 23: - r0 = pxsim_Array__push(s.fixedImages___303957, s.img___304000); - r0 = (s.i___303979 + 1); - s.i___303979 = (r0); + r0 = pxsim_Array__push(s.fixedImages___5805, s.img___5848); + r0 = (s.i___5827 + 1); + s.i___5827 = (r0); { step = 17; continue; } case 24: case 25: case 26: r0 = pxsim_Array__mk(); - s.movableImages___304027 = (r0); - s.tmp_2 = r0 = s.names___303882; + s.movableImages___5875 = (r0); + s.tmp_2 = r0 = s.names___5730; if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 65); pxsim_String__stringConv(s.arg0); @@ -59440,7 +59392,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - s.tmp_5 = tileworld_settingsReadNumber__P303814_mk(s); + s.tmp_5 = tileworld_settingsReadNumber__P5662_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 67); pxsim_String__stringConv(s.arg0); @@ -59456,10 +59408,10 @@ switch (step) { s.pc = 66; return s.tmp_5; case 66: r0 = s.retval; - s.movable___304041 = (r0); - s.i___304049 = (0); + s.movable___5889 = (r0); + s.i___5897 = (0); case 27: - r0 = (s.i___304049 < s.movable___304041); + r0 = (s.i___5897 < s.movable___5889); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 34; continue; } @@ -59483,7 +59435,7 @@ switch (step) { case 69: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_numops.toString(s.i___304049); + r0 = pxsim_numops.toString(s.i___5897); s.tmp_5 = r0; if ((s.tmp_5) && (s.tmp_5).vtable) { setupResume(s, 70); @@ -59495,21 +59447,21 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_4); - s.key___304054 = (r0); - s.tmp_0 = tileworld_settingsReadBuffer__P303868_mk(s); - s.tmp_0.arg0 = s.key___304054; + s.key___5902 = (r0); + s.tmp_0 = tileworld_settingsReadBuffer__P5716_mk(s); + s.tmp_0.arg0 = s.key___5902; s.tmp_0.arg1 = s.arg1; s.pc = 71; return s.tmp_0; case 71: r0 = s.retval; - s.buf___304066 = (r0); - s.tmp_0 = r0 = s.buf___304066; + s.buf___5914 = (r0); + s.tmp_0 = r0 = s.buf___5914; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 28; continue; } r0 = s.tmp_0; { step = 29; continue; } case 28: - r0 = pxsim.BufferMethods.length(s.buf___304066); + r0 = pxsim.BufferMethods.length(s.buf___5914); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); case 29: @@ -59517,8 +59469,8 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 30; continue; } - s.tmp_3 = tileworld_bufferToImage__P302248_mk(s); - s.tmp_3.arg0 = s.buf___304066; + s.tmp_3 = tileworld_bufferToImage__P4092_mk(s); + s.tmp_3.arg0 = s.buf___5914; s.pc = 72; return s.tmp_3; case 72: r0 = s.retval; @@ -59528,30 +59480,30 @@ switch (step) { case 31: // jmp value (already in r0) s.tmp_4 = r0; - s.img___304070 = (s.tmp_4); - r0 = pxsim_numops_toBoolDecr(s.img___304070); + s.img___5918 = (s.tmp_4); + r0 = pxsim_numops_toBoolDecr(s.img___5918); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } r0 = pxsim.image.create(16, 16); - s.img___304070 = (r0); - s.tmp_0 = r0 = s.img___304070; - r0 = (1 + s.i___304049); + s.img___5918 = (r0); + s.tmp_0 = r0 = s.img___5918; + r0 = (1 + s.i___5897); s.tmp_1 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, s.tmp_1); case 32: case 33: - r0 = pxsim_Array__push(s.movableImages___304027, s.img___304070); - r0 = (s.i___304049 + 1); - s.i___304049 = (r0); + r0 = pxsim_Array__push(s.movableImages___5875, s.img___5918); + r0 = (s.i___5897 + 1); + s.i___5897 = (r0); { step = 27; continue; } case 34: case 35: case 36: - s.help___304096 = (false); - s.tmp_2 = r0 = s.names___303882; + s.help___5944 = (false); + s.tmp_2 = r0 = s.names___5730; if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 73); pxsim_String__stringConv(s.arg0); @@ -59569,7 +59521,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 39; continue; } - s.tmp_5 = tileworld_settingsReadNumber__P303814_mk(s); + s.tmp_5 = tileworld_settingsReadNumber__P5662_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 75); pxsim_String__stringConv(s.arg0); @@ -59585,8 +59537,8 @@ switch (step) { s.pc = 74; return s.tmp_5; case 74: r0 = s.retval; - s.helpNum___304109 = (r0); - r0 = pxsim_numops_toBoolDecr(s.helpNum___304109); + s.helpNum___5957 = (r0); + r0 = pxsim_numops_toBoolDecr(s.helpNum___5957); if (!r0) { step = 37; continue; } r0 = true; { step = 38; continue; } @@ -59595,7 +59547,7 @@ switch (step) { case 38: // jmp value (already in r0) s.tmp_0 = r0; - s.help___304096 = (s.tmp_0); + s.help___5944 = (s.tmp_0); case 39: case 40: if ((s.arg0) && (s.arg0).vtable) { @@ -59608,16 +59560,16 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "RL"); - s.ruleName___304119 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P304129); + s.ruleName___5967 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P5977); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.ruleName___304119); - r0 = pxsim_pxtcore_mkAction(1, inline__P304137); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.ruleName___5967); + r0 = pxsim_pxtcore_mkAction(1, inline__P5985); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.ruleName___304119); - s.tmp_2 = helpers_arrayMap__P297627_mk(s); - s.tmp_3 = helpers_arrayFilter__P297631_mk(s); - s.tmp_3.arg0 = s.names___303882; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.ruleName___5967); + s.tmp_2 = helpers_arrayMap__P56_mk(s); + s.tmp_3 = helpers_arrayFilter__P60_mk(s); + s.tmp_3.arg0 = s.names___5730; s.tmp_3.arg1 = s.tmp_0; s.pc = 78; return s.tmp_3; case 78: @@ -59627,21 +59579,21 @@ switch (step) { s.pc = 77; return s.tmp_2; case 77: r0 = s.retval; - s.ruleids___304125 = (r0); + s.ruleids___5973 = (r0); r0 = pxsim_Array__mk(); - s.rules___304147 = (r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P304151); + s.rules___5995 = (r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P5999); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.ruleName___304119); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.ruleName___5967); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.rules___304147); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); - s.tmp_1.arg0 = s.ruleids___304125; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.rules___5995); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); + s.tmp_1.arg0 = s.ruleids___5973; s.tmp_1.arg1 = s.tmp_0; s.pc = 79; return s.tmp_1; case 79: r0 = s.retval; - s.tmp_0 = tileworld_settingsReadNumber__P303814_mk(s); + s.tmp_0 = tileworld_settingsReadNumber__P5662_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 81); pxsim_String__stringConv(s.arg0); @@ -59657,60 +59609,60 @@ switch (step) { s.pc = 80; return s.tmp_0; case 80: r0 = s.retval; - s.player___304175 = (r0); + s.player___6023 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 41; continue; } - s.tmp_0 = console_log__P297810_mk(s); + s.tmp_0 = console_log__P239_mk(s); s.tmp_0.arg0 = "}"; s.pc = 82; return s.tmp_0; case 82: r0 = s.retval; case 41: case 42: - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Project__C303119_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Project__C4967_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_Project_constructor__P303157_mk(s); + s.tmp_1 = tileworld_Project_constructor__P5005_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.fixedImages___303957; - s.tmp_1.arg3 = s.movableImages___304027; - s.tmp_1.arg4 = s.rules___304147; + s.tmp_1.arg2 = s.fixedImages___5805; + s.tmp_1.arg3 = s.movableImages___5875; + s.tmp_1.arg4 = s.rules___5995; s.pc = 83; return s.tmp_1; case 83: r0 = s.retval; - s.p___304185 = (s.tmp_0); - s.tmp_0 = tileworld_Project_setWorld__P303122_mk(s); - s.tmp_0.arg0 = s.p___304185; - s.tmp_0.arg1 = s.world___303921; + s.p___6033 = (s.tmp_0); + s.tmp_0 = tileworld_Project_setWorld__P4970_mk(s); + s.tmp_0.arg0 = s.p___6033; + s.tmp_0.arg1 = s.world___5769; s.pc = 84; return s.tmp_0; case 84: r0 = s.retval; - s.tmp_0 = tileworld_Project_setSprites__P303124_mk(s); - s.tmp_0.arg0 = s.p___304185; - s.tmp_0.arg1 = s.sprites___303943; + s.tmp_0 = tileworld_Project_setSprites__P4972_mk(s); + s.tmp_0.arg0 = s.p___6033; + s.tmp_0.arg1 = s.sprites___5791; s.pc = 85; return s.tmp_0; case 85: r0 = s.retval; - s.tmp_0 = tileworld_Project_setPlayer__P303120_mk(s); - s.tmp_0.arg0 = s.p___304185; - s.tmp_0.arg1 = s.player___304175; + s.tmp_0 = tileworld_Project_setPlayer__P4968_mk(s); + s.tmp_0.arg0 = s.p___6033; + s.tmp_0.arg1 = s.player___6023; s.pc = 86; return s.tmp_0; case 86: r0 = s.retval; - r0 = (s.p___304185).fields["help"] = (s.help___304096); - r0 = (s.p___304185).fields["version"] = (s.version___303905); - r0 = s.p___304185; + r0 = (s.p___6033).fields["help"] = (s.help___5944); + r0 = (s.p___6033).fields["version"] = (s.version___5753); + r0 = s.p___6033; case 43: return leave(s, r0) default: oops() } } } -tileworld_loadProject__P303879.info = {"start":8141,"length":2842,"line":255,"column":4,"endLine":316,"endColumn":5,"fileName":"project.ts","functionName":"loadProject","argumentNames":["prefix","output"]} -tileworld_loadProject__P303879.info = {"start":8141,"length":2842,"line":255,"column":4,"endLine":316,"endColumn":5,"fileName":"project.ts","functionName":"loadProject","argumentNames":["prefix","output"]} +tileworld_loadProject__P5727.info = {"start":8141,"length":2842,"line":255,"column":4,"endLine":316,"endColumn":5,"fileName":"project.ts","functionName":"loadProject","argumentNames":["prefix","output"]} +tileworld_loadProject__P5727.info = {"start":8141,"length":2842,"line":255,"column":4,"endLine":316,"endColumn":5,"fileName":"project.ts","functionName":"loadProject","argumentNames":["prefix","output"]} -function tileworld_loadProject__P303879_mk(s) { +function tileworld_loadProject__P5727_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_loadProject__P303879, depth: s.depth + 1, + parent: s, fn: tileworld_loadProject__P5727, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59720,30 +59672,30 @@ function tileworld_loadProject__P303879_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - names___303882: undefined, - version___303905: undefined, - buf___303913: undefined, - world___303921: undefined, - sprites___303943: undefined, - fixedImages___303957: undefined, - fixed___303971: undefined, - i___303979: undefined, - key___303984: undefined, - buf___303996: undefined, - img___304000: undefined, - movableImages___304027: undefined, - movable___304041: undefined, - i___304049: undefined, - key___304054: undefined, - buf___304066: undefined, - img___304070: undefined, - help___304096: undefined, - helpNum___304109: undefined, - ruleName___304119: undefined, - ruleids___304125: undefined, - rules___304147: undefined, - player___304175: undefined, - p___304185: undefined, + names___5730: undefined, + version___5753: undefined, + buf___5761: undefined, + world___5769: undefined, + sprites___5791: undefined, + fixedImages___5805: undefined, + fixed___5819: undefined, + i___5827: undefined, + key___5832: undefined, + buf___5844: undefined, + img___5848: undefined, + movableImages___5875: undefined, + movable___5889: undefined, + i___5897: undefined, + key___5902: undefined, + buf___5914: undefined, + img___5918: undefined, + help___5944: undefined, + helpNum___5957: undefined, + ruleName___5967: undefined, + ruleids___5973: undefined, + rules___5995: undefined, + player___6023: undefined, + p___6033: undefined, arg0: undefined, arg1: undefined, } } @@ -59752,7 +59704,7 @@ function tileworld_loadProject__P303879_mk(s) { -function inline__P304129(s) { +function inline__P5977(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59772,13 +59724,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P304129.info = {"start":10299,"length":29,"line":299,"column":35,"endLine":299,"endColumn":64,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} -inline__P304129.info = {"start":10299,"length":29,"line":299,"column":35,"endLine":299,"endColumn":64,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} +inline__P5977.info = {"start":10299,"length":29,"line":299,"column":35,"endLine":299,"endColumn":64,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} +inline__P5977.info = {"start":10299,"length":29,"line":299,"column":35,"endLine":299,"endColumn":64,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} -function inline__P304129_mk(s) { +function inline__P5977_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P304129, depth: s.depth + 1, + parent: s, fn: inline__P5977, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -59788,7 +59740,7 @@ function inline__P304129_mk(s) { -function inline__P304137(s) { +function inline__P5985(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59813,13 +59765,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P304137.info = {"start":10334,"length":42,"line":299,"column":70,"endLine":299,"endColumn":112,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} -inline__P304137.info = {"start":10334,"length":42,"line":299,"column":70,"endLine":299,"endColumn":112,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} +inline__P5985.info = {"start":10334,"length":42,"line":299,"column":70,"endLine":299,"endColumn":112,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} +inline__P5985.info = {"start":10334,"length":42,"line":299,"column":70,"endLine":299,"endColumn":112,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} -function inline__P304137_mk(s) { +function inline__P5985_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P304137, depth: s.depth + 1, + parent: s, fn: inline__P5985, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59832,7 +59784,7 @@ function inline__P304137_mk(s) { -function inline__P304151(s) { +function inline__P5999(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59842,9 +59794,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.key___304153 = undefined; - s.buf___304161 = undefined; - s.rule___304165 = undefined; + s.key___6001 = undefined; + s.buf___6009 = undefined; + s.rule___6013 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -59870,26 +59822,26 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.key___304153 = (r0); - s.tmp_0 = tileworld_settingsReadBuffer__P303868_mk(s); - s.tmp_0.arg0 = s.key___304153; + s.key___6001 = (r0); + s.tmp_0 = tileworld_settingsReadBuffer__P5716_mk(s); + s.tmp_0.arg0 = s.key___6001; s.tmp_0.arg1 = s.caps[1]; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.buf___304161 = (r0); - s.tmp_0 = tileworld_unPackRule__P302958_mk(s); - s.tmp_0.arg0 = s.buf___304161; + s.buf___6009 = (r0); + s.tmp_0 = tileworld_unPackRule__P4806_mk(s); + s.tmp_0.arg0 = s.buf___6009; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.rule___304165 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(IdRule__C302335_VT); + s.rule___6013 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(IdRule__C4179_VT); s.tmp_0 = r0; - s.tmp_1 = IdRule_constructor__P302336_mk(s); + s.tmp_1 = IdRule_constructor__P4180_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.rule___304165; + s.tmp_1.arg2 = s.rule___6013; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; @@ -59898,20 +59850,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P304151.info = {"start":10437,"length":207,"line":301,"column":24,"endLine":306,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["rid"]} -inline__P304151.info = {"start":10437,"length":207,"line":301,"column":24,"endLine":306,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["rid"]} +inline__P5999.info = {"start":10437,"length":207,"line":301,"column":24,"endLine":306,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["rid"]} +inline__P5999.info = {"start":10437,"length":207,"line":301,"column":24,"endLine":306,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["rid"]} -function inline__P304151_mk(s) { +function inline__P5999_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P304151, depth: s.depth + 1, + parent: s, fn: inline__P5999, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - key___304153: undefined, - buf___304161: undefined, - rule___304165: undefined, + key___6001: undefined, + buf___6009: undefined, + rule___6013: undefined, arg0: undefined, } } @@ -59919,7 +59871,7 @@ function inline__P304151_mk(s) { -function tileworld_unPackRule__P302958(s) { +function tileworld_unPackRule__P4806(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59929,180 +59881,180 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.kinds___302963 = undefined; - s.i___302965 = undefined; - s.kind___302969 = undefined; - s.rt___302979 = undefined; - s.dir___302981 = undefined; - s.rule___302983 = undefined; - s.whenDoLen___302990 = undefined; - s.hasCommands___302992 = undefined; - s.i___302994 = undefined; - s.firstMove___302999 = undefined; - s.secondMove___303001 = undefined; - s.col___303003 = undefined; - s.row___303004 = undefined; - s.whenDo___303057 = undefined; - s.a___303064 = undefined; - s.attr___303068 = undefined; - s.cmdLen___303077 = undefined; + s.kinds___4811 = undefined; + s.i___4813 = undefined; + s.kind___4817 = undefined; + s.rt___4827 = undefined; + s.dir___4829 = undefined; + s.rule___4831 = undefined; + s.whenDoLen___4838 = undefined; + s.hasCommands___4840 = undefined; + s.i___4842 = undefined; + s.firstMove___4847 = undefined; + s.secondMove___4849 = undefined; + s.col___4851 = undefined; + s.row___4852 = undefined; + s.whenDo___4905 = undefined; + s.a___4912 = undefined; + s.attr___4916 = undefined; + s.cmdLen___4925 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.ruleBuf___302639 = (s.arg0); - globals.bitIndex___302641 = (0); + globals.ruleBuf___4483 = (s.arg0); + globals.bitIndex___4485 = (0); r0 = pxsim_Array__mk(); - s.kinds___302963 = (r0); - s.i___302965 = (0); + s.kinds___4811 = (r0); + s.i___4813 = (0); case 1: - r0 = (s.i___302965 < 4); + r0 = (s.i___4813 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = tileworld_readBuf__P302737_mk(s); + s.tmp_1 = tileworld_readBuf__P4585_mk(s); s.tmp_1.arg0 = 4; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; - s.kind___302969 = (r0); - r0 = (s.kind___302969 != 15); + s.kind___4817 = (r0); + r0 = (s.kind___4817 != 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__push(s.kinds___302963, s.kind___302969); + r0 = pxsim_Array__push(s.kinds___4811, s.kind___4817); case 2: case 3: - r0 = (s.i___302965 + 1); - s.i___302965 = (r0); + r0 = (s.i___4813 + 1); + s.i___4813 = (r0); { step = 1; continue; } case 4: - s.tmp_0 = tileworld_readBuf__P302737_mk(s); + s.tmp_0 = tileworld_readBuf__P4585_mk(s); s.tmp_0.arg0 = 4; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.rt___302979 = (r0); - s.tmp_0 = tileworld_readBuf__P302737_mk(s); + s.rt___4827 = (r0); + s.tmp_0 = tileworld_readBuf__P4585_mk(s); s.tmp_0.arg0 = 4; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.dir___302981 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Rule__C302328_VT); + s.dir___4829 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Rule__C4172_VT); s.tmp_0 = r0; - s.tmp_1 = Rule_constructor__P302329_mk(s); + s.tmp_1 = Rule_constructor__P4173_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.kinds___302963; - s.tmp_1.arg2 = s.rt___302979; - s.tmp_1.arg3 = s.dir___302981; + s.tmp_1.arg1 = s.kinds___4811; + s.tmp_1.arg2 = s.rt___4827; + s.tmp_1.arg3 = s.dir___4829; r0 = pxsim_Array__mk(); s.tmp_1.arg4 = r0; s.pc = 30; return s.tmp_1; case 30: r0 = s.retval; - s.rule___302983 = (s.tmp_0); - s.tmp_0 = tileworld_readBuf__P302737_mk(s); + s.rule___4831 = (s.tmp_0); + s.tmp_0 = tileworld_readBuf__P4585_mk(s); s.tmp_0.arg0 = 4; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.whenDoLen___302990 = (r0); + s.whenDoLen___4838 = (r0); r0 = pxsim_Array__mk(); - s.hasCommands___302992 = (r0); - s.i___302994 = (0); + s.hasCommands___4840 = (r0); + s.i___4842 = (0); case 5: - r0 = (s.i___302994 < s.whenDoLen___302990); + r0 = (s.i___4842 < s.whenDoLen___4838); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = tileworld_readBuf__P302737_mk(s); + s.tmp_1 = tileworld_readBuf__P4585_mk(s); s.tmp_1.arg0 = 2; s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; - s.firstMove___302999 = (r0); - s.tmp_0 = tileworld_readBuf__P302737_mk(s); + s.firstMove___4847 = (r0); + s.tmp_0 = tileworld_readBuf__P4585_mk(s); s.tmp_0.arg0 = 2; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.secondMove___303001 = (r0); - s.col___303003 = (2); - s.row___303004 = (2); - r0 = (s.firstMove___302999 == 0); + s.secondMove___4849 = (r0); + s.col___4851 = (2); + s.row___4852 = (2); + r0 = (s.firstMove___4847 == 0); 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.secondMove___303001 == 2); + r0 = (s.secondMove___4849 == 2); case 7: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.col___303003 = (1); + s.col___4851 = (1); { step = 21; continue; } case 8: - r0 = (s.firstMove___302999 == 1); + r0 = (s.firstMove___4847 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = (s.secondMove___303001 == 2); + r0 = (s.secondMove___4849 == 2); case 10: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 11; continue; } - s.row___303004 = (1); + s.row___4852 = (1); { step = 20; continue; } case 11: - r0 = (s.firstMove___302999 == 0); + r0 = (s.firstMove___4847 == 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: - r0 = (s.secondMove___303001 == 3); + r0 = (s.secondMove___4849 == 3); case 13: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 14; continue; } - s.row___303004 = (3); + s.row___4852 = (3); { step = 19; continue; } case 14: - r0 = (s.firstMove___302999 == 1); + r0 = (s.firstMove___4847 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 15; continue; } r0 = s.tmp_0; { step = 16; continue; } case 15: - r0 = (s.secondMove___303001 == 3); + r0 = (s.secondMove___4849 == 3); case 16: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 17; continue; } - s.col___303003 = (3); + s.col___4851 = (3); { step = 18; continue; } case 17: - s.tmp_0 = r0 = s.col___303003; - s.tmp_3 = tileworld_moveXdelta__P302362_mk(s); - s.tmp_3.arg0 = s.firstMove___302999; + s.tmp_0 = r0 = s.col___4851; + s.tmp_3 = tileworld_moveXdelta__P4206_mk(s); + s.tmp_3.arg0 = s.firstMove___4847; s.pc = 34; return s.tmp_3; case 34: r0 = s.retval; s.tmp_2 = r0; - s.tmp_5 = tileworld_moveXdelta__P302362_mk(s); - s.tmp_5.arg0 = s.secondMove___303001; + s.tmp_5 = tileworld_moveXdelta__P4206_mk(s); + s.tmp_5.arg0 = s.secondMove___4849; s.pc = 35; return s.tmp_5; case 35: r0 = s.retval; @@ -60110,16 +60062,16 @@ switch (step) { r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.col___303003 = (r0); - s.tmp_0 = r0 = s.row___303004; - s.tmp_3 = tileworld_moveYdelta__P302374_mk(s); - s.tmp_3.arg0 = s.firstMove___302999; + s.col___4851 = (r0); + s.tmp_0 = r0 = s.row___4852; + s.tmp_3 = tileworld_moveYdelta__P4218_mk(s); + s.tmp_3.arg0 = s.firstMove___4847; s.pc = 36; return s.tmp_3; case 36: r0 = s.retval; s.tmp_2 = r0; - s.tmp_5 = tileworld_moveYdelta__P302374_mk(s); - s.tmp_5.arg0 = s.secondMove___303001; + s.tmp_5 = tileworld_moveYdelta__P4218_mk(s); + s.tmp_5.arg0 = s.secondMove___4849; s.pc = 37; return s.tmp_5; case 37: r0 = s.retval; @@ -60127,17 +60079,17 @@ switch (step) { r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.row___303004 = (r0); + s.row___4852 = (r0); case 18: case 19: case 20: case 21: - r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C302321_VT); + r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C4165_VT); s.tmp_0 = r0; - s.tmp_1 = WhenDo_constructor__P302322_mk(s); + s.tmp_1 = WhenDo_constructor__P4166_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.col___303003; - s.tmp_1.arg2 = s.row___303004; + s.tmp_1.arg1 = s.col___4851; + s.tmp_1.arg2 = s.row___4852; r0 = pxsim_Array__mk(); s.tmp_1.arg3 = r0; r0 = pxsim_Array__mk(); @@ -60145,68 +60097,68 @@ switch (step) { s.pc = 38; return s.tmp_1; case 38: r0 = s.retval; - s.whenDo___303057 = (s.tmp_0); - s.a___303064 = (0); + s.whenDo___4905 = (s.tmp_0); + s.a___4912 = (0); case 22: - r0 = (s.a___303064 < 8); + r0 = (s.a___4912 < 8); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_1 = tileworld_readBuf__P302737_mk(s); + s.tmp_1 = tileworld_readBuf__P4585_mk(s); s.tmp_1.arg0 = 2; s.pc = 39; return s.tmp_1; case 39: r0 = s.retval; - s.attr___303068 = (r0); - r0 = s.whenDo___303057.fields["attrs"]; + s.attr___4916 = (r0); + r0 = s.whenDo___4905.fields["attrs"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.attr___303068); - r0 = (s.a___303064 + 1); - s.a___303064 = (r0); + r0 = pxsim_Array__push(s.tmp_0, s.attr___4916); + r0 = (s.a___4912 + 1); + s.a___4912 = (r0); { step = 22; continue; } case 23: - s.tmp_0 = tileworld_readBuf__P302737_mk(s); + s.tmp_0 = tileworld_readBuf__P4585_mk(s); s.tmp_0.arg0 = 4; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.cmdLen___303077 = (r0); - r0 = (s.cmdLen___303077 > 0); + s.cmdLen___4925 = (r0); + r0 = (s.cmdLen___4925 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - r0 = pxsim_Array__push(s.hasCommands___302992, s.whenDo___303057); + r0 = pxsim_Array__push(s.hasCommands___4840, s.whenDo___4905); case 24: case 25: - r0 = s.rule___302983.fields["whenDo"]; + r0 = s.rule___4831.fields["whenDo"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.whenDo___303057); - r0 = (s.i___302994 + 1); - s.i___302994 = (r0); + r0 = pxsim_Array__push(s.tmp_0, s.whenDo___4905); + r0 = (s.i___4842 + 1); + s.i___4842 = (r0); { step = 5; continue; } case 26: - s.tmp_0 = tileworld_readBuf__P302737_mk(s); + s.tmp_0 = tileworld_readBuf__P4585_mk(s); s.tmp_0.arg0 = 4; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.tmp_0 = helpers_arrayForEach__P297630_mk(s); - s.tmp_0.arg0 = s.hasCommands___302992; - s.tmp_0.arg1 = inline__P303095; + s.tmp_0 = helpers_arrayForEach__P59_mk(s); + s.tmp_0.arg0 = s.hasCommands___4840; + s.tmp_0.arg1 = inline__P4943; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; - r0 = s.rule___302983; + r0 = s.rule___4831; return leave(s, r0) default: oops() } } } -tileworld_unPackRule__P302958.info = {"start":10842,"length":1906,"line":297,"column":4,"endLine":347,"endColumn":5,"fileName":"rule.ts","functionName":"unPackRule","argumentNames":["buf"]} -tileworld_unPackRule__P302958.info = {"start":10842,"length":1906,"line":297,"column":4,"endLine":347,"endColumn":5,"fileName":"rule.ts","functionName":"unPackRule","argumentNames":["buf"]} +tileworld_unPackRule__P4806.info = {"start":10931,"length":1906,"line":299,"column":4,"endLine":349,"endColumn":5,"fileName":"rule.ts","functionName":"unPackRule","argumentNames":["buf"]} +tileworld_unPackRule__P4806.info = {"start":10931,"length":1906,"line":299,"column":4,"endLine":349,"endColumn":5,"fileName":"rule.ts","functionName":"unPackRule","argumentNames":["buf"]} -function tileworld_unPackRule__P302958_mk(s) { +function tileworld_unPackRule__P4806_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_unPackRule__P302958, depth: s.depth + 1, + parent: s, fn: tileworld_unPackRule__P4806, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60214,23 +60166,23 @@ function tileworld_unPackRule__P302958_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - kinds___302963: undefined, - i___302965: undefined, - kind___302969: undefined, - rt___302979: undefined, - dir___302981: undefined, - rule___302983: undefined, - whenDoLen___302990: undefined, - hasCommands___302992: undefined, - i___302994: undefined, - firstMove___302999: undefined, - secondMove___303001: undefined, - col___303003: undefined, - row___303004: undefined, - whenDo___303057: undefined, - a___303064: undefined, - attr___303068: undefined, - cmdLen___303077: undefined, + kinds___4811: undefined, + i___4813: undefined, + kind___4817: undefined, + rt___4827: undefined, + dir___4829: undefined, + rule___4831: undefined, + whenDoLen___4838: undefined, + hasCommands___4840: undefined, + i___4842: undefined, + firstMove___4847: undefined, + secondMove___4849: undefined, + col___4851: undefined, + row___4852: undefined, + whenDo___4905: undefined, + a___4912: undefined, + attr___4916: undefined, + cmdLen___4925: undefined, arg0: undefined, } } @@ -60238,7 +60190,7 @@ function tileworld_unPackRule__P302958_mk(s) { -function inline__P303095(s) { +function inline__P4943(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60248,41 +60200,41 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.i___303097 = undefined; - s.inst___303101 = undefined; - s.arg___303103 = undefined; + s.i___4945 = undefined; + s.inst___4949 = undefined; + s.arg___4951 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___303097 = (0); + s.i___4945 = (0); case 1: - r0 = (s.i___303097 < 4); + r0 = (s.i___4945 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = tileworld_readBuf__P302737_mk(s); + s.tmp_1 = tileworld_readBuf__P4585_mk(s); s.tmp_1.arg0 = 4; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.inst___303101 = (r0); - s.tmp_0 = tileworld_readBuf__P302737_mk(s); + s.inst___4949 = (r0); + s.tmp_0 = tileworld_readBuf__P4585_mk(s); s.tmp_0.arg0 = 4; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.arg___303103 = (r0); - r0 = (s.inst___303101 != 15); + s.arg___4951 = (r0); + r0 = (s.inst___4949 != 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = pxsim_pxtcore_mkClassInstance(Command__C302316_VT); + r0 = pxsim_pxtcore_mkClassInstance(Command__C4160_VT); s.tmp_1 = r0; - s.tmp_2 = Command_constructor__P302317_mk(s); + s.tmp_2 = Command_constructor__P4161_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = s.inst___303101; - s.tmp_2.arg2 = s.arg___303103; + s.tmp_2.arg1 = s.inst___4949; + s.tmp_2.arg2 = s.arg___4951; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -60291,29 +60243,29 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_3, s.tmp_1); case 2: case 3: - r0 = (s.i___303097 + 1); - s.i___303097 = (r0); + r0 = (s.i___4945 + 1); + s.i___4945 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P303095.info = {"start":12456,"length":264,"line":337,"column":28,"endLine":345,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} -inline__P303095.info = {"start":12456,"length":264,"line":337,"column":28,"endLine":345,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} +inline__P4943.info = {"start":12545,"length":264,"line":339,"column":28,"endLine":347,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} +inline__P4943.info = {"start":12545,"length":264,"line":339,"column":28,"endLine":347,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} -function inline__P303095_mk(s) { +function inline__P4943_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P303095, depth: s.depth + 1, + parent: s, fn: inline__P4943, 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___303097: undefined, - inst___303101: undefined, - arg___303103: undefined, + i___4945: undefined, + inst___4949: undefined, + arg___4951: undefined, arg0: undefined, } } @@ -60321,7 +60273,7 @@ function inline__P303095_mk(s) { -function tileworld_readBuf__P302737(s) { +function tileworld_readBuf__P4585(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60335,7 +60287,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_readWriteBuf__P302642_mk(s); + s.tmp_0 = tileworld_readWriteBuf__P4486_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = false; @@ -60345,13 +60297,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_readBuf__P302737.info = {"start":7611,"length":83,"line":218,"column":4,"endLine":220,"endColumn":5,"fileName":"rule.ts","functionName":"readBuf","argumentNames":["bits"]} -tileworld_readBuf__P302737.info = {"start":7611,"length":83,"line":218,"column":4,"endLine":220,"endColumn":5,"fileName":"rule.ts","functionName":"readBuf","argumentNames":["bits"]} +tileworld_readBuf__P4585.info = {"start":7700,"length":83,"line":220,"column":4,"endLine":222,"endColumn":5,"fileName":"rule.ts","functionName":"readBuf","argumentNames":["bits"]} +tileworld_readBuf__P4585.info = {"start":7700,"length":83,"line":220,"column":4,"endLine":222,"endColumn":5,"fileName":"rule.ts","functionName":"readBuf","argumentNames":["bits"]} -function tileworld_readBuf__P302737_mk(s) { +function tileworld_readBuf__P4585_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_readBuf__P302737, depth: s.depth + 1, + parent: s, fn: tileworld_readBuf__P4585, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -60361,7 +60313,7 @@ function tileworld_readBuf__P302737_mk(s) { -function tileworld_settingsReadNumber__P303814(s) { +function tileworld_settingsReadNumber__P5662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60371,21 +60323,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.val___303817 = undefined; + s.val___5665 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_readNumber__P298076_mk(s); + s.tmp_0 = settings_readNumber__P584_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.val___303817 = (r0); + s.val___5665 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } - s.tmp_0 = console_log__P297810_mk(s); + s.tmp_0 = console_log__P239_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 5); pxsim_String__stringConv(s.arg0); @@ -60417,7 +60369,7 @@ switch (step) { case 7: r0 = s.retval; s.tmp_3 = r0; - r0 = pxsim_numops.toString(s.val___303817); + r0 = pxsim_numops.toString(s.val___5665); s.tmp_9 = r0; if ((s.tmp_9) && (s.tmp_9).vtable) { setupResume(s, 8); @@ -60446,17 +60398,17 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = s.val___303817; + r0 = s.val___5665; return leave(s, r0) default: oops() } } } -tileworld_settingsReadNumber__P303814.info = {"start":7508,"length":219,"line":237,"column":4,"endLine":241,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadNumber","argumentNames":["key","output"]} -tileworld_settingsReadNumber__P303814.info = {"start":7508,"length":219,"line":237,"column":4,"endLine":241,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadNumber","argumentNames":["key","output"]} +tileworld_settingsReadNumber__P5662.info = {"start":7508,"length":219,"line":237,"column":4,"endLine":241,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadNumber","argumentNames":["key","output"]} +tileworld_settingsReadNumber__P5662.info = {"start":7508,"length":219,"line":237,"column":4,"endLine":241,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadNumber","argumentNames":["key","output"]} -function tileworld_settingsReadNumber__P303814_mk(s) { +function tileworld_settingsReadNumber__P5662_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_settingsReadNumber__P303814, depth: s.depth + 1, + parent: s, fn: tileworld_settingsReadNumber__P5662, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60468,7 +60420,7 @@ function tileworld_settingsReadNumber__P303814_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - val___303817: undefined, + val___5665: undefined, arg0: undefined, arg1: undefined, } } @@ -60477,7 +60429,7 @@ function tileworld_settingsReadNumber__P303814_mk(s) { -function tileworld_bufferToImage__P302248(s) { +function tileworld_bufferToImage__P4092(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60487,76 +60439,76 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.width___302250 = undefined; - s.height___302256 = undefined; - s.index___302261 = undefined; - s.img___302262 = undefined; - s.x___302267 = undefined; - s.y___302268 = undefined; - s.pair___302275 = undefined; - s.pixel___302282 = undefined; - s.len___302285 = undefined; + s.width___4094 = undefined; + s.height___4100 = undefined; + s.index___4105 = undefined; + s.img___4106 = undefined; + s.x___4111 = undefined; + s.y___4112 = undefined; + s.pair___4119 = undefined; + s.pixel___4126 = undefined; + s.len___4129 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.BufferMethods.getNumber(s.arg0, 1, 0); - s.width___302250 = (r0); + s.width___4094 = (r0); r0 = pxsim.BufferMethods.getNumber(s.arg0, 1, 1); - s.height___302256 = (r0); - s.index___302261 = (2); - r0 = pxsim.image.create(s.width___302250, s.height___302256); - s.img___302262 = (r0); - s.x___302267 = (0); - s.y___302268 = (0); - case 1: - s.tmp_1 = r0 = s.index___302261; + s.height___4100 = (r0); + s.index___4105 = (2); + r0 = pxsim.image.create(s.width___4094, s.height___4100); + s.img___4106 = (r0); + s.x___4111 = (0); + s.y___4112 = (0); + case 1: + s.tmp_1 = r0 = s.index___4105; r0 = pxsim.BufferMethods.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 = 6; continue; } - s.tmp_3 = r0 = s.index___302261; + s.tmp_3 = r0 = s.index___4105; r0 = (s.tmp_3 + 1); - s.index___302261 = (r0); + s.index___4105 = (r0); r0 = pxsim.BufferMethods.getUint8(s.arg0, s.tmp_3); - s.pair___302275 = (r0); - r0 = (s.pair___302275 & 15); - s.pixel___302282 = (r0); - r0 = (s.pair___302275 & 240); + s.pair___4119 = (r0); + r0 = (s.pair___4119 & 15); + s.pixel___4126 = (r0); + r0 = (s.pair___4119 & 240); s.tmp_0 = r0; r0 = (s.tmp_0 >> 4); - s.len___302285 = (r0); + s.len___4129 = (r0); case 2: - r0 = (s.len___302285 > 0); + r0 = (s.len___4129 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.setPixel(s.img___302262, s.x___302267, s.y___302268, s.pixel___302282); - s.tmp_1 = r0 = s.y___302268; - r0 = (s.height___302256 - 1); + r0 = pxsim_ImageMethods.setPixel(s.img___4106, s.x___4111, s.y___4112, s.pixel___4126); + s.tmp_1 = r0 = s.y___4112; + r0 = (s.height___4100 - 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 = 3; continue; } - r0 = (s.x___302267 + 1); - s.x___302267 = (r0); - s.y___302268 = (0); + r0 = (s.x___4111 + 1); + s.x___4111 = (r0); + s.y___4112 = (0); { step = 4; continue; } case 3: - r0 = (s.y___302268 + 1); - s.y___302268 = (r0); + r0 = (s.y___4112 + 1); + s.y___4112 = (r0); case 4: - r0 = (s.len___302285 - 1); - s.len___302285 = (r0); + r0 = (s.len___4129 - 1); + s.len___4129 = (r0); { step = 2; continue; } case 5: { step = 1; continue; } case 6: - s.tmp_0 = control_assert__P297769_mk(s); - s.tmp_1 = r0 = s.index___302261; + s.tmp_0 = control_assert__P198_mk(s); + s.tmp_1 = r0 = s.index___4105; r0 = pxsim.BufferMethods.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 == s.tmp_2); @@ -60565,31 +60517,31 @@ switch (step) { s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = s.img___302262; + r0 = s.img___4106; return leave(s, r0) default: oops() } } } -tileworld_bufferToImage__P302248.info = {"start":3056,"length":694,"line":90,"column":4,"endLine":109,"endColumn":5,"fileName":"utilities.ts","functionName":"bufferToImage","argumentNames":["buf"]} -tileworld_bufferToImage__P302248.info = {"start":3056,"length":694,"line":90,"column":4,"endLine":109,"endColumn":5,"fileName":"utilities.ts","functionName":"bufferToImage","argumentNames":["buf"]} +tileworld_bufferToImage__P4092.info = {"start":3056,"length":694,"line":90,"column":4,"endLine":109,"endColumn":5,"fileName":"utilities.ts","functionName":"bufferToImage","argumentNames":["buf"]} +tileworld_bufferToImage__P4092.info = {"start":3056,"length":694,"line":90,"column":4,"endLine":109,"endColumn":5,"fileName":"utilities.ts","functionName":"bufferToImage","argumentNames":["buf"]} -function tileworld_bufferToImage__P302248_mk(s) { +function tileworld_bufferToImage__P4092_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_bufferToImage__P302248, depth: s.depth + 1, + parent: s, fn: tileworld_bufferToImage__P4092, 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, - width___302250: undefined, - height___302256: undefined, - index___302261: undefined, - img___302262: undefined, - x___302267: undefined, - y___302268: undefined, - pair___302275: undefined, - pixel___302282: undefined, - len___302285: undefined, + width___4094: undefined, + height___4100: undefined, + index___4105: undefined, + img___4106: undefined, + x___4111: undefined, + y___4112: undefined, + pair___4119: undefined, + pixel___4126: undefined, + len___4129: undefined, arg0: undefined, } } @@ -60597,7 +60549,7 @@ function tileworld_bufferToImage__P302248_mk(s) { -function tileworld_settingsReadBuffer__P303868(s) { +function tileworld_settingsReadBuffer__P5716(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60607,38 +60559,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.buf___303871 = undefined; + s.buf___5719 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___303871 = (r0); + s.buf___5719 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } - s.tmp_0 = tileworld_outputKeyBuffer__P303745_mk(s); + s.tmp_0 = tileworld_outputKeyBuffer__P5593_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.buf___303871; + s.tmp_0.arg1 = s.buf___5719; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - r0 = s.buf___303871; + r0 = s.buf___5719; return leave(s, r0) default: oops() } } } -tileworld_settingsReadBuffer__P303868.info = {"start":7959,"length":176,"line":249,"column":4,"endLine":253,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadBuffer","argumentNames":["key","output"]} -tileworld_settingsReadBuffer__P303868.info = {"start":7959,"length":176,"line":249,"column":4,"endLine":253,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadBuffer","argumentNames":["key","output"]} +tileworld_settingsReadBuffer__P5716.info = {"start":7959,"length":176,"line":249,"column":4,"endLine":253,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadBuffer","argumentNames":["key","output"]} +tileworld_settingsReadBuffer__P5716.info = {"start":7959,"length":176,"line":249,"column":4,"endLine":253,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadBuffer","argumentNames":["key","output"]} -function tileworld_settingsReadBuffer__P303868_mk(s) { +function tileworld_settingsReadBuffer__P5716_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_settingsReadBuffer__P303868, depth: s.depth + 1, + parent: s, fn: tileworld_settingsReadBuffer__P5716, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - buf___303871: undefined, + buf___5719: undefined, arg0: undefined, arg1: undefined, } } @@ -60647,7 +60599,7 @@ function tileworld_settingsReadBuffer__P303868_mk(s) { -function tileworld_outputKeyBuffer__P303745(s) { +function tileworld_outputKeyBuffer__P5593(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60657,16 +60609,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.chunk___303767 = undefined; - s.str___303768 = undefined; - s.i___303769 = undefined; - s.byte___303775 = undefined; + s.chunk___5615 = undefined; + s.str___5616 = undefined; + s.i___5617 = undefined; + s.byte___5623 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = console_log__P297810_mk(s); + s.tmp_0 = console_log__P239_mk(s); r0 = pxsim.BufferMethods.length(s.arg1); s.tmp_3 = r0; r0 = pxsim_numops.toString(s.tmp_3); @@ -60685,7 +60637,7 @@ switch (step) { s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = console_log__P297810_mk(s); + s.tmp_0 = console_log__P239_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 8); pxsim_String__stringConv(s.arg0); @@ -60711,31 +60663,31 @@ switch (step) { s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.chunk___303767 = (40); + s.chunk___5615 = (40); r0 = pxsim_String_.mkEmpty(); - s.str___303768 = (r0); - s.i___303769 = (0); + s.str___5616 = (r0); + s.i___5617 = (0); case 1: - s.tmp_1 = r0 = s.i___303769; + s.tmp_1 = r0 = s.i___5617; r0 = pxsim.BufferMethods.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 = 4; continue; } - r0 = pxsim.BufferMethods.getUint8(s.arg1, s.i___303769); - s.byte___303775 = (r0); - if ((s.str___303768) && (s.str___303768).vtable) { + r0 = pxsim.BufferMethods.getUint8(s.arg1, s.i___5617); + s.byte___5623 = (r0); + if ((s.str___5616) && (s.str___5616).vtable) { setupResume(s, 10); - pxsim_String__stringConv(s.str___303768); + pxsim_String__stringConv(s.str___5616); checkResumeConsumed(); return; - } else { s.retval = (s.str___303768) + ""; } + } else { s.retval = (s.str___5616) + ""; } case 10: r0 = s.retval; s.tmp_0 = r0; - s.tmp_5 = r0 = globals.toHex___303743; - r0 = (s.byte___303775 & 240); + s.tmp_5 = r0 = globals.toHex___5591; + r0 = (s.byte___5623 & 240); s.tmp_7 = r0; r0 = (s.tmp_7 >> 4); s.tmp_6 = r0; @@ -60750,8 +60702,8 @@ switch (step) { case 11: r0 = s.retval; s.tmp_3 = r0; - s.tmp_10 = r0 = globals.toHex___303743; - r0 = (s.byte___303775 & 15); + s.tmp_10 = r0 = globals.toHex___5591; + r0 = (s.byte___5623 & 15); s.tmp_11 = r0; r0 = pxsim_String_.charAt(s.tmp_10, s.tmp_11); s.tmp_9 = r0; @@ -60776,34 +60728,34 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.str___303768 = (r0); - r0 = (s.chunk___303767 - 1); - s.chunk___303767 = (r0); - r0 = (s.chunk___303767 == 0); + s.str___5616 = (r0); + r0 = (s.chunk___5615 - 1); + s.chunk___5615 = (r0); + r0 = (s.chunk___5615 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = console_log__P297810_mk(s); - s.tmp_1.arg0 = s.str___303768; + s.tmp_1 = console_log__P239_mk(s); + s.tmp_1.arg0 = s.str___5616; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - s.chunk___303767 = (40); + s.chunk___5615 = (40); r0 = pxsim_String_.mkEmpty(); - s.str___303768 = (r0); + s.str___5616 = (r0); case 2: case 3: - r0 = (s.i___303769 + 1); - s.i___303769 = (r0); + r0 = (s.i___5617 + 1); + s.i___5617 = (r0); { step = 1; continue; } case 4: - s.tmp_0 = console_log__P297810_mk(s); - if ((s.str___303768) && (s.str___303768).vtable) { + s.tmp_0 = console_log__P239_mk(s); + if ((s.str___5616) && (s.str___5616).vtable) { setupResume(s, 16); - pxsim_String__stringConv(s.str___303768); + pxsim_String__stringConv(s.str___5616); checkResumeConsumed(); return; - } else { s.retval = (s.str___303768) + ""; } + } else { s.retval = (s.str___5616) + ""; } case 16: r0 = s.retval; s.tmp_1 = r0; @@ -60816,13 +60768,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_outputKeyBuffer__P303745.info = {"start":6946,"length":556,"line":222,"column":4,"endLine":235,"endColumn":5,"fileName":"project.ts","functionName":"outputKeyBuffer","argumentNames":["key","val"]} -tileworld_outputKeyBuffer__P303745.info = {"start":6946,"length":556,"line":222,"column":4,"endLine":235,"endColumn":5,"fileName":"project.ts","functionName":"outputKeyBuffer","argumentNames":["key","val"]} +tileworld_outputKeyBuffer__P5593.info = {"start":6946,"length":556,"line":222,"column":4,"endLine":235,"endColumn":5,"fileName":"project.ts","functionName":"outputKeyBuffer","argumentNames":["key","val"]} +tileworld_outputKeyBuffer__P5593.info = {"start":6946,"length":556,"line":222,"column":4,"endLine":235,"endColumn":5,"fileName":"project.ts","functionName":"outputKeyBuffer","argumentNames":["key","val"]} -function tileworld_outputKeyBuffer__P303745_mk(s) { +function tileworld_outputKeyBuffer__P5593_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_outputKeyBuffer__P303745, depth: s.depth + 1, + parent: s, fn: tileworld_outputKeyBuffer__P5593, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60836,10 +60788,10 @@ function tileworld_outputKeyBuffer__P303745_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - chunk___303767: undefined, - str___303768: undefined, - i___303769: undefined, - byte___303775: undefined, + chunk___5615: undefined, + str___5616: undefined, + i___5617: undefined, + byte___5623: undefined, arg0: undefined, arg1: undefined, } } @@ -60848,7 +60800,7 @@ function tileworld_outputKeyBuffer__P303745_mk(s) { -function tileworld_settingsReadString__P303842(s) { +function tileworld_settingsReadString__P5690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60858,21 +60810,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.val___303845 = undefined; + s.val___5693 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_readString__P298075_mk(s); + s.tmp_0 = settings_readString__P583_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.val___303845 = (r0); + s.val___5693 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } - s.tmp_0 = console_log__P297810_mk(s); + s.tmp_0 = console_log__P239_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 5); pxsim_String__stringConv(s.arg0); @@ -60904,12 +60856,12 @@ switch (step) { case 7: r0 = s.retval; s.tmp_3 = r0; - if ((s.val___303845) && (s.val___303845).vtable) { + if ((s.val___5693) && (s.val___5693).vtable) { setupResume(s, 8); - pxsim_String__stringConv(s.val___303845); + pxsim_String__stringConv(s.val___5693); checkResumeConsumed(); return; - } else { s.retval = (s.val___303845) + ""; } + } else { s.retval = (s.val___5693) + ""; } case 8: r0 = s.retval; s.tmp_8 = r0; @@ -60931,17 +60883,17 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = s.val___303845; + r0 = s.val___5693; return leave(s, r0) default: oops() } } } -tileworld_settingsReadString__P303842.info = {"start":7733,"length":220,"line":243,"column":4,"endLine":247,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadString","argumentNames":["key","output"]} -tileworld_settingsReadString__P303842.info = {"start":7733,"length":220,"line":243,"column":4,"endLine":247,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadString","argumentNames":["key","output"]} +tileworld_settingsReadString__P5690.info = {"start":7733,"length":220,"line":243,"column":4,"endLine":247,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadString","argumentNames":["key","output"]} +tileworld_settingsReadString__P5690.info = {"start":7733,"length":220,"line":243,"column":4,"endLine":247,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadString","argumentNames":["key","output"]} -function tileworld_settingsReadString__P303842_mk(s) { +function tileworld_settingsReadString__P5690_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_settingsReadString__P303842, depth: s.depth + 1, + parent: s, fn: tileworld_settingsReadString__P5690, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60952,7 +60904,7 @@ function tileworld_settingsReadString__P303842_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - val___303845: undefined, + val___5693: undefined, arg0: undefined, arg1: undefined, } } @@ -60961,7 +60913,7 @@ function tileworld_settingsReadString__P303842_mk(s) { -function settings_readString__P298075(s) { +function settings_readString__P583(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60971,14 +60923,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.buf___321648 = undefined; + s.buf___23831 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___321648 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___321648); + s.buf___23831 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___23831); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -60988,7 +60940,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___321648); + r0 = pxsim.BufferMethods.toString(s.buf___23831); { step = 3; continue; } case 2: r0 = undefined; @@ -60996,17 +60948,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readString__P298075.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__P298075.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__P583.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__P583.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__P298075_mk(s) { +function settings_readString__P583_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P298075, depth: s.depth + 1, + parent: s, fn: settings_readString__P583, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___321648: undefined, + buf___23831: undefined, arg0: undefined, } } @@ -61014,7 +60966,7 @@ function settings_readString__P298075_mk(s) { -function tileworld_RuleVisualsBase_row__P306468(s) { +function tileworld_RuleVisualsBase_row__P8653(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61030,10 +60982,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } - s.tmp_2 = Sprite_y__P298231_mk(s); + s.tmp_2 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_2.arg0 = r0; s.pc = 3; return s.tmp_2; @@ -61045,7 +60997,7 @@ switch (step) { r0 = (s.tmp_0 >> 4); { step = 2; continue; } case 1: - s.tmp_5 = Sprite_y__P298231_mk(s); + s.tmp_5 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_5.arg0 = r0; s.pc = 4; return s.tmp_5; @@ -61062,13 +61014,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_row__P306468.info = {"start":4245,"length":135,"line":108,"column":8,"endLine":110,"endColumn":9,"fileName":"rulesBase.ts","functionName":"row","argumentNames":["this","curr"]} -tileworld_RuleVisualsBase_row__P306468.info = {"start":4245,"length":135,"line":108,"column":8,"endLine":110,"endColumn":9,"fileName":"rulesBase.ts","functionName":"row","argumentNames":["this","curr"]} +tileworld_RuleVisualsBase_row__P8653.info = {"start":4245,"length":135,"line":108,"column":8,"endLine":110,"endColumn":9,"fileName":"rulesBase.ts","functionName":"row","argumentNames":["this","curr"]} +tileworld_RuleVisualsBase_row__P8653.info = {"start":4245,"length":135,"line":108,"column":8,"endLine":110,"endColumn":9,"fileName":"rulesBase.ts","functionName":"row","argumentNames":["this","curr"]} -function tileworld_RuleVisualsBase_row__P306468_mk(s) { +function tileworld_RuleVisualsBase_row__P8653_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_row__P306468, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_row__P8653, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61085,7 +61037,7 @@ function tileworld_RuleVisualsBase_row__P306468_mk(s) { -function tileworld_RuleVisualsBase_col__P306467(s) { +function tileworld_RuleVisualsBase_col__P8652(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61101,10 +61053,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } - s.tmp_1 = Sprite_x__P298229_mk(s); + s.tmp_1 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; s.pc = 3; return s.tmp_1; @@ -61114,7 +61066,7 @@ switch (step) { r0 = (s.tmp_0 >> 4); { step = 2; continue; } case 1: - s.tmp_3 = Sprite_x__P298229_mk(s); + s.tmp_3 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_3.arg0 = r0; s.pc = 4; return s.tmp_3; @@ -61129,13 +61081,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_col__P306467.info = {"start":4118,"length":117,"line":104,"column":8,"endLine":106,"endColumn":9,"fileName":"rulesBase.ts","functionName":"col","argumentNames":["this","curr"]} -tileworld_RuleVisualsBase_col__P306467.info = {"start":4118,"length":117,"line":104,"column":8,"endLine":106,"endColumn":9,"fileName":"rulesBase.ts","functionName":"col","argumentNames":["this","curr"]} +tileworld_RuleVisualsBase_col__P8652.info = {"start":4118,"length":117,"line":104,"column":8,"endLine":106,"endColumn":9,"fileName":"rulesBase.ts","functionName":"col","argumentNames":["this","curr"]} +tileworld_RuleVisualsBase_col__P8652.info = {"start":4118,"length":117,"line":104,"column":8,"endLine":106,"endColumn":9,"fileName":"rulesBase.ts","functionName":"col","argumentNames":["this","curr"]} -function tileworld_RuleVisualsBase_col__P306467_mk(s) { +function tileworld_RuleVisualsBase_col__P8652_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_col__P306467, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_col__P8652, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61150,7 +61102,7 @@ function tileworld_RuleVisualsBase_col__P306467_mk(s) { -function controller_Button_onEvent__P298158(s) { +function controller_Button_onEvent__P666(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61167,8 +61119,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C298153_VT)) failedCast(r0); - s.tmp_0 = control_onEvent__P297832_mk(s); + if (!checkSubtype(r0, controller_Button__C661_VT)) failedCast(r0); + s.tmp_0 = control_onEvent__P261_mk(s); s.tmp_0.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_0.arg1 = r0; @@ -61181,13 +61133,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_onEvent__P298158.info = {"start":3368,"length":124,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} -controller_Button_onEvent__P298158.info = {"start":3368,"length":124,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} +controller_Button_onEvent__P666.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__P666.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__P298158_mk(s) { +function controller_Button_onEvent__P666_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P298158, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P666, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -61199,7 +61151,7 @@ function controller_Button_onEvent__P298158_mk(s) { -function controller_setRepeatDefault__P298168(s) { +function controller_setRepeatDefault__P676(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61214,19 +61166,19 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - globals.defaultRepeatDelay___298148 = (s.arg0); - globals.defaultRepeatInterval___298150 = (s.arg1); + globals.defaultRepeatDelay___656 = (s.arg0); + globals.defaultRepeatInterval___658 = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_setRepeatDefault__P298168.info = {"start":6423,"length":151,"line":200,"column":4,"endLine":203,"endColumn":5,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"setRepeatDefault","argumentNames":["delay","interval"]} -controller_setRepeatDefault__P298168.info = {"start":6423,"length":151,"line":200,"column":4,"endLine":203,"endColumn":5,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"setRepeatDefault","argumentNames":["delay","interval"]} +controller_setRepeatDefault__P676.info = {"start":6423,"length":151,"line":200,"column":4,"endLine":203,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"setRepeatDefault","argumentNames":["delay","interval"]} +controller_setRepeatDefault__P676.info = {"start":6423,"length":151,"line":200,"column":4,"endLine":203,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"setRepeatDefault","argumentNames":["delay","interval"]} -function controller_setRepeatDefault__P298168_mk(s) { +function controller_setRepeatDefault__P676_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setRepeatDefault__P298168, depth: s.depth + 1, + parent: s, fn: controller_setRepeatDefault__P676, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -61236,7 +61188,7 @@ function controller_setRepeatDefault__P298168_mk(s) { -function tileworld_RuleVisualsBase_constructor__P306480(s) { +function tileworld_RuleVisualsBase_constructor__P8665(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61252,9 +61204,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); r0 = (s.arg0).fields["p"] = (s.arg1); - s.tmp_0 = tileworld_BackgroundBase_constructor__P306069_mk(s); + s.tmp_0 = tileworld_BackgroundBase_constructor__P8248_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: @@ -61274,45 +61226,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, 15); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P298222_mk(s); - s.tmp_2.arg0 = globals.cursorIn___304541; + s.tmp_2 = sprites_create__P730_mk(s); + s.tmp_2.arg0 = globals.cursorIn___6389; s.tmp_2.arg1 = undefined; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["cursor"] = (s.tmp_1); - s.tmp_0 = Sprite_x__P298230_mk(s); + s.tmp_0 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 24; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); + s.tmp_0 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 46; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_cursorAnimation__P302070_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3914_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.cursorOut___304544; + s.tmp_0.arg1 = globals.cursorOut___6392; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P298222_mk(s); - s.tmp_2.arg0 = globals.cursorIn___304541; + s.tmp_2 = sprites_create__P730_mk(s); + s.tmp_2.arg0 = globals.cursorIn___6389; s.tmp_2.arg1 = undefined; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["helpCursor"] = (s.tmp_1); - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + s.tmp_0 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; @@ -61321,15 +61273,15 @@ switch (step) { case 7: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P298222_mk(s); - s.tmp_2.arg0 = globals.cursorOut___304544; + s.tmp_2 = sprites_create__P730_mk(s); + s.tmp_2.arg0 = globals.cursorOut___6392; s.tmp_2.arg1 = undefined; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["tileSaved"] = (s.tmp_1); - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + s.tmp_0 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; @@ -61337,121 +61289,121 @@ switch (step) { s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P307428); + r0 = pxsim_pxtcore_mkAction(1, inline__P9613); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.left___298128; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.left___636; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P307434); + r0 = pxsim_pxtcore_mkAction(1, inline__P9619); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.left___298128; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.left___636; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P307440); + r0 = pxsim_pxtcore_mkAction(1, inline__P9625); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.left___298128; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.left___636; s.tmp_1.arg1 = 2048; s.tmp_1.arg2 = s.tmp_0; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P307449); + r0 = pxsim_pxtcore_mkAction(1, inline__P9634); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.right___298132; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.right___640; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P307455); + r0 = pxsim_pxtcore_mkAction(1, inline__P9640); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.right___298132; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.right___640; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P307461); + r0 = pxsim_pxtcore_mkAction(1, inline__P9646); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.right___298132; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.right___640; s.tmp_1.arg1 = 2048; s.tmp_1.arg2 = s.tmp_0; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P307470); + r0 = pxsim_pxtcore_mkAction(1, inline__P9655); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.up___298130; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.up___638; s.tmp_1.arg1 = 2049; 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__P307475); + r0 = pxsim_pxtcore_mkAction(1, inline__P9660); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.up___298130; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.up___638; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P307480); + r0 = pxsim_pxtcore_mkAction(1, inline__P9665); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.up___298130; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.up___638; s.tmp_1.arg1 = 2048; s.tmp_1.arg2 = s.tmp_0; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P307489); + r0 = pxsim_pxtcore_mkAction(1, inline__P9674); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.down___298134; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.down___642; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P307494); + r0 = pxsim_pxtcore_mkAction(1, inline__P9679); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.down___298134; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.down___642; s.tmp_1.arg1 = 2054; 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__P307499); + r0 = pxsim_pxtcore_mkAction(1, inline__P9684); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.down___298134; + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.down___642; s.tmp_1.arg1 = 2048; s.tmp_1.arg2 = s.tmp_0; s.pc = 21; return s.tmp_1; @@ -61461,13 +61413,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_constructor__P306480.info = {"start":650,"length":2272,"line":24,"column":8,"endLine":66,"endColumn":9,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["this","p"]} -tileworld_RuleVisualsBase_constructor__P306480.info = {"start":650,"length":2272,"line":24,"column":8,"endLine":66,"endColumn":9,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_RuleVisualsBase_constructor__P8665.info = {"start":650,"length":2272,"line":24,"column":8,"endLine":66,"endColumn":9,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_RuleVisualsBase_constructor__P8665.info = {"start":650,"length":2272,"line":24,"column":8,"endLine":66,"endColumn":9,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["this","p"]} -function tileworld_RuleVisualsBase_constructor__P306480_mk(s) { +function tileworld_RuleVisualsBase_constructor__P8665_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_constructor__P306480, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_constructor__P8665, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61480,7 +61432,7 @@ function tileworld_RuleVisualsBase_constructor__P306480_mk(s) { -function inline__P307428(s) { +function inline__P9613(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61490,7 +61442,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P306460_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P8645_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; s.pc = 1; return s.tmp_0; @@ -61500,13 +61452,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P307428.info = {"start":1393,"length":38,"line":42,"column":67,"endLine":42,"endColumn":105,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -inline__P307428.info = {"start":1393,"length":38,"line":42,"column":67,"endLine":42,"endColumn":105,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9613.info = {"start":1393,"length":38,"line":42,"column":67,"endLine":42,"endColumn":105,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9613.info = {"start":1393,"length":38,"line":42,"column":67,"endLine":42,"endColumn":105,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P307428_mk(s) { +function inline__P9613_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P307428, depth: s.depth + 1, + parent: s, fn: inline__P9613, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -61515,7 +61467,7 @@ function inline__P307428_mk(s) { -function inline__P307434(s) { +function inline__P9619(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61525,7 +61477,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P306460_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P8645_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; s.pc = 1; return s.tmp_0; @@ -61535,13 +61487,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P307434.info = {"start":1503,"length":38,"line":43,"column":68,"endLine":43,"endColumn":106,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -inline__P307434.info = {"start":1503,"length":38,"line":43,"column":68,"endLine":43,"endColumn":106,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9619.info = {"start":1503,"length":38,"line":43,"column":68,"endLine":43,"endColumn":106,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9619.info = {"start":1503,"length":38,"line":43,"column":68,"endLine":43,"endColumn":106,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P307434_mk(s) { +function inline__P9619_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P307434, depth: s.depth + 1, + parent: s, fn: inline__P9619, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -61550,7 +61502,7 @@ function inline__P307434_mk(s) { -function inline__P307440(s) { +function inline__P9625(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61560,9 +61512,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_3 = tileworld_RuleVisualsBase__C306458_v1_1_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase__C8643_v1_1_mk(s); s.tmp_3.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.okToMove; s.pc = 4; return s.tmp_3; case 4: @@ -61577,11 +61529,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_4 = tileworld_RuleVisualsBase__C306458_v2_3_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase__C8643_v2_3_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = 0; s.tmp_4.arg2 = false; - if (!checkSubtype(s.tmp_4.arg0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.cursorMove; s.pc = 5; return s.tmp_4; case 5: @@ -61591,13 +61543,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P307440.info = {"start":1612,"length":127,"line":44,"column":68,"endLine":47,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -inline__P307440.info = {"start":1612,"length":127,"line":44,"column":68,"endLine":47,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9625.info = {"start":1612,"length":127,"line":44,"column":68,"endLine":47,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9625.info = {"start":1612,"length":127,"line":44,"column":68,"endLine":47,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P307440_mk(s) { +function inline__P9625_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P307440, depth: s.depth + 1, + parent: s, fn: inline__P9625, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61610,7 +61562,7 @@ function inline__P307440_mk(s) { -function inline__P307449(s) { +function inline__P9634(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61620,7 +61572,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P306460_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P8645_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 1; s.pc = 1; return s.tmp_0; @@ -61630,13 +61582,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P307449.info = {"start":1810,"length":39,"line":48,"column":68,"endLine":48,"endColumn":107,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -inline__P307449.info = {"start":1810,"length":39,"line":48,"column":68,"endLine":48,"endColumn":107,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9634.info = {"start":1810,"length":39,"line":48,"column":68,"endLine":48,"endColumn":107,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9634.info = {"start":1810,"length":39,"line":48,"column":68,"endLine":48,"endColumn":107,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P307449_mk(s) { +function inline__P9634_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P307449, depth: s.depth + 1, + parent: s, fn: inline__P9634, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -61645,7 +61597,7 @@ function inline__P307449_mk(s) { -function inline__P307455(s) { +function inline__P9640(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61655,7 +61607,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P306460_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P8645_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 1; s.pc = 1; return s.tmp_0; @@ -61665,13 +61617,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P307455.info = {"start":1921,"length":39,"line":49,"column":69,"endLine":49,"endColumn":108,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -inline__P307455.info = {"start":1921,"length":39,"line":49,"column":69,"endLine":49,"endColumn":108,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9640.info = {"start":1921,"length":39,"line":49,"column":69,"endLine":49,"endColumn":108,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9640.info = {"start":1921,"length":39,"line":49,"column":69,"endLine":49,"endColumn":108,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P307455_mk(s) { +function inline__P9640_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P307455, depth: s.depth + 1, + parent: s, fn: inline__P9640, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -61680,7 +61632,7 @@ function inline__P307455_mk(s) { -function inline__P307461(s) { +function inline__P9646(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61690,9 +61642,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_3 = tileworld_RuleVisualsBase__C306458_v1_1_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase__C8643_v1_1_mk(s); s.tmp_3.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.okToMove; s.pc = 4; return s.tmp_3; case 4: @@ -61707,11 +61659,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_4 = tileworld_RuleVisualsBase__C306458_v2_3_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase__C8643_v2_3_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = 1; s.tmp_4.arg2 = false; - if (!checkSubtype(s.tmp_4.arg0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.cursorMove; s.pc = 5; return s.tmp_4; case 5: @@ -61721,13 +61673,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P307461.info = {"start":2032,"length":128,"line":50,"column":69,"endLine":53,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -inline__P307461.info = {"start":2032,"length":128,"line":50,"column":69,"endLine":53,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9646.info = {"start":2032,"length":128,"line":50,"column":69,"endLine":53,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9646.info = {"start":2032,"length":128,"line":50,"column":69,"endLine":53,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P307461_mk(s) { +function inline__P9646_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P307461, depth: s.depth + 1, + parent: s, fn: inline__P9646, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61740,7 +61692,7 @@ function inline__P307461_mk(s) { -function inline__P307470(s) { +function inline__P9655(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61750,7 +61702,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveUp__P306461_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveUp__P8646_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -61759,13 +61711,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P307470.info = {"start":2228,"length":19,"line":54,"column":65,"endLine":54,"endColumn":84,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -inline__P307470.info = {"start":2228,"length":19,"line":54,"column":65,"endLine":54,"endColumn":84,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9655.info = {"start":2228,"length":19,"line":54,"column":65,"endLine":54,"endColumn":84,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9655.info = {"start":2228,"length":19,"line":54,"column":65,"endLine":54,"endColumn":84,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P307470_mk(s) { +function inline__P9655_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P307470, depth: s.depth + 1, + parent: s, fn: inline__P9655, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -61774,7 +61726,7 @@ function inline__P307470_mk(s) { -function inline__P307475(s) { +function inline__P9660(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61784,7 +61736,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveUp__P306461_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveUp__P8646_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -61793,13 +61745,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P307475.info = {"start":2316,"length":19,"line":55,"column":66,"endLine":55,"endColumn":85,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -inline__P307475.info = {"start":2316,"length":19,"line":55,"column":66,"endLine":55,"endColumn":85,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9660.info = {"start":2316,"length":19,"line":55,"column":66,"endLine":55,"endColumn":85,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9660.info = {"start":2316,"length":19,"line":55,"column":66,"endLine":55,"endColumn":85,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P307475_mk(s) { +function inline__P9660_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P307475, depth: s.depth + 1, + parent: s, fn: inline__P9660, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -61808,7 +61760,7 @@ function inline__P307475_mk(s) { -function inline__P307480(s) { +function inline__P9665(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61818,9 +61770,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_3 = tileworld_RuleVisualsBase__C306458_v1_1_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase__C8643_v1_1_mk(s); s.tmp_3.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.okToMove; s.pc = 4; return s.tmp_3; case 4: @@ -61835,11 +61787,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_4 = tileworld_RuleVisualsBase__C306458_v2_3_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase__C8643_v2_3_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = 2; s.tmp_4.arg2 = false; - if (!checkSubtype(s.tmp_4.arg0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.cursorMove; s.pc = 5; return s.tmp_4; case 5: @@ -61849,13 +61801,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P307480.info = {"start":2404,"length":125,"line":56,"column":66,"endLine":59,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -inline__P307480.info = {"start":2404,"length":125,"line":56,"column":66,"endLine":59,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9665.info = {"start":2404,"length":125,"line":56,"column":66,"endLine":59,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9665.info = {"start":2404,"length":125,"line":56,"column":66,"endLine":59,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P307480_mk(s) { +function inline__P9665_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P307480, depth: s.depth + 1, + parent: s, fn: inline__P9665, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61868,7 +61820,7 @@ function inline__P307480_mk(s) { -function inline__P307489(s) { +function inline__P9674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61878,7 +61830,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveDown__P306462_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveDown__P8647_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -61887,13 +61839,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P307489.info = {"start":2599,"length":21,"line":60,"column":67,"endLine":60,"endColumn":88,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -inline__P307489.info = {"start":2599,"length":21,"line":60,"column":67,"endLine":60,"endColumn":88,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9674.info = {"start":2599,"length":21,"line":60,"column":67,"endLine":60,"endColumn":88,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9674.info = {"start":2599,"length":21,"line":60,"column":67,"endLine":60,"endColumn":88,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P307489_mk(s) { +function inline__P9674_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P307489, depth: s.depth + 1, + parent: s, fn: inline__P9674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -61902,7 +61854,7 @@ function inline__P307489_mk(s) { -function inline__P307494(s) { +function inline__P9679(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61912,7 +61864,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveDown__P306462_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveDown__P8647_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -61921,13 +61873,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P307494.info = {"start":2691,"length":21,"line":61,"column":68,"endLine":61,"endColumn":89,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -inline__P307494.info = {"start":2691,"length":21,"line":61,"column":68,"endLine":61,"endColumn":89,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9679.info = {"start":2691,"length":21,"line":61,"column":68,"endLine":61,"endColumn":89,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9679.info = {"start":2691,"length":21,"line":61,"column":68,"endLine":61,"endColumn":89,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P307494_mk(s) { +function inline__P9679_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P307494, depth: s.depth + 1, + parent: s, fn: inline__P9679, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -61936,7 +61888,7 @@ function inline__P307494_mk(s) { -function inline__P307499(s) { +function inline__P9684(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61946,9 +61898,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_3 = tileworld_RuleVisualsBase__C306458_v1_1_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase__C8643_v1_1_mk(s); s.tmp_3.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.okToMove; s.pc = 4; return s.tmp_3; case 4: @@ -61963,11 +61915,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_4 = tileworld_RuleVisualsBase__C306458_v2_3_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase__C8643_v2_3_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = 3; s.tmp_4.arg2 = false; - if (!checkSubtype(s.tmp_4.arg0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.cursorMove; s.pc = 5; return s.tmp_4; case 5: @@ -61977,13 +61929,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P307499.info = {"start":2783,"length":127,"line":62,"column":68,"endLine":65,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -inline__P307499.info = {"start":2783,"length":127,"line":62,"column":68,"endLine":65,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9684.info = {"start":2783,"length":127,"line":62,"column":68,"endLine":65,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P9684.info = {"start":2783,"length":127,"line":62,"column":68,"endLine":65,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P307499_mk(s) { +function inline__P9684_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P307499, depth: s.depth + 1, + parent: s, fn: inline__P9684, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61996,7 +61948,7 @@ function inline__P307499_mk(s) { -function tileworld_RuleVisualsBase_moveDown__P306462(s) { +function tileworld_RuleVisualsBase_moveDown__P8647(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62011,10 +61963,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); - s.tmp_3 = tileworld_RuleVisualsBase__C306458_v1_1_mk(s); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); + s.tmp_3 = tileworld_RuleVisualsBase__C8643_v1_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.okToMove; s.pc = 6; return s.tmp_3; case 6: @@ -62029,7 +61981,7 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_6 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = true; s.pc = 7; return s.tmp_6; @@ -62040,11 +61992,11 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - s.tmp_7 = Sprite_y__P298232_mk(s); + s.tmp_7 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_8 = r0; s.tmp_7.arg0 = r0; - s.tmp_10 = Sprite_y__P298231_mk(s); + s.tmp_10 = Sprite_y__P739_mk(s); s.tmp_10.arg0 = s.tmp_8; s.pc = 9; return s.tmp_10; case 9: @@ -62057,11 +62009,11 @@ switch (step) { r0 = s.retval; case 3: case 4: - s.tmp_0 = tileworld_RuleVisualsBase__C306458_v2_3_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase__C8643_v2_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = true; - if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.cursorMove; s.pc = 10; return s.tmp_0; case 10: @@ -62071,13 +62023,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_moveDown__P306462.info = {"start":3441,"length":190,"line":83,"column":8,"endLine":88,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveDown","argumentNames":["this"]} -tileworld_RuleVisualsBase_moveDown__P306462.info = {"start":3441,"length":190,"line":83,"column":8,"endLine":88,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveDown","argumentNames":["this"]} +tileworld_RuleVisualsBase_moveDown__P8647.info = {"start":3441,"length":190,"line":83,"column":8,"endLine":88,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveDown","argumentNames":["this"]} +tileworld_RuleVisualsBase_moveDown__P8647.info = {"start":3441,"length":190,"line":83,"column":8,"endLine":88,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveDown","argumentNames":["this"]} -function tileworld_RuleVisualsBase_moveDown__P306462_mk(s) { +function tileworld_RuleVisualsBase_moveDown__P8647_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_moveDown__P306462, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_moveDown__P8647, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62097,7 +62049,7 @@ function tileworld_RuleVisualsBase_moveDown__P306462_mk(s) { -function tileworld_RuleVisualsBase_moveUp__P306461(s) { +function tileworld_RuleVisualsBase_moveUp__P8646(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62112,10 +62064,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); - s.tmp_3 = tileworld_RuleVisualsBase__C306458_v1_1_mk(s); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); + s.tmp_3 = tileworld_RuleVisualsBase__C8643_v1_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.okToMove; s.pc = 6; return s.tmp_3; case 6: @@ -62130,7 +62082,7 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_6 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = true; s.pc = 7; return s.tmp_6; @@ -62141,11 +62093,11 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - s.tmp_7 = Sprite_y__P298232_mk(s); + s.tmp_7 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_8 = r0; s.tmp_7.arg0 = r0; - s.tmp_10 = Sprite_y__P298231_mk(s); + s.tmp_10 = Sprite_y__P739_mk(s); s.tmp_10.arg0 = s.tmp_8; s.pc = 9; return s.tmp_10; case 9: @@ -62158,11 +62110,11 @@ switch (step) { r0 = s.retval; case 3: case 4: - s.tmp_0 = tileworld_RuleVisualsBase__C306458_v2_3_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase__C8643_v2_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = true; - if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.cursorMove; s.pc = 10; return s.tmp_0; case 10: @@ -62172,13 +62124,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_moveUp__P306461.info = {"start":3245,"length":186,"line":76,"column":8,"endLine":81,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveUp","argumentNames":["this"]} -tileworld_RuleVisualsBase_moveUp__P306461.info = {"start":3245,"length":186,"line":76,"column":8,"endLine":81,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveUp","argumentNames":["this"]} +tileworld_RuleVisualsBase_moveUp__P8646.info = {"start":3245,"length":186,"line":76,"column":8,"endLine":81,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveUp","argumentNames":["this"]} +tileworld_RuleVisualsBase_moveUp__P8646.info = {"start":3245,"length":186,"line":76,"column":8,"endLine":81,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveUp","argumentNames":["this"]} -function tileworld_RuleVisualsBase_moveUp__P306461_mk(s) { +function tileworld_RuleVisualsBase_moveUp__P8646_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_moveUp__P306461, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_moveUp__P8646, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62198,7 +62150,7 @@ function tileworld_RuleVisualsBase_moveUp__P306461_mk(s) { -function tileworld_RuleVisualsBase_cursorMove__P306474(s) { +function tileworld_RuleVisualsBase_cursorMove__P8659(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62215,18 +62167,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_cursorMove__P306474.info = {"start":5196,"length":69,"line":135,"column":8,"endLine":135,"endColumn":77,"fileName":"rulesBase.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -tileworld_RuleVisualsBase_cursorMove__P306474.info = {"start":5196,"length":69,"line":135,"column":8,"endLine":135,"endColumn":77,"fileName":"rulesBase.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_RuleVisualsBase_cursorMove__P8659.info = {"start":5196,"length":69,"line":135,"column":8,"endLine":135,"endColumn":77,"fileName":"rulesBase.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_RuleVisualsBase_cursorMove__P8659.info = {"start":5196,"length":69,"line":135,"column":8,"endLine":135,"endColumn":77,"fileName":"rulesBase.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -function tileworld_RuleVisualsBase_cursorMove__P306474_mk(s) { +function tileworld_RuleVisualsBase_cursorMove__P8659_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_cursorMove__P306474, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_cursorMove__P8659, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -62237,7 +62189,7 @@ function tileworld_RuleVisualsBase_cursorMove__P306474_mk(s) { -function tileworld_RuleVisualsBase_okToMove__P306463(s) { +function tileworld_RuleVisualsBase_okToMove__P8648(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62252,18 +62204,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_okToMove__P306463.info = {"start":3641,"length":37,"line":90,"column":8,"endLine":90,"endColumn":45,"fileName":"rulesBase.ts","functionName":"okToMove","argumentNames":["this"]} -tileworld_RuleVisualsBase_okToMove__P306463.info = {"start":3641,"length":37,"line":90,"column":8,"endLine":90,"endColumn":45,"fileName":"rulesBase.ts","functionName":"okToMove","argumentNames":["this"]} +tileworld_RuleVisualsBase_okToMove__P8648.info = {"start":3641,"length":37,"line":90,"column":8,"endLine":90,"endColumn":45,"fileName":"rulesBase.ts","functionName":"okToMove","argumentNames":["this"]} +tileworld_RuleVisualsBase_okToMove__P8648.info = {"start":3641,"length":37,"line":90,"column":8,"endLine":90,"endColumn":45,"fileName":"rulesBase.ts","functionName":"okToMove","argumentNames":["this"]} -function tileworld_RuleVisualsBase_okToMove__P306463_mk(s) { +function tileworld_RuleVisualsBase_okToMove__P8648_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_okToMove__P306463, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_okToMove__P8648, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -62272,7 +62224,7 @@ function tileworld_RuleVisualsBase_okToMove__P306463_mk(s) { -function tileworld_RuleVisualsBase_moveInX__P306460(s) { +function tileworld_RuleVisualsBase_moveInX__P8645(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62288,10 +62240,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(r0); - s.tmp_3 = tileworld_RuleVisualsBase__C306458_v1_1_mk(s); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(r0); + s.tmp_3 = tileworld_RuleVisualsBase__C8643_v1_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.okToMove; s.pc = 12; return s.tmp_3; case 12: @@ -62313,7 +62265,7 @@ switch (step) { r0 = s.tmp_4; { step = 4; continue; } case 3: - s.tmp_6 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = true; s.pc = 13; return s.tmp_6; @@ -62336,7 +62288,7 @@ switch (step) { r0 = s.tmp_8; { step = 7; continue; } case 6: - s.tmp_10 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_10 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_10.arg0 = s.arg0; s.tmp_10.arg1 = true; s.pc = 14; return s.tmp_10; @@ -62353,17 +62305,17 @@ switch (step) { s.tmp_12 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_12); if (!r0) { step = 9; continue; } - s.tmp_13 = Sprite_x__P298230_mk(s); + s.tmp_13 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_14 = r0; s.tmp_13.arg0 = r0; - s.tmp_16 = Sprite_x__P298229_mk(s); + s.tmp_16 = Sprite_x__P737_mk(s); s.tmp_16.arg0 = s.tmp_14; s.pc = 16; return s.tmp_16; case 16: r0 = s.retval; s.tmp_15 = r0; - s.tmp_19 = tileworld_moveXdelta__P302362_mk(s); + s.tmp_19 = tileworld_moveXdelta__P4206_mk(s); s.tmp_19.arg0 = s.arg1; s.pc = 17; return s.tmp_19; case 17: @@ -62378,11 +62330,11 @@ switch (step) { r0 = s.retval; case 9: case 10: - s.tmp_0 = tileworld_RuleVisualsBase__C306458_v2_3_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase__C8643_v2_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = true; - if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleVisualsBase__C306458_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleVisualsBase__C8643_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.cursorMove; s.pc = 18; return s.tmp_0; case 18: @@ -62392,13 +62344,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_moveInX__P306460.info = {"start":2932,"length":303,"line":68,"column":8,"endLine":74,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveInX","argumentNames":["this","dir"]} -tileworld_RuleVisualsBase_moveInX__P306460.info = {"start":2932,"length":303,"line":68,"column":8,"endLine":74,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveInX","argumentNames":["this","dir"]} +tileworld_RuleVisualsBase_moveInX__P8645.info = {"start":2932,"length":303,"line":68,"column":8,"endLine":74,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveInX","argumentNames":["this","dir"]} +tileworld_RuleVisualsBase_moveInX__P8645.info = {"start":2932,"length":303,"line":68,"column":8,"endLine":74,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveInX","argumentNames":["this","dir"]} -function tileworld_RuleVisualsBase_moveInX__P306460_mk(s) { +function tileworld_RuleVisualsBase_moveInX__P8645_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_moveInX__P306460, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_moveInX__P8645, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62428,7 +62380,7 @@ function tileworld_RuleVisualsBase_moveInX__P306460_mk(s) { -function createTW1__P1098998(s) { +function createTW1__P15115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62438,337 +62390,337 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = settings_writeString__P298071_mk(s); + s.tmp_0 = settings_writeString__P579_mk(s); s.tmp_0.arg0 = "TW1-VS"; s.tmp_0.arg1 = "1.0.0"; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-TM"; - s.tmp_0.arg1 = globals.tm___1098990; + s.tmp_0.arg1 = globals.tm___15107; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-TS"; - s.tmp_0.arg1 = _hex1099004; + s.tmp_0.arg1 = _hex15121; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P298072_mk(s); + s.tmp_0 = settings_writeNumber__P580_mk(s); s.tmp_0.arg0 = "TW1-FL"; s.tmp_0.arg1 = 4; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-FS0"; - s.tmp_0.arg1 = _hex1099008; + s.tmp_0.arg1 = _hex15125; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-FS1"; - s.tmp_0.arg1 = globals.fs1___1098993; + s.tmp_0.arg1 = globals.fs1___15110; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-FS2"; - s.tmp_0.arg1 = _hex1099013; + s.tmp_0.arg1 = _hex15130; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-FS3"; - s.tmp_0.arg1 = globals.fs3___1098996; + s.tmp_0.arg1 = globals.fs3___15113; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P298072_mk(s); + s.tmp_0 = settings_writeNumber__P580_mk(s); s.tmp_0.arg0 = "TW1-ML"; s.tmp_0.arg1 = 4; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-MS0"; - s.tmp_0.arg1 = _hex1099019; + s.tmp_0.arg1 = _hex15136; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-MS1"; - s.tmp_0.arg1 = _hex1099022; + s.tmp_0.arg1 = _hex15139; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-MS2"; - s.tmp_0.arg1 = _hex1099025; + s.tmp_0.arg1 = _hex15142; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-MS3"; - s.tmp_0.arg1 = _hex1099028; + s.tmp_0.arg1 = _hex15145; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P298072_mk(s); + s.tmp_0 = settings_writeNumber__P580_mk(s); s.tmp_0.arg0 = "TW1-HM"; s.tmp_0.arg1 = 1; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL0"; - s.tmp_0.arg1 = _hex1099032; + s.tmp_0.arg1 = _hex15149; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL1"; - s.tmp_0.arg1 = _hex1099035; + s.tmp_0.arg1 = _hex15152; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL2"; - s.tmp_0.arg1 = _hex1099038; + s.tmp_0.arg1 = _hex15155; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL3"; - s.tmp_0.arg1 = _hex1099041; + s.tmp_0.arg1 = _hex15158; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL4"; - s.tmp_0.arg1 = _hex1099044; + s.tmp_0.arg1 = _hex15161; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL5"; - s.tmp_0.arg1 = _hex1099047; + s.tmp_0.arg1 = _hex15164; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL6"; - s.tmp_0.arg1 = _hex1099050; + s.tmp_0.arg1 = _hex15167; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL7"; - s.tmp_0.arg1 = _hex1099053; + s.tmp_0.arg1 = _hex15170; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL8"; - s.tmp_0.arg1 = _hex1099056; + s.tmp_0.arg1 = _hex15173; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL9"; - s.tmp_0.arg1 = _hex1099059; + s.tmp_0.arg1 = _hex15176; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL10"; - s.tmp_0.arg1 = _hex1099062; + s.tmp_0.arg1 = _hex15179; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL11"; - s.tmp_0.arg1 = _hex1099065; + s.tmp_0.arg1 = _hex15182; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL12"; - s.tmp_0.arg1 = _hex1099068; + s.tmp_0.arg1 = _hex15185; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL13"; - s.tmp_0.arg1 = _hex1099071; + s.tmp_0.arg1 = _hex15188; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL14"; - s.tmp_0.arg1 = _hex1099074; + s.tmp_0.arg1 = _hex15191; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL15"; - s.tmp_0.arg1 = _hex1099077; + s.tmp_0.arg1 = _hex15194; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL16"; - s.tmp_0.arg1 = _hex1099080; + s.tmp_0.arg1 = _hex15197; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL17"; - s.tmp_0.arg1 = _hex1099083; + s.tmp_0.arg1 = _hex15200; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL18"; - s.tmp_0.arg1 = _hex1099086; + s.tmp_0.arg1 = _hex15203; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL19"; - s.tmp_0.arg1 = _hex1099089; + s.tmp_0.arg1 = _hex15206; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL20"; - s.tmp_0.arg1 = _hex1099092; + s.tmp_0.arg1 = _hex15209; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL21"; - s.tmp_0.arg1 = _hex1099095; + s.tmp_0.arg1 = _hex15212; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL22"; - s.tmp_0.arg1 = _hex1099098; + s.tmp_0.arg1 = _hex15215; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL23"; - s.tmp_0.arg1 = _hex1099101; + s.tmp_0.arg1 = _hex15218; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL24"; - s.tmp_0.arg1 = _hex1099104; + s.tmp_0.arg1 = _hex15221; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL25"; - s.tmp_0.arg1 = _hex1099107; + s.tmp_0.arg1 = _hex15224; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL26"; - s.tmp_0.arg1 = _hex1099110; + s.tmp_0.arg1 = _hex15227; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL27"; - s.tmp_0.arg1 = _hex1099113; + s.tmp_0.arg1 = _hex15230; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL28"; - s.tmp_0.arg1 = _hex1099116; + s.tmp_0.arg1 = _hex15233; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL29"; - s.tmp_0.arg1 = _hex1099119; + s.tmp_0.arg1 = _hex15236; s.pc = 44; return s.tmp_0; case 44: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL30"; - s.tmp_0.arg1 = _hex1099122; + s.tmp_0.arg1 = _hex15239; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL31"; - s.tmp_0.arg1 = _hex1099125; + s.tmp_0.arg1 = _hex15242; s.pc = 46; return s.tmp_0; case 46: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL32"; - s.tmp_0.arg1 = _hex1099128; + s.tmp_0.arg1 = _hex15245; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL33"; - s.tmp_0.arg1 = _hex1099131; + s.tmp_0.arg1 = _hex15248; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL34"; - s.tmp_0.arg1 = _hex1099134; + s.tmp_0.arg1 = _hex15251; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL35"; - s.tmp_0.arg1 = _hex1099137; + s.tmp_0.arg1 = _hex15254; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL36"; - s.tmp_0.arg1 = _hex1099140; + s.tmp_0.arg1 = _hex15257; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL37"; - s.tmp_0.arg1 = _hex1099143; + s.tmp_0.arg1 = _hex15260; s.pc = 52; return s.tmp_0; case 52: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL38"; - s.tmp_0.arg1 = _hex1099146; + s.tmp_0.arg1 = _hex15263; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL39"; - s.tmp_0.arg1 = _hex1099149; + s.tmp_0.arg1 = _hex15266; s.pc = 54; return s.tmp_0; case 54: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P298070_mk(s); + s.tmp_0 = settings_writeBuffer__P578_mk(s); s.tmp_0.arg0 = "TW1-RL40"; - s.tmp_0.arg1 = _hex1099152; + s.tmp_0.arg1 = _hex15269; s.pc = 55; return s.tmp_0; case 55: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P298072_mk(s); + s.tmp_0 = settings_writeNumber__P580_mk(s); s.tmp_0.arg0 = "TW1-PL"; s.tmp_0.arg1 = 4; s.pc = 56; return s.tmp_0; @@ -62778,70 +62730,70 @@ switch (step) { return leave(s, r0) default: oops() } } } -createTW1__P1098998.info = {"start":1165,"length":6984,"line":21,"column":0,"endLine":191,"endColumn":1,"fileName":"main.ts","functionName":"createTW1","argumentNames":[]} -createTW1__P1098998.info = {"start":1165,"length":6984,"line":21,"column":0,"endLine":191,"endColumn":1,"fileName":"main.ts","functionName":"createTW1","argumentNames":[]} +createTW1__P15115.info = {"start":1165,"length":6984,"line":21,"column":0,"endLine":191,"endColumn":1,"fileName":"main.ts","functionName":"createTW1","argumentNames":[]} +createTW1__P15115.info = {"start":1165,"length":6984,"line":21,"column":0,"endLine":191,"endColumn":1,"fileName":"main.ts","functionName":"createTW1","argumentNames":[]} -function createTW1__P1098998_mk(s) { +function createTW1__P15115_mk(s) { checkStack(s.depth); return { - parent: s, fn: createTW1__P1098998, depth: s.depth + 1, + parent: s, fn: createTW1__P15115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } -const _hex1099004 = pxsim.BufferMethods.createBufferFromHex("2018ffffffffff6f35ff1f144f1516ff7f35ffffffff3f1615bf15ff8f1516ff7f15ffffffff6f16df55ffffffffffffff1f17ffffbf16ffef168f652f165f36ff7f16ff1f15ff1f155f35ff5f151f151f15ff6f15ff8f15ffffffffffbf") -const _hex1099008 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") -const _hex1099013 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") -const _hex1099019 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e122f142e3f302f1e122f1b111d1e22144f121e121f1e2f1d1422143f12131e121f1e142d1422151f101f221e121f1e142d1422151f102f121e121f1e2f1d1422142f102f1e122f1b111d1e22142f103f1e122f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") -const _hex1099022 = pxsim.BufferMethods.createBufferFromHex("1010804ca02c1b1c1b2c901c1d2b1c1b2c603c2d1b1c1b2c303c2b1c1b2d4c201c1b2d3b1c2d1b3c201c5d3b1d1b4c101b5d3b1d1b2c1b1c101b5d3b1d2b1c2b1c1b6d2b1d1b1d1c2b1c101b5d2b1d1b1d1c2b1c201b4d1b1d2b1d1c2b1c201b3d2b1d1b1d3b1c407b1d1c2b1c701b3d2c1b1c902b2c2b30") -const _hex1099025 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") -const _hex1099028 = pxsim.BufferMethods.createBufferFromHex("10106057a01730373fb0271c111d1f408f1b1c1f302f5d1b1c1f211d1f101f1b513d1f1b1c1f201f611d1b1c1b1c111d2f812f1d3f101f811d111b3f101f811d213f101f812f1b3f201f611d1b1c1d3f201f1b513d3f402f5d1b1c1f807f1cc01f1c1b1f40") -const _hex1099032 = pxsim.BufferMethods.createBufferFromHex("65ff00450000c1fd3f900000800000d000000030ffffff") -const _hex1099035 = pxsim.BufferMethods.createBufferFromHex("65ff00460000c1c03780fd3f30fd3f90003cd000000000ffffff") -const _hex1099038 = pxsim.BufferMethods.createBufferFromHex("65ff31450000c1fd3c900000800000d000000030ffffff") -const _hex1099041 = pxsim.BufferMethods.createBufferFromHex("f4ff004100000101ffffff") -const _hex1099044 = pxsim.BufferMethods.createBufferFromHex("f4ff02450000820c0c900000d00000c00000000001ffff") -const _hex1099047 = pxsim.BufferMethods.createBufferFromHex("f4ff12450000d20c0c900000800000c00000001001ffff") -const _hex1099050 = pxsim.BufferMethods.createBufferFromHex("f4ff22420000920c0c002001ffff") -const _hex1099053 = pxsim.BufferMethods.createBufferFromHex("f4ff32420000c20c0c003001ffff") -const _hex1099056 = pxsim.BufferMethods.createBufferFromHex("f4ff12470000d1c03751fd3f900000800000c0000070a8280010ffffff10ffffff") -const _hex1099059 = pxsim.BufferMethods.createBufferFromHex("f4ff0247000081c03701fd3f900000d00000c0000030a8280000ffffff00ffffff") -const _hex1099062 = pxsim.BufferMethods.createBufferFromHex("65ff33420000c000fd0114ffffff") -const _hex1099065 = pxsim.BufferMethods.createBufferFromHex("f4ff33420000c000df03022304ff") -const _hex1099068 = pxsim.BufferMethods.createBufferFromHex("f4ff13420000d000df03022304ff") -const _hex1099071 = pxsim.BufferMethods.createBufferFromHex("f4ff239200df43000000022304ff") -const _hex1099074 = pxsim.BufferMethods.createBufferFromHex("f4ff038200df43000000022304ff") -const _hex1099077 = pxsim.BufferMethods.createBufferFromHex("65ff34420000c000fd0114ffffff") -const _hex1099080 = pxsim.BufferMethods.createBufferFromHex("65ff048200004000000140ffffff") -const _hex1099083 = pxsim.BufferMethods.createBufferFromHex("65ff14420000d100000040ffffff") -const _hex1099086 = pxsim.BufferMethods.createBufferFromHex("65ff0096003c800000400000d1fdffc000f770fdff0010ffffff") -const _hex1099089 = pxsim.BufferMethods.createBufferFromHex("65ff34420000c0007f0102ffffff") -const _hex1099092 = pxsim.BufferMethods.createBufferFromHex("f7ff00950000800000400000d1fd3cc000000010ffffff") -const _hex1099095 = pxsim.BufferMethods.createBufferFromHex("f7ff0095fd3c800000400000d10000c000000020ffffff") -const _hex1099098 = pxsim.BufferMethods.createBufferFromHex("f7ff0095000080fd3c400000d10000c000000000ffffff") -const _hex1099101 = pxsim.BufferMethods.createBufferFromHex("f7ff00950000800000400000d10000c0fd3c0030ffffff") -const _hex1099104 = pxsim.BufferMethods.createBufferFromHex("f7ff2195fd3c800000400000d10000c000000020ffffff") -const _hex1099107 = pxsim.BufferMethods.createBufferFromHex("f7ff11950000800000400000d1fd3cc000000010ffffff") -const _hex1099110 = pxsim.BufferMethods.createBufferFromHex("f7ff31950000800000400000d10000c0fd3c0030ffffff") -const _hex1099113 = pxsim.BufferMethods.createBufferFromHex("f7ff0195000080fd3c400000d10000c000000000ffffff") -const _hex1099116 = pxsim.BufferMethods.createBufferFromHex("f7ff21970000800000400000d1fdffc000006003ff7003ff0010ffffff") -const _hex1099119 = pxsim.BufferMethods.createBufferFromHex("f7ff038200fd4100000014ffffff") -const _hex1099122 = pxsim.BufferMethods.createBufferFromHex("f7ff33420000c000fd0114ffffff") -const _hex1099125 = pxsim.BufferMethods.createBufferFromHex("f7ff13420000d000fd0114ffffff") -const _hex1099128 = pxsim.BufferMethods.createBufferFromHex("f7ff239200fd4100000014ffffff") -const _hex1099131 = pxsim.BufferMethods.createBufferFromHex("f7ff34420000c000fd0114ffffff") -const _hex1099134 = pxsim.BufferMethods.createBufferFromHex("f7ff14420000d000fd0114ffffff") -const _hex1099137 = pxsim.BufferMethods.createBufferFromHex("f7ff249200fd4100000014ffffff") -const _hex1099140 = pxsim.BufferMethods.createBufferFromHex("f7ff048200fd4100000014ffffff") -const _hex1099143 = pxsim.BufferMethods.createBufferFromHex("65ff038200004000000140ffffff") -const _hex1099146 = pxsim.BufferMethods.createBufferFromHex("65ff13420000d100000040ffffff") -const _hex1099149 = pxsim.BufferMethods.createBufferFromHex("f4ff12960000800000400000d100f7c1000070fdff0010ffffff30ffffff") -const _hex1099152 = pxsim.BufferMethods.createBufferFromHex("f4ff029600008000f7410000d10000c0000030fdff0030ffffff00ffffff") +const _hex15121 = pxsim.BufferMethods.createBufferFromHex("2018ffffffffff6f35ff1f144f1516ff7f35ffffffff3f1615bf15ff8f1516ff7f15ffffffff6f16df55ffffffffffffff1f17ffffbf16ffef168f652f165f36ff7f16ff1f15ff1f155f35ff5f151f151f15ff6f15ff8f15ffffffffffbf") +const _hex15125 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") +const _hex15130 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") +const _hex15136 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e122f142e3f302f1e122f1b111d1e22144f121e121f1e2f1d1422143f12131e121f1e142d1422151f101f221e121f1e142d1422151f102f121e121f1e2f1d1422142f102f1e122f1b111d1e22142f103f1e122f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") +const _hex15139 = pxsim.BufferMethods.createBufferFromHex("1010804ca02c1b1c1b2c901c1d2b1c1b2c603c2d1b1c1b2c303c2b1c1b2d4c201c1b2d3b1c2d1b3c201c5d3b1d1b4c101b5d3b1d1b2c1b1c101b5d3b1d2b1c2b1c1b6d2b1d1b1d1c2b1c101b5d2b1d1b1d1c2b1c201b4d1b1d2b1d1c2b1c201b3d2b1d1b1d3b1c407b1d1c2b1c701b3d2c1b1c902b2c2b30") +const _hex15142 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") +const _hex15145 = pxsim.BufferMethods.createBufferFromHex("10106057a01730373fb0271c111d1f408f1b1c1f302f5d1b1c1f211d1f101f1b513d1f1b1c1f201f611d1b1c1b1c111d2f812f1d3f101f811d111b3f101f811d213f101f812f1b3f201f611d1b1c1d3f201f1b513d3f402f5d1b1c1f807f1cc01f1c1b1f40") +const _hex15149 = pxsim.BufferMethods.createBufferFromHex("65ff00450000c1fd3f900000800000d000000030ffffff") +const _hex15152 = pxsim.BufferMethods.createBufferFromHex("65ff00460000c1c03780fd3f30fd3f90003cd000000000ffffff") +const _hex15155 = pxsim.BufferMethods.createBufferFromHex("65ff31450000c1fd3c900000800000d000000030ffffff") +const _hex15158 = pxsim.BufferMethods.createBufferFromHex("f4ff004100000101ffffff") +const _hex15161 = pxsim.BufferMethods.createBufferFromHex("f4ff02450000820c0c900000d00000c00000000001ffff") +const _hex15164 = pxsim.BufferMethods.createBufferFromHex("f4ff12450000d20c0c900000800000c00000001001ffff") +const _hex15167 = pxsim.BufferMethods.createBufferFromHex("f4ff22420000920c0c002001ffff") +const _hex15170 = pxsim.BufferMethods.createBufferFromHex("f4ff32420000c20c0c003001ffff") +const _hex15173 = pxsim.BufferMethods.createBufferFromHex("f4ff12470000d1c03751fd3f900000800000c0000070a8280010ffffff10ffffff") +const _hex15176 = pxsim.BufferMethods.createBufferFromHex("f4ff0247000081c03701fd3f900000d00000c0000030a8280000ffffff00ffffff") +const _hex15179 = pxsim.BufferMethods.createBufferFromHex("65ff33420000c000fd0114ffffff") +const _hex15182 = pxsim.BufferMethods.createBufferFromHex("f4ff33420000c000df03022304ff") +const _hex15185 = pxsim.BufferMethods.createBufferFromHex("f4ff13420000d000df03022304ff") +const _hex15188 = pxsim.BufferMethods.createBufferFromHex("f4ff239200df43000000022304ff") +const _hex15191 = pxsim.BufferMethods.createBufferFromHex("f4ff038200df43000000022304ff") +const _hex15194 = pxsim.BufferMethods.createBufferFromHex("65ff34420000c000fd0114ffffff") +const _hex15197 = pxsim.BufferMethods.createBufferFromHex("65ff048200004000000140ffffff") +const _hex15200 = pxsim.BufferMethods.createBufferFromHex("65ff14420000d100000040ffffff") +const _hex15203 = pxsim.BufferMethods.createBufferFromHex("65ff0096003c800000400000d1fdffc000f770fdff0010ffffff") +const _hex15206 = pxsim.BufferMethods.createBufferFromHex("65ff34420000c0007f0102ffffff") +const _hex15209 = pxsim.BufferMethods.createBufferFromHex("f7ff00950000800000400000d1fd3cc000000010ffffff") +const _hex15212 = pxsim.BufferMethods.createBufferFromHex("f7ff0095fd3c800000400000d10000c000000020ffffff") +const _hex15215 = pxsim.BufferMethods.createBufferFromHex("f7ff0095000080fd3c400000d10000c000000000ffffff") +const _hex15218 = pxsim.BufferMethods.createBufferFromHex("f7ff00950000800000400000d10000c0fd3c0030ffffff") +const _hex15221 = pxsim.BufferMethods.createBufferFromHex("f7ff2195fd3c800000400000d10000c000000020ffffff") +const _hex15224 = pxsim.BufferMethods.createBufferFromHex("f7ff11950000800000400000d1fd3cc000000010ffffff") +const _hex15227 = pxsim.BufferMethods.createBufferFromHex("f7ff31950000800000400000d10000c0fd3c0030ffffff") +const _hex15230 = pxsim.BufferMethods.createBufferFromHex("f7ff0195000080fd3c400000d10000c000000000ffffff") +const _hex15233 = pxsim.BufferMethods.createBufferFromHex("f7ff21970000800000400000d1fdffc000006003ff7003ff0010ffffff") +const _hex15236 = pxsim.BufferMethods.createBufferFromHex("f7ff038200fd4100000014ffffff") +const _hex15239 = pxsim.BufferMethods.createBufferFromHex("f7ff33420000c000fd0114ffffff") +const _hex15242 = pxsim.BufferMethods.createBufferFromHex("f7ff13420000d000fd0114ffffff") +const _hex15245 = pxsim.BufferMethods.createBufferFromHex("f7ff239200fd4100000014ffffff") +const _hex15248 = pxsim.BufferMethods.createBufferFromHex("f7ff34420000c000fd0114ffffff") +const _hex15251 = pxsim.BufferMethods.createBufferFromHex("f7ff14420000d000fd0114ffffff") +const _hex15254 = pxsim.BufferMethods.createBufferFromHex("f7ff249200fd4100000014ffffff") +const _hex15257 = pxsim.BufferMethods.createBufferFromHex("f7ff048200fd4100000014ffffff") +const _hex15260 = pxsim.BufferMethods.createBufferFromHex("65ff038200004000000140ffffff") +const _hex15263 = pxsim.BufferMethods.createBufferFromHex("65ff13420000d100000040ffffff") +const _hex15266 = pxsim.BufferMethods.createBufferFromHex("f4ff12960000800000400000d100f7c1000070fdff0010ffffff30ffffff") +const _hex15269 = pxsim.BufferMethods.createBufferFromHex("f4ff029600008000f7410000d10000c0000030fdff0030ffffff00ffffff") -function settings_exists__P298080(s) { +function settings_exists__P588(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62859,13 +62811,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_exists__P298080.info = {"start":3828,"length":71,"line":155,"column":4,"endLine":157,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"exists","argumentNames":["key"]} -settings_exists__P298080.info = {"start":3828,"length":71,"line":155,"column":4,"endLine":157,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"exists","argumentNames":["key"]} +settings_exists__P588.info = {"start":3828,"length":71,"line":155,"column":4,"endLine":157,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"exists","argumentNames":["key"]} +settings_exists__P588.info = {"start":3828,"length":71,"line":155,"column":4,"endLine":157,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"exists","argumentNames":["key"]} -function settings_exists__P298080_mk(s) { +function settings_exists__P588_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_exists__P298080, depth: s.depth + 1, + parent: s, fn: settings_exists__P588, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -62874,7 +62826,7 @@ function settings_exists__P298080_mk(s) { -function tileworld_Project_setPlayer__P303120(s) { +function tileworld_Project_setPlayer__P4968(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62890,19 +62842,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); r0 = (s.arg0).fields["_player"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_setPlayer__P303120.info = {"start":693,"length":75,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"project.ts","functionName":"setPlayer","argumentNames":["this","kind"]} -tileworld_Project_setPlayer__P303120.info = {"start":693,"length":75,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"project.ts","functionName":"setPlayer","argumentNames":["this","kind"]} +tileworld_Project_setPlayer__P4968.info = {"start":693,"length":75,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"project.ts","functionName":"setPlayer","argumentNames":["this","kind"]} +tileworld_Project_setPlayer__P4968.info = {"start":693,"length":75,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"project.ts","functionName":"setPlayer","argumentNames":["this","kind"]} -function tileworld_Project_setPlayer__P303120_mk(s) { +function tileworld_Project_setPlayer__P4968_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_setPlayer__P303120, depth: s.depth + 1, + parent: s, fn: tileworld_Project_setPlayer__P4968, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -62912,7 +62864,7 @@ function tileworld_Project_setPlayer__P303120_mk(s) { -function tileworld_Project_setSprites__P303124(s) { +function tileworld_Project_setSprites__P4972(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62928,19 +62880,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); r0 = (s.arg0).fields["_sprites"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_setSprites__P303124.info = {"start":1002,"length":75,"line":39,"column":8,"endLine":41,"endColumn":9,"fileName":"project.ts","functionName":"setSprites","argumentNames":["this","img"]} -tileworld_Project_setSprites__P303124.info = {"start":1002,"length":75,"line":39,"column":8,"endLine":41,"endColumn":9,"fileName":"project.ts","functionName":"setSprites","argumentNames":["this","img"]} +tileworld_Project_setSprites__P4972.info = {"start":1002,"length":75,"line":39,"column":8,"endLine":41,"endColumn":9,"fileName":"project.ts","functionName":"setSprites","argumentNames":["this","img"]} +tileworld_Project_setSprites__P4972.info = {"start":1002,"length":75,"line":39,"column":8,"endLine":41,"endColumn":9,"fileName":"project.ts","functionName":"setSprites","argumentNames":["this","img"]} -function tileworld_Project_setSprites__P303124_mk(s) { +function tileworld_Project_setSprites__P4972_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_setSprites__P303124, depth: s.depth + 1, + parent: s, fn: tileworld_Project_setSprites__P4972, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -62950,7 +62902,7 @@ function tileworld_Project_setSprites__P303124_mk(s) { -function tileworld_Project_setWorld__P303122(s) { +function tileworld_Project_setWorld__P4970(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62966,19 +62918,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); r0 = (s.arg0).fields["_world"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_setWorld__P303122.info = {"start":851,"length":70,"line":31,"column":8,"endLine":33,"endColumn":9,"fileName":"project.ts","functionName":"setWorld","argumentNames":["this","img"]} -tileworld_Project_setWorld__P303122.info = {"start":851,"length":70,"line":31,"column":8,"endLine":33,"endColumn":9,"fileName":"project.ts","functionName":"setWorld","argumentNames":["this","img"]} +tileworld_Project_setWorld__P4970.info = {"start":851,"length":70,"line":31,"column":8,"endLine":33,"endColumn":9,"fileName":"project.ts","functionName":"setWorld","argumentNames":["this","img"]} +tileworld_Project_setWorld__P4970.info = {"start":851,"length":70,"line":31,"column":8,"endLine":33,"endColumn":9,"fileName":"project.ts","functionName":"setWorld","argumentNames":["this","img"]} -function tileworld_Project_setWorld__P303122_mk(s) { +function tileworld_Project_setWorld__P4970_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_setWorld__P303122, depth: s.depth + 1, + parent: s, fn: tileworld_Project_setWorld__P4970, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -62988,7 +62940,7 @@ function tileworld_Project_setWorld__P303122_mk(s) { -function helpers_imageDrawRect__P297989(s) { +function helpers_imageDrawRect__P487(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63027,7 +62979,7 @@ switch (step) { s.arg3 = (r0); r0 = (s.arg4 - 1); s.arg4 = (r0); - s.tmp_0 = helpers_imageDrawLine__P297988_mk(s); + s.tmp_0 = helpers_imageDrawLine__P486_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -63038,7 +62990,7 @@ switch (step) { s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P297988_mk(s); + s.tmp_0 = helpers_imageDrawLine__P486_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -63049,7 +63001,7 @@ switch (step) { s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P297988_mk(s); + s.tmp_0 = helpers_imageDrawLine__P486_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -63062,7 +63014,7 @@ switch (step) { s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P297988_mk(s); + s.tmp_0 = helpers_imageDrawLine__P486_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -63080,13 +63032,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawRect__P297989.info = {"start":4141,"length":370,"line":140,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/screen---st7735/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} -helpers_imageDrawRect__P297989.info = {"start":4141,"length":370,"line":140,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/screen---st7735/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawRect__P487.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__P487.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__P297989_mk(s) { +function helpers_imageDrawRect__P487_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P297989, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P487, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63102,7 +63054,7 @@ function helpers_imageDrawRect__P297989_mk(s) { -function sample_playerMoveRule__P312758(s) { +function sample_playerMoveRule__P14941(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63116,16 +63068,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(Rule__C302328_VT); + r0 = pxsim_pxtcore_mkClassInstance(Rule__C4172_VT); s.tmp_0 = r0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; - r0 = pxsim_Array__push(s.tmp_1, globals.playerId___312635); - r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C302321_VT); + r0 = pxsim_Array__push(s.tmp_1, globals.playerId___14818); + r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C4165_VT); s.tmp_2 = r0; - r0 = pxsim_pxtcore_mkClassInstance(Command__C302316_VT); + r0 = pxsim_pxtcore_mkClassInstance(Command__C4160_VT); s.tmp_3 = r0; - s.tmp_4 = Command_constructor__P302317_mk(s); + s.tmp_4 = Command_constructor__P4161_mk(s); s.tmp_4.arg0 = s.tmp_3; s.tmp_4.arg1 = 0; s.tmp_4.arg2 = s.arg0; @@ -63135,17 +63087,17 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_5, s.tmp_3); - r0 = pxsim_pxtcore_mkClassInstance(Command__C302316_VT); + r0 = pxsim_pxtcore_mkClassInstance(Command__C4160_VT); s.tmp_6 = r0; - s.tmp_7 = Command_constructor__P302317_mk(s); + s.tmp_7 = Command_constructor__P4161_mk(s); s.tmp_7.arg0 = s.tmp_6; s.tmp_7.arg1 = 1; - s.tmp_7.arg2 = globals.spaceId___312629; + s.tmp_7.arg2 = globals.spaceId___14812; s.pc = 2; return s.tmp_7; case 2: r0 = s.retval; r0 = pxsim_Array__push(s.tmp_5, s.tmp_6); - s.tmp_8 = WhenDo_constructor__P302322_mk(s); + s.tmp_8 = WhenDo_constructor__P4166_mk(s); s.tmp_8.arg0 = s.tmp_2; s.tmp_8.arg1 = 2; s.tmp_8.arg2 = 2; @@ -63158,11 +63110,11 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_9 = r0; r0 = pxsim_Array__push(s.tmp_9, s.tmp_2); - r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C302321_VT); + r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C4165_VT); s.tmp_10 = r0; - s.tmp_11 = WhenDo_constructor__P302322_mk(s); + s.tmp_11 = WhenDo_constructor__P4166_mk(s); s.tmp_11.arg0 = s.tmp_10; - s.tmp_13 = tileworld_moveXdelta__P302362_mk(s); + s.tmp_13 = tileworld_moveXdelta__P4206_mk(s); s.tmp_13.arg0 = s.arg0; s.pc = 5; return s.tmp_13; case 5: @@ -63170,7 +63122,7 @@ switch (step) { s.tmp_12 = r0; r0 = (2 + s.tmp_12); s.tmp_11.arg1 = r0; - s.tmp_15 = tileworld_moveYdelta__P302374_mk(s); + s.tmp_15 = tileworld_moveYdelta__P4218_mk(s); s.tmp_15.arg0 = s.arg0; s.pc = 6; return s.tmp_15; case 6: @@ -63178,14 +63130,14 @@ switch (step) { s.tmp_14 = r0; r0 = (2 + s.tmp_14); s.tmp_11.arg2 = r0; - s.tmp_11.arg3 = globals.playerMove___312707; + s.tmp_11.arg3 = globals.playerMove___14890; r0 = pxsim_Array__mk(); s.tmp_11.arg4 = r0; s.pc = 4; return s.tmp_11; case 4: r0 = s.retval; r0 = pxsim_Array__push(s.tmp_9, s.tmp_10); - s.tmp_16 = Rule_constructor__P302329_mk(s); + s.tmp_16 = Rule_constructor__P4173_mk(s); s.tmp_16.arg0 = s.tmp_0; s.tmp_16.arg1 = s.tmp_1; s.tmp_16.arg2 = 2; @@ -63198,13 +63150,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sample_playerMoveRule__P312758.info = {"start":7197,"length":378,"line":185,"column":4,"endLine":192,"endColumn":5,"fileName":"test.ts","functionName":"playerMoveRule","argumentNames":["dir"]} -sample_playerMoveRule__P312758.info = {"start":7197,"length":378,"line":185,"column":4,"endLine":192,"endColumn":5,"fileName":"test.ts","functionName":"playerMoveRule","argumentNames":["dir"]} +sample_playerMoveRule__P14941.info = {"start":7197,"length":378,"line":185,"column":4,"endLine":192,"endColumn":5,"fileName":"test.ts","functionName":"playerMoveRule","argumentNames":["dir"]} +sample_playerMoveRule__P14941.info = {"start":7197,"length":378,"line":185,"column":4,"endLine":192,"endColumn":5,"fileName":"test.ts","functionName":"playerMoveRule","argumentNames":["dir"]} -function sample_playerMoveRule__P312758_mk(s) { +function sample_playerMoveRule__P14941_mk(s) { checkStack(s.depth); return { - parent: s, fn: sample_playerMoveRule__P312758, depth: s.depth + 1, + parent: s, fn: sample_playerMoveRule__P14941, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63230,7 +63182,7 @@ function sample_playerMoveRule__P312758_mk(s) { -function tileworld_makeIds__P302350(s) { +function tileworld_makeIds__P4194(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63244,22 +63196,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arrayMap__P297627_mk(s); + s.tmp_0 = helpers_arrayMap__P56_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = inline__P302355; + s.tmp_0.arg1 = inline__P4199; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tileworld_makeIds__P302350.info = {"start":2500,"length":122,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"rule.ts","functionName":"makeIds","argumentNames":["rules"]} -tileworld_makeIds__P302350.info = {"start":2500,"length":122,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"rule.ts","functionName":"makeIds","argumentNames":["rules"]} +tileworld_makeIds__P4194.info = {"start":2500,"length":122,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"rule.ts","functionName":"makeIds","argumentNames":["rules"]} +tileworld_makeIds__P4194.info = {"start":2500,"length":122,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"rule.ts","functionName":"makeIds","argumentNames":["rules"]} -function tileworld_makeIds__P302350_mk(s) { +function tileworld_makeIds__P4194_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_makeIds__P302350, depth: s.depth + 1, + parent: s, fn: tileworld_makeIds__P4194, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -63269,7 +63221,7 @@ function tileworld_makeIds__P302350_mk(s) { -function inline__P302355(s) { +function inline__P4199(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63284,9 +63236,9 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(IdRule__C302335_VT); + r0 = pxsim_pxtcore_mkClassInstance(IdRule__C4179_VT); s.tmp_0 = r0; - s.tmp_1 = IdRule_constructor__P302336_mk(s); + s.tmp_1 = IdRule_constructor__P4180_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg0; @@ -63297,13 +63249,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P302355.info = {"start":2576,"length":38,"line":88,"column":25,"endLine":88,"endColumn":63,"fileName":"rule.ts","functionName":"inline","argumentNames":["r","i"]} -inline__P302355.info = {"start":2576,"length":38,"line":88,"column":25,"endLine":88,"endColumn":63,"fileName":"rule.ts","functionName":"inline","argumentNames":["r","i"]} +inline__P4199.info = {"start":2576,"length":38,"line":88,"column":25,"endLine":88,"endColumn":63,"fileName":"rule.ts","functionName":"inline","argumentNames":["r","i"]} +inline__P4199.info = {"start":2576,"length":38,"line":88,"column":25,"endLine":88,"endColumn":63,"fileName":"rule.ts","functionName":"inline","argumentNames":["r","i"]} -function inline__P302355_mk(s) { +function inline__P4199_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P302355, depth: s.depth + 1, + parent: s, fn: inline__P4199, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63315,7 +63267,7 @@ function inline__P302355_mk(s) { -function tileworld_Project_constructor__P303157(s) { +function tileworld_Project_constructor__P5005(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63334,7 +63286,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C303119_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C4967_VT)) failedCast(r0); r0 = (s.arg0).fields["prefix"] = (s.arg1); r0 = (s.arg0).fields["fixedImages"] = (s.arg2); r0 = (s.arg0).fields["movableImages"] = (s.arg3); @@ -63350,13 +63302,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_constructor__P303157.info = {"start":402,"length":281,"line":14,"column":8,"endLine":21,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["this","prefix","fixedImages","movableImages","rules"]} -tileworld_Project_constructor__P303157.info = {"start":402,"length":281,"line":14,"column":8,"endLine":21,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["this","prefix","fixedImages","movableImages","rules"]} +tileworld_Project_constructor__P5005.info = {"start":402,"length":281,"line":14,"column":8,"endLine":21,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["this","prefix","fixedImages","movableImages","rules"]} +tileworld_Project_constructor__P5005.info = {"start":402,"length":281,"line":14,"column":8,"endLine":21,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["this","prefix","fixedImages","movableImages","rules"]} -function tileworld_Project_constructor__P303157_mk(s) { +function tileworld_Project_constructor__P5005_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_constructor__P303157, depth: s.depth + 1, + parent: s, fn: tileworld_Project_constructor__P5005, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -63369,7 +63321,7 @@ function tileworld_Project_constructor__P303157_mk(s) { -function WhenDo_constructor__P302322(s) { +function WhenDo_constructor__P4166(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63388,7 +63340,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, WhenDo__C302321_VT)) failedCast(r0); + if (!checkSubtype(r0, WhenDo__C4165_VT)) failedCast(r0); r0 = (s.arg0).fields["col"] = (s.arg1); r0 = (s.arg0).fields["row"] = (s.arg2); r0 = (s.arg0).fields["attrs"] = (s.arg3); @@ -63397,13 +63349,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -WhenDo_constructor__P302322.info = {"start":1306,"length":385,"line":53,"column":4,"endLine":58,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","col","row","attrs","commands"]} -WhenDo_constructor__P302322.info = {"start":1306,"length":385,"line":53,"column":4,"endLine":58,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","col","row","attrs","commands"]} +WhenDo_constructor__P4166.info = {"start":1306,"length":385,"line":53,"column":4,"endLine":58,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","col","row","attrs","commands"]} +WhenDo_constructor__P4166.info = {"start":1306,"length":385,"line":53,"column":4,"endLine":58,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","col","row","attrs","commands"]} -function WhenDo_constructor__P302322_mk(s) { +function WhenDo_constructor__P4166_mk(s) { checkStack(s.depth); return { - parent: s, fn: WhenDo_constructor__P302322, depth: s.depth + 1, + parent: s, fn: WhenDo_constructor__P4166, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -63416,7 +63368,7 @@ function WhenDo_constructor__P302322_mk(s) { -function Rule_constructor__P302329(s) { +function Rule_constructor__P4173(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63435,7 +63387,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Rule__C302328_VT)) failedCast(r0); + if (!checkSubtype(r0, Rule__C4172_VT)) failedCast(r0); r0 = (s.arg0).fields["kind"] = (s.arg1); r0 = (s.arg0).fields["rt"] = (s.arg2); r0 = (s.arg0).fields["dir"] = (s.arg3); @@ -63444,13 +63396,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Rule_constructor__P302329.info = {"start":1712,"length":387,"line":62,"column":4,"endLine":67,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","kind","rt","dir","whenDo"]} -Rule_constructor__P302329.info = {"start":1712,"length":387,"line":62,"column":4,"endLine":67,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","kind","rt","dir","whenDo"]} +Rule_constructor__P4173.info = {"start":1712,"length":387,"line":62,"column":4,"endLine":67,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","kind","rt","dir","whenDo"]} +Rule_constructor__P4173.info = {"start":1712,"length":387,"line":62,"column":4,"endLine":67,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","kind","rt","dir","whenDo"]} -function Rule_constructor__P302329_mk(s) { +function Rule_constructor__P4173_mk(s) { checkStack(s.depth); return { - parent: s, fn: Rule_constructor__P302329, depth: s.depth + 1, + parent: s, fn: Rule_constructor__P4173, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -63463,7 +63415,7 @@ function Rule_constructor__P302329_mk(s) { -function sample_SpriteAt__P312670(s) { +function sample_SpriteAt__P14853(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63473,14 +63425,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.attrs___312674 = undefined; + s.attrs___14857 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_fillAttr__P301972_mk(s); + s.tmp_0 = tileworld_fillAttr__P3816_mk(s); s.tmp_0.arg0 = 3; s.tmp_0.arg1 = 7; s.tmp_0.arg2 = s.arg0; @@ -63488,17 +63440,17 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.attrs___312674 = (r0); - r0 = pxsim_Array_.setAt(s.attrs___312674, 2, 0); - r0 = pxsim_Array_.setAt(s.attrs___312674, 1, 0); - r0 = pxsim_Array_.setAt(s.attrs___312674, 0, 0); - r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C302321_VT); + s.attrs___14857 = (r0); + r0 = pxsim_Array_.setAt(s.attrs___14857, 2, 0); + r0 = pxsim_Array_.setAt(s.attrs___14857, 1, 0); + r0 = pxsim_Array_.setAt(s.attrs___14857, 0, 0); + r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C4165_VT); s.tmp_0 = r0; - s.tmp_1 = WhenDo_constructor__P302322_mk(s); + s.tmp_1 = WhenDo_constructor__P4166_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.attrs___312674; + s.tmp_1.arg3 = s.attrs___14857; r0 = pxsim_Array__mk(); s.tmp_1.arg4 = r0; s.pc = 2; return s.tmp_1; @@ -63508,17 +63460,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -sample_SpriteAt__P312670.info = {"start":6191,"length":260,"line":160,"column":4,"endLine":164,"endColumn":5,"fileName":"test.ts","functionName":"SpriteAt","argumentNames":["id","col","row"]} -sample_SpriteAt__P312670.info = {"start":6191,"length":260,"line":160,"column":4,"endLine":164,"endColumn":5,"fileName":"test.ts","functionName":"SpriteAt","argumentNames":["id","col","row"]} +sample_SpriteAt__P14853.info = {"start":6191,"length":260,"line":160,"column":4,"endLine":164,"endColumn":5,"fileName":"test.ts","functionName":"SpriteAt","argumentNames":["id","col","row"]} +sample_SpriteAt__P14853.info = {"start":6191,"length":260,"line":160,"column":4,"endLine":164,"endColumn":5,"fileName":"test.ts","functionName":"SpriteAt","argumentNames":["id","col","row"]} -function sample_SpriteAt__P312670_mk(s) { +function sample_SpriteAt__P14853_mk(s) { checkStack(s.depth); return { - parent: s, fn: sample_SpriteAt__P312670, depth: s.depth + 1, + parent: s, fn: sample_SpriteAt__P14853, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - attrs___312674: undefined, + attrs___14857: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -63528,7 +63480,7 @@ function sample_SpriteAt__P312670_mk(s) { -function Command_constructor__P302317(s) { +function Command_constructor__P4161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63545,20 +63497,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Command__C302316_VT)) failedCast(r0); + if (!checkSubtype(r0, Command__C4160_VT)) failedCast(r0); r0 = (s.arg0).fields["inst"] = (s.arg1); r0 = (s.arg0).fields["arg"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -Command_constructor__P302317.info = {"start":1200,"length":83,"line":46,"column":4,"endLine":49,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","inst","arg"]} -Command_constructor__P302317.info = {"start":1200,"length":83,"line":46,"column":4,"endLine":49,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","inst","arg"]} +Command_constructor__P4161.info = {"start":1200,"length":83,"line":46,"column":4,"endLine":49,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","inst","arg"]} +Command_constructor__P4161.info = {"start":1200,"length":83,"line":46,"column":4,"endLine":49,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","inst","arg"]} -function Command_constructor__P302317_mk(s) { +function Command_constructor__P4161_mk(s) { checkStack(s.depth); return { - parent: s, fn: Command_constructor__P302317, depth: s.depth + 1, + parent: s, fn: Command_constructor__P4161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -63569,7 +63521,7 @@ function Command_constructor__P302317_mk(s) { -function sample_TileAt__P312657(s) { +function sample_TileAt__P14840(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63585,13 +63537,13 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C302321_VT); + r0 = pxsim_pxtcore_mkClassInstance(WhenDo__C4165_VT); s.tmp_0 = r0; - s.tmp_1 = WhenDo_constructor__P302322_mk(s); + s.tmp_1 = WhenDo_constructor__P4166_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.tmp_2 = tileworld_fillAttr__P301972_mk(s); + s.tmp_2 = tileworld_fillAttr__P3816_mk(s); s.tmp_2.arg0 = 3; s.tmp_2.arg1 = 7; s.tmp_2.arg2 = s.arg0; @@ -63609,13 +63561,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sample_TileAt__P312657.info = {"start":6008,"length":175,"line":156,"column":4,"endLine":158,"endColumn":5,"fileName":"test.ts","functionName":"TileAt","argumentNames":["id","col","row"]} -sample_TileAt__P312657.info = {"start":6008,"length":175,"line":156,"column":4,"endLine":158,"endColumn":5,"fileName":"test.ts","functionName":"TileAt","argumentNames":["id","col","row"]} +sample_TileAt__P14840.info = {"start":6008,"length":175,"line":156,"column":4,"endLine":158,"endColumn":5,"fileName":"test.ts","functionName":"TileAt","argumentNames":["id","col","row"]} +sample_TileAt__P14840.info = {"start":6008,"length":175,"line":156,"column":4,"endLine":158,"endColumn":5,"fileName":"test.ts","functionName":"TileAt","argumentNames":["id","col","row"]} -function sample_TileAt__P312657_mk(s) { +function sample_TileAt__P14840_mk(s) { checkStack(s.depth); return { - parent: s, fn: sample_TileAt__P312657, depth: s.depth + 1, + parent: s, fn: sample_TileAt__P14840, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63629,7 +63581,7 @@ function sample_TileAt__P312657_mk(s) { -function helpers_arrayConcat__P297634(s) { +function helpers_arrayConcat__P63(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63639,75 +63591,75 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.out___313099 = undefined; - s.value___313102 = undefined; - s.unnamed2862___U2 = undefined; - s.unnamed2863___U3 = undefined; - s.value___313109 = undefined; - s.unnamed2864___U5 = undefined; - s.unnamed2865___U6 = undefined; + s.out___15282 = undefined; + s.value___15285 = undefined; + s.unnamed40___U2 = undefined; + s.unnamed41___U3 = undefined; + s.value___15292 = undefined; + s.unnamed42___U5 = undefined; + s.unnamed43___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___313099 = (r0); - s.value___313102 = (undefined); - s.unnamed2862___U2 = (s.arg0); - s.unnamed2863___U3 = (0); + s.out___15282 = (r0); + s.value___15285 = (undefined); + s.unnamed40___U2 = (s.arg0); + s.unnamed41___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed2863___U3; - r0 = pxsim_Array__length(s.unnamed2862___U2); + s.tmp_0 = r0 = s.unnamed41___U3; + r0 = pxsim_Array__length(s.unnamed40___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed2862___U2, s.unnamed2863___U3); - s.value___313102 = (r0); - r0 = pxsim_Array__push(s.out___313099, s.value___313102); - r0 = (s.unnamed2863___U3 + 1); - s.unnamed2863___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed40___U2, s.unnamed41___U3); + s.value___15285 = (r0); + r0 = pxsim_Array__push(s.out___15282, s.value___15285); + r0 = (s.unnamed41___U3 + 1); + s.unnamed41___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed2862___U2 = (undefined); - s.value___313109 = (undefined); - s.unnamed2864___U5 = (s.arg1); - s.unnamed2865___U6 = (0); + s.unnamed40___U2 = (undefined); + s.value___15292 = (undefined); + s.unnamed42___U5 = (s.arg1); + s.unnamed43___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed2865___U6; - r0 = pxsim_Array__length(s.unnamed2864___U5); + s.tmp_0 = r0 = s.unnamed43___U6; + r0 = pxsim_Array__length(s.unnamed42___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed2864___U5, s.unnamed2865___U6); - s.value___313109 = (r0); - r0 = pxsim_Array__push(s.out___313099, s.value___313109); - r0 = (s.unnamed2865___U6 + 1); - s.unnamed2865___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed42___U5, s.unnamed43___U6); + s.value___15292 = (r0); + r0 = pxsim_Array__push(s.out___15282, s.value___15292); + r0 = (s.unnamed43___U6 + 1); + s.unnamed43___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed2864___U5 = (undefined); - r0 = s.out___313099; + s.unnamed42___U5 = (undefined); + r0 = s.out___15282; return leave(s, r0) default: oops() } } } -helpers_arrayConcat__P297634.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__P297634.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__P63.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__P63.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__P297634_mk(s) { +function helpers_arrayConcat__P63_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P297634, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P63, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___313099: undefined, - value___313102: undefined, - unnamed2862___U2: undefined, - unnamed2863___U3: undefined, - value___313109: undefined, - unnamed2864___U5: undefined, - unnamed2865___U6: undefined, + out___15282: undefined, + value___15285: undefined, + unnamed40___U2: undefined, + unnamed41___U3: undefined, + value___15292: undefined, + unnamed42___U5: undefined, + unnamed43___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -63716,7 +63668,7 @@ function helpers_arrayConcat__P297634_mk(s) { -function tileworld_fillAttr__P301972(s) { +function tileworld_fillAttr__P3816(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63726,8 +63678,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.res___301977 = undefined; - s.j___301979 = undefined; + s.res___3821 = undefined; + s.j___3823 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -63736,14 +63688,14 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___301977 = (r0); - s.j___301979 = (0); + s.res___3821 = (r0); + s.j___3823 = (0); case 1: - r0 = (s.j___301979 < s.arg1); + r0 = (s.j___3823 < s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = (s.j___301979 == s.arg2); + r0 = (s.j___3823 == s.arg2); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -63754,28 +63706,28 @@ switch (step) { case 3: // jmp value (already in r0) s.tmp_2 = r0; - r0 = pxsim_Array__push(s.res___301977, s.tmp_2); - r0 = (s.j___301979 + 1); - s.j___301979 = (r0); + r0 = pxsim_Array__push(s.res___3821, s.tmp_2); + r0 = (s.j___3823 + 1); + s.j___3823 = (r0); { step = 1; continue; } case 4: - r0 = s.res___301977; + r0 = s.res___3821; return leave(s, r0) default: oops() } } } -tileworld_fillAttr__P301972.info = {"start":50,"length":216,"line":4,"column":4,"endLine":10,"endColumn":5,"fileName":"utilities.ts","functionName":"fillAttr","argumentNames":["f","n","i","g"]} -tileworld_fillAttr__P301972.info = {"start":50,"length":216,"line":4,"column":4,"endLine":10,"endColumn":5,"fileName":"utilities.ts","functionName":"fillAttr","argumentNames":["f","n","i","g"]} +tileworld_fillAttr__P3816.info = {"start":50,"length":216,"line":4,"column":4,"endLine":10,"endColumn":5,"fileName":"utilities.ts","functionName":"fillAttr","argumentNames":["f","n","i","g"]} +tileworld_fillAttr__P3816.info = {"start":50,"length":216,"line":4,"column":4,"endLine":10,"endColumn":5,"fileName":"utilities.ts","functionName":"fillAttr","argumentNames":["f","n","i","g"]} -function tileworld_fillAttr__P301972_mk(s) { +function tileworld_fillAttr__P3816_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_fillAttr__P301972, depth: s.depth + 1, + parent: s, fn: tileworld_fillAttr__P3816, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___301977: undefined, - j___301979: undefined, + res___3821: undefined, + j___3823: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -63786,7 +63738,7 @@ function tileworld_fillAttr__P301972_mk(s) { -function game_eventContext__P298726(s) { +function game_eventContext__P1234(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63796,22 +63748,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = game_init__P298727_mk(s); + s.tmp_0 = game_init__P1235_mk(s); s.tmp_0.arg0 = undefined; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___298716.fields["eventContext"]; + r0 = globals._scene___1224.fields["eventContext"]; return leave(s, r0) default: oops() } } } -game_eventContext__P298726.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"eventContext","argumentNames":[]} -game_eventContext__P298726.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"eventContext","argumentNames":[]} +game_eventContext__P1234.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} +game_eventContext__P1234.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} -function game_eventContext__P298726_mk(s) { +function game_eventContext__P1234_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_eventContext__P298726, depth: s.depth + 1, + parent: s, fn: game_eventContext__P1234, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -63820,7 +63772,7 @@ function game_eventContext__P298726_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P298204(s) { +function controller_pauseUntilAnyButtonIsPressed__P712(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63840,13 +63792,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_pauseUntilAnyButtonIsPressed__P298204.info = {"start":19144,"length":96,"line":583,"column":4,"endLine":585,"endColumn":5,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} -controller_pauseUntilAnyButtonIsPressed__P298204.info = {"start":19144,"length":96,"line":583,"column":4,"endLine":585,"endColumn":5,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P712.info = {"start":19144,"length":96,"line":583,"column":4,"endLine":585,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P712.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__P298204_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P712_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P298204, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P712, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -63854,7 +63806,7 @@ function controller_pauseUntilAnyButtonIsPressed__P298204_mk(s) { -function game_setWaitAnyButton__P298724(s) { +function game_setWaitAnyButton__P1232(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63868,18 +63820,18 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___298720 = (s.arg0); + globals.__waitAnyButton___1228 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setWaitAnyButton__P298724.info = {"start":878,"length":83,"line":31,"column":4,"endLine":33,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} -game_setWaitAnyButton__P298724.info = {"start":878,"length":83,"line":31,"column":4,"endLine":33,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} +game_setWaitAnyButton__P1232.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__P1232.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__P298724_mk(s) { +function game_setWaitAnyButton__P1232_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P298724, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P1232, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -63888,7 +63840,7 @@ function game_setWaitAnyButton__P298724_mk(s) { -function console_log__P297810(s) { +function Math_abs__P73(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63902,25 +63854,31 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P297806_mk(s); - s.tmp_0.arg0 = 1; - s.tmp_0.arg1 = s.arg0; - s.pc = 1; return s.tmp_0; + r0 = (s.arg0 < 0); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = (0 - s.arg0); + { step = 2; continue; } case 1: - r0 = s.retval; - r0 = undefined; + r0 = s.arg0; + case 2: + // jmp value (already in r0) + s.tmp_1 = r0; + r0 = s.tmp_1; return leave(s, r0) default: oops() } } } -console_log__P297810.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__P297810.info = {"start":1450,"length":86,"line":58,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"log","argumentNames":["value"]} +Math_abs__P73.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__P73.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 console_log__P297810_mk(s) { +function Math_abs__P73_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P297810, depth: s.depth + 1, + parent: s, fn: Math_abs__P73, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, + tmp_1: undefined, arg0: undefined, } } @@ -63928,7 +63886,7 @@ function console_log__P297810_mk(s) { -function console_add__P297806(s) { +function Math_sign__P74(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63938,88 +63896,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.text___322317 = undefined; - s.i___322329 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = console_inspect__P297812_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___322317 = (r0); - r0 = (s.arg0 < globals.minPriority___297803); + r0 = (s.arg0 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } + r0 = 0; { step = 5; continue; } case 1: case 2: - if ((s.text___322317) && (s.text___322317).vtable) { - setupResume(s, 7); - pxsim_String__stringConv(s.text___322317); - checkResumeConsumed(); - return; - } else { s.retval = (s.text___322317) + ""; } - case 7: - r0 = s.retval; + r0 = (s.arg0 > 0); s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "\n"); - s.text___322317 = (r0); - s.i___322329 = (0); + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + if (!r0) { step = 3; continue; } + r0 = 1; + { step = 5; continue; } case 3: - s.tmp_1 = r0 = s.i___322329; - r0 = pxsim_Array__length(globals.listeners___297805); - 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___297805, s.i___322329); - s.tmp_3.argL = r0; - s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___322317; - setupLambda(s.tmp_3, s.tmp_3.argL); - s.pc = 8; return s.tmp_3; - case 8: - r0 = s.retval; - r0 = (s.i___322329 + 1); - s.i___322329 = (r0); - { step = 3; continue; } case 4: + r0 = -1; case 5: - r0 = undefined; return leave(s, r0) default: oops() } } } -console_add__P297806.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__P297806.info = {"start":632,"length":317,"line":28,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"add","argumentNames":["priority","message"]} +Math_sign__P74.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__P74.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 console_add__P297806_mk(s) { +function Math_sign__P74_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P297806, depth: s.depth + 1, + parent: s, fn: Math_sign__P74, 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___322317: undefined, - i___322329: undefined, arg0: undefined, - arg1: undefined, } } -function inline__P297804(s) { +function texteffects_TextEffect_constructor__P1852(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64034,18 +63953,20 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim.control.__log(s.arg0, s.arg1); + r0 = s.arg0; + if (!checkSubtype(r0, texteffects_TextEffect__C1851_VT)) failedCast(r0); + r0 = (s.arg0).fields["getState"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P297804.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__P297804.info = {"start":534,"length":85,"line":25,"column":8,"endLine":25,"endColumn":93,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["priority","text"]} +texteffects_TextEffect_constructor__P1852.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__P1852.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 inline__P297804_mk(s) { +function texteffects_TextEffect_constructor__P1852_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P297804, depth: s.depth + 1, + parent: s, fn: texteffects_TextEffect_constructor__P1852, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -64055,7 +63976,7 @@ function inline__P297804_mk(s) { -function jacdac_JDConsoleService_consoleMode__P299645(s) { +function Math_FastRandom_constructor__P1516(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64071,30 +63992,30 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDConsoleService__C299642_VT)) failedCast(r0); - r0 = s.arg0.fields["_consoleMode"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 != s.arg1); + if (!checkSubtype(r0, Math_FastRandom__C1509_VT)) failedCast(r0); + r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = (s.arg0).fields["_consoleMode"] = (s.arg1); + r0 = pxsim.Math_.randomRange(1, 65535); + s.arg1 = (r0); case 1: case 2: + r0 = (s.arg0).fields["seed"] = (s.arg1); + r0 = (s.arg0).fields["lfsr"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDConsoleService_consoleMode__P299645.info = {"start":1750,"length":170,"line":52,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/jacdac/consoleservice.ts","functionName":"consoleMode","argumentNames":["this","consoleMode"]} -jacdac_JDConsoleService_consoleMode__P299645.info = {"start":1750,"length":170,"line":52,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/jacdac/consoleservice.ts","functionName":"consoleMode","argumentNames":["this","consoleMode"]} +Math_FastRandom_constructor__P1516.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__P1516.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 jacdac_JDConsoleService_consoleMode__P299645_mk(s) { +function Math_FastRandom_constructor__P1516_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDConsoleService_consoleMode__P299645, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P1516, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - tmp_1: undefined, arg0: undefined, arg1: undefined, } } @@ -64103,7 +64024,7 @@ function jacdac_JDConsoleService_consoleMode__P299645_mk(s) { -function game_consoleOverlay_setVisible__P299125(s) { +function control_ramSize__P223(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64113,71 +64034,38 @@ 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; - } - s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___299086); - s.tmp_5 = r0; - r0 = pxsim_Boolean__bang(s.tmp_5); - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); - s.tmp_3 = r0; - r0 = pxsim_Boolean__bang(s.tmp_3); - s.tmp_2 = r0; - r0 = (s.tmp_1 != s.tmp_2); + r0 = pxsim_pxtcore.getConfig(205, 0); s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(s.arg0); + r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_Array__mk(); + r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = undefined; + r0 = 33554432; case 2: // jmp value (already in r0) - s.tmp_6 = r0; - globals.consoleStrings___299086 = (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___299085 = (s.arg1); - case 5: - case 6: - r0 = undefined; + s.tmp_1 = r0; + r0 = s.tmp_1; return leave(s, r0) default: oops() } } } -game_consoleOverlay_setVisible__P299125.info = {"start":562,"length":219,"line":19,"column":4,"endLine":24,"endColumn":5,"fileName":"pxt_modules/game---hw/console.ts","functionName":"setVisible","argumentNames":["value","col"]} -game_consoleOverlay_setVisible__P299125.info = {"start":562,"length":219,"line":19,"column":4,"endLine":24,"endColumn":5,"fileName":"pxt_modules/game---hw/console.ts","functionName":"setVisible","argumentNames":["value","col"]} +control_ramSize__P223.info = {"start":9191,"length":100,"line":308,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} +control_ramSize__P223.info = {"start":9191,"length":100,"line":308,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} -function game_consoleOverlay_setVisible__P299125_mk(s) { +function control_ramSize__P223_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P299125, depth: s.depth + 1, + parent: s, fn: control_ramSize__P223, 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, - arg1: undefined, } } -function jacdac_consoleService__P299861(s) { +function control__ramSize__P222(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64187,35 +64075,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = jacdac_JACDAC_consoleService__P299838_mk(s); - s.tmp_1 = jacdac_JACDAC_instance__P299852_mk(s); - s.pc = 2; return s.tmp_1; - case 2: - r0 = s.retval; - s.tmp_0.arg0 = r0; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; + r0 = 33554432; return leave(s, r0) default: oops() } } } -jacdac_consoleService__P299861.info = {"start":6575,"length":112,"line":227,"column":4,"endLine":229,"endColumn":5,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"consoleService","argumentNames":[]} -jacdac_consoleService__P299861.info = {"start":6575,"length":112,"line":227,"column":4,"endLine":229,"endColumn":5,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"consoleService","argumentNames":[]} +control__ramSize__P222.info = {"start":9071,"length":60,"line":303,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P222.info = {"start":9071,"length":60,"line":303,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} -function jacdac_consoleService__P299861_mk(s) { +function control__ramSize__P222_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_consoleService__P299861, depth: s.depth + 1, + parent: s, fn: control__ramSize__P222, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, } } -function jacdac_JACDAC_instance__P299852(s) { +function game_consoleOverlay_listener__P1630(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64225,48 +64103,97 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = r0 = globals.jacdac_JACDAC__instance___299855; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___1594); + 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_pxtcore_mkClassInstance(jacdac_JACDAC__C299830_VT); - s.tmp_1 = r0; - s.tmp_2 = jacdac_JACDAC_constructor__P299856_mk(s); - s.tmp_2.arg0 = s.tmp_1; - s.pc = 3; return s.tmp_2; - case 3: - r0 = s.retval; - globals.jacdac_JACDAC__instance___299855 = (s.tmp_1); - r0 = s.tmp_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 = s.tmp_3; - return leaveAccessor(s, r0) + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + if (!r0) { step = 3; continue; } + { step = 7; continue; } + case 3: + case 4: + s.tmp_4 = helpers_arrayForEach__P59_mk(s); + s.tmp_5 = helpers_arrayFilter__P60_mk(s); + s.tmp_6 = helpers_stringSplit__P69_mk(s); + s.tmp_6.arg0 = s.arg1; + s.tmp_6.arg1 = "\n"; + s.tmp_6.arg2 = undefined; + s.pc = 10; return s.tmp_6; + case 10: + r0 = s.retval; + s.tmp_5.arg0 = r0; + s.tmp_5.arg1 = inline__P24590; + s.pc = 9; return s.tmp_5; + case 9: + r0 = s.retval; + s.tmp_4.arg0 = r0; + s.tmp_4.arg1 = inline__P24595; + s.pc = 8; return s.tmp_4; + case 8: + r0 = s.retval; + r0 = pxsim_Array__length(globals.consoleStrings___1594); + s.tmp_1 = r0; + r0 = (s.tmp_1 > globals.consoleLines___1607); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 5; continue; } + s.tmp_2 = helpers_arraySplice__P48_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___1594; + s.tmp_2.arg1 = 0; + r0 = pxsim_Array__length(globals.consoleStrings___1594); + s.tmp_3 = r0; + r0 = (s.tmp_3 - globals.consoleLines___1607); + s.tmp_2.arg2 = r0; + s.pc = 11; return s.tmp_2; + case 11: + r0 = s.retval; + case 5: + case 6: + case 7: + r0 = undefined; + return leave(s, r0) default: oops() } } } -jacdac_JACDAC_instance__P299852.info = {"start":4876,"length":110,"line":165,"column":8,"endLine":167,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"instance","argumentNames":[]} -jacdac_JACDAC_instance__P299852.isGetter = true; -jacdac_JACDAC_instance__P299852.info = {"start":4876,"length":110,"line":165,"column":8,"endLine":167,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"instance","argumentNames":[]} +game_consoleOverlay_listener__P1630.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__P1630.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 jacdac_JACDAC_instance__P299852_mk(s) { +function game_consoleOverlay_listener__P1630_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JACDAC_instance__P299852, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P1630, 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, + arg1: undefined, } } -function jacdac_JACDAC_constructor__P299856(s) { +function inline__P24590(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64280,38 +64207,27 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JACDAC__C299830_VT)) failedCast(r0); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtcore_mkClassInstance(jacdac_JDDummyBus__C299827_VT); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["_bus"] = (s.tmp_1); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim_Array__mk(); + r0 = pxsim_numops_toBoolDecr(s.arg0); + s.tmp_2 = r0; + r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_0).fields["_services"] = (s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(jacdac_JDControlService__C299713_VT); + r0 = pxsim_numops_toBoolDecr(s.tmp_1); s.tmp_0 = r0; - s.tmp_1 = jacdac_JDControlService_constructor__P299730_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["_controlService"] = (s.tmp_0); - r0 = undefined; + r0 = pxsim_Boolean__bang(s.tmp_0); return leave(s, r0) default: oops() } } } -jacdac_JACDAC_constructor__P299856.info = {"start":1513,"length":167,"line":64,"column":8,"endLine":68,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"inline","argumentNames":["this"]} -jacdac_JACDAC_constructor__P299856.info = {"start":1513,"length":167,"line":64,"column":8,"endLine":68,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"inline","argumentNames":["this"]} +inline__P24590.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P24590.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} -function jacdac_JACDAC_constructor__P299856_mk(s) { +function inline__P24590_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JACDAC_constructor__P299856, depth: s.depth + 1, + parent: s, fn: inline__P24590, 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, } } @@ -64319,7 +64235,7 @@ function jacdac_JACDAC_constructor__P299856_mk(s) { -function jacdac_JDControlService_constructor__P299730(s) { +function inline__P24595(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64329,58 +64245,54 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: + s.j___24597 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDControlService__C299713_VT)) failedCast(r0); - s.tmp_0 = jacdac_JDService_constructor__P299606_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = 4; - s.pc = 1; return s.tmp_0; + s.j___24597 = (0); case 1: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(jacdac_JDDeviceManager__C299814_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_JDDeviceManager_constructor__P299821_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["deviceManager"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(jacdac_JDRNGService__C299870_VT); + s.tmp_1 = r0 = s.j___24597; + r0 = pxsim_String_.length(s.arg0); + s.tmp_2 = r0; + r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; - s.tmp_1 = jacdac_JDRNGService_constructor__P299873_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 3; return s.tmp_1; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 2; continue; } + s.tmp_3 = r0 = globals.consoleStrings___1594; + s.tmp_5 = helpers_stringSlice__P67_mk(s); + s.tmp_5.arg0 = s.arg0; + s.tmp_5.arg1 = s.j___24597; + r0 = (s.j___24597 + globals.consoleColumns___1618); + s.tmp_5.arg2 = r0; + s.pc = 3; return s.tmp_5; case 3: r0 = s.retval; - r0 = (s.arg0).fields["rngService"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(jacdac_JDConfigurationService__C299615_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_JDConfigurationService_constructor__P299621_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 4; return s.tmp_1; - case 4: - r0 = s.retval; - r0 = (s.arg0).fields["configurationService"] = (s.tmp_0); - r0 = (s.arg0).fields["nextAddress"] = (254); + s.tmp_4 = r0; + r0 = pxsim_Array__push(s.tmp_3, s.tmp_4); + r0 = (s.j___24597 + globals.consoleColumns___1618); + s.j___24597 = (r0); + { step = 1; continue; } + case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDControlService_constructor__P299730.info = {"start":8890,"length":340,"line":228,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/jacdac/control.ts","functionName":"inline","argumentNames":["this"]} -jacdac_JDControlService_constructor__P299730.info = {"start":8890,"length":340,"line":228,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/jacdac/control.ts","functionName":"inline","argumentNames":["this"]} +inline__P24595.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P24595.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} -function jacdac_JDControlService_constructor__P299730_mk(s) { +function inline__P24595_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDControlService_constructor__P299730, depth: s.depth + 1, + parent: s, fn: inline__P24595, 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, + j___24597: undefined, arg0: undefined, } } @@ -64388,7 +64300,7 @@ function jacdac_JDControlService_constructor__P299730_mk(s) { -function jacdac_JDRNGService_constructor__P299873(s) { +function console_addListener__P242(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64402,29 +64314,44 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDRNGService__C299870_VT)) failedCast(r0); - s.tmp_0 = jacdac_JDService_constructor__P299606_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = 1; - s.tmp_0.arg2 = 4; - 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 = s.retval; - r0 = (s.arg0).fields["service_number"] = (2); + r0 = pxsim_Array_.indexOf(globals.listeners___234, s.arg0, undefined); + 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; } + { step = 5; continue; } + case 3: + case 4: + r0 = pxsim_Array__push(globals.listeners___234, s.arg0); + case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDRNGService_constructor__P299873.info = {"start":411,"length":172,"line":14,"column":8,"endLine":17,"endColumn":9,"fileName":"pxt_modules/jacdac/rngservice.ts","functionName":"inline","argumentNames":["this"]} -jacdac_JDRNGService_constructor__P299873.info = {"start":411,"length":172,"line":14,"column":8,"endLine":17,"endColumn":9,"fileName":"pxt_modules/jacdac/rngservice.ts","functionName":"inline","argumentNames":["this"]} +console_addListener__P242.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__P242.info = {"start":3510,"length":197,"line":120,"column":4,"endLine":123,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"addListener","argumentNames":["listener"]} -function jacdac_JDRNGService_constructor__P299873_mk(s) { +function console_addListener__P242_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDRNGService_constructor__P299873, depth: s.depth + 1, + parent: s, fn: console_addListener__P242, 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, } } @@ -64432,7 +64359,7 @@ function jacdac_JDRNGService_constructor__P299873_mk(s) { -function jacdac_JDDeviceManager_constructor__P299821(s) { +function scene_systemMenu_register__P1550(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64442,38 +64369,39 @@ 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, jacdac_JDDeviceManager__C299814_VT)) failedCast(r0); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim_Array__mk(); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["devices"] = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(globals.instance___1517); + if (!r0) { step = 1; continue; } + { step = 3; continue; } + case 1: + case 2: + s.tmp_0 = controller_Button_onEvent__P666_mk(s); + s.tmp_0.arg0 = globals.menu___644; + s.tmp_0.arg1 = 2049; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P1551; + s.pc = 4; return s.tmp_0; + case 4: + r0 = s.retval; + case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDDeviceManager_constructor__P299821.info = {"start":92,"length":56,"line":4,"column":8,"endLine":6,"endColumn":9,"fileName":"pxt_modules/jacdac/devicemanager.ts","functionName":"inline","argumentNames":["this"]} -jacdac_JDDeviceManager_constructor__P299821.info = {"start":92,"length":56,"line":4,"column":8,"endLine":6,"endColumn":9,"fileName":"pxt_modules/jacdac/devicemanager.ts","functionName":"inline","argumentNames":["this"]} +scene_systemMenu_register__P1550.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__P1550.info = {"start":12331,"length":193,"line":372,"column":4,"endLine":376,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"register","argumentNames":[]} -function jacdac_JDDeviceManager_constructor__P299821_mk(s) { +function scene_systemMenu_register__P1550_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDDeviceManager_constructor__P299821, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P1550, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - tmp_1: undefined, - arg0: undefined, } } -function jacdac_JDConfigurationService_constructor__P299621(s) { +function scene_systemMenu_showSystemMenu__P1551(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64483,41 +64411,52 @@ 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, jacdac_JDConfigurationService__C299615_VT)) failedCast(r0); - s.tmp_0 = jacdac_JDService_constructor__P299606_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = 2; - s.tmp_0.arg2 = 4; - s.pc = 1; return s.tmp_0; + r0 = pxsim_numops_toBoolDecr(globals.instance___1517); + if (!r0) { step = 1; continue; } + { step = 3; continue; } case 1: + case 2: + s.tmp_0 = game_pushScene__P1236_mk(s); + s.pc = 4; return s.tmp_0; + case 4: + r0 = s.retval; + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C1529_VT); + s.tmp_0 = r0; + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P1536_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P1547; + s.tmp_1.arg2 = undefined; + s.pc = 5; return s.tmp_1; + case 5: r0 = s.retval; - r0 = (s.arg0).fields["service_number"] = (1); + globals.instance___1517 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P1530_mk(s); + s.tmp_0.arg0 = globals.instance___1517; + s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; + case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDConfigurationService_constructor__P299621.info = {"start":589,"length":192,"line":20,"column":8,"endLine":23,"endColumn":9,"fileName":"pxt_modules/jacdac/configurationservice.ts","functionName":"inline","argumentNames":["this"]} -jacdac_JDConfigurationService_constructor__P299621.info = {"start":589,"length":192,"line":20,"column":8,"endLine":23,"endColumn":9,"fileName":"pxt_modules/jacdac/configurationservice.ts","functionName":"inline","argumentNames":["this"]} +scene_systemMenu_showSystemMenu__P1551.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__P1551.info = {"start":12530,"length":172,"line":378,"column":4,"endLine":383,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"showSystemMenu","argumentNames":[]} -function jacdac_JDConfigurationService_constructor__P299621_mk(s) { +function scene_systemMenu_showSystemMenu__P1551_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDConfigurationService_constructor__P299621, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P1551, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - arg0: undefined, + tmp_1: undefined, } } -function jacdac_JDService_constructor__P299606(s) { +function scene_systemMenu_buildOptionList__P1547(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64527,41 +64466,137 @@ 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, jacdac_JDService__C299596_VT)) failedCast(r0); - r0 = (s.arg0).fields["_service_class"] = (s.arg1); - r0 = (s.arg0).fields["service_number"] = (65535); - r0 = (s.arg0).fields["status"] = (0); - r0 = (s.arg0).fields["_mode"] = (s.arg2); - r0 = (s.arg0).fields["service_flags"] = (0); - r0 = undefined; + s.options___25266 = undefined; + r0 = pxsim_Array__mk(); + s.options___25266 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C1520_VT); + s.tmp_0 = r0; + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P1528_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___1578; + s.tmp_1.arg2 = inline__P25274; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P1539; + s.pc = 5; return s.tmp_1; + case 5: + r0 = s.retval; + r0 = pxsim_Array__push(s.options___25266, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C1520_VT); + s.tmp_0 = r0; + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P1528_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___1569; + s.tmp_1.arg2 = inline__P25288; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P1538; + s.pc = 6; return s.tmp_1; + case 6: + r0 = s.retval; + r0 = pxsim_Array__push(s.options___25266, 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__C1520_VT); + s.tmp_1 = r0; + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P1528_mk(s); + s.tmp_2.arg0 = s.tmp_1; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___1572; + s.tmp_2.arg2 = inline__P25303; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P1541; + s.pc = 7; return s.tmp_2; + case 7: + r0 = s.retval; + r0 = pxsim_Array__push(s.options___25266, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C1520_VT); + s.tmp_0 = r0; + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P1528_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___1587; + s.tmp_1.arg2 = inline__P25319; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P1540; + s.pc = 8; return s.tmp_1; + case 8: + r0 = s.retval; + r0 = pxsim_Array__push(s.options___25266, s.tmp_0); + case 1: + case 2: + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C1520_VT); + s.tmp_0 = r0; + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P1528_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = globals.STATS_ICON___1590; + s.tmp_1.arg2 = inline__P25334; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P1542; + s.pc = 9; return s.tmp_1; + case 9: + r0 = s.retval; + r0 = pxsim_Array__push(s.options___25266, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C1520_VT); + s.tmp_0 = r0; + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P1528_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = globals.CONSOLE_ICON___1584; + s.tmp_1.arg2 = inline__P25343; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P1543; + s.pc = 10; return s.tmp_1; + case 10: + r0 = s.retval; + r0 = pxsim_Array__push(s.options___25266, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C1520_VT); + s.tmp_0 = r0; + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P1528_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = globals.SLEEP_ICON___1581; + s.tmp_1.arg2 = inline__P25352; + s.tmp_1.arg3 = scene_systemMenu_sleep__P1544; + s.pc = 11; return s.tmp_1; + case 11: + r0 = s.retval; + r0 = pxsim_Array__push(s.options___25266, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___1518); + if (!r0) { step = 3; continue; } + s.tmp_0 = helpers_arrayConcat__P63_mk(s); + s.tmp_0.arg0 = s.options___25266; + s.tmp_0.arg1 = globals.customMenuOptions___1518; + s.pc = 12; return s.tmp_0; + case 12: + r0 = s.retval; + s.options___25266 = (r0); + case 3: + case 4: + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C1520_VT); + s.tmp_0 = r0; + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P1528_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___1575; + s.tmp_1.arg2 = inline__P25365; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P1545; + s.pc = 13; return s.tmp_1; + case 13: + r0 = s.retval; + r0 = pxsim_Array__push(s.options___25266, s.tmp_0); + r0 = s.options___25266; return leave(s, r0) default: oops() } } } -jacdac_JDService_constructor__P299606.info = {"start":815,"length":280,"line":35,"column":8,"endLine":41,"endColumn":9,"fileName":"pxt_modules/jacdac/service.ts","functionName":"inline","argumentNames":["this","service_class","mode"]} -jacdac_JDService_constructor__P299606.info = {"start":815,"length":280,"line":35,"column":8,"endLine":41,"endColumn":9,"fileName":"pxt_modules/jacdac/service.ts","functionName":"inline","argumentNames":["this","service_class","mode"]} +scene_systemMenu_buildOptionList__P1547.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__P1547.info = {"start":10037,"length":1149,"line":324,"column":4,"endLine":344,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildOptionList","argumentNames":[]} -function jacdac_JDService_constructor__P299606_mk(s) { +function scene_systemMenu_buildOptionList__P1547_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDService_constructor__P299606, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P1547, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, - arg1: undefined, - arg2: undefined, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + options___25266: undefined, } } -function jacdac_JACDAC_consoleService__P299838(s) { +function inline__P25274(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64571,63 +64606,45 @@ 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, jacdac_JACDAC__C299830_VT)) failedCast(r0); - r0 = s.arg0.fields["_consoleService"]; + s.tmp_3 = music_volume__P404_mk(s); + s.pc = 1; return s.tmp_3; + case 1: + r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); + if ((s.tmp_2) && (s.tmp_2).vtable) { + setupResume(s, 2); + pxsim_String__stringConv(s.tmp_2); + checkResumeConsumed(); + return; + } else { s.retval = (s.tmp_2) + ""; } + case 2: + r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); + r0 = pxsim_String__concat("VOLUME DOWN (", s.tmp_1); s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkClassInstance(jacdac_JDConsoleService__C299642_VT); - s.tmp_3 = r0; - s.tmp_4 = jacdac_JDConsoleService_constructor__P299656_mk(s); - s.tmp_4.arg0 = s.tmp_3; - s.pc = 3; return s.tmp_4; - case 3: - r0 = s.retval; - r0 = (s.arg0).fields["_consoleService"] = (s.tmp_3); - s.tmp_0 = jacdac_JACDAC_add__P299849_mk(s); - s.tmp_0.arg0 = s.arg0; - r0 = s.arg0.fields["_consoleService"]; - s.tmp_0.arg1 = r0; - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - case 1: - case 2: - r0 = s.arg0.fields["_consoleService"]; - return leaveAccessor(s, r0) + r0 = pxsim_String__concat(s.tmp_0, ")"); + return leave(s, r0) default: oops() } } } -jacdac_JACDAC_consoleService__P299838.info = {"start":1264,"length":239,"line":56,"column":8,"endLine":62,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"consoleService","argumentNames":["this"]} -jacdac_JACDAC_consoleService__P299838.isGetter = true; -jacdac_JACDAC_consoleService__P299838.info = {"start":1264,"length":239,"line":56,"column":8,"endLine":62,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"consoleService","argumentNames":["this"]} +inline__P25274.info = {"start":10182,"length":39,"line":327,"column":54,"endLine":327,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25274.info = {"start":10182,"length":39,"line":327,"column":54,"endLine":327,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function jacdac_JACDAC_consoleService__P299838_mk(s) { +function inline__P25274_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JACDAC_consoleService__P299838, depth: s.depth + 1, + parent: s, fn: inline__P25274, 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, } } -function jacdac_JACDAC_add__P299849(s) { +function inline__P25288(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64637,159 +64654,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.s___322482 = undefined; - s.unnamed2918___U1 = undefined; - s.unnamed2919___U2 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JACDAC__C299830_VT)) failedCast(r0); - s.s___322482 = (undefined); - r0 = s.arg0.fields["_services"]; - s.unnamed2918___U1 = (r0); - s.unnamed2919___U2 = (0); + s.tmp_3 = music_volume__P404_mk(s); + s.pc = 1; return s.tmp_3; case 1: - s.tmp_0 = r0 = s.unnamed2919___U2; - r0 = pxsim_Array__length(s.unnamed2918___U1); - s.tmp_1 = r0; - r0 = (s.tmp_0 < s.tmp_1); - if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed2918___U1, s.unnamed2919___U2); - s.s___322482 = (r0); - r0 = (s.s___322482 == s.arg1); - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 2; continue; } - r0 = false; - { step = 9; continue; } - case 2: - case 3: - r0 = (s.unnamed2919___U2 + 1); - s.unnamed2919___U2 = (r0); - { step = 1; continue; } - case 4: - s.unnamed2918___U1 = (undefined); - r0 = s.arg0.fields["_services"]; - s.tmp_3 = r0; - r0 = pxsim_Array__push(s.tmp_3, s.arg1); - s.tmp_0 = jacdac_options_log__P299926_mk(s); - r0 = s.arg1.fields["_service_class"]; - s.tmp_7 = r0; - if ((s.tmp_7) && (s.tmp_7).vtable) { - setupResume(s, 11); - pxsim_String__stringConv(s.tmp_7); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_7) + ""; } - case 11: r0 = s.retval; - s.tmp_6 = r0; - r0 = pxsim_String__concat("added service cls:", s.tmp_6); - s.tmp_5 = r0; - r0 = pxsim_String__concat(s.tmp_5, ", md:"); - s.tmp_4 = r0; - r0 = s.arg1.fields["_mode"]; - s.tmp_9 = r0; - if ((s.tmp_9) && (s.tmp_9).vtable) { - setupResume(s, 12); - pxsim_String__stringConv(s.tmp_9); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_9) + ""; } - case 12: - r0 = s.retval; - s.tmp_8 = r0; - r0 = pxsim_String__concat(s.tmp_4, s.tmp_8); - s.tmp_3 = r0; - r0 = pxsim_String__concat(s.tmp_3, " ("); s.tmp_2 = r0; - r0 = s.arg0.fields["_services"]; - s.tmp_12 = r0; - r0 = pxsim_Array__length(s.tmp_12); - s.tmp_11 = r0; - if ((s.tmp_11) && (s.tmp_11).vtable) { - setupResume(s, 13); - pxsim_String__stringConv(s.tmp_11); + if ((s.tmp_2) && (s.tmp_2).vtable) { + setupResume(s, 2); + pxsim_String__stringConv(s.tmp_2); checkResumeConsumed(); return; - } else { s.retval = (s.tmp_11) + ""; } - case 13: - r0 = s.retval; - s.tmp_10 = r0; - r0 = pxsim_String__concat(s.tmp_2, s.tmp_10); - s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, " services)"); - s.tmp_0.arg0 = r0; - s.pc = 10; return s.tmp_0; - case 10: + } else { s.retval = (s.tmp_2) + ""; } + case 2: r0 = s.retval; - r0 = s.arg1.fields["_mode"]; s.tmp_1 = r0; - r0 = (s.tmp_1 == 2); + r0 = pxsim_String__concat("VOLUME UP (", s.tmp_1); 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.arg1.fields["_mode"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 == 3); - 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 = jacdac_JDControlService_enumerate__P299721_mk(s); - r0 = s.arg0.fields["_controlService"]; - s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = undefined; - s.pc = 14; return s.tmp_4; - case 14: - r0 = s.retval; - case 7: - case 8: - r0 = true; - case 9: + r0 = pxsim_String__concat(s.tmp_0, ")"); return leave(s, r0) default: oops() } } } -jacdac_JACDAC_add__P299849.info = {"start":3301,"length":609,"line":124,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"add","argumentNames":["this","service"]} -jacdac_JACDAC_add__P299849.info = {"start":3301,"length":609,"line":124,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"add","argumentNames":["this","service"]} +inline__P25288.info = {"start":10289,"length":37,"line":328,"column":52,"endLine":328,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25288.info = {"start":10289,"length":37,"line":328,"column":52,"endLine":328,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function jacdac_JACDAC_add__P299849_mk(s) { +function inline__P25288_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JACDAC_add__P299849, depth: s.depth + 1, + parent: s, fn: inline__P25288, 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, - tmp_12: undefined, - s___322482: undefined, - unnamed2918___U1: undefined, - unnamed2919___U2: undefined, - arg0: undefined, - arg1: undefined, } } -function jacdac_options_log__P299926(s) { +function inline__P25303(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64799,48 +64702,41 @@ 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 = console_add__P297806_mk(s); - s.tmp_0.arg0 = globals.consolePriority___299955; - if ((s.arg0) && (s.arg0).vtable) { - setupResume(s, 2); - pxsim_String__stringConv(s.arg0); + r0 = globals.brightness___474; + s.tmp_2 = r0; + if ((s.tmp_2) && (s.tmp_2).vtable) { + setupResume(s, 1); + pxsim_String__stringConv(s.tmp_2); checkResumeConsumed(); return; - } else { s.retval = (s.arg0) + ""; } - case 2: - r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_String__concat(":jd> ", s.tmp_1); - s.tmp_0.arg1 = r0; - s.pc = 1; return s.tmp_0; + } else { s.retval = (s.tmp_2) + ""; } case 1: r0 = s.retval; - r0 = undefined; + s.tmp_1 = r0; + r0 = pxsim_String__concat("BRIGHTNESS DOWN (", s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_String__concat(s.tmp_0, ")"); return leave(s, r0) default: oops() } } } -jacdac_options_log__P299926.info = {"start":455,"length":110,"line":19,"column":4,"endLine":21,"endColumn":5,"fileName":"pxt_modules/jacdac/makecodeoptions.ts","functionName":"log","argumentNames":["message"]} -jacdac_options_log__P299926.info = {"start":455,"length":110,"line":19,"column":4,"endLine":21,"endColumn":5,"fileName":"pxt_modules/jacdac/makecodeoptions.ts","functionName":"log","argumentNames":["message"]} +inline__P25303.info = {"start":10448,"length":48,"line":330,"column":62,"endLine":330,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25303.info = {"start":10448,"length":48,"line":330,"column":62,"endLine":330,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function jacdac_options_log__P299926_mk(s) { +function inline__P25303_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_options_log__P299926, depth: s.depth + 1, + parent: s, fn: inline__P25303, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - arg0: undefined, + tmp_2: undefined, } } -function jacdac_JDControlService_enumerate__P299721(s) { +function inline__P25319(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64850,133 +64746,41 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.hostServiceCount___322538 = undefined; - s.s___322540 = undefined; - s.unnamed2910___U2 = undefined; - s.unnamed2911___U3 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDControlService__C299713_VT)) failedCast(r0); - r0 = s.arg0.fields["status"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 & 2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_2 = jacdac_options_log__P299926_mk(s); - s.tmp_2.arg0 = "already enumerating"; - s.pc = 13; return s.tmp_2; - case 13: - r0 = s.retval; - { step = 12; continue; } + r0 = globals.brightness___474; + s.tmp_2 = r0; + if ((s.tmp_2) && (s.tmp_2).vtable) { + setupResume(s, 1); + pxsim_String__stringConv(s.tmp_2); + checkResumeConsumed(); + return; + } else { s.retval = (s.tmp_2) + ""; } case 1: - case 2: - s.tmp_0 = jacdac_JDControlService_initialise__P299720_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.arg1; - s.pc = 14; return s.tmp_0; - case 14: - r0 = s.retval; - s.hostServiceCount___322538 = (0); - s.s___322540 = (undefined); - s.tmp_0 = jacdac_JACDAC_services__P299833_mk(s); - s.tmp_1 = jacdac_JACDAC_instance__P299852_mk(s); - s.pc = 16; return s.tmp_1; - case 16: - r0 = s.retval; - s.tmp_0.arg0 = r0; - s.pc = 15; return s.tmp_0; - case 15: r0 = s.retval; - s.unnamed2910___U2 = (r0); - s.unnamed2911___U3 = (0); - case 3: - s.tmp_0 = r0 = s.unnamed2911___U3; - r0 = pxsim_Array__length(s.unnamed2910___U2); - s.tmp_1 = r0; - r0 = (s.tmp_0 < s.tmp_1); - if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed2910___U2, s.unnamed2911___U3); - s.s___322540 = (r0); - r0 = s.s___322540.fields["_mode"]; - s.tmp_3 = r0; - r0 = (s.tmp_3 == 1); - 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.s___322540.fields["_mode"]; - s.tmp_4 = r0; - r0 = (s.tmp_4 == 4); - case 5: - // jmp value (already in r0) - s.tmp_5 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_5); - if (!r0) { step = 6; continue; } - { step = 8; continue; } - case 6: - case 7: - r0 = (s.hostServiceCount___322538 + 1); - s.hostServiceCount___322538 = (r0); - case 8: - r0 = (s.unnamed2911___U3 + 1); - s.unnamed2911___U3 = (r0); - { step = 3; continue; } - case 9: - s.unnamed2910___U2 = (undefined); - r0 = pxsim_numops_toBoolDecr(s.hostServiceCount___322538); - if (!r0) { step = 10; continue; } - s.tmp_0 = r0 = s.arg0; - r0 = s.tmp_0.fields["status"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 | 6); s.tmp_1 = r0; - r0 = (s.tmp_0).fields["status"] = (s.tmp_1); - s.tmp_0 = jacdac_JDControlService_startDeviceTimer__P299719_mk(s); - s.tmp_0.arg0 = s.arg0; - s.pc = 17; return s.tmp_0; - case 17: - r0 = s.retval; - case 10: - case 11: - case 12: - r0 = undefined; + r0 = pxsim_String__concat("BRIGHTNESS UP (", s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_String__concat(s.tmp_0, ")"); return leave(s, r0) default: oops() } } } -jacdac_JDControlService_enumerate__P299721.info = {"start":7392,"length":791,"line":176,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/jacdac/control.ts","functionName":"enumerate","argumentNames":["this","device_address"]} -jacdac_JDControlService_enumerate__P299721.info = {"start":7392,"length":791,"line":176,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/jacdac/control.ts","functionName":"enumerate","argumentNames":["this","device_address"]} +inline__P25319.info = {"start":10576,"length":46,"line":331,"column":60,"endLine":331,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25319.info = {"start":10576,"length":46,"line":331,"column":60,"endLine":331,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function jacdac_JDControlService_enumerate__P299721_mk(s) { +function inline__P25319_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDControlService_enumerate__P299721, depth: s.depth + 1, + parent: s, fn: inline__P25319, 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, - hostServiceCount___322538: undefined, - s___322540: undefined, - unnamed2910___U2: undefined, - unnamed2911___U3: undefined, - arg0: undefined, - arg1: undefined, } } -function jacdac_JACDAC_services__P299833(s) { +function inline__P25334(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64986,41 +64790,35 @@ 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, jacdac_JACDAC__C299830_VT)) failedCast(r0); - s.tmp_0 = helpers_arraySlice__P297635_mk(s); - r0 = s.arg0.fields["_services"]; - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = undefined; - s.pc = 1; return s.tmp_0; + r0 = pxsim_numops_toBoolDecr(globals.stats___1215); + if (!r0) { step = 1; continue; } + r0 = "HIDE STATS"; + { step = 2; continue; } case 1: - r0 = s.retval; - return leaveAccessor(s, r0) + r0 = "SHOW STATS"; + case 2: + // jmp value (already in r0) + s.tmp_0 = r0; + r0 = s.tmp_0; + return leave(s, r0) default: oops() } } } -jacdac_JACDAC_services__P299833.info = {"start":817,"length":83,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"services","argumentNames":["this"]} -jacdac_JACDAC_services__P299833.isGetter = true; -jacdac_JACDAC_services__P299833.info = {"start":817,"length":83,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"services","argumentNames":["this"]} +inline__P25334.info = {"start":10698,"length":46,"line":333,"column":48,"endLine":333,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25334.info = {"start":10698,"length":46,"line":333,"column":48,"endLine":333,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function jacdac_JACDAC_services__P299833_mk(s) { +function inline__P25334_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JACDAC_services__P299833, depth: s.depth + 1, + parent: s, fn: inline__P25334, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - arg0: undefined, } } -function jacdac_JDControlService_initialise__P299720(s) { +function inline__P25343(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65030,16 +64828,9 @@ 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; - if (!checkSubtype(r0, jacdac_JDControlService__C299713_VT)) failedCast(r0); - r0 = s.arg0.fields["status"]; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___1594); s.tmp_3 = r0; - r0 = (s.tmp_3 & 32); + r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -65047,136 +64838,37 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = r0 = s.arg0; - r0 = s.tmp_4.fields["status"]; - s.tmp_6 = r0; - r0 = (s.tmp_6 | 32); - s.tmp_5 = r0; - r0 = (s.tmp_4).fields["status"] = (s.tmp_5); - s.tmp_0 = jacdac_JACDAC_add__P299849_mk(s); - s.tmp_1 = jacdac_JACDAC_instance__P299852_mk(s); - s.pc = 6; return s.tmp_1; - case 6: - r0 = s.retval; - s.tmp_0.arg0 = r0; - r0 = s.arg0.fields["configurationService"]; - s.tmp_0.arg1 = r0; - s.pc = 5; return s.tmp_0; - case 5: - r0 = s.retval; - s.tmp_0 = jacdac_JACDAC_add__P299849_mk(s); - s.tmp_1 = jacdac_JACDAC_instance__P299852_mk(s); - s.pc = 8; return s.tmp_1; - case 8: - r0 = s.retval; - s.tmp_0.arg0 = r0; - r0 = s.arg0.fields["rngService"]; - s.tmp_0.arg1 = r0; - s.pc = 7; return s.tmp_0; - case 7: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(jacdac_JDDevice__C299904_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_JDDevice_constructor__P299911_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = undefined; - s.tmp_1.arg2 = undefined; - s.pc = 9; return s.tmp_1; - case 9: - r0 = s.retval; - r0 = (s.arg0).fields["device"] = (s.tmp_0); - r0 = s.arg0.fields["device"]; - s.tmp_0 = r0; - s.tmp_2 = jacdac_generate_eui64__P299863_mk(s); - s.tmp_3 = jacdac_options_getSerialNumber__P299927_mk(s); - s.pc = 11; return s.tmp_3; - case 11: - r0 = s.retval; - s.tmp_2.arg0 = r0; - s.pc = 10; return s.tmp_2; - case 10: - r0 = s.retval; - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["unique_device_identifier"] = (s.tmp_1); + r0 = "HIDE CONSOLE"; + { step = 2; continue; } case 1: + r0 = "SHOW CONSOLE"; case 2: - r0 = pxsim_numops_toBoolDecr(s.arg1); - if (!r0) { step = 3; continue; } - r0 = s.arg0.fields["device"]; - s.tmp_0 = r0; - r0 = (s.tmp_0).fields["device_address"] = (s.arg1); - { step = 4; continue; } - case 3: - r0 = s.arg0.fields["device"]; - s.tmp_0 = r0; - s.tmp_2 = jacdac_random__P299862_mk(s); - s.tmp_2.arg0 = 1; - s.tmp_2.arg1 = 254; - s.pc = 12; return s.tmp_2; - case 12: - r0 = s.retval; - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["device_address"] = (s.tmp_1); - case 4: - s.tmp_0 = jacdac_options_log__P299926_mk(s); - r0 = s.arg0.fields["device"]; - r0 = r0.fields["device_address"]; - s.tmp_2 = r0; - if ((s.tmp_2) && (s.tmp_2).vtable) { - setupResume(s, 14); - pxsim_String__stringConv(s.tmp_2); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_2) + ""; } - case 14: - r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_String__concat("device address: ", s.tmp_1); - s.tmp_0.arg0 = r0; - s.pc = 13; return s.tmp_0; - case 13: - r0 = s.retval; - r0 = s.arg0.fields["device"]; - s.tmp_0 = r0; - r0 = s.tmp_0.fields["device_flags"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 | 2); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["device_flags"] = (s.tmp_1); - r0 = s.arg0.fields["device"]; - s.tmp_0 = r0; - r0 = (s.tmp_0).fields["communication_rate"] = (1); - r0 = s.arg0.fields["device"]; - s.tmp_0 = r0; - r0 = (s.tmp_0).fields["rolling_counter"] = (0); - r0 = undefined; + // jmp value (already in r0) + s.tmp_4 = r0; + r0 = s.tmp_4; return leave(s, r0) default: oops() } } } -jacdac_JDControlService_initialise__P299720.info = {"start":6162,"length":1220,"line":151,"column":8,"endLine":174,"endColumn":9,"fileName":"pxt_modules/jacdac/control.ts","functionName":"initialise","argumentNames":["this","device_address"]} -jacdac_JDControlService_initialise__P299720.info = {"start":6162,"length":1220,"line":151,"column":8,"endLine":174,"endColumn":9,"fileName":"pxt_modules/jacdac/control.ts","functionName":"initialise","argumentNames":["this","device_address"]} +inline__P25343.info = {"start":10811,"length":71,"line":334,"column":50,"endLine":334,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25343.info = {"start":10811,"length":71,"line":334,"column":50,"endLine":334,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function jacdac_JDControlService_initialise__P299720_mk(s) { +function inline__P25343_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDControlService_initialise__P299720, depth: s.depth + 1, + parent: s, fn: inline__P25343, 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, - arg1: undefined, } } -function jacdac_options_getSerialNumber__P299927(s) { +function inline__P25352(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65186,37 +64878,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.sn___299921); - 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.deviceLongSerialNumber(); - globals.sn___299921 = (r0); - case 1: - case 2: - r0 = globals.sn___299921; + r0 = "SLEEP"; return leave(s, r0) default: oops() } } } -jacdac_options_getSerialNumber__P299927.info = {"start":571,"length":142,"line":23,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/jacdac/makecodeoptions.ts","functionName":"getSerialNumber","argumentNames":[]} -jacdac_options_getSerialNumber__P299927.info = {"start":571,"length":142,"line":23,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/jacdac/makecodeoptions.ts","functionName":"getSerialNumber","argumentNames":[]} +inline__P25352.info = {"start":10949,"length":13,"line":335,"column":48,"endLine":335,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25352.info = {"start":10949,"length":13,"line":335,"column":48,"endLine":335,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function jacdac_options_getSerialNumber__P299927_mk(s) { +function inline__P25352_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_options_getSerialNumber__P299927, depth: s.depth + 1, + parent: s, fn: inline__P25352, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, } } -function jacdac_JDDevice_constructor__P299911(s) { +function inline__P25365(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65226,66 +64906,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, jacdac_JDDevice__C299904_VT)) failedCast(r0); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim.control.createBuffer(16); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["broadcast_servicemap"] = (s.tmp_1); - r0 = (s.arg0).fields["servicemap_bitmsk"] = (0); - r0 = pxsim_numops_toBoolDecr(s.arg1); - if (!r0) { step = 1; continue; } - r0 = (s.arg0).fields["communication_rate"] = (s.arg2); - s.tmp_0 = jacdac_JDDevice_update__P299906_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; - { step = 2; continue; } - case 1: - s.tmp_0 = r0 = s.arg0; - r0 = pxsim.control.createBuffer(0); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["unique_device_identifier"] = (s.tmp_1); - r0 = (s.arg0).fields["device_address"] = (0); - r0 = (s.arg0).fields["device_flags"] = (0); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim_Array__mk(); + r0 = "CLOSE"; + return leave(s, r0) + default: oops() +} } } +inline__P25365.info = {"start":11128,"length":13,"line":341,"column":53,"endLine":341,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25365.info = {"start":11128,"length":13,"line":341,"column":53,"endLine":341,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} + +function inline__P25365_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P25365, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, +} } + + + + + +function game_consoleOverlay_isVisible__P1631(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.consoleStrings___1594); + s.tmp_2 = r0; + r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_0).fields["_services"] = (s.tmp_1); - r0 = (s.arg0).fields["rolling_counter"] = (0); - case 2: - r0 = undefined; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_Boolean__bang(s.tmp_0); return leave(s, r0) default: oops() } } } -jacdac_JDDevice_constructor__P299911.info = {"start":7496,"length":619,"line":209,"column":8,"endLine":224,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"inline","argumentNames":["this","cp","communication_rate"]} -jacdac_JDDevice_constructor__P299911.info = {"start":7496,"length":619,"line":209,"column":8,"endLine":224,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"inline","argumentNames":["this","cp","communication_rate"]} +game_consoleOverlay_isVisible__P1631.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__P1631.info = {"start":422,"length":68,"line":11,"column":4,"endLine":13,"endColumn":5,"fileName":"pxt_modules/game/console.ts","functionName":"isVisible","argumentNames":[]} -function jacdac_JDDevice_constructor__P299911_mk(s) { +function game_consoleOverlay_isVisible__P1631_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDDevice_constructor__P299911, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P1631, 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 jacdac_options_createBuffer__P299924(s) { +function scene_systemMenu_setScreenBrightnessSupported__P1546(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65295,30 +64971,25 @@ 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 = pxsim.control.createBuffer(s.arg0); + r0 = 0; return leave(s, r0) default: oops() } } } -jacdac_options_createBuffer__P299924.info = {"start":239,"length":94,"line":11,"column":4,"endLine":13,"endColumn":5,"fileName":"pxt_modules/jacdac/makecodeoptions.ts","functionName":"createBuffer","argumentNames":["size"]} -jacdac_options_createBuffer__P299924.info = {"start":239,"length":94,"line":11,"column":4,"endLine":13,"endColumn":5,"fileName":"pxt_modules/jacdac/makecodeoptions.ts","functionName":"createBuffer","argumentNames":["size"]} +scene_systemMenu_setScreenBrightnessSupported__P1546.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__P1546.info = {"start":9936,"length":95,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setScreenBrightnessSupported","argumentNames":[]} -function jacdac_options_createBuffer__P299924_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P1546_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_options_createBuffer__P299924, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P1546, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, } } -function jacdac_JDDevice_update__P299906(s) { +function scene_systemMenu_closeMenu__P1545(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65328,107 +64999,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.idx___323946 = undefined; - s.buf___323947 = undefined; - s.service___323955 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDDevice__C299904_VT)) failedCast(r0); - r0 = (s.arg0).fields["rolling_counter"] = (0); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim_Array__mk(); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["_services"] = (s.tmp_1); - r0 = s.arg1.fields["unique_device_identifier"]; - s.tmp_0 = r0; - r0 = (s.arg0).fields["unique_device_identifier"] = (s.tmp_0); - r0 = s.arg1.fields["device_address"]; - s.tmp_0 = r0; - r0 = (s.arg0).fields["device_address"] = (s.tmp_0); - s.tmp_0 = r0 = s.arg0; - s.tmp_2 = jacdac_JDControlPacket_device_name__P299897_mk(s); - s.tmp_2.arg0 = s.arg1; - s.pc = 3; return s.tmp_2; + r0 = pxsim_numops_toBoolDecr(globals.instance___1517); + if (!r0) { step = 1; continue; } + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P1534_mk(s); + s.tmp_0.arg0 = globals.instance___1517; + s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["device_name"] = (s.tmp_1); - r0 = s.arg1.fields["device_flags"]; - s.tmp_0 = r0; - r0 = (s.arg0).fields["device_flags"] = (s.tmp_0); - s.idx___323946 = (0); - r0 = s.arg1.fields["data"]; - s.buf___323947 = (r0); - case 1: - s.tmp_1 = r0 = s.idx___323946; - r0 = pxsim.BufferMethods.length(s.buf___323947); - 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; } - r0 = pxsim_pxtcore_mkClassInstance(jacdac_JDServiceInformation__C299912_VT); - s.tmp_3 = r0; - s.tmp_4 = jacdac_JDServiceInformation_constructor__P299914_mk(s); - s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = r0 = s.buf___323947; - s.tmp_6 = r0 = s.idx___323946; - r0 = pxsim.BufferMethods.length(s.buf___323947); - s.tmp_7 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_5, s.tmp_6, s.tmp_7); - s.tmp_4.arg1 = r0; - s.pc = 4; return s.tmp_4; + globals.instance___1517 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P713_mk(s); + s.tmp_0.arg0 = true; + s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.service___323955 = (s.tmp_3); - s.tmp_0 = r0 = s.idx___323946; - r0 = s.service___323955.fields["advertisement_size"]; - s.tmp_2 = r0; - r0 = (6 + s.tmp_2); - s.tmp_1 = r0; - r0 = (s.tmp_0 + s.tmp_1); - s.idx___323946 = (r0); - r0 = s.arg0.fields["_services"]; - s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.service___323955); - { step = 1; continue; } + s.tmp_0 = game_popScene__P1237_mk(s); + s.pc = 5; return s.tmp_0; + case 5: + r0 = s.retval; + case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDDevice_update__P299906.info = {"start":8251,"length":661,"line":230,"column":8,"endLine":246,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"update","argumentNames":["this","cp"]} -jacdac_JDDevice_update__P299906.info = {"start":8251,"length":661,"line":230,"column":8,"endLine":246,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"update","argumentNames":["this","cp"]} +scene_systemMenu_closeMenu__P1545.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__P1545.info = {"start":9667,"length":216,"line":310,"column":4,"endLine":317,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"closeMenu","argumentNames":[]} -function jacdac_JDDevice_update__P299906_mk(s) { +function scene_systemMenu_closeMenu__P1545_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDDevice_update__P299906, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P1545, 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, - idx___323946: undefined, - buf___323947: undefined, - service___323955: undefined, - arg0: undefined, - arg1: undefined, } } -function jacdac_JDServiceInformation_constructor__P299914(s) { +function scene_systemMenu_PauseMenu_dispose__P1534(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65438,116 +65047,48 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.idx___322943 = undefined; - s.i___322944 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDServiceInformation__C299912_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(s.arg1); - if (!r0) { step = 5; continue; } - s.idx___322943 = (0); - s.i___322944 = (0); - case 1: - r0 = (s.i___322944 < 4); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.idx___322943; - r0 = (s.tmp_1 + 1); - s.idx___322943 = (r0); - s.tmp_2 = r0 = s.arg0; - r0 = s.tmp_2.fields["service_class"]; - s.tmp_4 = r0; - r0 = pxsim.BufferMethods.getUint8(s.arg1, s.tmp_1); - s.tmp_6 = r0; - r0 = (8 * s.i___322944); - s.tmp_7 = r0; - r0 = (s.tmp_6 << s.tmp_7); - s.tmp_5 = r0; - r0 = (s.tmp_4 | s.tmp_5); - s.tmp_3 = r0; - r0 = (s.tmp_2).fields["service_class"] = (s.tmp_3); - r0 = (s.i___322944 + 1); - s.i___322944 = (r0); - { step = 1; continue; } - case 2: - s.tmp_0 = r0 = s.idx___322943; - r0 = (s.tmp_0 + 1); - s.idx___322943 = (r0); - s.tmp_1 = r0 = s.arg0; - r0 = pxsim.BufferMethods.getUint8(s.arg1, s.tmp_0); - s.tmp_2 = r0; - r0 = (s.tmp_1).fields["service_flags"] = (s.tmp_2); - s.tmp_0 = r0 = s.idx___322943; - r0 = (s.tmp_0 + 1); - s.idx___322943 = (r0); - s.tmp_1 = r0 = s.arg0; - r0 = pxsim.BufferMethods.getUint8(s.arg1, s.tmp_0); - s.tmp_2 = r0; - r0 = (s.tmp_1).fields["advertisement_size"] = (s.tmp_2); - r0 = s.arg0.fields["advertisement_size"]; + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C1529_VT)) failedCast(r0); + r0 = s.arg0.fields["options"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 3; continue; } - s.tmp_1 = r0 = s.arg0; - r0 = s.arg0.fields["advertisement_size"]; - s.tmp_3 = r0; - r0 = pxsim.BufferMethods.slice(s.arg1, s.idx___322943, s.tmp_3); - s.tmp_2 = r0; - r0 = (s.tmp_1).fields["data"] = (s.tmp_2); + if (!r0) { step = 1; continue; } + s.tmp_1 = helpers_arrayForEach__P59_mk(s); + r0 = s.arg0.fields["options"]; + s.tmp_1.arg0 = r0; + s.tmp_1.arg1 = inline__P25123; + s.pc = 3; return s.tmp_1; case 3: - case 4: - case 5: - case 6: - r0 = s.arg0.fields["data"]; - 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 = 7; continue; } - s.tmp_3 = r0 = s.arg0; - r0 = pxsim.control.createBuffer(0); - s.tmp_4 = r0; - r0 = (s.tmp_3).fields["data"] = (s.tmp_4); - case 7: - case 8: + r0 = s.retval; + r0 = (s.arg0).fields["options"] = (undefined); + case 1: + case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDServiceInformation_constructor__P299914.info = {"start":9731,"length":550,"line":275,"column":8,"endLine":289,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"inline","argumentNames":["this","buf"]} -jacdac_JDServiceInformation_constructor__P299914.info = {"start":9731,"length":550,"line":275,"column":8,"endLine":289,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"inline","argumentNames":["this","buf"]} +scene_systemMenu_PauseMenu_dispose__P1534.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__P1534.info = {"start":7732,"length":165,"line":243,"column":8,"endLine":248,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"dispose","argumentNames":["this"]} -function jacdac_JDServiceInformation_constructor__P299914_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P1534_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDServiceInformation_constructor__P299914, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P1534, 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, - idx___322943: undefined, - i___322944: undefined, arg0: undefined, - arg1: undefined, } } -function jacdac_JDControlPacket_device_name__P299897(s) { +function inline__P25123(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65561,47 +65102,24 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDControlPacket__C299892_VT)) failedCast(r0); - r0 = s.arg0.fields["_device_name"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P1526_mk(s); + s.tmp_0.arg0 = s.arg0; + s.pc = 1; return s.tmp_0; case 1: - r0 = s.arg0.fields["_device_name"]; - s.tmp_1 = r0; - r0 = pxsim_String_.length(s.tmp_1); - case 2: - // jmp value (already in r0) - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 3; continue; } - r0 = s.arg0.fields["_device_name"]; - { step = 5; continue; } - { step = 4; continue; } - case 3: - r0 = null; - { step = 5; continue; } - case 4: + r0 = s.retval; r0 = undefined; - case 5: - return leaveAccessor(s, r0) + return leave(s, r0) default: oops() } } } -jacdac_JDControlPacket_device_name__P299897.info = {"start":5858,"length":188,"line":159,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"device_name","argumentNames":["this"]} -jacdac_JDControlPacket_device_name__P299897.isGetter = true; -jacdac_JDControlPacket_device_name__P299897.info = {"start":5858,"length":188,"line":159,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"device_name","argumentNames":["this"]} +inline__P25123.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} +inline__P25123.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} -function jacdac_JDControlPacket_device_name__P299897_mk(s) { +function inline__P25123_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDControlPacket_device_name__P299897, depth: s.depth + 1, + parent: s, fn: inline__P25123, 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, } } @@ -65609,7 +65127,7 @@ function jacdac_JDControlPacket_device_name__P299897_mk(s) { -function jacdac_generate_eui64__P299863(s) { +function scene_systemMenu_MenuOption_dispose__P1526(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65623,27 +65141,46 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = r0 = s.arg0; - r0 = pxsim.BufferMethods.getUint8(s.arg0, 6); - s.tmp_2 = r0; - r0 = (s.tmp_2 & -3); - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_0, 6, s.tmp_1); r0 = s.arg0; + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C1520_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__P782_mk(s); + r0 = s.arg0.fields["card"]; + s.tmp_1.arg0 = r0; + s.tmp_1.arg1 = undefined; + s.tmp_1.arg2 = undefined; + s.pc = 3; return s.tmp_1; + case 3: + r0 = s.retval; + s.tmp_0 = Sprite_destroy__P782_mk(s); + r0 = s.arg0.fields["icon"]; + s.tmp_0.arg0 = r0; + s.tmp_0.arg1 = undefined; + s.tmp_0.arg2 = undefined; + s.pc = 4; return s.tmp_0; + case 4: + r0 = s.retval; + r0 = (s.arg0).fields["card"] = (undefined); + r0 = (s.arg0).fields["icon"] = (undefined); + case 1: + case 2: + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_generate_eui64__P299863.info = {"start":211,"length":143,"line":7,"column":4,"endLine":10,"endColumn":5,"fileName":"pxt_modules/jacdac/rand.ts","functionName":"generate_eui64","argumentNames":["serial"]} -jacdac_generate_eui64__P299863.info = {"start":211,"length":143,"line":7,"column":4,"endLine":10,"endColumn":5,"fileName":"pxt_modules/jacdac/rand.ts","functionName":"generate_eui64","argumentNames":["serial"]} +scene_systemMenu_MenuOption_dispose__P1526.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__P1526.info = {"start":1812,"length":216,"line":77,"column":8,"endLine":84,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"dispose","argumentNames":["this"]} -function jacdac_generate_eui64__P299863_mk(s) { +function scene_systemMenu_MenuOption_dispose__P1526_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_generate_eui64__P299863, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P1526, 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, } } @@ -65651,7 +65188,7 @@ function jacdac_generate_eui64__P299863_mk(s) { -function jacdac_random__P299862(s) { +function controller__setUserEventsEnabled__P713(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65663,49 +65200,29 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim.Math_.ceil(s.arg0); - s.arg0 = (r0); - r0 = pxsim.Math_.floor(s.arg1); - s.arg1 = (r0); - r0 = pxsim.Math_.random(); - s.tmp_2 = r0; - r0 = (s.arg1 - s.arg0); - s.tmp_4 = r0; - r0 = (s.tmp_4 + 1); - s.tmp_3 = r0; - r0 = (s.tmp_2 * s.tmp_3); - s.tmp_1 = r0; - r0 = pxsim.Math_.floor(s.tmp_1); - s.tmp_0 = r0; - r0 = (s.tmp_0 + s.arg0); + globals._userEventsEnabled___654 = (s.arg0); + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_random__P299862.info = {"start":22,"length":183,"line":1,"column":4,"endLine":5,"endColumn":5,"fileName":"pxt_modules/jacdac/rand.ts","functionName":"random","argumentNames":["min","max"]} -jacdac_random__P299862.info = {"start":22,"length":183,"line":1,"column":4,"endLine":5,"endColumn":5,"fileName":"pxt_modules/jacdac/rand.ts","functionName":"random","argumentNames":["min","max"]} +controller__setUserEventsEnabled__P713.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__P713.info = {"start":19246,"length":101,"line":587,"column":4,"endLine":589,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} -function jacdac_random__P299862_mk(s) { +function controller__setUserEventsEnabled__P713_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_random__P299862, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P713, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, arg0: undefined, - arg1: undefined, } } -function jacdac_JDControlService_startDeviceTimer__P299719(s) { +function scene_systemMenu_sleep__P1544(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65715,66 +65232,89 @@ 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, jacdac_JDControlService__C299713_VT)) failedCast(r0); - r0 = s.arg0.fields["_intervalId"]; + r0 = pxsim_pxtcore.deepSleep(); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +scene_systemMenu_sleep__P1544.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__P1544.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__P1544_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: scene_systemMenu_sleep__P1544, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, +} } + + + + + +function scene_systemMenu_toggleConsole__P1543(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.consoleStrings___1594); + s.tmp_3 = r0; + r0 = pxsim_Boolean__bang(s.tmp_3); + s.tmp_2 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 !== undefined); + 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 = jacdac_options_error__P299925_mk(s); - s.tmp_2.arg0 = "Device Timer called twice."; - s.pc = 3; return s.tmp_2; + s.tmp_4 = game_consoleOverlay_setVisible__P1633_mk(s); + s.tmp_4.arg0 = false; + s.tmp_4.arg1 = undefined; + s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; + { step = 2; continue; } case 1: - case 2: - s.tmp_0 = jacdac_options_log__P299926_mk(s); - s.tmp_0.arg0 = "start device timer"; + s.tmp_0 = game_consoleOverlay_setVisible__P1633_mk(s); + s.tmp_0.arg0 = true; + s.tmp_0.arg1 = undefined; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P322575); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = r0 = s.arg0; - s.tmp_3 = setInterval__P297867_mk(s); - s.tmp_3.arg0 = s.tmp_0; - s.tmp_3.arg1 = 500; - s.pc = 5; return s.tmp_3; + s.tmp_0 = console_log__P239_mk(s); + s.tmp_0.arg0 = "console"; + s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_2 = r0; - r0 = (s.tmp_1).fields["_intervalId"] = (s.tmp_2); + case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDControlService_startDeviceTimer__P299719.info = {"start":3626,"length":2526,"line":94,"column":8,"endLine":149,"endColumn":9,"fileName":"pxt_modules/jacdac/control.ts","functionName":"startDeviceTimer","argumentNames":["this"]} -jacdac_JDControlService_startDeviceTimer__P299719.info = {"start":3626,"length":2526,"line":94,"column":8,"endLine":149,"endColumn":9,"fileName":"pxt_modules/jacdac/control.ts","functionName":"startDeviceTimer","argumentNames":["this"]} +scene_systemMenu_toggleConsole__P1543.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__P1543.info = {"start":9365,"length":239,"line":297,"column":4,"endLine":304,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleConsole","argumentNames":[]} -function jacdac_JDControlService_startDeviceTimer__P299719_mk(s) { +function scene_systemMenu_toggleConsole__P1543_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDControlService_startDeviceTimer__P299719, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P1543, 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, + tmp_4: undefined, } } -function inline__P322575(s) { +function game_consoleOverlay_setVisible__P1633(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65784,236 +65324,54 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.dev___322657 = undefined; - s.unnamed2908___U1 = undefined; - s.unnamed2909___U2 = undefined; - s.tmp_0 = jacdac_options_log__P299926_mk(s); - s.tmp_0.arg0 = "control tick"; - s.pc = 18; return s.tmp_0; - case 18: - r0 = s.retval; - r0 = s.caps[0].fields["status"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 & 2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 11; continue; } - r0 = s.caps[0].fields["status"]; - s.tmp_3 = r0; - r0 = (s.tmp_3 & 4); - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 3; continue; } - r0 = s.caps[0].fields["device"]; - s.tmp_4 = r0; - r0 = s.tmp_4.fields["rolling_counter"]; - s.tmp_6 = r0; - r0 = (s.tmp_6 + 1); + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + s.tmp_1 = r0 = s.arg0; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___1594); s.tmp_5 = r0; - r0 = (s.tmp_4).fields["rolling_counter"] = (s.tmp_5); - r0 = s.caps[0].fields["device"]; - r0 = r0.fields["rolling_counter"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 > 3); - 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.tmp_2.fields["status"]; + r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; - r0 = (s.tmp_4 & -5); + r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_2).fields["status"] = (s.tmp_3); - s.tmp_0 = r0 = s.caps[0]; - r0 = s.tmp_0.fields["status"]; + r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; - r0 = (s.tmp_2 | 8); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["status"] = (s.tmp_1); - r0 = s.caps[0].fields["device"]; + r0 = (s.tmp_1 != s.tmp_2); s.tmp_0 = r0; - r0 = s.tmp_0.fields["device_flags"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 & -3); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["device_flags"] = (s.tmp_1); - s.tmp_0 = jacdac_JDControlService_deviceEnumerated__P299717_mk(s); - s.tmp_0.arg0 = s.caps[0]; - s.pc = 19; return s.tmp_0; - case 19: - r0 = s.retval; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 3; continue; } + r0 = pxsim_numops_toBoolDecr(s.arg0); + if (!r0) { step = 1; continue; } + r0 = pxsim_Array__mk(); + { step = 2; continue; } case 1: + r0 = undefined; case 2: - { step = 10; continue; } - case 3: - s.tmp_3 = if_isConnected_1_mk(s); - s.tmp_5 = jacdac_JACDAC_instance__P299852_mk(s); - s.pc = 21; return s.tmp_5; - case 21: - r0 = s.retval; - s.tmp_4 = r0; - r0 = s.tmp_4.fields["_bus"]; - s.tmp_3.arg0 = r0; - if (!s.tmp_3.arg0.vtable.iface) { - setupLambda(s.tmp_3, pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "isConnected"), 1); - s.pc = 20; return s.tmp_3; - } else { - s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["isConnected"]; - if (s.tmp_3.fn == null) { setupLambda(s.tmp_3, s.tmp_3.arg0.fields["isConnected"], 1); s.pc = 20; return s.tmp_3; } - else if (s.tmp_3.fn.isGetter) { s.tmp_3.stage2Call = true; s.pc = 20; return s.tmp_3;; } - else { s.pc = 20; return s.tmp_3; } - } - case 20: - r0 = s.retval; - 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 = 6; continue; } - r0 = s.caps[0].fields["device"]; + // jmp value (already in r0) s.tmp_6 = r0; - r0 = s.tmp_6.fields["rolling_counter"]; - s.tmp_8 = r0; - r0 = (s.tmp_8 + 1); - s.tmp_7 = r0; - r0 = (s.tmp_6).fields["rolling_counter"] = (s.tmp_7); - r0 = s.caps[0].fields["device"]; - r0 = r0.fields["rolling_counter"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 >= 3); + globals.consoleStrings___1594 = (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 = 4; continue; } - s.tmp_2 = r0 = s.caps[0]; - r0 = s.tmp_2.fields["status"]; - s.tmp_4 = r0; - r0 = (s.tmp_4 | 16); - s.tmp_3 = r0; - r0 = (s.tmp_2).fields["status"] = (s.tmp_3); - s.tmp_0 = jacdac_options_log__P299926_mk(s); - s.tmp_0.arg0 = "This disconnected"; - s.pc = 22; return s.tmp_0; - case 22: - r0 = s.retval; - s.tmp_0 = jacdac_JDControlService_deviceDisconnected__P299716_mk(s); - s.tmp_0.arg0 = s.caps[0]; - r0 = s.caps[0].fields["device"]; - s.tmp_0.arg1 = r0; - s.pc = 23; return s.tmp_0; - case 23: - r0 = s.retval; - { step = 17; continue; } - case 4: + if (!r0) { step = 5; continue; } + globals.consoleColor___1593 = (s.arg1); case 5: - { step = 9; continue; } case 6: - r0 = s.caps[0].fields["status"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 & 16); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 7; continue; } - s.tmp_2 = jacdac_JDControlService_deviceEnumerated__P299717_mk(s); - s.tmp_2.arg0 = s.caps[0]; - s.pc = 24; return s.tmp_2; - case 24: - r0 = s.retval; - s.tmp_0 = r0 = s.caps[0]; - r0 = s.tmp_0.fields["status"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 & -17); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["status"] = (s.tmp_1); - case 7: - case 8: - r0 = s.caps[0].fields["device"]; - s.tmp_0 = r0; - r0 = (s.tmp_0).fields["rolling_counter"] = (0); - case 9: - case 10: - s.tmp_0 = jacdac_JDControlService__C299713_v1_2_mk(s); - s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = jacdac_JDControlPacket_getBuffer__P299893_mk(s); - s.tmp_2 = jacdac_JDControlService_formControlPacket__P299718_mk(s); - s.tmp_2.arg0 = s.caps[0]; - s.pc = 27; return s.tmp_2; - case 27: - r0 = s.retval; - s.tmp_1.arg0 = r0; - s.pc = 26; return s.tmp_1; - case 26: - r0 = s.retval; - s.tmp_0.arg1 = r0; - if (!checkSubtype(s.tmp_0.arg0, jacdac_JDControlService__C299713_VT)) failedCast(s.tmp_0.arg0); - s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.send; - s.pc = 25; return s.tmp_0; - case 25: - r0 = s.retval; - case 11: - case 12: - s.dev___322657 = (undefined); - s.tmp_0 = jacdac_JDDeviceManager_getDeviceList__P299815_mk(s); - r0 = s.caps[0].fields["deviceManager"]; - s.tmp_0.arg0 = r0; - s.pc = 28; return s.tmp_0; - case 28: - r0 = s.retval; - s.unnamed2908___U1 = (r0); - s.unnamed2909___U2 = (0); - case 13: - s.tmp_0 = r0 = s.unnamed2909___U2; - r0 = pxsim_Array__length(s.unnamed2908___U1); - s.tmp_1 = r0; - r0 = (s.tmp_0 < s.tmp_1); - if (!r0) { step = 16; continue; } - r0 = pxsim_Array__getAt(s.unnamed2908___U1, s.unnamed2909___U2); - s.dev___322657 = (r0); - s.tmp_2 = r0 = s.dev___322657; - r0 = s.tmp_2.fields["rolling_counter"]; - s.tmp_4 = r0; - r0 = (s.tmp_4 + 1); - s.tmp_3 = r0; - r0 = (s.tmp_2).fields["rolling_counter"] = (s.tmp_3); - r0 = s.dev___322657.fields["rolling_counter"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 >= 3); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 14; continue; } - s.tmp_2 = jacdac_JDDeviceManager_removeDevice__P299820_mk(s); - r0 = s.caps[0].fields["deviceManager"]; - s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.dev___322657; - s.pc = 29; return s.tmp_2; - case 29: - r0 = s.retval; - s.tmp_0 = jacdac_JDControlService_deviceDisconnected__P299716_mk(s); - s.tmp_0.arg0 = s.caps[0]; - s.tmp_0.arg1 = s.dev___322657; - s.pc = 30; return s.tmp_0; - case 30: - r0 = s.retval; - case 14: - case 15: - r0 = (s.unnamed2909___U2 + 1); - s.unnamed2909___U2 = (r0); - { step = 13; continue; } - case 16: - s.unnamed2908___U1 = (undefined); - case 17: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P322575.info = {"start":3861,"length":2274,"line":100,"column":43,"endLine":148,"endColumn":13,"fileName":"pxt_modules/jacdac/control.ts","functionName":"inline","argumentNames":[]} -inline__P322575.info = {"start":3861,"length":2274,"line":100,"column":43,"endLine":148,"endColumn":13,"fileName":"pxt_modules/jacdac/control.ts","functionName":"inline","argumentNames":[]} +game_consoleOverlay_setVisible__P1633.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__P1633.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 inline__P322575_mk(s) { +function game_consoleOverlay_setVisible__P1633_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P322575, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P1633, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66022,18 +65380,15 @@ function inline__P322575_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - tmp_7: undefined, - tmp_8: undefined, - dev___322657: undefined, - unnamed2908___U1: undefined, - unnamed2909___U2: undefined, + arg0: undefined, + arg1: undefined, } } -function jacdac_options_error__P299925(s) { +function scene_systemMenu_toggleStats__P1542(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66043,48 +65398,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; - } - s.tmp_0 = console_add__P297806_mk(s); - s.tmp_0.arg0 = 3; - if ((s.arg0) && (s.arg0).vtable) { - setupResume(s, 2); - pxsim_String__stringConv(s.arg0); - checkResumeConsumed(); - return; - } else { s.retval = (s.arg0) + ""; } - case 2: - r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_String__concat(":jd> ", s.tmp_1); - s.tmp_0.arg1 = r0; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; + r0 = pxsim_numops_toBoolDecr(globals.stats___1215); + s.tmp_0 = r0; + r0 = pxsim_Boolean__bang(s.tmp_0); + globals.stats___1215 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_options_error__P299925.info = {"start":339,"length":110,"line":15,"column":4,"endLine":17,"endColumn":5,"fileName":"pxt_modules/jacdac/makecodeoptions.ts","functionName":"error","argumentNames":["message"]} -jacdac_options_error__P299925.info = {"start":339,"length":110,"line":15,"column":4,"endLine":17,"endColumn":5,"fileName":"pxt_modules/jacdac/makecodeoptions.ts","functionName":"error","argumentNames":["message"]} +scene_systemMenu_toggleStats__P1542.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__P1542.info = {"start":9295,"length":64,"line":293,"column":4,"endLine":295,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleStats","argumentNames":[]} -function jacdac_options_error__P299925_mk(s) { +function scene_systemMenu_toggleStats__P1542_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_options_error__P299925, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P1542, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - tmp_1: undefined, - arg0: undefined, } } -function jacdac_JDControlPacket_getBuffer__P299893(s) { +function scene_systemMenu_brightnessDown__P1541(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66094,191 +65431,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.size___323136 = undefined; - s.buffer___323147 = undefined; - s.idx___323156 = undefined; - s.encoded___323202 = undefined; - s.i___323206 = undefined; - s.i___323224 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDControlPacket__C299892_VT)) failedCast(r0); - s.size___323136 = (0); - r0 = s.arg0.fields["_device_name"]; + s.tmp_0 = helpers_setScreenBrightness__P492_mk(s); + s.tmp_0.arg0 = globals.screen___545; + r0 = globals.brightness___474; s.tmp_1 = r0; - r0 = pxsim_String_.length(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_2 = r0 = s.size___323136; - s.tmp_6 = jacdac_JDControlPacket_device_name__P299897_mk(s); - s.tmp_6.arg0 = s.arg0; - s.pc = 11; return s.tmp_6; - case 11: - r0 = s.retval; - s.tmp_5 = r0; - r0 = pxsim_String_.length(s.tmp_5); - s.tmp_4 = r0; - r0 = (s.tmp_4 + 1); - s.tmp_3 = r0; - r0 = (s.tmp_2 + s.tmp_3); - s.size___323136 = (r0); + r0 = (s.tmp_1 - 10); + s.tmp_0.arg1 = r0; + s.pc = 1; return s.tmp_0; case 1: - case 2: - r0 = (10 + s.size___323136); - s.tmp_1 = r0; - r0 = s.arg0.fields["data"]; - s.tmp_3 = r0; - r0 = pxsim.BufferMethods.length(s.tmp_3); - s.tmp_2 = r0; - r0 = (s.tmp_1 + s.tmp_2); - s.tmp_0 = r0; - r0 = pxsim.control.createBuffer(s.tmp_0); - s.buffer___323147 = (r0); - s.idx___323156 = (0); - case 3: - s.tmp_1 = r0 = s.idx___323156; - r0 = s.arg0.fields["unique_device_identifier"]; - s.tmp_3 = r0; - r0 = pxsim.BufferMethods.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 = 4; continue; } - s.tmp_4 = r0 = s.buffer___323147; - s.tmp_5 = r0 = s.idx___323156; - r0 = s.arg0.fields["unique_device_identifier"]; - s.tmp_7 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_7, s.idx___323156); - s.tmp_6 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_4, s.tmp_5, s.tmp_6); - r0 = (s.idx___323156 + 1); - s.idx___323156 = (r0); - { step = 3; continue; } - case 4: - s.tmp_0 = r0 = s.idx___323156; - r0 = (s.tmp_0 + 1); - s.idx___323156 = (r0); - s.tmp_1 = r0 = s.buffer___323147; - r0 = s.arg0.fields["device_address"]; - s.tmp_3 = r0; - r0 = (s.tmp_3 & 255); - s.tmp_2 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_1, s.tmp_0, s.tmp_2); - s.tmp_0 = r0 = s.idx___323156; - r0 = (s.tmp_0 + 1); - s.idx___323156 = (r0); - s.tmp_1 = r0 = s.buffer___323147; - r0 = s.arg0.fields["device_flags"]; - s.tmp_3 = r0; - r0 = (s.tmp_3 & 255); - s.tmp_2 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_1, s.tmp_0, s.tmp_2); - r0 = s.arg0.fields["device_flags"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 & 4); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 7; continue; } - s.tmp_2 = r0 = s.idx___323156; - r0 = (s.tmp_2 + 1); - s.idx___323156 = (r0); - s.tmp_3 = r0 = s.buffer___323147; - r0 = s.arg0.fields["_device_name"]; - s.tmp_5 = r0; - r0 = pxsim_String_.length(s.tmp_5); - s.tmp_4 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_3, s.tmp_2, s.tmp_4); - r0 = s.arg0.fields["_device_name"]; - s.tmp_0 = r0; - r0 = pxsim.control.createBufferFromUTF8(s.tmp_0); - s.encoded___323202 = (r0); - s.i___323206 = (0); - case 5: - s.tmp_1 = r0 = s.i___323206; - r0 = s.arg0.fields["_device_name"]; - s.tmp_3 = r0; - r0 = pxsim_String_.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; } - s.tmp_4 = r0 = s.idx___323156; - r0 = (s.tmp_4 + 1); - s.idx___323156 = (r0); - s.tmp_5 = r0 = s.buffer___323147; - r0 = pxsim.BufferMethods.getUint8(s.encoded___323202, s.i___323206); - s.tmp_6 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_5, s.tmp_4, s.tmp_6); - r0 = (s.i___323206 + 1); - s.i___323206 = (r0); - { step = 5; continue; } - case 6: - case 7: - case 8: - s.i___323224 = (0); - case 9: - s.tmp_1 = r0 = s.i___323224; - r0 = s.arg0.fields["data"]; - s.tmp_3 = r0; - r0 = pxsim.BufferMethods.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 = 10; continue; } - s.tmp_4 = r0 = s.idx___323156; - r0 = (s.tmp_4 + 1); - s.idx___323156 = (r0); - s.tmp_5 = r0 = s.buffer___323147; - r0 = s.arg0.fields["data"]; - s.tmp_7 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_7, s.i___323224); - s.tmp_6 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_5, s.tmp_4, s.tmp_6); - r0 = (s.i___323224 + 1); - s.i___323224 = (r0); - { step = 9; continue; } - case 10: - r0 = s.buffer___323147; + r0 = s.retval; + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDControlPacket_getBuffer__P299893.info = {"start":4425,"length":1103,"line":116,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"getBuffer","argumentNames":["this"]} -jacdac_JDControlPacket_getBuffer__P299893.info = {"start":4425,"length":1103,"line":116,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"getBuffer","argumentNames":["this"]} +scene_systemMenu_brightnessDown__P1541.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__P1541.info = {"start":9200,"length":89,"line":289,"column":4,"endLine":291,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessDown","argumentNames":[]} -function jacdac_JDControlPacket_getBuffer__P299893_mk(s) { +function scene_systemMenu_brightnessDown__P1541_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDControlPacket_getBuffer__P299893, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P1541, 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, - size___323136: undefined, - buffer___323147: undefined, - idx___323156: undefined, - encoded___323202: undefined, - i___323206: undefined, - i___323224: undefined, - arg0: undefined, } } -function jacdac_options_utf8Encode__P299923(s) { +function helpers_setScreenBrightness__P492(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66290,28 +65472,42 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim.control.createBufferFromUTF8(s.arg0); + s.tmp_0 = Math_clamp__P72_mk(s); + s.tmp_0.arg0 = 10; + s.tmp_0.arg1 = 100; + r0 = (s.arg1 | 0); + s.tmp_0.arg2 = r0; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + s.arg1 = (r0); + globals.brightness___474 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___474); + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_options_utf8Encode__P299923.info = {"start":135,"length":98,"line":7,"column":4,"endLine":9,"endColumn":5,"fileName":"pxt_modules/jacdac/makecodeoptions.ts","functionName":"utf8Encode","argumentNames":["str"]} -jacdac_options_utf8Encode__P299923.info = {"start":135,"length":98,"line":7,"column":4,"endLine":9,"endColumn":5,"fileName":"pxt_modules/jacdac/makecodeoptions.ts","functionName":"utf8Encode","argumentNames":["str"]} +helpers_setScreenBrightness__P492.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__P492.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 jacdac_options_utf8Encode__P299923_mk(s) { +function helpers_setScreenBrightness__P492_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_options_utf8Encode__P299923, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P492, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, arg0: undefined, + arg1: undefined, } } -function jacdac_JACDAC_bus__P299831(s) { +function scene_systemMenu_brightnessUp__P1540(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66321,33 +65517,36 @@ 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, jacdac_JACDAC__C299830_VT)) failedCast(r0); - r0 = s.arg0.fields["_bus"]; - return leaveAccessor(s, r0) + s.tmp_0 = helpers_setScreenBrightness__P492_mk(s); + s.tmp_0.arg0 = globals.screen___545; + r0 = globals.brightness___474; + s.tmp_1 = r0; + r0 = (s.tmp_1 + 10); + s.tmp_0.arg1 = r0; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = undefined; + return leave(s, r0) default: oops() } } } -jacdac_JACDAC_bus__P299831.info = {"start":676,"length":51,"line":28,"column":8,"endLine":30,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"bus","argumentNames":["this"]} -jacdac_JACDAC_bus__P299831.isGetter = true; -jacdac_JACDAC_bus__P299831.info = {"start":676,"length":51,"line":28,"column":8,"endLine":30,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"bus","argumentNames":["this"]} +scene_systemMenu_brightnessUp__P1540.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__P1540.info = {"start":9107,"length":87,"line":285,"column":4,"endLine":287,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessUp","argumentNames":[]} -function jacdac_JACDAC_bus__P299831_mk(s) { +function scene_systemMenu_brightnessUp__P1540_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JACDAC_bus__P299831, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P1540, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, + tmp_0: undefined, + tmp_1: undefined, } } -function jacdac_JDDeviceManager_removeDevice__P299820(s) { +function scene_systemMenu_volumeDown__P1539(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66357,51 +65556,55 @@ 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; - if (!checkSubtype(r0, jacdac_JDDeviceManager__C299814_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P322682); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = r0 = s.arg0; - s.tmp_3 = helpers_arrayFilter__P297631_mk(s); - r0 = s.arg0.fields["devices"]; - s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.tmp_0; - s.pc = 1; return s.tmp_3; + s.v___25525 = undefined; + s.remainder___25528 = undefined; + s.newVolume___25531 = undefined; + s.tmp_0 = music_volume__P404_mk(s); + s.pc = 3; return s.tmp_0; + case 3: + r0 = s.retval; + s.v___25525 = (r0); + r0 = (s.v___25525 % 32); + s.remainder___25528 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___25528); + if (!r0) { step = 1; continue; } + r0 = s.remainder___25528; + { step = 2; continue; } case 1: + r0 = 32; + case 2: + // jmp value (already in r0) + s.tmp_0 = r0; + r0 = (s.v___25525 - s.tmp_0); + s.newVolume___25531 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P1537_mk(s); + s.tmp_0.arg0 = s.newVolume___25531; + s.pc = 4; return s.tmp_0; + case 4: r0 = s.retval; - s.tmp_2 = r0; - r0 = (s.tmp_1).fields["devices"] = (s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDDeviceManager_removeDevice__P299820.info = {"start":1341,"length":210,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/jacdac/devicemanager.ts","functionName":"removeDevice","argumentNames":["this","device"]} -jacdac_JDDeviceManager_removeDevice__P299820.info = {"start":1341,"length":210,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/jacdac/devicemanager.ts","functionName":"removeDevice","argumentNames":["this","device"]} +scene_systemMenu_volumeDown__P1539.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__P1539.info = {"start":8914,"length":187,"line":278,"column":4,"endLine":283,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"volumeDown","argumentNames":[]} -function jacdac_JDDeviceManager_removeDevice__P299820_mk(s) { +function scene_systemMenu_volumeDown__P1539_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDDeviceManager_removeDevice__P299820, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P1539, 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, + v___25525: undefined, + remainder___25528: undefined, + newVolume___25531: undefined, } } -function inline__P322682(s) { +function scene_systemMenu_setVolume__P1537(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66415,74 +65618,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = s.arg0.fields["device_address"]; - s.tmp_1 = r0; - r0 = s.caps[0].fields["device_address"]; - 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; } + s.tmp_0 = music_setVolume__P403_mk(s); + s.tmp_0.arg0 = s.arg0; + s.pc = 1; return s.tmp_0; case 1: - r0 = s.caps[0].fields["unique_device_identifier"]; - s.tmp_4 = r0; - r0 = pxsim.BufferMethods.getNumber(s.tmp_4, 11, 0); - s.tmp_3 = r0; - r0 = s.arg0.fields["unique_device_identifier"]; - s.tmp_6 = r0; - r0 = pxsim.BufferMethods.getNumber(s.tmp_6, 11, 0); - s.tmp_5 = r0; - r0 = (s.tmp_3 == s.tmp_5); + r0 = s.retval; + s.tmp_0 = music_playTone__P406_mk(s); + s.tmp_0.arg0 = 440; + s.tmp_0.arg1 = 500; + s.pc = 2; return s.tmp_0; case 2: - // jmp value (already in r0) - s.tmp_7 = r0; - r0 = pxsim_numops_toBool(s.tmp_7); - if (r0) { step = 3; continue; } - r0 = s.tmp_7; - { step = 4; continue; } + r0 = s.retval; + s.tmp_0 = settings_writeNumber__P580_mk(s); + s.tmp_0.arg0 = "#volume"; + s.tmp_0.arg1 = s.arg0; + s.pc = 3; return s.tmp_0; case 3: - r0 = s.caps[0].fields["unique_device_identifier"]; - s.tmp_9 = r0; - r0 = pxsim.BufferMethods.getNumber(s.tmp_9, 11, 4); - s.tmp_8 = r0; - r0 = s.arg0.fields["unique_device_identifier"]; - s.tmp_11 = r0; - r0 = pxsim.BufferMethods.getNumber(s.tmp_11, 11, 4); - s.tmp_10 = r0; - r0 = (s.tmp_8 == s.tmp_10); - case 4: - // jmp value (already in r0) - s.tmp_12 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_12); - s.tmp_13 = r0; - r0 = pxsim_Boolean__bang(s.tmp_13); + r0 = s.retval; + r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P322682.info = {"start":1427,"length":113,"line":41,"column":47,"endLine":41,"endColumn":160,"fileName":"pxt_modules/jacdac/devicemanager.ts","functionName":"inline","argumentNames":["dev"]} -inline__P322682.info = {"start":1427,"length":113,"line":41,"column":47,"endLine":41,"endColumn":160,"fileName":"pxt_modules/jacdac/devicemanager.ts","functionName":"inline","argumentNames":["dev"]} +scene_systemMenu_setVolume__P1537.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__P1537.info = {"start":8565,"length":166,"line":265,"column":4,"endLine":269,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setVolume","argumentNames":["newVolume"]} -function inline__P322682_mk(s) { +function scene_systemMenu_setVolume__P1537_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P322682, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P1537, 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, - tmp_12: undefined, - tmp_13: undefined, arg0: undefined, } } @@ -66490,7 +65655,7 @@ function inline__P322682_mk(s) { -function jacdac_JDDevice_udidl__P299908(s) { +function music_playTone__P406(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66500,36 +65665,83 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: + s.id___25457 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDDevice__C299904_VT)) failedCast(r0); - r0 = s.arg0.fields["unique_device_identifier"]; + r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; - r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 11, 0); - return leaveAccessor(s, r0) + r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); + s.arg1 = (s.tmp_0); + r0 = pxsim_pxtrt_ldlocRef(s.arg1); + s.tmp_2 = r0; + r0 = (s.tmp_2 == 0); + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + if (!r0) { step = 1; continue; } + r0 = pxsim_pxtrt_stlocRef(s.arg1, 86400000); + case 1: + case 2: + r0 = pxsim_pxtrt_ldlocRef(s.arg1); + s.tmp_1 = r0; + r0 = (s.tmp_1 <= 2000); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 3; continue; } + s.tmp_2 = music_playNoteCore__P405_mk(s); + s.tmp_2.arg0 = 0; + s.tmp_2.arg1 = s.arg0; + r0 = pxsim_pxtrt_ldlocRef(s.arg1); + s.tmp_2.arg2 = r0; + s.pc = 5; return s.tmp_2; + case 5: + r0 = s.retval; + s.tmp_0 = pause__P289_mk(s); + r0 = pxsim_pxtrt_ldlocRef(s.arg1); + s.tmp_0.arg0 = r0; + s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; + { step = 4; continue; } + case 3: + r0 = (globals.playToneID___408 + 1); + s.tmp_0 = r0; + globals.playToneID___408 = (r0); + s.id___25457 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, inline__P25463); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___25457); + 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); + case 4: + r0 = undefined; + return leave(s, r0) default: oops() } } } -jacdac_JDDevice_udidl__P299908.info = {"start":9041,"length":109,"line":252,"column":8,"endLine":254,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"udidl","argumentNames":["this"]} -jacdac_JDDevice_udidl__P299908.isGetter = true; -jacdac_JDDevice_udidl__P299908.info = {"start":9041,"length":109,"line":252,"column":8,"endLine":254,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"udidl","argumentNames":["this"]} +music_playTone__P406.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__P406.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 jacdac_JDDevice_udidl__P299908_mk(s) { +function music_playTone__P406_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDDevice_udidl__P299908, depth: s.depth + 1, + parent: s, fn: music_playTone__P406, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + id___25457: undefined, arg0: undefined, + arg1: undefined, } } -function jacdac_JDDevice_udidh__P299907(s) { +function inline__P25463(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66539,36 +65751,107 @@ 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, jacdac_JDDevice__C299904_VT)) failedCast(r0); - r0 = s.arg0.fields["unique_device_identifier"]; + s.pos___25464 = undefined; + s.now___25474 = undefined; + s.d___25477 = undefined; + s.t___25481 = undefined; + r0 = pxsim.control.millis(); + s.pos___25464 = (r0); + case 1: + r0 = (s.caps[0] == globals.playToneID___408); s.tmp_0 = r0; - r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 11, 4); - return leaveAccessor(s, r0) + r0 = pxsim_numops_toBool(s.tmp_0); + if (r0) { step = 2; continue; } + r0 = s.tmp_0; + { step = 3; continue; } + case 2: + r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); + 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 = 6; continue; } + r0 = pxsim.control.millis(); + s.now___25474 = (r0); + r0 = (s.pos___25464 - s.now___25474); + s.d___25477 = (r0); + s.tmp_0 = Math_min__P76_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___25481 = (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___25481); + s.tmp_1 = r0; + r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); + r0 = (s.pos___25464 + s.t___25481); + s.pos___25464 = (r0); + s.tmp_0 = music_playNoteCore__P405_mk(s); + r0 = (s.d___25477 - 1); + s.tmp_0.arg0 = r0; + s.tmp_0.arg1 = s.caps[2]; + s.tmp_0.arg2 = s.t___25481; + s.pc = 8; return s.tmp_0; + case 8: + r0 = s.retval; + r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); + s.tmp_1 = r0; + r0 = (s.tmp_1 == 0); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 4; continue; } + s.tmp_2 = pause__P289_mk(s); + r0 = (s.d___25477 + s.t___25481); + 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__P289_mk(s); + r0 = (s.d___25477 + s.t___25481); + s.tmp_1 = r0; + r0 = (s.tmp_1 - 100); + s.tmp_0.arg0 = r0; + s.pc = 10; return s.tmp_0; + case 10: + r0 = s.retval; + case 5: + { step = 1; continue; } + case 6: + r0 = undefined; + return leave(s, r0) default: oops() } } } -jacdac_JDDevice_udidh__P299907.info = {"start":8922,"length":109,"line":248,"column":8,"endLine":250,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"udidh","argumentNames":["this"]} -jacdac_JDDevice_udidh__P299907.isGetter = true; -jacdac_JDDevice_udidh__P299907.info = {"start":8922,"length":109,"line":248,"column":8,"endLine":250,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"udidh","argumentNames":["this"]} +inline__P25463.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P25463.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function jacdac_JDDevice_udidh__P299907_mk(s) { +function inline__P25463_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDDevice_udidh__P299907, depth: s.depth + 1, + parent: s, fn: inline__P25463, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - arg0: undefined, + tmp_1: undefined, + tmp_2: undefined, + pos___25464: undefined, + now___25474: undefined, + d___25477: undefined, + t___25481: undefined, } } -function jacdac_JDDeviceManager_getDeviceList__P299815(s) { +function music_playNoteCore__P405(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66578,40 +65861,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: + s.buf___25511 = 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, jacdac_JDDeviceManager__C299814_VT)) failedCast(r0); - s.tmp_0 = helpers_arraySlice__P297635_mk(s); - r0 = s.arg0.fields["devices"]; - s.tmp_0.arg0 = r0; + r0 = pxsim.control.createBuffer(12); + s.buf___25511 = (r0); + s.tmp_0 = music_addNote__P425_mk(s); + s.tmp_0.arg0 = s.buf___25511; s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = undefined; + 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__P404_mk(s); + s.pc = 2; return s.tmp_1; + case 2: + r0 = s.retval; + s.tmp_0.arg7 = r0; + s.tmp_0.arg8 = s.arg1; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___25511); + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDDeviceManager_getDeviceList__P299815.info = {"start":158,"length":81,"line":8,"column":8,"endLine":10,"endColumn":9,"fileName":"pxt_modules/jacdac/devicemanager.ts","functionName":"getDeviceList","argumentNames":["this"]} -jacdac_JDDeviceManager_getDeviceList__P299815.info = {"start":158,"length":81,"line":8,"column":8,"endLine":10,"endColumn":9,"fileName":"pxt_modules/jacdac/devicemanager.ts","functionName":"getDeviceList","argumentNames":["this"]} +music_playNoteCore__P405.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__P405.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 jacdac_JDDeviceManager_getDeviceList__P299815_mk(s) { +function music_playNoteCore__P405_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDDeviceManager_getDeviceList__P299815, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P405, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, + tmp_1: undefined, + buf___25511: undefined, arg0: undefined, + arg1: undefined, + arg2: undefined, } } -function jacdac_JDControlService_formControlPacket__P299718(s) { +function scene_systemMenu_volumeUp__P1538(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66621,210 +65922,117 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.controlPacket___322723 = undefined; - s.service_number___322750 = undefined; - s.current___322752 = undefined; - s.unnamed2906___U3 = undefined; - s.unnamed2907___U4 = undefined; - s.info___322777 = undefined; - s.data___322791 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDControlService__C299713_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(jacdac_JDControlPacket__C299892_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_JDControlPacket_constructor__P299900_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = undefined; - s.pc = 14; return s.tmp_1; - case 14: + s.v___25425 = undefined; + s.remainder___25428 = undefined; + s.newVolume___25431 = undefined; + s.tmp_0 = music_volume__P404_mk(s); + s.pc = 1; return s.tmp_0; + case 1: r0 = s.retval; - s.controlPacket___322723 = (s.tmp_0); - r0 = s.arg0.fields["device"]; - r0 = r0.fields["unique_device_identifier"]; - s.tmp_0 = r0; - r0 = (s.controlPacket___322723).fields["unique_device_identifier"] = (s.tmp_0); - r0 = s.arg0.fields["device"]; - r0 = r0.fields["device_address"]; + s.v___25425 = (r0); + r0 = (s.v___25425 % 32); + s.remainder___25428 = (r0); + r0 = (s.v___25425 + 32); s.tmp_0 = r0; - r0 = (s.controlPacket___322723).fields["device_address"] = (s.tmp_0); - r0 = s.arg0.fields["device"]; - r0 = r0.fields["device_flags"]; - s.tmp_0 = r0; - r0 = (s.controlPacket___322723).fields["device_flags"] = (s.tmp_0); - s.tmp_0 = jacdac_JDControlPacket_device_name__P299898_mk(s); - s.tmp_0.arg0 = s.controlPacket___322723; - r0 = s.arg0.fields["name"]; - s.tmp_0.arg1 = r0; - s.pc = 15; return s.tmp_0; - case 15: - r0 = s.retval; - s.service_number___322750 = (0); - s.current___322752 = (undefined); - s.tmp_0 = jacdac_JACDAC_services__P299833_mk(s); - s.tmp_1 = jacdac_JACDAC_instance__P299852_mk(s); - s.pc = 17; return s.tmp_1; - case 17: - r0 = s.retval; - s.tmp_0.arg0 = r0; - s.pc = 16; return s.tmp_0; - case 16: - r0 = s.retval; - s.unnamed2906___U3 = (r0); - s.unnamed2907___U4 = (0); - case 1: - s.tmp_0 = r0 = s.unnamed2907___U4; - r0 = pxsim_Array__length(s.unnamed2906___U3); - s.tmp_1 = r0; - r0 = (s.tmp_0 < s.tmp_1); - if (!r0) { step = 11; continue; } - r0 = pxsim_Array__getAt(s.unnamed2906___U3, s.unnamed2907___U4); - s.current___322752 = (r0); - r0 = s.current___322752.fields["_mode"]; - s.tmp_3 = r0; - r0 = (s.tmp_3 == 4); - s.tmp_2 = r0; - r0 = pxsim_numops_toBool(s.tmp_2); - if (!r0) { step = 2; continue; } - r0 = s.tmp_2; - { step = 3; continue; } + r0 = (s.tmp_0 - s.remainder___25428); + s.newVolume___25431 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P1537_mk(s); + s.tmp_0.arg0 = s.newVolume___25431; + s.pc = 2; return s.tmp_0; case 2: - r0 = s.current___322752.fields["_mode"]; - s.tmp_4 = r0; - r0 = (s.tmp_4 == 1); - case 3: - // jmp value (already in r0) - s.tmp_5 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_5); - if (!r0) { step = 4; continue; } - { step = 10; continue; } - case 4: - case 5: - r0 = s.current___322752.fields["service_number"]; - s.tmp_7 = r0; - r0 = (s.tmp_7 != 65535); - s.tmp_6 = r0; - r0 = pxsim_numops_toBool(s.tmp_6); - if (r0) { step = 6; continue; } - r0 = s.tmp_6; - { step = 7; continue; } - case 6: - r0 = s.current___322752.fields["service_number"]; - s.tmp_8 = r0; - r0 = (s.tmp_8 != s.service_number___322750); - case 7: - // jmp value (already in r0) - s.tmp_9 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_9); - if (!r0) { step = 8; continue; } - s.tmp_10 = jacdac_options_error__P299925_mk(s); - s.tmp_10.arg0 = "Device service order changed whilst enumerated"; - s.pc = 18; return s.tmp_10; - case 18: - r0 = s.retval; - case 8: - case 9: - r0 = (s.current___322752).fields["service_number"] = (s.service_number___322750); - r0 = pxsim_pxtcore_mkClassInstance(jacdac_JDServiceInformation__C299912_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_JDServiceInformation_constructor__P299914_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = undefined; - s.pc = 19; return s.tmp_1; - case 19: - r0 = s.retval; - s.info___322777 = (s.tmp_0); - r0 = s.current___322752.fields["service_flags"]; - s.tmp_0 = r0; - r0 = (s.info___322777).fields["service_flags"] = (s.tmp_0); - s.tmp_0 = r0 = s.info___322777; - r0 = s.current___322752.fields["_service_class"]; - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["service_class"] = (s.tmp_1); - s.tmp_0 = jacdac_JDService__C299596_v0_1_mk(s); - s.tmp_0.arg0 = s.current___322752; - if (!checkSubtype(s.tmp_0.arg0, jacdac_JDService__C299596_VT)) failedCast(s.tmp_0.arg0); - s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.addAdvertisementData; - s.pc = 20; return s.tmp_0; - case 20: - r0 = s.retval; - s.data___322791 = (r0); - s.tmp_0 = r0 = s.info___322777; - r0 = pxsim.BufferMethods.length(s.data___322791); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["advertisement_size"] = (s.tmp_1); - r0 = (s.info___322777).fields["data"] = (s.data___322791); - s.tmp_0 = jacdac_JDControlPacket_append__P299899_mk(s); - s.tmp_0.arg0 = s.controlPacket___322723; - s.tmp_1 = jacdac_JDServiceInformation_getBuffer__P299913_mk(s); - s.tmp_1.arg0 = s.info___322777; - s.pc = 22; return s.tmp_1; - case 22: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.pc = 21; return s.tmp_0; - case 21: - r0 = s.retval; - r0 = (s.service_number___322750 + 1); - s.service_number___322750 = (r0); - case 10: - r0 = (s.unnamed2907___U4 + 1); - s.unnamed2907___U4 = (r0); - { step = 1; continue; } - case 11: - s.unnamed2906___U3 = (undefined); - s.tmp_3 = jacdac_JDControlPacket_getBuffer__P299893_mk(s); - s.tmp_3.arg0 = s.controlPacket___322723; - s.pc = 23; return s.tmp_3; - case 23: - r0 = s.retval; - s.tmp_2 = r0; - r0 = pxsim.BufferMethods.length(s.tmp_2); - s.tmp_1 = r0; - r0 = (s.tmp_1 > 255); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 12; continue; } - s.tmp_4 = jacdac_options_error__P299925_mk(s); - s.tmp_4.arg0 = "Packet too big"; - s.pc = 24; return s.tmp_4; - case 24: r0 = s.retval; - case 12: - case 13: - r0 = s.controlPacket___322723; + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDControlService_formControlPacket__P299718.info = {"start":2040,"length":1512,"line":53,"column":8,"endLine":89,"endColumn":9,"fileName":"pxt_modules/jacdac/control.ts","functionName":"formControlPacket","argumentNames":["this"]} -jacdac_JDControlService_formControlPacket__P299718.info = {"start":2040,"length":1512,"line":53,"column":8,"endLine":89,"endColumn":9,"fileName":"pxt_modules/jacdac/control.ts","functionName":"formControlPacket","argumentNames":["this"]} +scene_systemMenu_volumeUp__P1538.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__P1538.info = {"start":8737,"length":171,"line":271,"column":4,"endLine":276,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"volumeUp","argumentNames":[]} -function jacdac_JDControlService_formControlPacket__P299718_mk(s) { +function scene_systemMenu_volumeUp__P1538_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDControlService_formControlPacket__P299718, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P1538, 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, - controlPacket___322723: undefined, - service_number___322750: undefined, - current___322752: undefined, - unnamed2906___U3: undefined, - unnamed2907___U4: undefined, - info___322777: undefined, - data___322791: undefined, + v___25425: undefined, + remainder___25428: undefined, + newVolume___25431: undefined, +} } + + + + + +function scene_systemMenu_MenuOption_constructor__P1528(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.arg3 = (s.lambdaArgs[3]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C1520_VT)) failedCast(r0); + r0 = (s.arg0).fields["iconImage"] = (s.arg1); + r0 = (s.arg0).fields["getText"] = (s.arg2); + r0 = (s.arg0).fields["action"] = (s.arg3); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +scene_systemMenu_MenuOption_constructor__P1528.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__P1528.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__P1528_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: scene_systemMenu_MenuOption_constructor__P1528, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + arg0: undefined, + arg1: undefined, + arg2: undefined, + arg3: undefined, +} } + + + + + +function helpers_screenBrightness__P493(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 = globals.brightness___474; + return leave(s, r0) + default: oops() +} } } +helpers_screenBrightness__P493.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__P493.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__P493_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: helpers_screenBrightness__P493, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -66832,7 +66040,7 @@ function jacdac_JDControlService_formControlPacket__P299718_mk(s) { -function jacdac_JDServiceInformation_getBuffer__P299913(s) { +function scene_systemMenu_PauseMenu_constructor__P1536(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66842,122 +66050,62 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.header___322818 = undefined; - s.idx___322825 = undefined; - s.i___322863 = 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, jacdac_JDServiceInformation__C299912_VT)) failedCast(r0); - r0 = s.arg0.fields["data"]; - s.tmp_2 = r0; - r0 = pxsim.BufferMethods.length(s.tmp_2); - s.tmp_1 = r0; - r0 = (6 + s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim.control.createBuffer(s.tmp_0); - s.header___322818 = (r0); - s.idx___322825 = (0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C1529_VT)) failedCast(r0); + r0 = (s.arg0).fields["generator"] = (s.arg1); + 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 = (s.idx___322825 < 4); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.header___322818; - s.tmp_2 = r0 = s.idx___322825; - r0 = s.arg0.fields["service_class"]; - s.tmp_5 = r0; - r0 = (s.idx___322825 * 8); - s.tmp_7 = r0; - r0 = (255 << s.tmp_7); - s.tmp_6 = r0; - r0 = (s.tmp_5 & s.tmp_6); - s.tmp_4 = r0; - r0 = (s.idx___322825 * 8); - s.tmp_8 = r0; - r0 = (s.tmp_4 >> s.tmp_8); - s.tmp_3 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_1, s.tmp_2, s.tmp_3); - r0 = (s.idx___322825 + 1); - s.idx___322825 = (r0); - { step = 1; continue; } - case 2: - s.tmp_0 = r0 = s.idx___322825; - r0 = (s.tmp_0 + 1); - s.idx___322825 = (r0); - s.tmp_1 = r0 = s.header___322818; - r0 = s.arg0.fields["service_flags"]; - s.tmp_3 = r0; - r0 = (s.tmp_3 & 255); - s.tmp_2 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_1, s.tmp_0, s.tmp_2); - s.tmp_0 = r0 = s.idx___322825; - r0 = (s.tmp_0 + 1); - s.idx___322825 = (r0); - s.tmp_1 = r0 = s.header___322818; - r0 = s.arg0.fields["advertisement_size"]; - s.tmp_3 = r0; - r0 = (s.tmp_3 & 255); - s.tmp_2 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_1, s.tmp_0, s.tmp_2); - s.i___322863 = (0); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P1548_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___1560); + s.tmp_1.arg0 = r0; + s.tmp_1.arg1 = 3; + s.tmp_1.arg2 = undefined; + s.tmp_1.arg3 = undefined; + s.pc = 3; return s.tmp_1; case 3: - s.tmp_1 = r0 = s.i___322863; - r0 = s.arg0.fields["data"]; - s.tmp_3 = r0; - r0 = pxsim.BufferMethods.length(s.tmp_3); + r0 = s.retval; + case 2: + // jmp value (already in r0) 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_4 = r0 = s.idx___322825; - r0 = (s.tmp_4 + 1); - s.idx___322825 = (r0); - s.tmp_5 = r0 = s.header___322818; - r0 = s.arg0.fields["data"]; - s.tmp_7 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_7, s.i___322863); - s.tmp_6 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_5, s.tmp_4, s.tmp_6); - r0 = (s.i___322863 + 1); - s.i___322863 = (r0); - { step = 3; continue; } - case 4: - r0 = s.header___322818; + r0 = (s.arg0).fields["theme"] = (s.tmp_2); + r0 = (s.arg0).fields["scrollRow"] = (0); + r0 = (s.arg0).fields["scrollOffset"] = (0); + r0 = (s.arg0).fields["scrollTarget"] = (0); + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDServiceInformation_getBuffer__P299913.info = {"start":10291,"length":573,"line":291,"column":8,"endLine":307,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"getBuffer","argumentNames":["this"]} -jacdac_JDServiceInformation_getBuffer__P299913.info = {"start":10291,"length":573,"line":291,"column":8,"endLine":307,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"getBuffer","argumentNames":["this"]} +scene_systemMenu_PauseMenu_constructor__P1536.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__P1536.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 jacdac_JDServiceInformation_getBuffer__P299913_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P1536_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDServiceInformation_getBuffer__P299913, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P1536, 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, - header___322818: undefined, - idx___322825: undefined, - i___322863: undefined, arg0: undefined, + arg1: undefined, + arg2: undefined, } } -function jacdac_JDControlPacket_constructor__P299900(s) { +function scene_systemMenu_buildMenuTheme__P1548(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66967,159 +66115,121 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.buf___323024 = undefined; - s.idx___323032 = undefined; - s.nameLen___323051 = undefined; + s.cardsPerRow___25560 = 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, jacdac_JDControlPacket__C299892_VT)) failedCast(r0); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim_String_.mkEmpty(); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["_device_name"] = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.arg1); - if (!r0) { step = 5; continue; } - s.tmp_0 = jacdac_JDPacket_data__P299885_mk(s); - s.tmp_0.arg0 = s.arg1; - s.pc = 7; return s.tmp_0; - case 7: - r0 = s.retval; - s.buf___323024 = (r0); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim.BufferMethods.slice(s.buf___323024, 0, 8); + r0 = pxsim_ImageMethods.width(globals.screen___545); + s.tmp_0 = r0; + r0 = (s.arg0 + s.arg1); s.tmp_1 = r0; - r0 = (s.tmp_0).fields["unique_device_identifier"] = (s.tmp_1); - s.idx___323032 = (8); - s.tmp_0 = r0 = s.idx___323032; - r0 = (s.tmp_0 + 1); - s.idx___323032 = (r0); - s.tmp_1 = r0 = s.arg0; - r0 = pxsim.BufferMethods.getUint8(s.buf___323024, s.tmp_0); - s.tmp_2 = r0; - r0 = (s.tmp_1).fields["device_address"] = (s.tmp_2); - s.tmp_0 = r0 = s.idx___323032; - r0 = (s.tmp_0 + 1); - s.idx___323032 = (r0); - s.tmp_1 = r0 = s.arg0; - r0 = pxsim.BufferMethods.getUint8(s.buf___323024, s.tmp_0); - s.tmp_2 = r0; - r0 = (s.tmp_1).fields["device_flags"] = (s.tmp_2); - r0 = s.arg0.fields["device_flags"]; + r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); + s.cardsPerRow___25560 = (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___497; + case 2: + // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.tmp_1 & 4); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); + s.arg2 = (s.tmp_1); + s.tmp_0 = r0 = s.arg3; + r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = r0 = s.idx___323032; - r0 = (s.tmp_2 + 1); - s.idx___323032 = (r0); - r0 = pxsim.BufferMethods.getUint8(s.buf___323024, s.tmp_2); - s.nameLen___323051 = (r0); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim.BufferMethods.slice(s.buf___323024, s.idx___323032, s.nameLen___323051); + r0 = s.tmp_0; + { step = 4; continue; } + case 3: + s.tmp_1 = image_doubledFont__P501_mk(s); + s.tmp_1.arg0 = s.arg2; + s.pc = 5; return s.tmp_1; + case 5: + r0 = s.retval; + case 4: + // jmp value (already in r0) s.tmp_2 = r0; - r0 = pxsim.BufferMethods.toString(s.tmp_2); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["_device_name"] = (s.tmp_1); - r0 = (s.idx___323032 + s.nameLen___323051); - s.idx___323032 = (r0); - s.tmp_1 = r0 = s.nameLen___323051; - r0 = s.arg0.fields["_device_name"]; + s.arg3 = (s.tmp_2); + r0 = pxsim_pxtrt.mkMap(); + 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___25560); + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_3 = r0; - r0 = pxsim_String_.length(s.tmp_3); + r0 = (s.cardsPerRow___25560 * s.arg0); + s.tmp_5 = r0; + r0 = (s.cardsPerRow___25560 - 1); + s.tmp_7 = r0; + r0 = (s.tmp_7 * s.arg1); + s.tmp_6 = r0; + r0 = (s.tmp_5 + s.tmp_6); + s.tmp_4 = r0; + r0 = (s.tmp_3 - s.tmp_4); s.tmp_2 = r0; - r0 = (s.tmp_1 != s.tmp_2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_4 = jacdac_options_error__P299925_mk(s); - if ((s.nameLen___323051) && (s.nameLen___323051).vtable) { - setupResume(s, 9); - pxsim_String__stringConv(s.nameLen___323051); - checkResumeConsumed(); - return; - } else { s.retval = (s.nameLen___323051) + ""; } - case 9: + r0 = (s.tmp_2 >> 1); + s.tmp_1 = r0; + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "padding", s.tmp_1); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "infoFont", s.arg2); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "headerFont", s.arg3); + s.tmp_11 = if_charHeight_1_mk(s); + s.tmp_11.arg0 = s.arg3; + if (!s.tmp_11.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_11.arg0, "charHeight"); + } else { + s.tmp_11.fn = s.tmp_11.arg0.vtable.iface["charHeight"]; + if (s.tmp_11.fn == null) { s.retval = s.tmp_11.arg0.fields["charHeight"]; } + else if (!s.tmp_11.fn.isGetter) { s.retval = bind(s.tmp_11); } + else { s.pc = 6; return s.tmp_11; } + } + case 6: r0 = s.retval; + s.tmp_10 = r0; + r0 = (s.tmp_10 + 2); s.tmp_9 = r0; - r0 = pxsim_String__concat("Control packet name length mismatch. Expected: ", s.tmp_9); + r0 = (s.tmp_9 + s.arg1); s.tmp_8 = r0; - if ((s.tmp_8) && (s.tmp_8).vtable) { - setupResume(s, 10); - pxsim_String__stringConv(s.tmp_8); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_8) + ""; } - case 10: - r0 = s.retval; - s.tmp_7 = r0; - r0 = pxsim_String__concat(s.tmp_7, " got: "); - s.tmp_6 = r0; - if ((s.tmp_6) && (s.tmp_6).vtable) { - setupResume(s, 11); - pxsim_String__stringConv(s.tmp_6); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_6) + ""; } - case 11: - r0 = s.retval; - s.tmp_5 = r0; - s.tmp_13 = jacdac_JDControlPacket_device_name__P299897_mk(s); - s.tmp_13.arg0 = s.arg0; - s.pc = 12; return s.tmp_13; - case 12: + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsTop", s.tmp_8); + r0 = pxsim_ImageMethods.height(globals.screen___545); + s.tmp_14 = r0; + s.tmp_16 = if_charHeight_1_mk(s); + s.tmp_16.arg0 = s.arg2; + if (!s.tmp_16.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_16.arg0, "charHeight"); + } else { + s.tmp_16.fn = s.tmp_16.arg0.vtable.iface["charHeight"]; + if (s.tmp_16.fn == null) { s.retval = s.tmp_16.arg0.fields["charHeight"]; } + else if (!s.tmp_16.fn.isGetter) { s.retval = bind(s.tmp_16); } + else { s.pc = 7; return s.tmp_16; } + } + case 7: r0 = s.retval; + s.tmp_15 = r0; + r0 = (s.tmp_14 - s.tmp_15); + s.tmp_13 = r0; + r0 = (s.tmp_13 - 2); s.tmp_12 = r0; - r0 = pxsim_String_.length(s.tmp_12); - s.tmp_11 = r0; - if ((s.tmp_11) && (s.tmp_11).vtable) { - setupResume(s, 13); - pxsim_String__stringConv(s.tmp_11); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_11) + ""; } - case 13: - r0 = s.retval; - s.tmp_10 = r0; - r0 = pxsim_String__concat(s.tmp_5, s.tmp_10); - s.tmp_4.arg0 = r0; - s.pc = 8; return s.tmp_4; - case 8: - r0 = s.retval; - case 1: - case 2: - case 3: - case 4: - s.tmp_0 = r0 = s.arg0; - s.tmp_2 = r0 = s.buf___323024; - s.tmp_3 = r0 = s.idx___323032; - r0 = pxsim.BufferMethods.length(s.buf___323024); - s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_2, s.tmp_3, s.tmp_4); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["data"] = (s.tmp_1); - { step = 6; continue; } - case 5: - s.tmp_0 = r0 = s.arg0; - r0 = pxsim.control.createBuffer(0); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["data"] = (s.tmp_1); - case 6: - r0 = undefined; + 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___1563); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___1566); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___1560); + r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -jacdac_JDControlPacket_constructor__P299900.info = {"start":3261,"length":1154,"line":89,"column":8,"endLine":114,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"inline","argumentNames":["this","p"]} -jacdac_JDControlPacket_constructor__P299900.info = {"start":3261,"length":1154,"line":89,"column":8,"endLine":114,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"inline","argumentNames":["this","p"]} +scene_systemMenu_buildMenuTheme__P1548.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__P1548.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 jacdac_JDControlPacket_constructor__P299900_mk(s) { +function scene_systemMenu_buildMenuTheme__P1548_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDControlPacket_constructor__P299900, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P1548, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67135,18 +66245,21 @@ function jacdac_JDControlPacket_constructor__P299900_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - buf___323024: undefined, - idx___323032: undefined, - nameLen___323051: undefined, + tmp_14: undefined, + tmp_15: undefined, + tmp_16: undefined, + cardsPerRow___25560: undefined, arg0: undefined, arg1: undefined, + arg2: undefined, + arg3: undefined, } } -function jacdac_options_utf8Decode__P299922(s) { +function image_doubledFont__P501(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67160,18 +66273,24 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim.BufferMethods.toString(s.arg0); + s.tmp_0 = image_scaledFont__P502_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = 2; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; return leave(s, r0) default: oops() } } } -jacdac_options_utf8Decode__P299922.info = {"start":50,"length":79,"line":3,"column":4,"endLine":5,"endColumn":5,"fileName":"pxt_modules/jacdac/makecodeoptions.ts","functionName":"utf8Decode","argumentNames":["buf"]} -jacdac_options_utf8Decode__P299922.info = {"start":50,"length":79,"line":3,"column":4,"endLine":5,"endColumn":5,"fileName":"pxt_modules/jacdac/makecodeoptions.ts","functionName":"utf8Decode","argumentNames":["buf"]} +image_doubledFont__P501.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__P501.info = {"start":12008,"length":82,"line":146,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/screen/text.ts","functionName":"doubledFont","argumentNames":["f"]} -function jacdac_options_utf8Decode__P299922_mk(s) { +function image_doubledFont__P501_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_options_utf8Decode__P299922, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P501, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, arg0: undefined, } } @@ -67179,7 +66298,7 @@ function jacdac_options_utf8Decode__P299922_mk(s) { -function jacdac_JDPacket_data__P299885(s) { +function image_scaledFont__P502(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67191,49 +66310,116 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDPacket__C299874_VT)) failedCast(r0); - r0 = s.arg0.fields["_buffer"]; - s.tmp_2 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_2, 2); - s.tmp_1 = r0; - r0 = (s.tmp_1 != 255); + r0 = (s.arg1 | 0); + s.arg1 = (r0); + r0 = (s.arg1 < 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = s.arg0.fields["_buffer"]; - s.tmp_3 = r0; - r0 = s.arg0.fields["_buffer"]; - s.tmp_5 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_5, 3); - s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, 4, s.tmp_4); - { step = 3; continue; } + r0 = s.arg0; + { step = 5; continue; } case 1: case 2: - r0 = s.arg0.fields["_buffer"]; + r0 = pxsim_pxtrt.mkMap(); + s.tmp_1 = r0; + s.tmp_4 = if_charWidth_1_mk(s); + s.tmp_4.arg0 = s.arg0; + if (!s.tmp_4.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); + } else { + s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charWidth"]; + if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charWidth"]; } + else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } + else { s.pc = 6; return s.tmp_4; } + } + case 6: + r0 = s.retval; + s.tmp_3 = r0; + r0 = (s.tmp_3 * s.arg1); + s.tmp_2 = r0; + r0 = pxsim_pxtrt.mapSetByString(s.tmp_1, "charWidth", s.tmp_2); + s.tmp_7 = if_charHeight_1_mk(s); + s.tmp_7.arg0 = s.arg0; + if (!s.tmp_7.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); + } else { + s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["charHeight"]; + if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["charHeight"]; } + else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } + else { s.pc = 7; return s.tmp_7; } + } + case 7: + r0 = s.retval; s.tmp_6 = r0; - r0 = s.arg0.fields["_buffer"]; - s.tmp_9 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_9, 3); + r0 = (s.tmp_6 * s.arg1); + s.tmp_5 = r0; + r0 = pxsim_pxtrt.mapSetByString(s.tmp_1, "charHeight", s.tmp_5); + s.tmp_9 = if_data_1_mk(s); + s.tmp_9.arg0 = s.arg0; + if (!s.tmp_9.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_9.arg0, "data"); + } else { + s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["data"]; + if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["data"]; } + else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } + else { s.pc = 8; return s.tmp_9; } + } + case 8: + r0 = s.retval; s.tmp_8 = r0; - r0 = (s.tmp_8 - 8); - s.tmp_7 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_6, 12, s.tmp_7); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_1, "data", s.tmp_8); + s.tmp_11 = if_multiplier_1_mk(s); + s.tmp_11.arg0 = s.arg0; + if (!s.tmp_11.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_11.arg0, "multiplier"); + } else { + s.tmp_11.fn = s.tmp_11.arg0.vtable.iface["multiplier"]; + if (s.tmp_11.fn == null) { s.retval = s.tmp_11.arg0.fields["multiplier"]; } + else if (!s.tmp_11.fn.isGetter) { s.retval = bind(s.tmp_11); } + else { s.pc = 9; return s.tmp_11; } + } + case 9: + r0 = s.retval; + s.tmp_10 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_10); + if (!r0) { step = 3; continue; } + s.tmp_12 = r0 = s.arg1; + s.tmp_14 = if_multiplier_1_mk(s); + s.tmp_14.arg0 = s.arg0; + if (!s.tmp_14.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_14.arg0, "multiplier"); + } else { + s.tmp_14.fn = s.tmp_14.arg0.vtable.iface["multiplier"]; + if (s.tmp_14.fn == null) { s.retval = s.tmp_14.arg0.fields["multiplier"]; } + else if (!s.tmp_14.fn.isGetter) { s.retval = bind(s.tmp_14); } + else { s.pc = 10; return s.tmp_14; } + } + case 10: + r0 = s.retval; + s.tmp_13 = r0; + r0 = (s.tmp_12 * s.tmp_13); + { step = 4; continue; } case 3: - return leaveAccessor(s, r0) + r0 = s.arg1; + case 4: + // jmp value (already in r0) + s.tmp_15 = r0; + r0 = pxsim_pxtrt.mapSetByString(s.tmp_1, "multiplier", s.tmp_15); + r0 = s.tmp_1; + case 5: + return leave(s, r0) default: oops() } } } -jacdac_JDPacket_data__P299885.info = {"start":1997,"length":297,"line":51,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"data","argumentNames":["this"]} -jacdac_JDPacket_data__P299885.isGetter = true; -jacdac_JDPacket_data__P299885.info = {"start":1997,"length":297,"line":51,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"data","argumentNames":["this"]} +image_scaledFont__P502.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__P502.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 jacdac_JDPacket_data__P299885_mk(s) { +function image_scaledFont__P502_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDPacket_data__P299885, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P502, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67245,14 +66431,21 @@ function jacdac_JDPacket_data__P299885_mk(s) { 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, arg0: undefined, + arg1: undefined, } } -function jacdac_JDPacket_size__P299881(s) { +function scene_systemMenu_PauseMenu_show__P1530(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67262,67 +66455,329 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: + s.current___24667 = undefined; + s.i___24668 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDPacket__C299874_VT)) failedCast(r0); - r0 = s.arg0.fields["_buffer"]; - s.tmp_0 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_0, 3); - return leaveAccessor(s, r0) - default: oops() -} } } -jacdac_JDPacket_size__P299881.info = {"start":1540,"length":75,"line":37,"column":8,"endLine":39,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"size","argumentNames":["this"]} -jacdac_JDPacket_size__P299881.isGetter = true; -jacdac_JDPacket_size__P299881.info = {"start":1540,"length":75,"line":37,"column":8,"endLine":39,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"size","argumentNames":["this"]} - -function jacdac_JDPacket_size__P299881_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JDPacket_size__P299881, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function jacdac_JDPacket_device_address__P299877(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; + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C1529_VT)) failedCast(r0); + s.tmp_0 = r0 = s.arg0; + s.tmp_2 = if_generator_1_mk(s); + s.tmp_2.arg0 = s.arg0; + if (!s.tmp_2.arg0.vtable.iface) { + setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "generator"), 1); + s.pc = 3; return s.tmp_2; + } else { + s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["generator"]; + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["generator"], 1); s.pc = 3; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.pc = 3; return s.tmp_2;; } + else { s.pc = 3; return s.tmp_2; } } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDPacket__C299874_VT)) failedCast(r0); - r0 = s.arg0.fields["_buffer"]; + case 3: + r0 = s.retval; + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["options"] = (s.tmp_1); + r0 = (s.arg0).fields["selection"] = (0); + s.i___24668 = (0); + case 1: + s.tmp_1 = r0 = s.i___24668; + r0 = s.arg0.fields["options"]; + 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.BufferMethods.getUint8(s.tmp_0, 2); - return leaveAccessor(s, r0) + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 2; continue; } + r0 = s.arg0.fields["options"]; + s.tmp_4 = r0; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___24668); + s.current___24667 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P1521_mk(s); + s.tmp_0.arg0 = s.current___24667; + s.pc = 4; return s.tmp_0; + case 4: + r0 = s.retval; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P1524_mk(s); + s.tmp_0.arg0 = s.current___24667; + 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__P1522_mk(s); + s.tmp_0.arg0 = s.current___24667; + s.tmp_2 = if_padding_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_2.arg0 = r0; + if (!s.tmp_2.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "padding"); + } else { + s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["padding"]; + if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["padding"]; } + else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } + else { s.pc = 7; return s.tmp_2; } + } + case 7: + r0 = s.retval; + s.tmp_1 = r0; + s.tmp_5 = r0 = s.i___24668; + s.tmp_7 = if_cardsPerRow_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_7.arg0 = r0; + if (!s.tmp_7.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "cardsPerRow"); + } else { + s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["cardsPerRow"]; + if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["cardsPerRow"]; } + else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } + else { s.pc = 8; return s.tmp_7; } + } + case 8: + r0 = s.retval; + s.tmp_6 = r0; + r0 = (s.tmp_5 % s.tmp_6); + s.tmp_4 = r0; + s.tmp_10 = if_cardWidth_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_10.arg0 = r0; + if (!s.tmp_10.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_10.arg0, "cardWidth"); + } else { + s.tmp_10.fn = s.tmp_10.arg0.vtable.iface["cardWidth"]; + if (s.tmp_10.fn == null) { s.retval = s.tmp_10.arg0.fields["cardWidth"]; } + else if (!s.tmp_10.fn.isGetter) { s.retval = bind(s.tmp_10); } + else { s.pc = 9; return s.tmp_10; } + } + case 9: + r0 = s.retval; + s.tmp_9 = r0; + s.tmp_12 = if_cardSpacing_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_12.arg0 = r0; + if (!s.tmp_12.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_12.arg0, "cardSpacing"); + } else { + s.tmp_12.fn = s.tmp_12.arg0.vtable.iface["cardSpacing"]; + if (s.tmp_12.fn == null) { s.retval = s.tmp_12.arg0.fields["cardSpacing"]; } + else if (!s.tmp_12.fn.isGetter) { s.retval = bind(s.tmp_12); } + else { s.pc = 10; return s.tmp_12; } + } + case 10: + r0 = s.retval; + s.tmp_11 = r0; + r0 = (s.tmp_9 + s.tmp_11); + s.tmp_8 = r0; + r0 = (s.tmp_4 * s.tmp_8); + s.tmp_3 = r0; + r0 = (s.tmp_1 + s.tmp_3); + s.tmp_0.arg1 = r0; + s.tmp_14 = if_cardsTop_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_14.arg0 = r0; + if (!s.tmp_14.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_14.arg0, "cardsTop"); + } else { + s.tmp_14.fn = s.tmp_14.arg0.vtable.iface["cardsTop"]; + if (s.tmp_14.fn == null) { s.retval = s.tmp_14.arg0.fields["cardsTop"]; } + else if (!s.tmp_14.fn.isGetter) { s.retval = bind(s.tmp_14); } + else { s.pc = 11; return s.tmp_14; } + } + case 11: + r0 = s.retval; + s.tmp_13 = r0; + s.tmp_17 = r0 = s.i___24668; + s.tmp_19 = if_cardsPerRow_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_19.arg0 = r0; + if (!s.tmp_19.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_19.arg0, "cardsPerRow"); + } else { + s.tmp_19.fn = s.tmp_19.arg0.vtable.iface["cardsPerRow"]; + if (s.tmp_19.fn == null) { s.retval = s.tmp_19.arg0.fields["cardsPerRow"]; } + else if (!s.tmp_19.fn.isGetter) { s.retval = bind(s.tmp_19); } + else { s.pc = 12; return s.tmp_19; } + } + case 12: + r0 = s.retval; + s.tmp_18 = r0; + r0 = pxsim.Math_.idiv(s.tmp_17, s.tmp_18); + s.tmp_16 = r0; + s.tmp_22 = if_cardWidth_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_22.arg0 = r0; + if (!s.tmp_22.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_22.arg0, "cardWidth"); + } else { + s.tmp_22.fn = s.tmp_22.arg0.vtable.iface["cardWidth"]; + if (s.tmp_22.fn == null) { s.retval = s.tmp_22.arg0.fields["cardWidth"]; } + else if (!s.tmp_22.fn.isGetter) { s.retval = bind(s.tmp_22); } + else { s.pc = 13; return s.tmp_22; } + } + case 13: + r0 = s.retval; + s.tmp_21 = r0; + s.tmp_24 = if_cardSpacing_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_24.arg0 = r0; + if (!s.tmp_24.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_24.arg0, "cardSpacing"); + } else { + s.tmp_24.fn = s.tmp_24.arg0.vtable.iface["cardSpacing"]; + if (s.tmp_24.fn == null) { s.retval = s.tmp_24.arg0.fields["cardSpacing"]; } + else if (!s.tmp_24.fn.isGetter) { s.retval = bind(s.tmp_24); } + else { s.pc = 14; return s.tmp_24; } + } + case 14: + r0 = s.retval; + s.tmp_23 = r0; + r0 = (s.tmp_21 + s.tmp_23); + s.tmp_20 = r0; + r0 = (s.tmp_16 * s.tmp_20); + s.tmp_15 = r0; + r0 = (s.tmp_13 + s.tmp_15); + s.tmp_0.arg2 = r0; + s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; + r0 = (s.i___24668 + 1); + s.i___24668 = (r0); + { step = 1; continue; } + case 2: + s.tmp_0 = controller__setUserEventsEnabled__P713_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__P24736); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.A___632; + 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__P24757); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.A___632; + 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__P666_mk(s); + s.tmp_0.arg0 = globals.B___634; + s.tmp_0.arg1 = 2053; + s.tmp_0.arg2 = inline__P24787; + s.pc = 18; return s.tmp_0; + case 18: + r0 = s.retval; + s.tmp_0 = controller_Button_onEvent__P666_mk(s); + s.tmp_0.arg0 = globals.menu___644; + s.tmp_0.arg1 = 2053; + s.tmp_0.arg2 = inline__P24792; + s.pc = 19; return s.tmp_0; + case 19: + r0 = s.retval; + r0 = pxsim_pxtcore_mkAction(1, inline__P24797); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.up___638; + 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__P24809); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.left___636; + 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__P24818); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.down___642; + 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__P24834); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); + s.tmp_1 = controller_Button_onEvent__P666_mk(s); + s.tmp_1.arg0 = globals.right___640; + 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__P24846); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); + s.tmp_1 = game_onShade__P1250_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__P1532_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = 0; + s.pc = 25; return s.tmp_0; + case 25: + r0 = s.retval; + r0 = undefined; + return leave(s, r0) default: oops() } } } -jacdac_JDPacket_device_address__P299877.info = {"start":942,"length":85,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"device_address","argumentNames":["this"]} -jacdac_JDPacket_device_address__P299877.isGetter = true; -jacdac_JDPacket_device_address__P299877.info = {"start":942,"length":85,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"device_address","argumentNames":["this"]} +scene_systemMenu_PauseMenu_show__P1530.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__P1530.info = {"start":3296,"length":2241,"line":123,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"show","argumentNames":["this"]} -function jacdac_JDPacket_device_address__P299877_mk(s) { +function scene_systemMenu_PauseMenu_show__P1530_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDPacket_device_address__P299877, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P1530, 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, + tmp_12: undefined, + tmp_13: undefined, + tmp_14: undefined, + tmp_15: undefined, + tmp_16: undefined, + tmp_17: undefined, + tmp_18: undefined, + tmp_19: undefined, + tmp_20: undefined, + tmp_21: undefined, + tmp_22: undefined, + tmp_23: undefined, + tmp_24: undefined, + current___24667: undefined, + i___24668: undefined, arg0: undefined, } } @@ -67330,7 +66785,7 @@ function jacdac_JDPacket_device_address__P299877_mk(s) { -function jacdac_JDControlPacket_append__P299899(s) { +function inline__P24736(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67340,84 +66795,57 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.newBuf___322889 = undefined; - s.idx___322898 = undefined; - s.i___322899 = undefined; - s.i___322918 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDControlPacket__C299892_VT)) failedCast(r0); - r0 = s.arg0.fields["data"]; + r0 = s.caps[0].fields["options"]; s.tmp_2 = r0; - r0 = pxsim.BufferMethods.length(s.tmp_2); + r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; - r0 = pxsim.BufferMethods.length(s.arg1); - s.tmp_3 = r0; - r0 = (s.tmp_1 + s.tmp_3); + r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; - r0 = pxsim.control.createBuffer(s.tmp_0); - s.newBuf___322889 = (r0); - s.idx___322898 = (0); - s.i___322899 = (0); + 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.i___322899; - r0 = s.arg0.fields["data"]; - s.tmp_3 = r0; - r0 = pxsim.BufferMethods.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 = 2; continue; } - s.tmp_4 = r0 = s.idx___322898; - r0 = (s.tmp_4 + 1); - s.idx___322898 = (r0); - s.tmp_5 = r0 = s.newBuf___322889; - r0 = s.arg0.fields["data"]; - s.tmp_7 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_7, s.i___322899); + r0 = s.caps[0].fields["options"]; + s.tmp_5 = r0; + r0 = s.caps[0].fields["selection"]; s.tmp_6 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_5, s.tmp_4, s.tmp_6); - r0 = (s.i___322899 + 1); - s.i___322899 = (r0); - { step = 1; continue; } + r0 = pxsim_Array__getAt(s.tmp_5, s.tmp_6); + s.tmp_4 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_4); + s.tmp_3 = r0; + r0 = pxsim_Boolean__bang(s.tmp_3); case 2: - s.i___322918 = (0); + // jmp value (already in r0) + s.tmp_7 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_7); + if (!r0) { step = 3; continue; } + { step = 5; continue; } case 3: - s.tmp_1 = r0 = s.i___322918; - r0 = pxsim.BufferMethods.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 = 4; continue; } - s.tmp_3 = r0 = s.idx___322898; - r0 = (s.tmp_3 + 1); - s.idx___322898 = (r0); - s.tmp_4 = r0 = s.newBuf___322889; - r0 = pxsim.BufferMethods.getUint8(s.arg1, s.i___322918); - s.tmp_5 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_4, s.tmp_3, s.tmp_5); - r0 = (s.i___322918 + 1); - s.i___322918 = (r0); - { step = 3; continue; } case 4: - r0 = (s.arg0).fields["data"] = (s.newBuf___322889); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P1525_mk(s); + r0 = s.caps[0].fields["options"]; + s.tmp_9 = r0; + r0 = s.caps[0].fields["selection"]; + s.tmp_10 = r0; + r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); + s.tmp_8.arg0 = r0; + s.tmp_8.arg1 = 1; + s.pc = 6; return s.tmp_8; + case 6: + r0 = s.retval; + case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDControlPacket_append__P299899.info = {"start":6293,"length":412,"line":173,"column":8,"endLine":184,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"append","argumentNames":["this","buffer"]} -jacdac_JDControlPacket_append__P299899.info = {"start":6293,"length":412,"line":173,"column":8,"endLine":184,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"append","argumentNames":["this","buffer"]} +inline__P24736.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P24736.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function jacdac_JDControlPacket_append__P299899_mk(s) { +function inline__P24736_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDControlPacket_append__P299899, depth: s.depth + 1, + parent: s, fn: inline__P24736, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67427,19 +66855,16 @@ function jacdac_JDControlPacket_append__P299899_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - newBuf___322889: undefined, - idx___322898: undefined, - i___322899: undefined, - i___322918: undefined, - arg0: undefined, - arg1: undefined, + tmp_8: undefined, + tmp_9: undefined, + tmp_10: undefined, } } -function jacdac_JDControlPacket_device_name__P299898(s) { +function inline__P24757(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67449,60 +66874,84 @@ 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; - if (!checkSubtype(r0, jacdac_JDControlPacket__C299892_VT)) failedCast(r0); - s.tmp_0 = r0 = s.arg1; + r0 = s.caps[0].fields["options"]; + 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_toBool(s.tmp_0); - if (r0) { step = 1; continue; } + if (!r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_String_.length(s.arg1); + r0 = s.caps[0].fields["options"]; + s.tmp_5 = r0; + r0 = s.caps[0].fields["selection"]; + s.tmp_6 = r0; + r0 = pxsim_Array__getAt(s.tmp_5, s.tmp_6); + s.tmp_4 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_4); + s.tmp_3 = r0; + r0 = pxsim_Boolean__bang(s.tmp_3); case 2: // jmp value (already in r0) - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); + s.tmp_7 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 3; continue; } - s.tmp_2 = r0 = s.arg0; - r0 = s.tmp_2.fields["device_flags"]; - s.tmp_4 = r0; - r0 = (s.tmp_4 | 4); - s.tmp_3 = r0; - r0 = (s.tmp_2).fields["device_flags"] = (s.tmp_3); - r0 = (s.arg0).fields["_device_name"] = (s.arg1); + { step = 5; continue; } case 3: case 4: + s.tmp_8 = scene_systemMenu_MenuOption_setState__P1525_mk(s); + r0 = s.caps[0].fields["options"]; + s.tmp_9 = r0; + r0 = s.caps[0].fields["selection"]; + s.tmp_10 = r0; + r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); + s.tmp_8.arg0 = r0; + s.tmp_8.arg1 = 0; + s.pc = 6; return s.tmp_8; + case 6: + r0 = s.retval; + r0 = s.caps[0].fields["options"]; + s.tmp_1 = r0; + r0 = s.caps[0].fields["selection"]; + s.tmp_2 = r0; + r0 = pxsim_Array__getAt(s.tmp_1, s.tmp_2); + r0 = r0.fields["action"]; + s.tmp_0 = r0; + r0 = pxsim.control.runInParallel(s.tmp_0); + case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDControlPacket_device_name__P299898.info = {"start":6056,"length":227,"line":166,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"device_name","argumentNames":["this","device_name"]} -jacdac_JDControlPacket_device_name__P299898.info = {"start":6056,"length":227,"line":166,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"device_name","argumentNames":["this","device_name"]} +inline__P24757.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P24757.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function jacdac_JDControlPacket_device_name__P299898_mk(s) { +function inline__P24757_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDControlPacket_device_name__P299898, depth: s.depth + 1, + parent: s, fn: inline__P24757, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - arg0: undefined, - arg1: undefined, + tmp_5: undefined, + tmp_6: undefined, + tmp_7: undefined, + tmp_8: undefined, + tmp_9: undefined, + tmp_10: undefined, } } -function jacdac_JDService_addAdvertisementData__P299599(s) { +function inline__P24787(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67512,32 +66961,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, jacdac_JDService__C299596_VT)) failedCast(r0); - r0 = pxsim.control.createBuffer(0); + s.tmp_0 = scene_systemMenu_closeMenu__P1545_mk(s); + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDService_addAdvertisementData__P299599.info = {"start":1249,"length":93,"line":51,"column":8,"endLine":53,"endColumn":9,"fileName":"pxt_modules/jacdac/service.ts","functionName":"addAdvertisementData","argumentNames":["this"]} -jacdac_JDService_addAdvertisementData__P299599.info = {"start":1249,"length":93,"line":51,"column":8,"endLine":53,"endColumn":9,"fileName":"pxt_modules/jacdac/service.ts","functionName":"addAdvertisementData","argumentNames":["this"]} +inline__P24787.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P24787.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function jacdac_JDService_addAdvertisementData__P299599_mk(s) { +function inline__P24787_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDService_addAdvertisementData__P299599, depth: s.depth + 1, + parent: s, fn: inline__P24787, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, + tmp_0: undefined, } } -function jacdac_JDControlService_deviceEnumerated__P299717(s) { +function inline__P24792(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67547,96 +66994,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.current___323647 = undefined; - s.unnamed2904___U1 = undefined; - s.unnamed2905___U2 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDControlService__C299713_VT)) failedCast(r0); - s.current___323647 = (undefined); - s.tmp_0 = jacdac_JACDAC_services__P299833_mk(s); - s.tmp_1 = jacdac_JACDAC_instance__P299852_mk(s); - s.pc = 9; return s.tmp_1; - case 9: - r0 = s.retval; - s.tmp_0.arg0 = r0; - s.pc = 8; return s.tmp_0; - case 8: - r0 = s.retval; - s.unnamed2904___U1 = (r0); - s.unnamed2905___U2 = (0); + s.tmp_0 = scene_systemMenu_closeMenu__P1545_mk(s); + s.pc = 1; return s.tmp_0; case 1: - s.tmp_0 = r0 = s.unnamed2905___U2; - r0 = pxsim_Array__length(s.unnamed2904___U1); - s.tmp_1 = r0; - r0 = (s.tmp_0 < s.tmp_1); - if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed2904___U1, s.unnamed2905___U2); - s.current___323647 = (r0); - r0 = (s.current___323647 == s.arg0); - 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.current___323647.fields["_mode"]; - s.tmp_3 = r0; - r0 = (s.tmp_3 == 1); - case 3: - // jmp value (already in r0) - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); - if (!r0) { step = 4; continue; } - { step = 6; continue; } - case 4: - case 5: - r0 = s.arg0.fields["device"]; - s.tmp_5 = r0; - r0 = (s.current___323647).fields["device"] = (s.tmp_5); - s.tmp_0 = jacdac_JDService__hostConnected__P299604_mk(s); - s.tmp_0.arg0 = s.current___323647; - s.pc = 10; return s.tmp_0; - case 10: r0 = s.retval; - case 6: - r0 = (s.unnamed2905___U2 + 1); - s.unnamed2905___U2 = (r0); - { step = 1; continue; } - case 7: - s.unnamed2904___U1 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDControlService_deviceEnumerated__P299717.info = {"start":1625,"length":405,"line":42,"column":8,"endLine":51,"endColumn":9,"fileName":"pxt_modules/jacdac/control.ts","functionName":"deviceEnumerated","argumentNames":["this"]} -jacdac_JDControlService_deviceEnumerated__P299717.info = {"start":1625,"length":405,"line":42,"column":8,"endLine":51,"endColumn":9,"fileName":"pxt_modules/jacdac/control.ts","functionName":"deviceEnumerated","argumentNames":["this"]} +inline__P24792.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P24792.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function jacdac_JDControlService_deviceEnumerated__P299717_mk(s) { +function inline__P24792_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDControlService_deviceEnumerated__P299717, depth: s.depth + 1, + parent: s, fn: inline__P24792, 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, - current___323647: undefined, - unnamed2904___U1: undefined, - unnamed2905___U2: undefined, - arg0: undefined, } } -function jacdac_JDService__hostConnected__P299604(s) { +function inline__P24797(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67646,65 +67027,59 @@ 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, jacdac_JDService__C299596_VT)) failedCast(r0); - s.tmp_0 = jacdac_options_log__P299926_mk(s); - s.tmp_0.arg0 = "Host Connected"; - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - s.tmp_0 = r0 = s.arg0; - r0 = s.tmp_0.fields["status"]; + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P1532_mk(s); + s.tmp_0.arg0 = s.caps[0]; + s.tmp_1 = Math_max__P75_mk(s); + s.tmp_1.arg0 = 0; + r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; - r0 = (s.tmp_2 | 2); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["status"] = (s.tmp_1); - r0 = s.arg0.fields["onConnected"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_1 = if_onConnected_1_mk(s); - s.tmp_1.arg0 = s.arg0; - if (!s.tmp_1.arg0.vtable.iface) { - setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "onConnected"), 1); - s.pc = 4; return s.tmp_1; + s.tmp_4 = if_cardsPerRow_1_mk(s); + r0 = s.caps[0].fields["theme"]; + s.tmp_4.arg0 = r0; + if (!s.tmp_4.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "cardsPerRow"); } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["onConnected"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["onConnected"], 1); s.pc = 4; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.pc = 4; return s.tmp_1;; } - else { s.pc = 4; return s.tmp_1; } + s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["cardsPerRow"]; + if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["cardsPerRow"]; } + else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } + else { s.pc = 3; return s.tmp_4; } } - case 4: + case 3: r0 = s.retval; - case 1: + s.tmp_3 = r0; + r0 = (s.tmp_2 - s.tmp_3); + s.tmp_1.arg1 = r0; + s.pc = 2; return s.tmp_1; case 2: + r0 = s.retval; + s.tmp_0.arg1 = r0; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDService__hostConnected__P299604.info = {"start":1932,"length":219,"line":74,"column":8,"endLine":80,"endColumn":9,"fileName":"pxt_modules/jacdac/service.ts","functionName":"_hostConnected","argumentNames":["this"]} -jacdac_JDService__hostConnected__P299604.info = {"start":1932,"length":219,"line":74,"column":8,"endLine":80,"endColumn":9,"fileName":"pxt_modules/jacdac/service.ts","functionName":"_hostConnected","argumentNames":["this"]} +inline__P24797.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P24797.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function jacdac_JDService__hostConnected__P299604_mk(s) { +function inline__P24797_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDService__hostConnected__P299604, depth: s.depth + 1, + parent: s, fn: inline__P24797, 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, + tmp_3: undefined, + tmp_4: undefined, } } -function jacdac_JDControlService_deviceDisconnected__P299716(s) { +function inline__P24809(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67714,130 +67089,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.current___323604 = undefined; - s.unnamed2902___U1 = undefined; - s.unnamed2903___U2 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDControlService__C299713_VT)) failedCast(r0); - r0 = s.arg0.fields["nextAddress"]; - s.tmp_1 = r0; - r0 = s.arg1.fields["device_address"]; + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P1532_mk(s); + s.tmp_0.arg0 = s.caps[0]; + s.tmp_1 = Math_max__P75_mk(s); + s.tmp_1.arg0 = 0; + r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; - r0 = (s.tmp_1 == s.tmp_2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = (s.arg0).fields["nextAddress"] = (254); - case 1: + r0 = (s.tmp_2 - 1); + s.tmp_1.arg1 = r0; + s.pc = 2; return s.tmp_1; case 2: - s.current___323604 = (undefined); - s.tmp_0 = jacdac_JACDAC_services__P299833_mk(s); - s.tmp_1 = jacdac_JACDAC_instance__P299852_mk(s); - s.pc = 13; return s.tmp_1; - case 13: - r0 = s.retval; - s.tmp_0.arg0 = r0; - s.pc = 12; return s.tmp_0; - case 12: r0 = s.retval; - s.unnamed2902___U1 = (r0); - s.unnamed2903___U2 = (0); - case 3: - s.tmp_0 = r0 = s.unnamed2903___U2; - r0 = pxsim_Array__length(s.unnamed2902___U1); - s.tmp_1 = r0; - r0 = (s.tmp_0 < s.tmp_1); - if (!r0) { step = 11; continue; } - r0 = pxsim_Array__getAt(s.unnamed2902___U1, s.unnamed2903___U2); - s.current___323604 = (r0); - r0 = s.current___323604.fields["device"]; - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); - s.tmp_3 = r0; - r0 = pxsim_Boolean__bang(s.tmp_3); - 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.current___323604.fields["_mode"]; - s.tmp_5 = r0; - r0 = (s.tmp_5 == 4); - case 5: - // jmp value (already in r0) - s.tmp_6 = r0; - r0 = pxsim_numops_toBool(s.tmp_6); - if (!r0) { step = 6; continue; } - r0 = s.tmp_6; - { step = 7; continue; } - case 6: - r0 = s.arg1.fields["device_address"]; - s.tmp_7 = r0; - r0 = s.current___323604.fields["device"]; - r0 = r0.fields["device_address"]; - s.tmp_8 = r0; - r0 = (s.tmp_7 != s.tmp_8); - case 7: - // jmp value (already in r0) - s.tmp_9 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_9); - if (!r0) { step = 8; continue; } - { step = 10; continue; } - case 8: - case 9: - r0 = (s.current___323604).fields["device"] = (undefined); - r0 = (s.current___323604).fields["service_number"] = (65535); - s.tmp_0 = jacdac_JDService__hostDisconnected__P299605_mk(s); - s.tmp_0.arg0 = s.current___323604; - s.pc = 14; return s.tmp_0; - case 14: + s.tmp_0.arg1 = r0; + s.pc = 1; return s.tmp_0; + case 1: r0 = s.retval; - case 10: - r0 = (s.unnamed2903___U2 + 1); - s.unnamed2903___U2 = (r0); - { step = 3; continue; } - case 11: - s.unnamed2902___U1 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDControlService_deviceDisconnected__P299716.info = {"start":926,"length":689,"line":27,"column":8,"endLine":40,"endColumn":9,"fileName":"pxt_modules/jacdac/control.ts","functionName":"deviceDisconnected","argumentNames":["this","device"]} -jacdac_JDControlService_deviceDisconnected__P299716.info = {"start":926,"length":689,"line":27,"column":8,"endLine":40,"endColumn":9,"fileName":"pxt_modules/jacdac/control.ts","functionName":"deviceDisconnected","argumentNames":["this","device"]} +inline__P24809.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P24809.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function jacdac_JDControlService_deviceDisconnected__P299716_mk(s) { +function inline__P24809_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDControlService_deviceDisconnected__P299716, depth: s.depth + 1, + parent: s, fn: inline__P24809, 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, - current___323604: undefined, - unnamed2902___U1: undefined, - unnamed2903___U2: undefined, - arg0: undefined, - arg1: undefined, } } -function jacdac_JDService__hostDisconnected__P299605(s) { +function inline__P24818(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67847,65 +67135,66 @@ 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, jacdac_JDService__C299596_VT)) failedCast(r0); - s.tmp_0 = jacdac_options_log__P299926_mk(s); - s.tmp_0.arg0 = "Host disconnected"; - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - s.tmp_0 = r0 = s.arg0; - r0 = s.tmp_0.fields["status"]; + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P1532_mk(s); + s.tmp_0.arg0 = s.caps[0]; + s.tmp_1 = Math_min__P76_mk(s); + r0 = s.caps[0].fields["options"]; + s.tmp_3 = r0; + r0 = pxsim_Array__length(s.tmp_3); s.tmp_2 = r0; - r0 = (s.tmp_2 & -3); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["status"] = (s.tmp_1); - r0 = s.arg0.fields["onDisconnected"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_1 = if_onDisconnected_1_mk(s); - s.tmp_1.arg0 = s.arg0; - if (!s.tmp_1.arg0.vtable.iface) { - setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "onDisconnected"), 1); - s.pc = 4; return s.tmp_1; + r0 = (s.tmp_2 - 1); + s.tmp_1.arg0 = r0; + r0 = s.caps[0].fields["selection"]; + s.tmp_4 = r0; + s.tmp_6 = if_cardsPerRow_1_mk(s); + r0 = s.caps[0].fields["theme"]; + s.tmp_6.arg0 = r0; + if (!s.tmp_6.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "cardsPerRow"); } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["onDisconnected"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["onDisconnected"], 1); s.pc = 4; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.pc = 4; return s.tmp_1;; } - else { s.pc = 4; return s.tmp_1; } + s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["cardsPerRow"]; + if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["cardsPerRow"]; } + else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } + else { s.pc = 3; return s.tmp_6; } } - case 4: + case 3: r0 = s.retval; - case 1: + s.tmp_5 = r0; + r0 = (s.tmp_4 + s.tmp_5); + s.tmp_1.arg1 = r0; + s.pc = 2; return s.tmp_1; case 2: + r0 = s.retval; + s.tmp_0.arg1 = r0; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDService__hostDisconnected__P299605.info = {"start":2161,"length":232,"line":82,"column":8,"endLine":88,"endColumn":9,"fileName":"pxt_modules/jacdac/service.ts","functionName":"_hostDisconnected","argumentNames":["this"]} -jacdac_JDService__hostDisconnected__P299605.info = {"start":2161,"length":232,"line":82,"column":8,"endLine":88,"endColumn":9,"fileName":"pxt_modules/jacdac/service.ts","functionName":"_hostDisconnected","argumentNames":["this"]} +inline__P24818.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P24818.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function jacdac_JDService__hostDisconnected__P299605_mk(s) { +function inline__P24818_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDService__hostDisconnected__P299605, depth: s.depth + 1, + parent: s, fn: inline__P24818, 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, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + tmp_6: undefined, } } -function jacdac_JDControlService_send__P299715(s) { +function inline__P24834(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67915,77 +67204,50 @@ 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; - if (!checkSubtype(r0, jacdac_JDControlService__C299713_VT)) failedCast(r0); - s.tmp_1 = if_isConnected_1_mk(s); - s.tmp_3 = jacdac_JACDAC_instance__P299852_mk(s); - s.pc = 4; return s.tmp_3; - case 4: - r0 = s.retval; + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P1532_mk(s); + s.tmp_0.arg0 = s.caps[0]; + s.tmp_1 = Math_min__P76_mk(s); + r0 = s.caps[0].fields["options"]; + s.tmp_3 = r0; + r0 = pxsim_Array__length(s.tmp_3); s.tmp_2 = r0; - r0 = s.tmp_2.fields["_bus"]; + r0 = (s.tmp_2 - 1); s.tmp_1.arg0 = r0; - if (!s.tmp_1.arg0.vtable.iface) { - setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "isConnected"), 1); - s.pc = 3; return s.tmp_1; - } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["isConnected"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["isConnected"], 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; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_4 = jacdac_JACDAC_write__P299853_mk(s); - s.tmp_5 = jacdac_JACDAC_instance__P299852_mk(s); - s.pc = 6; return s.tmp_5; - case 6: - r0 = s.retval; - s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = 0; - s.tmp_4.arg4 = null; - s.pc = 5; return s.tmp_4; - case 5: + r0 = s.caps[0].fields["selection"]; + s.tmp_4 = r0; + r0 = (s.tmp_4 + 1); + s.tmp_1.arg1 = r0; + s.pc = 2; return s.tmp_1; + case 2: r0 = s.retval; + s.tmp_0.arg1 = r0; + s.pc = 1; return s.tmp_0; case 1: - case 2: + r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDControlService_send__P299715.info = {"start":768,"length":148,"line":22,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/jacdac/control.ts","functionName":"send","argumentNames":["this","buffer"]} -jacdac_JDControlService_send__P299715.info = {"start":768,"length":148,"line":22,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/jacdac/control.ts","functionName":"send","argumentNames":["this","buffer"]} +inline__P24834.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P24834.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function jacdac_JDControlService_send__P299715_mk(s) { +function inline__P24834_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDControlService_send__P299715, depth: s.depth + 1, + parent: s, fn: inline__P24834, 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 jacdac_JACDAC_write__P299853(s) { +function inline__P24846(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67995,127 +67257,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.packet___323262 = 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, jacdac_JACDAC__C299830_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(jacdac_JDPacket__C299874_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_JDPacket_constructor__P299891_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = undefined; - s.pc = 5; return s.tmp_1; - case 5: - r0 = s.retval; - s.packet___323262 = (s.tmp_0); - r0 = (s.arg3 == 255); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_1 = jacdac_JDPacket_data__P299886_mk(s); - s.tmp_1.arg0 = s.packet___323262; - s.tmp_2 = helpers_bufferConcat__P297710_mk(s); - r0 = s.arg4.fields["unique_device_identifier"]; - s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.arg1; - s.pc = 7; return s.tmp_2; - case 7: - r0 = s.retval; - s.tmp_1.arg1 = r0; - s.pc = 6; return s.tmp_1; - case 6: - r0 = s.retval; - { step = 2; continue; } + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P1531_mk(s); + s.tmp_0.arg0 = s.caps[0]; + s.pc = 1; return s.tmp_0; case 1: - s.tmp_0 = jacdac_JDPacket_data__P299886_mk(s); - s.tmp_0.arg0 = s.packet___323262; - s.tmp_0.arg1 = s.arg1; - s.pc = 8; return s.tmp_0; - case 8: r0 = s.retval; + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P1533_mk(s); + s.tmp_0.arg0 = s.caps[0]; + s.pc = 2; return s.tmp_0; case 2: - s.tmp_0 = jacdac_JDPacket_device_address__P299878_mk(s); - s.tmp_0.arg0 = s.packet___323262; - s.tmp_0.arg1 = s.arg3; - s.pc = 9; return s.tmp_0; - case 9: - r0 = s.retval; - s.tmp_0 = jacdac_JDPacket_service_number__P299884_mk(s); - s.tmp_0.arg0 = s.packet___323262; - s.tmp_0.arg1 = s.arg2; - s.pc = 10; return s.tmp_0; - case 10: - r0 = s.retval; - s.tmp_0 = jacdac_JDPacket_communication_rate__P299888_mk(s); - s.tmp_0.arg0 = s.packet___323262; - s.tmp_0.arg1 = 1; - s.pc = 11; return s.tmp_0; - case 11: - r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.arg4); - if (!r0) { step = 3; continue; } - s.tmp_0 = jacdac_JDPacket_communication_rate__P299888_mk(s); - s.tmp_0.arg0 = s.packet___323262; - r0 = s.arg4.fields["communication_rate"]; - s.tmp_0.arg1 = r0; - s.pc = 12; return s.tmp_0; - case 12: - r0 = s.retval; - case 3: - case 4: - s.tmp_0 = jacdac_JDPacket_crc__P299876_mk(s); - s.tmp_0.arg0 = s.packet___323262; - s.tmp_1 = jacdac_jd_crc__P299744_mk(s); - s.tmp_1.arg0 = s.packet___323262; - s.tmp_1.arg1 = s.arg4; - s.pc = 14; return s.tmp_1; - case 14: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.pc = 13; return s.tmp_0; - case 13: - r0 = s.retval; - s.tmp_0 = jacdac_JACDAC_writePacket__P299854_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.packet___323262; - s.pc = 15; return s.tmp_0; - case 15: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JACDAC_write__P299853.info = {"start":4996,"length":689,"line":169,"column":8,"endLine":188,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"write","argumentNames":["this","buf","service_number","device_address","device"]} -jacdac_JACDAC_write__P299853.info = {"start":4996,"length":689,"line":169,"column":8,"endLine":188,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"write","argumentNames":["this","buf","service_number","device_address","device"]} +inline__P24846.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P24846.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function jacdac_JACDAC_write__P299853_mk(s) { +function inline__P24846_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JACDAC_write__P299853, depth: s.depth + 1, + parent: s, fn: inline__P24846, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - packet___323262: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, - arg3: undefined, - arg4: undefined, } } -function jacdac_JDDevice_udid__P299909(s) { +function scene_systemMenu_PauseMenu_drawText__P1533(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68130,20 +67301,284 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDDevice__C299904_VT)) failedCast(r0); - r0 = s.arg0.fields["unique_device_identifier"]; - return leaveAccessor(s, r0) + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C1529_VT)) failedCast(r0); + r0 = s.arg0.fields["options"]; + 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: + s.tmp_3 = helpers_imageFillRect__P484_mk(s); + s.tmp_3.arg0 = globals.screen___545; + s.tmp_3.arg1 = 0; + s.tmp_3.arg2 = 0; + r0 = pxsim_ImageMethods.width(globals.screen___545); + s.tmp_3.arg3 = r0; + s.tmp_5 = if_cardsTop_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_5.arg0 = r0; + if (!s.tmp_5.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "cardsTop"); + } else { + s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["cardsTop"]; + if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["cardsTop"]; } + else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } + else { s.pc = 5; return s.tmp_5; } + } + case 5: + r0 = s.retval; + s.tmp_4 = r0; + r0 = (s.tmp_4 - 2); + s.tmp_3.arg4 = r0; + s.tmp_3.arg5 = 15; + s.pc = 4; return s.tmp_3; + case 4: + r0 = s.retval; + s.tmp_0 = helpers_imagePrintCenter__P507_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_1 = if_headerText_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_1.arg0 = r0; + if (!s.tmp_1.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "headerText"); + } else { + s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["headerText"]; + if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["headerText"]; } + else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } + else { s.pc = 7; return s.tmp_1; } + } + case 7: + r0 = s.retval; + s.tmp_0.arg1 = r0; + s.tmp_0.arg2 = 2; + s.tmp_0.arg3 = 1; + s.tmp_2 = if_headerFont_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_2.arg0 = r0; + if (!s.tmp_2.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "headerFont"); + } else { + s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["headerFont"]; + if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["headerFont"]; } + else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } + else { s.pc = 8; return s.tmp_2; } + } + case 8: + r0 = s.retval; + s.tmp_0.arg4 = r0; + s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_0.arg1 = 0; + s.tmp_2 = if_infoTop_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_2.arg0 = r0; + if (!s.tmp_2.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "infoTop"); + } else { + s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["infoTop"]; + if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["infoTop"]; } + else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } + else { s.pc = 10; return s.tmp_2; } + } + case 10: + r0 = s.retval; + s.tmp_1 = r0; + r0 = (s.tmp_1 - 3); + s.tmp_0.arg2 = r0; + r0 = pxsim_ImageMethods.width(globals.screen___545); + s.tmp_0.arg3 = r0; + r0 = pxsim_ImageMethods.height(globals.screen___545); + s.tmp_4 = r0; + s.tmp_6 = if_infoTop_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_6.arg0 = r0; + if (!s.tmp_6.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "infoTop"); + } else { + s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["infoTop"]; + if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["infoTop"]; } + else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } + else { s.pc = 11; return s.tmp_6; } + } + case 11: + r0 = s.retval; + s.tmp_5 = r0; + r0 = (s.tmp_4 - s.tmp_5); + s.tmp_3 = r0; + r0 = (s.tmp_3 + 6); + s.tmp_0.arg4 = r0; + s.tmp_0.arg5 = 15; + s.pc = 9; return s.tmp_0; + case 9: + r0 = s.retval; + s.tmp_0 = helpers_imageFillRect__P484_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_1 = if_padding_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_1.arg0 = r0; + if (!s.tmp_1.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "padding"); + } else { + s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["padding"]; + if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["padding"]; } + else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } + else { s.pc = 13; return s.tmp_1; } + } + case 13: + r0 = s.retval; + s.tmp_0.arg1 = r0; + s.tmp_2 = if_infoTop_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_2.arg0 = r0; + if (!s.tmp_2.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "infoTop"); + } else { + s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["infoTop"]; + if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["infoTop"]; } + else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } + else { s.pc = 14; return s.tmp_2; } + } + case 14: + r0 = s.retval; + s.tmp_0.arg2 = r0; + r0 = pxsim_ImageMethods.width(globals.screen___545); + s.tmp_3 = r0; + s.tmp_6 = if_padding_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_6.arg0 = r0; + if (!s.tmp_6.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "padding"); + } else { + s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["padding"]; + if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["padding"]; } + else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } + else { s.pc = 15; return s.tmp_6; } + } + case 15: + r0 = s.retval; + s.tmp_5 = r0; + r0 = (s.tmp_5 << 1); + s.tmp_4 = r0; + r0 = (s.tmp_3 - s.tmp_4); + s.tmp_0.arg3 = r0; + s.tmp_8 = if_charHeight_1_mk(s); + s.tmp_9 = if_infoFont_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_9.arg0 = r0; + if (!s.tmp_9.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_9.arg0, "infoFont"); + } else { + s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["infoFont"]; + if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["infoFont"]; } + else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } + else { s.pc = 17; return s.tmp_9; } + } + case 17: + r0 = s.retval; + s.tmp_8.arg0 = r0; + if (!s.tmp_8.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_8.arg0, "charHeight"); + } else { + s.tmp_8.fn = s.tmp_8.arg0.vtable.iface["charHeight"]; + if (s.tmp_8.fn == null) { s.retval = s.tmp_8.arg0.fields["charHeight"]; } + else if (!s.tmp_8.fn.isGetter) { s.retval = bind(s.tmp_8); } + else { s.pc = 16; return s.tmp_8; } + } + case 16: + r0 = s.retval; + s.tmp_7 = r0; + r0 = (s.tmp_7 + 1); + s.tmp_0.arg4 = r0; + s.tmp_0.arg5 = 1; + s.pc = 12; return s.tmp_0; + case 12: + r0 = s.retval; + s.tmp_0 = helpers_imagePrintCenter__P507_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_1 = if_getText_1_mk(s); + r0 = s.arg0.fields["options"]; + s.tmp_2 = r0; + r0 = s.arg0.fields["selection"]; + s.tmp_3 = r0; + r0 = pxsim_Array__getAt(s.tmp_2, s.tmp_3); + s.tmp_1.arg0 = r0; + if (!s.tmp_1.arg0.vtable.iface) { + setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "getText"), 1); + s.pc = 19; return s.tmp_1; + } else { + s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["getText"]; + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["getText"], 1); s.pc = 19; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.pc = 19; return s.tmp_1;; } + else { s.pc = 19; return s.tmp_1; } + } + case 19: + r0 = s.retval; + s.tmp_0.arg1 = r0; + s.tmp_5 = if_infoTop_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_5.arg0 = r0; + if (!s.tmp_5.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "infoTop"); + } else { + s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["infoTop"]; + if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["infoTop"]; } + else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } + else { s.pc = 20; return s.tmp_5; } + } + case 20: + r0 = s.retval; + s.tmp_4 = r0; + r0 = (s.tmp_4 + 1); + s.tmp_0.arg2 = r0; + s.tmp_0.arg3 = 15; + s.tmp_6 = if_infoFont_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_6.arg0 = r0; + if (!s.tmp_6.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "infoFont"); + } else { + s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["infoFont"]; + if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["infoFont"]; } + else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } + else { s.pc = 21; return s.tmp_6; } + } + case 21: + r0 = s.retval; + s.tmp_0.arg4 = r0; + s.pc = 18; return s.tmp_0; + case 18: + r0 = s.retval; + case 3: + r0 = undefined; + return leave(s, r0) default: oops() } } } -jacdac_JDDevice_udid__P299909.info = {"start":9160,"length":72,"line":256,"column":8,"endLine":258,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"udid","argumentNames":["this"]} -jacdac_JDDevice_udid__P299909.isGetter = true; -jacdac_JDDevice_udid__P299909.info = {"start":9160,"length":72,"line":256,"column":8,"endLine":258,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"udid","argumentNames":["this"]} +scene_systemMenu_PauseMenu_drawText__P1533.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__P1533.info = {"start":6927,"length":795,"line":224,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"drawText","argumentNames":["this"]} -function jacdac_JDDevice_udid__P299909_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P1533_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDDevice_udid__P299909, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P1533, 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, } } @@ -68151,7 +67586,7 @@ function jacdac_JDDevice_udid__P299909_mk(s) { -function jacdac_JDPacket_constructor__P299891(s) { +function scene_systemMenu_PauseMenu_setSelection__P1532(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68167,84 +67602,95 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDPacket__C299874_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(s.arg1); - if (!r0) { step = 3; continue; } - r0 = pxsim.BufferMethods.length(s.arg1); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C1529_VT)) failedCast(r0); + r0 = s.arg0.fields["options"]; + s.tmp_2 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 != 260); + 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 = jacdac_options_error__P299925_mk(s); - r0 = pxsim.BufferMethods.length(s.arg1); - s.tmp_8 = r0; - if ((s.tmp_8) && (s.tmp_8).vtable) { - setupResume(s, 6); - pxsim_String__stringConv(s.tmp_8); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_8) + ""; } - case 6: - r0 = s.retval; + { step = 9; continue; } + case 1: + case 2: + r0 = s.arg0.fields["options"]; + s.tmp_4 = r0; + r0 = s.arg0.fields["selection"]; + s.tmp_5 = r0; + r0 = pxsim_Array__getAt(s.tmp_4, s.tmp_5); + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + if (!r0) { step = 3; continue; } + s.tmp_6 = scene_systemMenu_MenuOption_setState__P1525_mk(s); + r0 = s.arg0.fields["options"]; s.tmp_7 = r0; - r0 = pxsim_String__concat("Buffer packet size mismatch. Buffer size: ", s.tmp_7); - s.tmp_6 = r0; - if ((s.tmp_6) && (s.tmp_6).vtable) { - setupResume(s, 7); - pxsim_String__stringConv(s.tmp_6); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_6) + ""; } - case 7: + r0 = s.arg0.fields["selection"]; + s.tmp_8 = r0; + r0 = pxsim_Array__getAt(s.tmp_7, s.tmp_8); + s.tmp_6.arg0 = r0; + s.tmp_6.arg1 = 2; + s.pc = 10; return s.tmp_6; + case 10: r0 = s.retval; - s.tmp_5 = r0; - r0 = pxsim_String__concat(s.tmp_5, " expected size: "); - s.tmp_4 = r0; - if ((s.tmp_4) && (s.tmp_4).vtable) { - setupResume(s, 8); - pxsim_String__stringConv(s.tmp_4); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_4) + ""; } - case 8: + case 3: + case 4: + r0 = (s.arg0).fields["selection"] = (s.arg1); + r0 = s.arg0.fields["options"]; + s.tmp_1 = r0; + r0 = s.arg0.fields["selection"]; + s.tmp_2 = r0; + r0 = pxsim_Array__getAt(s.tmp_1, s.tmp_2); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 7; continue; } + s.tmp_4 = controller_Button__C661_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___632; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C661_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: r0 = s.retval; s.tmp_3 = r0; - if ((260) && (260).vtable) { - setupResume(s, 9); - pxsim_String__stringConv(260); - checkResumeConsumed(); - return; - } else { s.retval = (260) + ""; } - case 9: - r0 = s.retval; - s.tmp_9 = r0; - r0 = pxsim_String__concat(s.tmp_3, s.tmp_9); - s.tmp_2.arg0 = r0; - s.pc = 5; return s.tmp_2; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + if (!r0) { step = 5; continue; } + r0 = 1; + { step = 6; continue; } case 5: + r0 = 0; + case 6: + // jmp value (already in r0) + s.tmp_5 = r0; + s.tmp_6 = scene_systemMenu_MenuOption_setState__P1525_mk(s); + r0 = s.arg0.fields["options"]; + s.tmp_7 = r0; + r0 = s.arg0.fields["selection"]; + s.tmp_8 = r0; + r0 = pxsim_Array__getAt(s.tmp_7, s.tmp_8); + s.tmp_6.arg0 = r0; + s.tmp_6.arg1 = s.tmp_5; + s.pc = 12; return s.tmp_6; + case 12: r0 = s.retval; - case 1: - case 2: - r0 = (s.arg0).fields["_buffer"] = (s.arg1); - { step = 4; continue; } - case 3: - s.tmp_0 = r0 = s.arg0; - r0 = pxsim.control.createBuffer(260); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["_buffer"] = (s.tmp_1); - case 4: + case 7: + case 8: + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P1535_mk(s); + s.tmp_0.arg0 = s.arg0; + s.pc = 13; return s.tmp_0; + case 13: + r0 = s.retval; + case 9: r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDPacket_constructor__P299891.info = {"start":107,"length":514,"line":4,"column":8,"endLine":13,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"inline","argumentNames":["this","buf"]} -jacdac_JDPacket_constructor__P299891.info = {"start":107,"length":514,"line":4,"column":8,"endLine":13,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"inline","argumentNames":["this","buf"]} +scene_systemMenu_PauseMenu_setSelection__P1532.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__P1532.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 jacdac_JDPacket_constructor__P299891_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P1532_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDPacket_constructor__P299891, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P1532, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68255,7 +67701,6 @@ function jacdac_JDPacket_constructor__P299891_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - tmp_9: undefined, arg0: undefined, arg1: undefined, } } @@ -68264,7 +67709,7 @@ function jacdac_JDPacket_constructor__P299891_mk(s) { -function jacdac_JDPacket_communication_rate__P299888(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P1535(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68274,38 +67719,142 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: + s.row___25069 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDPacket__C299874_VT)) failedCast(r0); - r0 = s.arg0.fields["_buffer"]; + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C1529_VT)) failedCast(r0); + r0 = s.arg0.fields["selection"]; + s.tmp_0 = r0; + s.tmp_2 = if_cardsPerRow_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_2.arg0 = r0; + if (!s.tmp_2.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "cardsPerRow"); + } else { + s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["cardsPerRow"]; + if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["cardsPerRow"]; } + else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } + else { s.pc = 8; return s.tmp_2; } + } + case 8: + r0 = s.retval; + s.tmp_1 = r0; + r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); + s.row___25069 = (r0); + r0 = s.arg0.fields["scrollRow"]; + s.tmp_1 = r0; + r0 = (s.row___25069 === s.tmp_1); s.tmp_0 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_0, 259, s.arg1); + r0 = pxsim_numops_toBool(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = s.tmp_0; + { step = 2; continue; } + case 1: + r0 = (s.row___25069 - 1); + s.tmp_2 = r0; + r0 = s.arg0.fields["scrollRow"]; + s.tmp_3 = r0; + r0 = (s.tmp_2 === s.tmp_3); + 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: + r0 = s.arg0.fields["scrollRow"]; + s.tmp_6 = r0; + r0 = (s.row___25069 > s.tmp_6); + s.tmp_5 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_5); + if (!r0) { step = 5; continue; } + s.tmp_7 = r0 = s.arg0; + r0 = s.tmp_7.fields["scrollRow"]; + s.tmp_9 = r0; + r0 = (s.tmp_9 + 1); + s.tmp_8 = r0; + r0 = (s.tmp_7).fields["scrollRow"] = (s.tmp_8); + { step = 6; continue; } + case 5: + s.tmp_0 = r0 = s.arg0; + r0 = s.tmp_0.fields["scrollRow"]; + s.tmp_2 = r0; + r0 = (s.tmp_2 - 1); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["scrollRow"] = (s.tmp_1); + case 6: + s.tmp_0 = r0 = s.arg0; + r0 = s.arg0.fields["scrollRow"]; + s.tmp_2 = r0; + s.tmp_5 = if_cardSpacing_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_5.arg0 = r0; + if (!s.tmp_5.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "cardSpacing"); + } else { + s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["cardSpacing"]; + if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["cardSpacing"]; } + else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } + else { s.pc = 9; return s.tmp_5; } + } + case 9: + r0 = s.retval; + s.tmp_4 = r0; + s.tmp_7 = if_cardWidth_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_7.arg0 = r0; + if (!s.tmp_7.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "cardWidth"); + } else { + s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["cardWidth"]; + if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["cardWidth"]; } + else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } + else { s.pc = 10; return s.tmp_7; } + } + case 10: + r0 = s.retval; + s.tmp_6 = r0; + r0 = (s.tmp_4 + s.tmp_6); + s.tmp_3 = r0; + r0 = (s.tmp_2 * s.tmp_3); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["scrollTarget"] = (s.tmp_1); + case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDPacket_communication_rate__P299888.info = {"start":2703,"length":169,"line":69,"column":8,"endLine":71,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"communication_rate","argumentNames":["this","communicate_rate"]} -jacdac_JDPacket_communication_rate__P299888.info = {"start":2703,"length":169,"line":69,"column":8,"endLine":71,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"communication_rate","argumentNames":["this","communicate_rate"]} +scene_systemMenu_PauseMenu_updateScrollTarget__P1535.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__P1535.info = {"start":7907,"length":458,"line":250,"column":8,"endLine":260,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"updateScrollTarget","argumentNames":["this"]} -function jacdac_JDPacket_communication_rate__P299888_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P1535_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDPacket_communication_rate__P299888, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P1535, 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, + row___25069: undefined, arg0: undefined, - arg1: undefined, } } -function jacdac_JDPacket_communication_rate__P299887(s) { +function scene_systemMenu_PauseMenu_onUpdate__P1531(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68315,102 +67864,161 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: + s.t___24928 = undefined; + s.i___24932 = undefined; + s.dt___24961 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDPacket__C299874_VT)) failedCast(r0); - r0 = s.arg0.fields["_buffer"]; + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C1529_VT)) failedCast(r0); + r0 = pxsim.control.millis(); s.tmp_0 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_0, 259); - return leaveAccessor(s, r0) - default: oops() -} } } -jacdac_JDPacket_communication_rate__P299887.info = {"start":2551,"length":142,"line":65,"column":8,"endLine":67,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"communication_rate","argumentNames":["this"]} -jacdac_JDPacket_communication_rate__P299887.isGetter = true; -jacdac_JDPacket_communication_rate__P299887.info = {"start":2551,"length":142,"line":65,"column":8,"endLine":67,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"communication_rate","argumentNames":["this"]} - -function jacdac_JDPacket_communication_rate__P299887_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JDPacket_communication_rate__P299887, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function jacdac_JDPacket_data__P299886(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.i___323519 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDPacket__C299874_VT)) failedCast(r0); - s.tmp_0 = jacdac_JDPacket_size__P299882_mk(s); - s.tmp_0.arg0 = s.arg0; - r0 = pxsim.BufferMethods.length(s.arg1); - s.tmp_0.arg1 = r0; - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - s.i___323519 = (0); + r0 = (s.tmp_0 / 250); + s.t___24928 = (r0); + s.i___24932 = (0); case 1: - s.tmp_1 = r0 = s.i___323519; - s.tmp_3 = Math_min__P297647_mk(s); - r0 = pxsim.BufferMethods.length(s.arg1); - s.tmp_3.arg0 = r0; - r0 = s.arg0.fields["_buffer"]; - s.tmp_5 = r0; - r0 = pxsim.BufferMethods.length(s.tmp_5); - s.tmp_4 = r0; - r0 = (s.tmp_4 - 1); - s.tmp_3.arg1 = r0; - s.pc = 4; return s.tmp_3; - case 4: - r0 = s.retval; + s.tmp_1 = r0 = s.i___24932; + r0 = s.arg0.fields["options"]; + 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 = 2; continue; } - r0 = s.arg0.fields["_buffer"]; - s.tmp_6 = r0; - r0 = (4 + s.i___323519); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P1523_mk(s); + r0 = s.arg0.fields["options"]; + s.tmp_5 = r0; + r0 = pxsim_Array__getAt(s.tmp_5, s.i___24932); + s.tmp_4.arg0 = r0; + s.tmp_8 = r0 = s.t___24928; + s.tmp_11 = r0 = s.i___24932; + s.tmp_13 = if_cardsPerRow_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_13.arg0 = r0; + if (!s.tmp_13.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_13.arg0, "cardsPerRow"); + } else { + s.tmp_13.fn = s.tmp_13.arg0.vtable.iface["cardsPerRow"]; + if (s.tmp_13.fn == null) { s.retval = s.tmp_13.arg0.fields["cardsPerRow"]; } + else if (!s.tmp_13.fn.isGetter) { s.retval = bind(s.tmp_13); } + else { s.pc = 11; return s.tmp_13; } + } + case 11: + r0 = s.retval; + s.tmp_12 = r0; + r0 = (s.tmp_11 % s.tmp_12); + s.tmp_10 = r0; + r0 = (s.tmp_10 * 1.5707963267948966); + s.tmp_9 = r0; + r0 = (s.tmp_8 - s.tmp_9); s.tmp_7 = r0; - r0 = pxsim.BufferMethods.getUint8(s.arg1, s.i___323519); - s.tmp_8 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_6, s.tmp_7, s.tmp_8); - r0 = (s.i___323519 + 1); - s.i___323519 = (r0); + r0 = pxsim.Math_.sin(s.tmp_7); + s.tmp_6 = r0; + r0 = (2 * s.tmp_6); + s.tmp_4.arg1 = r0; + s.pc = 10; return s.tmp_4; + case 10: + r0 = s.retval; + r0 = (s.i___24932 + 1); + s.i___24932 = (r0); { step = 1; continue; } case 2: + s.tmp_1 = game_currentScene__P922_mk(s); + s.pc = 12; return s.tmp_1; + case 12: + r0 = s.retval; + r0 = r0.fields["eventContext"]; + s.tmp_0 = r0; + r0 = s.tmp_0.fields["deltaTimeMillis"]; + s.tmp_2 = r0; + r0 = (s.tmp_2 / 1000); + s.dt___24961 = (r0); + r0 = s.arg0.fields["scrollOffset"]; + s.tmp_1 = r0; + r0 = s.arg0.fields["scrollTarget"]; + 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 = 3; continue; } + s.tmp_3 = r0 = s.arg0; + r0 = s.tmp_3.fields["scrollOffset"]; + s.tmp_5 = r0; + r0 = (s.dt___24961 * 100); + s.tmp_6 = r0; + r0 = (s.tmp_5 + s.tmp_6); + s.tmp_4 = r0; + r0 = (s.tmp_3).fields["scrollOffset"] = (s.tmp_4); + { step = 6; continue; } + case 3: + r0 = s.arg0.fields["scrollOffset"]; + s.tmp_1 = r0; + r0 = s.arg0.fields["scrollTarget"]; + s.tmp_2 = r0; + r0 = (s.tmp_1 > s.tmp_2); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 4; continue; } + s.tmp_3 = r0 = s.arg0; + r0 = s.tmp_3.fields["scrollOffset"]; + s.tmp_5 = r0; + r0 = (s.dt___24961 * 100); + s.tmp_6 = r0; + r0 = (s.tmp_5 - s.tmp_6); + s.tmp_4 = r0; + r0 = (s.tmp_3).fields["scrollOffset"] = (s.tmp_4); + { step = 5; continue; } + case 4: + { step = 9; continue; } + case 5: + case 6: + s.tmp_2 = Math_abs__P73_mk(s); + r0 = s.arg0.fields["scrollOffset"]; + s.tmp_3 = r0; + r0 = s.arg0.fields["scrollTarget"]; + s.tmp_4 = r0; + r0 = (s.tmp_3 - s.tmp_4); + s.tmp_2.arg0 = r0; + s.pc = 13; return s.tmp_2; + case 13: + r0 = s.retval; + s.tmp_1 = r0; + r0 = (s.tmp_1 < 2); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 7; continue; } + r0 = s.arg0.fields["scrollTarget"]; + s.tmp_5 = r0; + r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); + case 7: + case 8: + s.tmp_0 = scene_Camera_offsetY__P1085_mk(s); + s.tmp_1 = game_currentScene__P922_mk(s); + s.pc = 15; return s.tmp_1; + case 15: + r0 = s.retval; + r0 = r0.fields["camera"]; + s.tmp_0.arg0 = r0; + r0 = s.arg0.fields["scrollOffset"]; + s.tmp_0.arg1 = r0; + s.pc = 14; return s.tmp_0; + case 14: + r0 = s.retval; + case 9: r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDPacket_data__P299886.info = {"start":2304,"length":237,"line":58,"column":8,"endLine":63,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"data","argumentNames":["this","buf"]} -jacdac_JDPacket_data__P299886.info = {"start":2304,"length":237,"line":58,"column":8,"endLine":63,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"data","argumentNames":["this","buf"]} +scene_systemMenu_PauseMenu_onUpdate__P1531.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__P1531.info = {"start":5547,"length":879,"line":183,"column":8,"endLine":206,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"onUpdate","argumentNames":["this"]} -function jacdac_JDPacket_data__P299886_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P1531_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDPacket_data__P299886, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P1531, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68421,16 +68029,22 @@ function jacdac_JDPacket_data__P299886_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - i___323519: undefined, + tmp_9: undefined, + tmp_10: undefined, + tmp_11: undefined, + tmp_12: undefined, + tmp_13: undefined, + t___24928: undefined, + i___24932: undefined, + dt___24961: undefined, arg0: undefined, - arg1: undefined, } } -function jacdac_JDPacket_size__P299882(s) { +function scene_systemMenu_MenuOption_setOffset__P1523(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68446,23 +68060,41 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDPacket__C299874_VT)) failedCast(r0); - r0 = s.arg0.fields["_buffer"]; - s.tmp_0 = r0; - r0 = (s.arg1 & 255); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C1520_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P762_mk(s); + r0 = s.arg0.fields["card"]; + s.tmp_0.arg0 = r0; + r0 = s.arg0.fields["top"]; s.tmp_1 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_0, 3, s.tmp_1); + r0 = (s.tmp_1 + s.arg1); + s.tmp_0.arg1 = r0; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + s.tmp_0 = Sprite_y__P740_mk(s); + r0 = s.arg0.fields["icon"]; + s.tmp_0.arg0 = r0; + s.tmp_1 = Sprite_y__P739_mk(s); + r0 = s.arg0.fields["card"]; + s.tmp_1.arg0 = r0; + s.pc = 3; return s.tmp_1; + case 3: + r0 = s.retval; + s.tmp_0.arg1 = r0; + s.pc = 2; return s.tmp_0; + case 2: + r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDPacket_size__P299882.info = {"start":1624,"length":85,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"size","argumentNames":["this","size"]} -jacdac_JDPacket_size__P299882.info = {"start":1624,"length":85,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"size","argumentNames":["this","size"]} +scene_systemMenu_MenuOption_setOffset__P1523.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__P1523.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 jacdac_JDPacket_size__P299882_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P1523_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDPacket_size__P299882, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P1523, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68474,7 +68106,7 @@ function jacdac_JDPacket_size__P299882_mk(s) { -function jacdac_JDPacket_service_number__P299884(s) { +function scene_systemMenu_MenuOption_setState__P1525(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68490,41 +68122,37 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDPacket__C299874_VT)) failedCast(r0); - r0 = s.arg0.fields["_buffer"]; - s.tmp_0 = r0; - r0 = s.arg0.fields["_buffer"]; - s.tmp_4 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_4, 1); - s.tmp_3 = r0; - r0 = (s.tmp_3 & 15); - s.tmp_2 = r0; - r0 = (s.arg1 & 15); - s.tmp_6 = r0; - r0 = (s.tmp_6 << 4); - s.tmp_5 = r0; - r0 = (s.tmp_2 | s.tmp_5); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C1520_VT)) failedCast(r0); + r0 = s.arg0.fields["state"]; s.tmp_1 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_0, 1, s.tmp_1); + r0 = (s.tmp_1 === s.arg1); + 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["state"] = (s.arg1); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P1527_mk(s); + s.tmp_0.arg0 = s.arg0; + s.pc = 4; return s.tmp_0; + case 4: + r0 = s.retval; + case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDPacket_service_number__P299884.info = {"start":1827,"length":160,"line":47,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"service_number","argumentNames":["this","service_number"]} -jacdac_JDPacket_service_number__P299884.info = {"start":1827,"length":160,"line":47,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"service_number","argumentNames":["this","service_number"]} +scene_systemMenu_MenuOption_setState__P1525.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__P1525.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 jacdac_JDPacket_service_number__P299884_mk(s) { +function scene_systemMenu_MenuOption_setState__P1525_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDPacket_service_number__P299884, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setState__P1525, 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, arg1: undefined, } } @@ -68533,7 +68161,7 @@ function jacdac_JDPacket_service_number__P299884_mk(s) { -function jacdac_JDPacket_service_number__P299883(s) { +function scene_systemMenu_MenuOption_updateCard__P1527(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68548,29 +68176,139 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDPacket__C299874_VT)) failedCast(r0); - r0 = s.arg0.fields["_buffer"]; + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C1520_VT)) failedCast(r0); + r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_2, 1); + r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 & 240); + r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; - r0 = (s.tmp_0 >> 4); - return leaveAccessor(s, r0) + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + { step = 7; continue; } + case 1: + case 2: + r0 = s.arg0.fields["state"]; + s.tmp_3 = r0; + r0 = pxsim_pxtcore.switch_eq(2, s.tmp_3); + if (r0) { step = 3; continue; } + r0 = pxsim_pxtcore.switch_eq(0, s.tmp_3); + if (r0) { step = 4; continue; } + r0 = pxsim_pxtcore.switch_eq(1, s.tmp_3); + if (r0) { step = 5; continue; } + r0 = s.tmp_3; + { step = 6; continue; } + case 3: + s.tmp_4 = Sprite_setImage__P753_mk(s); + r0 = s.arg0.fields["card"]; + s.tmp_4.arg0 = r0; + s.tmp_5 = if_basicCard_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_5.arg0 = r0; + if (!s.tmp_5.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "basicCard"); + } else { + s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["basicCard"]; + if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["basicCard"]; } + else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } + else { s.pc = 9; return s.tmp_5; } + } + case 9: + r0 = s.retval; + s.tmp_4.arg1 = r0; + s.pc = 8; return s.tmp_4; + case 8: + r0 = s.retval; + { step = 6; continue; } + case 4: + s.tmp_0 = Sprite_setImage__P753_mk(s); + r0 = s.arg0.fields["card"]; + s.tmp_0.arg0 = r0; + s.tmp_1 = if_selectedCard_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_1.arg0 = r0; + if (!s.tmp_1.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "selectedCard"); + } else { + s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["selectedCard"]; + if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["selectedCard"]; } + else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } + else { s.pc = 11; return s.tmp_1; } + } + case 11: + r0 = s.retval; + s.tmp_0.arg1 = r0; + s.pc = 10; return s.tmp_0; + case 10: + r0 = s.retval; + { step = 6; continue; } + case 5: + s.tmp_0 = Sprite_setImage__P753_mk(s); + r0 = s.arg0.fields["card"]; + s.tmp_0.arg0 = r0; + s.tmp_1 = if_activeCard_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_1.arg0 = r0; + if (!s.tmp_1.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "activeCard"); + } else { + s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["activeCard"]; + if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["activeCard"]; } + else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } + else { s.pc = 13; return s.tmp_1; } + } + case 13: + r0 = s.retval; + s.tmp_0.arg1 = r0; + s.pc = 12; return s.tmp_0; + case 12: + r0 = s.retval; + case 6: + s.tmp_0 = Sprite_x__P738_mk(s); + r0 = s.arg0.fields["icon"]; + s.tmp_0.arg0 = r0; + s.tmp_1 = Sprite_x__P737_mk(s); + r0 = s.arg0.fields["card"]; + s.tmp_1.arg0 = r0; + s.pc = 15; return s.tmp_1; + case 15: + r0 = s.retval; + s.tmp_0.arg1 = r0; + s.pc = 14; return s.tmp_0; + case 14: + r0 = s.retval; + s.tmp_0 = Sprite_y__P740_mk(s); + r0 = s.arg0.fields["icon"]; + s.tmp_0.arg0 = r0; + s.tmp_1 = Sprite_y__P739_mk(s); + r0 = s.arg0.fields["card"]; + s.tmp_1.arg0 = r0; + s.pc = 17; return s.tmp_1; + case 17: + r0 = s.retval; + s.tmp_0.arg1 = r0; + s.pc = 16; return s.tmp_0; + case 16: + r0 = s.retval; + case 7: + r0 = undefined; + return leave(s, r0) default: oops() } } } -jacdac_JDPacket_service_number__P299883.info = {"start":1719,"length":99,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"service_number","argumentNames":["this"]} -jacdac_JDPacket_service_number__P299883.isGetter = true; -jacdac_JDPacket_service_number__P299883.info = {"start":1719,"length":99,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"service_number","argumentNames":["this"]} +scene_systemMenu_MenuOption_updateCard__P1527.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__P1527.info = {"start":2038,"length":497,"line":86,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"updateCard","argumentNames":["this"]} -function jacdac_JDPacket_service_number__P299883_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P1527_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDPacket_service_number__P299883, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P1527, 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, } } @@ -68578,7 +68316,7 @@ function jacdac_JDPacket_service_number__P299883_mk(s) { -function jacdac_JDPacket_device_address__P299878(s) { +function scene_systemMenu_MenuOption_setTheme__P1524(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68594,10560 +68332,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDPacket__C299874_VT)) failedCast(r0); - r0 = s.arg0.fields["_buffer"]; - s.tmp_0 = r0; - r0 = (s.arg1 & 255); - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_0, 2, s.tmp_1); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C1520_VT)) failedCast(r0); + r0 = (s.arg0).fields["theme"] = (s.arg1); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P1527_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() } } } -jacdac_JDPacket_device_address__P299878.info = {"start":1036,"length":101,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"device_address","argumentNames":["this","address"]} -jacdac_JDPacket_device_address__P299878.info = {"start":1036,"length":101,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"device_address","argumentNames":["this","address"]} +scene_systemMenu_MenuOption_setTheme__P1524.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__P1524.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 jacdac_JDPacket_device_address__P299878_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P1524_mk(s) { checkStack(s.depth); - return { - parent: s, fn: jacdac_JDPacket_device_address__P299878, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function jacdac_JDPacket_crc__P299876(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; - if (!checkSubtype(r0, jacdac_JDPacket__C299874_VT)) failedCast(r0); - r0 = s.arg0.fields["_buffer"]; - s.tmp_0 = r0; - r0 = (s.arg1 & 255); - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_0, 0, s.tmp_1); - r0 = s.arg0.fields["_buffer"]; - s.tmp_0 = r0; - r0 = s.arg0.fields["_buffer"]; - s.tmp_4 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_4, 1); - s.tmp_3 = r0; - r0 = (s.tmp_3 & 240); - s.tmp_2 = r0; - r0 = (s.arg1 & 3840); - s.tmp_6 = r0; - r0 = (s.tmp_6 >> 8); - s.tmp_5 = r0; - r0 = (s.tmp_2 | s.tmp_5); - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_0, 1, s.tmp_1); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_JDPacket_crc__P299876.info = {"start":756,"length":176,"line":18,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"crc","argumentNames":["this","crc"]} -jacdac_JDPacket_crc__P299876.info = {"start":756,"length":176,"line":18,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"crc","argumentNames":["this","crc"]} - -function jacdac_JDPacket_crc__P299876_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JDPacket_crc__P299876, 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, - arg1: undefined, -} } - - - - - -function jacdac_JDPacket_crc__P299875(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, jacdac_JDPacket__C299874_VT)) failedCast(r0); - r0 = s.arg0.fields["_buffer"]; - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_1, 0); - s.tmp_0 = r0; - r0 = s.arg0.fields["_buffer"]; - s.tmp_5 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_5, 1); - s.tmp_4 = r0; - r0 = (s.tmp_4 & 15); - s.tmp_3 = r0; - r0 = (s.tmp_3 << 8); - s.tmp_2 = r0; - r0 = (s.tmp_0 | s.tmp_2); - return leaveAccessor(s, r0) - default: oops() -} } } -jacdac_JDPacket_crc__P299875.info = {"start":631,"length":116,"line":15,"column":8,"endLine":17,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"crc","argumentNames":["this"]} -jacdac_JDPacket_crc__P299875.isGetter = true; -jacdac_JDPacket_crc__P299875.info = {"start":631,"length":116,"line":15,"column":8,"endLine":17,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"crc","argumentNames":["this"]} - -function jacdac_JDPacket_crc__P299875_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JDPacket_crc__P299875, 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 jacdac_JACDAC_writePacket__P299854(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; - if (!checkSubtype(r0, jacdac_JACDAC__C299830_VT)) failedCast(r0); - s.tmp_0 = if_writeBuffer_2_mk(s); - r0 = s.arg0.fields["_bus"]; - s.tmp_0.arg0 = r0; - r0 = s.arg1.fields["_buffer"]; - s.tmp_0.arg1 = r0; - if (!s.tmp_0.arg0.vtable.iface) { - setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "writeBuffer"), 2); - s.pc = 1; return s.tmp_0; - } else { - s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["writeBuffer"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["writeBuffer"], 2); 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; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_JACDAC_writePacket__P299854.info = {"start":5695,"length":90,"line":190,"column":8,"endLine":192,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"writePacket","argumentNames":["this","pkt"]} -jacdac_JACDAC_writePacket__P299854.info = {"start":5695,"length":90,"line":190,"column":8,"endLine":192,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"writePacket","argumentNames":["this","pkt"]} - -function jacdac_JACDAC_writePacket__P299854_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JACDAC_writePacket__P299854, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function jacdac_JDPacket_getBuffer__P299889(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, jacdac_JDPacket__C299874_VT)) failedCast(r0); - r0 = s.arg0.fields["_buffer"]; - return leave(s, r0) - default: oops() -} } } -jacdac_JDPacket_getBuffer__P299889.info = {"start":2882,"length":64,"line":73,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"getBuffer","argumentNames":["this"]} -jacdac_JDPacket_getBuffer__P299889.info = {"start":2882,"length":64,"line":73,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"getBuffer","argumentNames":["this"]} - -function jacdac_JDPacket_getBuffer__P299889_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JDPacket_getBuffer__P299889, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function jacdac_jd_crc__P299744(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.crc___323314 = undefined; - s.udidPtr___323316 = undefined; - s.i___323319 = undefined; - s.j___323331 = undefined; - s.len___323351 = undefined; - s.idx___323358 = undefined; - s.buf___323360 = undefined; - s.i___323376 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - s.crc___323314 = (4095); - r0 = pxsim_numops_toBoolDecr(s.arg1); - if (!r0) { step = 7; continue; } - r0 = s.arg1.fields["unique_device_identifier"]; - s.udidPtr___323316 = (r0); - s.i___323319 = (0); - case 1: - r0 = (s.i___323319 < 8); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 6; continue; } - s.tmp_1 = r0 = s.crc___323314; - r0 = pxsim.BufferMethods.getUint8(s.udidPtr___323316, s.i___323319); - s.tmp_3 = r0; - r0 = (s.tmp_3 << 8); - s.tmp_2 = r0; - r0 = (s.tmp_1 ^ s.tmp_2); - s.crc___323314 = (r0); - s.j___323331 = (0); - case 2: - r0 = (s.j___323331 < 8); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 5; continue; } - r0 = (s.crc___323314 & 2048); - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 3; continue; } - r0 = (s.crc___323314 << 1); - s.tmp_2 = r0; - r0 = (s.tmp_2 ^ 3859); - s.crc___323314 = (r0); - { step = 4; continue; } - case 3: - r0 = (s.crc___323314 << 1); - s.crc___323314 = (r0); - case 4: - r0 = (s.j___323331 + 1); - s.j___323331 = (r0); - { step = 2; continue; } - case 5: - r0 = (s.i___323319 + 1); - s.i___323319 = (r0); - { step = 1; continue; } - case 6: - case 7: - case 8: - r0 = s.arg0.fields["_buffer"]; - s.tmp_2 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_2, 3); - s.tmp_1 = r0; - r0 = (s.tmp_1 + 2); - s.tmp_0 = r0; - r0 = (s.tmp_0 + 2); - s.len___323351 = (r0); - s.idx___323358 = (2); - r0 = s.arg0.fields["_buffer"]; - s.buf___323360 = (r0); - case 9: - r0 = (s.idx___323358 < s.len___323351); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.crc___323314; - r0 = pxsim.BufferMethods.getUint8(s.buf___323360, s.idx___323358); - s.tmp_3 = r0; - r0 = (s.tmp_3 << 8); - s.tmp_2 = r0; - r0 = (s.tmp_1 ^ s.tmp_2); - s.crc___323314 = (r0); - s.i___323376 = (0); - case 10: - r0 = (s.i___323376 < 8); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 13; continue; } - r0 = (s.crc___323314 & 2048); - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 11; continue; } - r0 = (s.crc___323314 << 1); - s.tmp_2 = r0; - r0 = (s.tmp_2 ^ 3859); - s.crc___323314 = (r0); - { step = 12; continue; } - case 11: - r0 = (s.crc___323314 << 1); - s.crc___323314 = (r0); - case 12: - r0 = (s.i___323376 + 1); - s.i___323376 = (r0); - { step = 10; continue; } - case 13: - r0 = (s.idx___323358 + 1); - s.idx___323358 = (r0); - { step = 9; continue; } - case 14: - r0 = (s.crc___323314 & 4095); - return leave(s, r0) - default: oops() -} } } -jacdac_jd_crc__P299744.info = {"start":60,"length":1052,"line":3,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/jacdac/crc.ts","functionName":"jd_crc","argumentNames":["pkt","device"]} -jacdac_jd_crc__P299744.info = {"start":60,"length":1052,"line":3,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/jacdac/crc.ts","functionName":"jd_crc","argumentNames":["pkt","device"]} - -function jacdac_jd_crc__P299744_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_jd_crc__P299744, 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, - crc___323314: undefined, - udidPtr___323316: undefined, - i___323319: undefined, - j___323331: undefined, - len___323351: undefined, - idx___323358: undefined, - buf___323360: undefined, - i___323376: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function helpers_bufferConcat__P297710(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.r___323495 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = pxsim.BufferMethods.length(s.arg0); - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.length(s.arg1); - s.tmp_2 = r0; - r0 = (s.tmp_1 + s.tmp_2); - s.tmp_0 = r0; - r0 = pxsim.control.createBuffer(s.tmp_0); - s.r___323495 = (r0); - r0 = pxsim.BufferMethods.write(s.r___323495, 0, s.arg0); - s.tmp_0 = r0 = s.r___323495; - r0 = pxsim.BufferMethods.length(s.arg0); - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.write(s.tmp_0, s.tmp_1, s.arg1); - r0 = s.r___323495; - return leave(s, r0) - default: oops() -} } } -helpers_bufferConcat__P297710.info = {"start":7249,"length":186,"line":234,"column":4,"endLine":239,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"bufferConcat","argumentNames":["a","b"]} -helpers_bufferConcat__P297710.info = {"start":7249,"length":186,"line":234,"column":4,"endLine":239,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"bufferConcat","argumentNames":["a","b"]} - -function helpers_bufferConcat__P297710_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: helpers_bufferConcat__P297710, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - r___323495: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function setInterval__P297867(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; - } - s.tmp_0 = Math_max__P297646_mk(s); - s.tmp_0.arg0 = 10; - r0 = (s.arg1 | 0); - s.tmp_0.arg1 = r0; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - s.arg1 = (r0); - s.tmp_0 = control_setInterval__P297791_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = 0; - s.pc = 2; return s.tmp_0; - case 2: - r0 = s.retval; - return leave(s, r0) - default: oops() -} } } -setInterval__P297867.info = {"start":125,"length":178,"line":6,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/scheduling.ts","functionName":"setInterval","argumentNames":["func","delay"]} -setInterval__P297867.info = {"start":125,"length":178,"line":6,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/scheduling.ts","functionName":"setInterval","argumentNames":["func","delay"]} - -function setInterval__P297867_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: setInterval__P297867, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function control_setInterval__P297791(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.interval___323697 = 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(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 = (s.arg1 < 0); - case 2: - // jmp value (already in r0) - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 3; continue; } - r0 = 0; - { step = 7; continue; } - case 3: - case 4: - r0 = pxsim_numops_toBoolDecr(globals._intervals___297786); - s.tmp_4 = r0; - r0 = pxsim_Boolean__bang(s.tmp_4); - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - if (!r0) { step = 5; continue; } - r0 = pxsim_Array__mk(); - globals._intervals___297786 = (r0); - case 5: - case 6: - r0 = pxsim_pxtcore_mkClassInstance(control_Interval__C297787_VT); - s.tmp_0 = r0; - s.tmp_1 = control_Interval_constructor__P297790_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.arg2; - s.pc = 8; return s.tmp_1; - case 8: - r0 = s.retval; - s.interval___323697 = (s.tmp_0); - r0 = s.interval___323697.fields["id"]; - case 7: - return leave(s, r0) - default: oops() -} } } -control_setInterval__P297791.info = {"start":8420,"length":266,"line":284,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"setInterval","argumentNames":["func","delay","mode"]} -control_setInterval__P297791.info = {"start":8420,"length":266,"line":284,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"setInterval","argumentNames":["func","delay","mode"]} - -function control_setInterval__P297791_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: control_setInterval__P297791, 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, - interval___323697: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, -} } - - - - - -function control_Interval_constructor__P297790(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.arg3 = (s.lambdaArgs[3]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, control_Interval__C297787_VT)) failedCast(r0); - r0 = pxsim_Array__length(globals._intervals___297786); - 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 = 1; - { step = 2; continue; } - case 1: - s.tmp_3 = r0 = globals._intervals___297786; - r0 = pxsim_Array__length(globals._intervals___297786); - s.tmp_5 = r0; - r0 = (s.tmp_5 - 1); - s.tmp_4 = r0; - r0 = pxsim_Array__getAt(s.tmp_3, s.tmp_4); - r0 = r0.fields["id"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 + 1); - case 2: - // jmp value (already in r0) - s.tmp_6 = r0; - r0 = (s.arg0).fields["id"] = (s.tmp_6); - r0 = (s.arg0).fields["func"] = (s.arg1); - r0 = (s.arg0).fields["delay"] = (s.arg2); - r0 = (s.arg0).fields["mode"] = (s.arg3); - r0 = pxsim_Array__push(globals._intervals___297786, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P323740); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim.control.runInParallel(s.tmp_0); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -control_Interval_constructor__P297790.info = {"start":7149,"length":367,"line":245,"column":8,"endLine":254,"endColumn":9,"fileName":"pxt_modules/base/control.ts","functionName":"inline","argumentNames":["this","func","delay","mode"]} -control_Interval_constructor__P297790.info = {"start":7149,"length":367,"line":245,"column":8,"endLine":254,"endColumn":9,"fileName":"pxt_modules/base/control.ts","functionName":"inline","argumentNames":["this","func","delay","mode"]} - -function control_Interval_constructor__P297790_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: control_Interval_constructor__P297790, 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, - arg1: undefined, - arg2: undefined, - arg3: undefined, -} } - - - - - -function inline__P323740(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_0 = control_Interval_work__P297788_mk(s); - s.tmp_0.arg0 = s.caps[0]; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P323740.info = {"start":7487,"length":17,"line":253,"column":34,"endLine":253,"endColumn":51,"fileName":"pxt_modules/base/control.ts","functionName":"inline","argumentNames":[]} -inline__P323740.info = {"start":7487,"length":17,"line":253,"column":34,"endLine":253,"endColumn":51,"fileName":"pxt_modules/base/control.ts","functionName":"inline","argumentNames":[]} - -function inline__P323740_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P323740, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function control_Interval_work__P297788(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, control_Interval__C297787_VT)) failedCast(r0); - r0 = s.arg0.fields["mode"]; - s.tmp_0 = r0; - r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); - if (r0) { step = 1; continue; } - r0 = pxsim_pxtcore.switch_eq(1, s.tmp_0); - if (r0) { step = 2; continue; } - r0 = pxsim_pxtcore.switch_eq(0, s.tmp_0); - if (r0) { step = 7; continue; } - r0 = s.tmp_0; - { step = 12; continue; } - case 1: - case 2: - r0 = s.arg0.fields["delay"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 > 0); - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 3; continue; } - s.tmp_3 = pause__P297860_mk(s); - r0 = s.arg0.fields["delay"]; - s.tmp_3.arg0 = r0; - s.pc = 13; return s.tmp_3; - case 13: - r0 = s.retval; - case 3: - case 4: - r0 = s.arg0.fields["delay"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 >= 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 5; continue; } - s.tmp_2 = if_func_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, "func"), 1); - s.pc = 14; return s.tmp_2; - } else { - s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["func"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["func"], 1); s.pc = 14; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.pc = 14; return s.tmp_2;; } - else { s.pc = 14; return s.tmp_2; } - } - case 14: - r0 = s.retval; - case 5: - case 6: - { step = 12; continue; } - case 7: - case 8: - r0 = s.arg0.fields["delay"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 > 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 11; continue; } - s.tmp_2 = pause__P297860_mk(s); - r0 = s.arg0.fields["delay"]; - s.tmp_2.arg0 = r0; - s.pc = 15; return s.tmp_2; - case 15: - r0 = s.retval; - r0 = s.arg0.fields["delay"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 > 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 9; continue; } - s.tmp_2 = if_func_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, "func"), 1); - s.pc = 16; return s.tmp_2; - } else { - s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["func"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["func"], 1); s.pc = 16; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.pc = 16; return s.tmp_2;; } - else { s.pc = 16; return s.tmp_2; } - } - case 16: - r0 = s.retval; - case 9: - case 10: - { step = 8; continue; } - case 11: - case 12: - r0 = pxsim_Array_.removeElement(globals._intervals___297786, s.arg0); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -control_Interval_work__P297788.info = {"start":7526,"length":823,"line":256,"column":8,"endLine":277,"endColumn":9,"fileName":"pxt_modules/base/control.ts","functionName":"work","argumentNames":["this"]} -control_Interval_work__P297788.info = {"start":7526,"length":823,"line":256,"column":8,"endLine":277,"endColumn":9,"fileName":"pxt_modules/base/control.ts","functionName":"work","argumentNames":["this"]} - -function control_Interval_work__P297788_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: control_Interval_work__P297788, 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 jacdac_JDService_mode__P299598(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, jacdac_JDService__C299596_VT)) failedCast(r0); - r0 = s.arg0.fields["_mode"]; - return leaveAccessor(s, r0) - default: oops() -} } } -jacdac_JDService_mode__P299598.info = {"start":1186,"length":53,"line":47,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/jacdac/service.ts","functionName":"mode","argumentNames":["this"]} -jacdac_JDService_mode__P299598.isGetter = true; -jacdac_JDService_mode__P299598.info = {"start":1186,"length":53,"line":47,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/jacdac/service.ts","functionName":"mode","argumentNames":["this"]} - -function jacdac_JDService_mode__P299598_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JDService_mode__P299598, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function jacdac_JDService_service_class__P299597(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, jacdac_JDService__C299596_VT)) failedCast(r0); - r0 = s.arg0.fields["_service_class"]; - return leaveAccessor(s, r0) - default: oops() -} } } -jacdac_JDService_service_class__P299597.info = {"start":1105,"length":71,"line":43,"column":8,"endLine":45,"endColumn":9,"fileName":"pxt_modules/jacdac/service.ts","functionName":"service_class","argumentNames":["this"]} -jacdac_JDService_service_class__P299597.isGetter = true; -jacdac_JDService_service_class__P299597.info = {"start":1105,"length":71,"line":43,"column":8,"endLine":45,"endColumn":9,"fileName":"pxt_modules/jacdac/service.ts","functionName":"service_class","argumentNames":["this"]} - -function jacdac_JDService_service_class__P299597_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JDService_service_class__P299597, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function jacdac_JDConsoleService_constructor__P299656(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, jacdac_JDConsoleService__C299642_VT)) failedCast(r0); - s.tmp_0 = jacdac_JDService_constructor__P299606_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = 9; - s.tmp_0.arg2 = 3; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = (s.arg0).fields["_consoleMode"] = (0); - s.tmp_0 = jacdac_JDConsoleService_minPriority__P299650_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = 4; - s.pc = 2; return s.tmp_0; - case 2: - r0 = s.retval; - r0 = (s.arg0).fields["_lastListenerTime"] = (0); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_JDConsoleService_constructor__P299656.info = {"start":1370,"length":293,"line":41,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/jacdac/consoleservice.ts","functionName":"inline","argumentNames":["this"]} -jacdac_JDConsoleService_constructor__P299656.info = {"start":1370,"length":293,"line":41,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/jacdac/consoleservice.ts","functionName":"inline","argumentNames":["this"]} - -function jacdac_JDConsoleService_constructor__P299656_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JDConsoleService_constructor__P299656, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function jacdac_JDConsoleService_minPriority__P299650(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; - if (!checkSubtype(r0, jacdac_JDConsoleService__C299642_VT)) failedCast(r0); - s.tmp_0 = r0 = s.arg0; - r0 = (s.arg1 << 4); - s.tmp_2 = r0; - r0 = s.arg0.fields["status"]; - s.tmp_4 = r0; - r0 = (s.tmp_4 & 15); - s.tmp_3 = r0; - r0 = (s.tmp_2 | s.tmp_3); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["status"] = (s.tmp_1); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_JDConsoleService_minPriority__P299650.info = {"start":4686,"length":120,"line":121,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/jacdac/consoleservice.ts","functionName":"minPriority","argumentNames":["this","priority"]} -jacdac_JDConsoleService_minPriority__P299650.info = {"start":4686,"length":120,"line":121,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/jacdac/consoleservice.ts","functionName":"minPriority","argumentNames":["this","priority"]} - -function jacdac_JDConsoleService_minPriority__P299650_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JDConsoleService_minPriority__P299650, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function jacdac_JDConsoleService_minPriority__P299649(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, jacdac_JDConsoleService__C299642_VT)) failedCast(r0); - r0 = s.arg0.fields["status"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 & 240); - s.tmp_0 = r0; - r0 = (s.tmp_0 >> 4); - return leaveAccessor(s, r0) - default: oops() -} } } -jacdac_JDConsoleService_minPriority__P299649.info = {"start":4580,"length":96,"line":117,"column":8,"endLine":119,"endColumn":9,"fileName":"pxt_modules/jacdac/consoleservice.ts","functionName":"minPriority","argumentNames":["this"]} -jacdac_JDConsoleService_minPriority__P299649.isGetter = true; -jacdac_JDConsoleService_minPriority__P299649.info = {"start":4580,"length":96,"line":117,"column":8,"endLine":119,"endColumn":9,"fileName":"pxt_modules/jacdac/consoleservice.ts","functionName":"minPriority","argumentNames":["this"]} - -function jacdac_JDConsoleService_minPriority__P299649_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JDConsoleService_minPriority__P299649, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - arg0: undefined, -} } - - - - - -function jacdac_JDConsoleService_consoleMode__P299644(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, jacdac_JDConsoleService__C299642_VT)) failedCast(r0); - r0 = s.arg0.fields["_consoleMode"]; - return leaveAccessor(s, r0) - default: oops() -} } } -jacdac_JDConsoleService_consoleMode__P299644.info = {"start":1673,"length":67,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/jacdac/consoleservice.ts","functionName":"consoleMode","argumentNames":["this"]} -jacdac_JDConsoleService_consoleMode__P299644.isGetter = true; -jacdac_JDConsoleService_consoleMode__P299644.info = {"start":1673,"length":67,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/jacdac/consoleservice.ts","functionName":"consoleMode","argumentNames":["this"]} - -function jacdac_JDConsoleService_consoleMode__P299644_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JDConsoleService_consoleMode__P299644, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function jacdac_dbg_show__P300148(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._menu___300147); - if (!r0) { step = 1; continue; } - s.tmp_0 = jacdac_dbg_DebugMenu_stop__P300144_mk(s); - s.tmp_0.arg0 = globals._menu___300147; - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - case 1: - case 2: - r0 = pxsim_pxtcore_mkClassInstance(jacdac_dbg_DebugMenu__C300141_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_dbg_DebugMenu_constructor__P300146_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 4; return s.tmp_1; - case 4: - r0 = s.retval; - globals._menu___300147 = (s.tmp_0); - s.tmp_0 = jacdac_dbg_DebugMenu_start__P300145_mk(s); - s.tmp_0.arg0 = globals._menu___300147; - s.pc = 5; return s.tmp_0; - case 5: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_dbg_show__P300148.info = {"start":7180,"length":131,"line":184,"column":4,"endLine":189,"endColumn":5,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"show","argumentNames":[]} -jacdac_dbg_show__P300148.info = {"start":7180,"length":131,"line":184,"column":4,"endLine":189,"endColumn":5,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"show","argumentNames":[]} - -function jacdac_dbg_show__P300148_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_dbg_show__P300148, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, -} } - - - - - -function jacdac_dbg_DebugMenu_constructor__P300146(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, jacdac_dbg_DebugMenu__C300141_VT)) failedCast(r0); - r0 = (s.arg0).fields["debugFont"] = (globals.font5___298006); - r0 = (s.arg0).fields["marginy"] = (2); - r0 = (s.arg0).fields["marginx"] = (4); - r0 = (s.arg0).fields["mode"] = (0); - r0 = (s.arg0).fields["hideControl"] = (false); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___299086); - s.tmp_4 = r0; - r0 = pxsim_Boolean__bang(s.tmp_4); - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - s.tmp_2 = r0; - r0 = pxsim_Boolean__bang(s.tmp_2); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["consoleVisible"] = (s.tmp_1); - s.tmp_0 = jacdac_registerDebugViews__P299813_mk(s); - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(jacdac_DebuggerService__C299746_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_DebuggerService_constructor__P299750_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["debuggerService"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(1, inline__P324394); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = s.arg0.fields["debuggerService"]; - s.tmp_1 = r0; - r0 = (s.tmp_1).fields["paintPacket"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(1, inline__P324447); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = s.arg0.fields["debuggerService"]; - s.tmp_1 = r0; - r0 = (s.tmp_1).fields["paintDevices"] = (s.tmp_0); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_dbg_DebugMenu_constructor__P300146.info = {"start":1824,"length":1765,"line":56,"column":8,"endLine":91,"endColumn":9,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":["this"]} -jacdac_dbg_DebugMenu_constructor__P300146.info = {"start":1824,"length":1765,"line":56,"column":8,"endLine":91,"endColumn":9,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":["this"]} - -function jacdac_dbg_DebugMenu_constructor__P300146_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_dbg_DebugMenu_constructor__P300146, 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, -} } - - - - - -function inline__P324394(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_3 = if_pkt_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, "pkt"); - } else { - s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["pkt"]; - if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["pkt"]; } - else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.pc = 12; return s.tmp_3; } - } - case 12: - r0 = s.retval; - s.tmp_2 = r0; - r0 = s.tmp_2.fields["_buffer"]; - s.tmp_4 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_4, 2); - 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 = s.caps[0].fields["hideControl"]; - case 2: - // jmp value (already in r0) - s.tmp_5 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_5); - if (!r0) { step = 3; continue; } - { step = 11; continue; } - case 3: - case 4: - r0 = s.caps[0].fields["mode"]; - s.tmp_7 = r0; - r0 = (s.tmp_7 == 1); - s.tmp_6 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_6); - if (!r0) { step = 9; continue; } - s.tmp_9 = if_view_1_mk(s); - s.tmp_9.arg0 = s.arg0; - if (!s.tmp_9.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_9.arg0, "view"); - } else { - s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["view"]; - if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["view"]; } - else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } - else { s.pc = 13; return s.tmp_9; } - } - case 13: - r0 = s.retval; - s.tmp_8 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_8); - if (!r0) { step = 5; continue; } - s.tmp_10 = if_view_1_mk(s); - s.tmp_10.arg0 = s.arg0; - if (!s.tmp_10.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_10.arg0, "view"); - } else { - s.tmp_10.fn = s.tmp_10.arg0.vtable.iface["view"]; - if (s.tmp_10.fn == null) { s.retval = s.tmp_10.arg0.fields["view"]; } - else if (!s.tmp_10.fn.isGetter) { s.retval = bind(s.tmp_10); } - else { s.pc = 14; return s.tmp_10; } - } - case 14: - r0 = s.retval; - r0 = r0.fields["name"]; - { step = 6; continue; } - case 5: - r0 = "??"; - case 6: - // jmp value (already in r0) - s.tmp_11 = r0; - s.tmp_13 = if_view_1_mk(s); - s.tmp_13.arg0 = s.arg0; - if (!s.tmp_13.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_13.arg0, "view"); - } else { - s.tmp_13.fn = s.tmp_13.arg0.vtable.iface["view"]; - if (s.tmp_13.fn == null) { s.retval = s.tmp_13.arg0.fields["view"]; } - else if (!s.tmp_13.fn.isGetter) { s.retval = bind(s.tmp_13); } - else { s.pc = 15; return s.tmp_13; } - } - case 15: - r0 = s.retval; - s.tmp_12 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_12); - if (!r0) { step = 7; continue; } - s.tmp_14 = jacdac_DebugView__C299731_v0_2_mk(s); - s.tmp_15 = if_view_1_mk(s); - s.tmp_15.arg0 = s.arg0; - if (!s.tmp_15.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_15.arg0, "view"); - } else { - s.tmp_15.fn = s.tmp_15.arg0.vtable.iface["view"]; - if (s.tmp_15.fn == null) { s.retval = s.tmp_15.arg0.fields["view"]; } - else if (!s.tmp_15.fn.isGetter) { s.retval = bind(s.tmp_15); } - else { s.pc = 17; return s.tmp_15; } - } - case 17: - r0 = s.retval; - s.tmp_14.arg0 = r0; - s.tmp_16 = if_pkt_1_mk(s); - s.tmp_16.arg0 = s.arg0; - if (!s.tmp_16.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_16.arg0, "pkt"); - } else { - s.tmp_16.fn = s.tmp_16.arg0.vtable.iface["pkt"]; - if (s.tmp_16.fn == null) { s.retval = s.tmp_16.arg0.fields["pkt"]; } - else if (!s.tmp_16.fn.isGetter) { s.retval = bind(s.tmp_16); } - else { s.pc = 18; return s.tmp_16; } - } - case 18: - r0 = s.retval; - s.tmp_14.arg1 = r0; - if (!checkSubtype(s.tmp_14.arg0, jacdac_DebugView__C299731_VT)) failedCast(s.tmp_14.arg0); - s.tmp_14.fn = s.tmp_14.arg0.vtable.methods.renderPacket; - s.pc = 16; return s.tmp_14; - case 16: - r0 = s.retval; - { step = 8; continue; } - case 7: - s.tmp_18 = jacdac_JDPacket_data__P299885_mk(s); - s.tmp_19 = if_pkt_1_mk(s); - s.tmp_19.arg0 = s.arg0; - if (!s.tmp_19.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_19.arg0, "pkt"); - } else { - s.tmp_19.fn = s.tmp_19.arg0.vtable.iface["pkt"]; - if (s.tmp_19.fn == null) { s.retval = s.tmp_19.arg0.fields["pkt"]; } - else if (!s.tmp_19.fn.isGetter) { s.retval = bind(s.tmp_19); } - else { s.pc = 20; return s.tmp_19; } - } - case 20: - r0 = s.retval; - s.tmp_18.arg0 = r0; - s.pc = 19; return s.tmp_18; - case 19: - r0 = s.retval; - s.tmp_17 = r0; - r0 = pxsim.BufferMethods.toHex(s.tmp_17); - case 8: - // jmp value (already in r0) - s.tmp_20 = r0; - s.tmp_21 = console_log__P297810_mk(s); - r0 = pxsim_String_.mkEmpty(); - s.tmp_26 = r0; - s.tmp_30 = if_pkt_1_mk(s); - s.tmp_30.arg0 = s.arg0; - if (!s.tmp_30.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_30.arg0, "pkt"); - } else { - s.tmp_30.fn = s.tmp_30.arg0.vtable.iface["pkt"]; - if (s.tmp_30.fn == null) { s.retval = s.tmp_30.arg0.fields["pkt"]; } - else if (!s.tmp_30.fn.isGetter) { s.retval = bind(s.tmp_30); } - else { s.pc = 22; return s.tmp_30; } - } - case 22: - r0 = s.retval; - s.tmp_29 = r0; - r0 = s.tmp_29.fields["_buffer"]; - s.tmp_31 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_31, 2); - s.tmp_28 = r0; - if ((s.tmp_28) && (s.tmp_28).vtable) { - setupResume(s, 23); - pxsim_String__stringConv(s.tmp_28); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_28) + ""; } - case 23: - r0 = s.retval; - s.tmp_27 = r0; - r0 = pxsim_String__concat(s.tmp_26, s.tmp_27); - s.tmp_25 = r0; - r0 = pxsim_String__concat(s.tmp_25, "["); - s.tmp_24 = r0; - if ((s.tmp_11) && (s.tmp_11).vtable) { - setupResume(s, 24); - pxsim_String__stringConv(s.tmp_11); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_11) + ""; } - case 24: - r0 = s.retval; - s.tmp_32 = r0; - r0 = pxsim_String__concat(s.tmp_24, s.tmp_32); - s.tmp_23 = r0; - r0 = pxsim_String__concat(s.tmp_23, "]: "); - s.tmp_22 = r0; - if ((s.tmp_20) && (s.tmp_20).vtable) { - setupResume(s, 25); - pxsim_String__stringConv(s.tmp_20); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_20) + ""; } - case 25: - r0 = s.retval; - s.tmp_33 = r0; - r0 = pxsim_String__concat(s.tmp_22, s.tmp_33); - s.tmp_21.arg0 = r0; - s.pc = 21; return s.tmp_21; - case 21: - r0 = s.retval; - case 9: - case 10: - case 11: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P324394.info = {"start":2242,"length":382,"line":65,"column":47,"endLine":71,"endColumn":13,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":["packet"]} -inline__P324394.info = {"start":2242,"length":382,"line":65,"column":47,"endLine":71,"endColumn":13,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":["packet"]} - -function inline__P324394_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P324394, 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, - tmp_12: undefined, - tmp_13: undefined, - tmp_14: undefined, - tmp_15: undefined, - tmp_16: undefined, - tmp_17: undefined, - tmp_18: undefined, - tmp_19: undefined, - tmp_20: undefined, - tmp_21: undefined, - tmp_22: undefined, - tmp_23: undefined, - tmp_24: undefined, - tmp_25: undefined, - tmp_26: undefined, - tmp_27: undefined, - tmp_28: undefined, - tmp_29: undefined, - tmp_30: undefined, - tmp_31: undefined, - tmp_32: undefined, - tmp_33: undefined, - arg0: undefined, -} } - - - - - -function inline__P324447(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.caps[0].fields["mode"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 == 2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_2 = game_consoleOverlay_clear__P299124_mk(s); - s.pc = 3; return s.tmp_2; - case 3: - r0 = s.retval; - s.tmp_0 = console_log__P297810_mk(s); - r0 = pxsim_String_.mkEmpty(); - s.tmp_2 = r0; - r0 = pxsim_Array__length(s.arg0); - s.tmp_4 = r0; - if ((s.tmp_4) && (s.tmp_4).vtable) { - setupResume(s, 5); - pxsim_String__stringConv(s.tmp_4); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_4) + ""; } - case 5: - r0 = s.retval; - s.tmp_3 = r0; - r0 = pxsim_String__concat(s.tmp_2, s.tmp_3); - s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, " device(s)"); - s.tmp_0.arg0 = r0; - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - s.tmp_0 = console_log__P297810_mk(s); - s.tmp_0.arg0 = "-----------------------"; - s.pc = 6; return s.tmp_0; - case 6: - r0 = s.retval; - s.tmp_0 = helpers_arrayForEach__P297630_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = inline__P324465; - s.pc = 7; return s.tmp_0; - case 7: - r0 = s.retval; - s.tmp_0 = console_log__P297810_mk(s); - r0 = pxsim_String_.mkEmpty(); - s.tmp_0.arg0 = r0; - s.pc = 8; return s.tmp_0; - case 8: - r0 = s.retval; - case 1: - case 2: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P324447.info = {"start":2674,"length":905,"line":73,"column":48,"endLine":90,"endColumn":13,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":["devices"]} -inline__P324447.info = {"start":2674,"length":905,"line":73,"column":48,"endLine":90,"endColumn":13,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":["devices"]} - -function inline__P324447_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P324447, 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, -} } - - - - - -function inline__P324465(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.serviceString___324467 = undefined; - s.s___324469 = undefined; - s.unnamed2922___U2 = undefined; - s.unnamed2923___U3 = undefined; - s.view___324472 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = pxsim_String_.mkEmpty(); - s.serviceString___324467 = (r0); - s.s___324469 = (undefined); - s.tmp_0 = jacdac_JDDevice_services__P299905_mk(s); - s.tmp_0.arg0 = s.arg0; - s.pc = 7; return s.tmp_0; - case 7: - r0 = s.retval; - s.unnamed2922___U2 = (r0); - s.unnamed2923___U3 = (0); - case 1: - s.tmp_0 = r0 = s.unnamed2923___U3; - r0 = pxsim_Array__length(s.unnamed2922___U2); - s.tmp_1 = r0; - r0 = (s.tmp_0 < s.tmp_1); - if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed2922___U2, s.unnamed2923___U3); - s.s___324469 = (r0); - s.tmp_2 = jacdac_DebugView_find__P299732_mk(s); - r0 = s.s___324469.fields["service_class"]; - s.tmp_2.arg0 = r0; - s.pc = 8; return s.tmp_2; - case 8: - r0 = s.retval; - s.view___324472 = (r0); - r0 = pxsim_numops_toBoolDecr(s.view___324472); - if (!r0) { step = 2; continue; } - r0 = s.view___324472.fields["name"]; - { step = 3; continue; } - case 2: - r0 = s.s___324469.fields["service_class"]; - s.tmp_0 = r0; - r0 = pxsim_numops.toString(s.tmp_0); - case 3: - // jmp value (already in r0) - s.tmp_1 = r0; - if ((s.serviceString___324467) && (s.serviceString___324467).vtable) { - setupResume(s, 9); - pxsim_String__stringConv(s.serviceString___324467); - checkResumeConsumed(); - return; - } else { s.retval = (s.serviceString___324467) + ""; } - case 9: - r0 = s.retval; - s.tmp_2 = r0; - if ((s.tmp_1) && (s.tmp_1).vtable) { - setupResume(s, 10); - pxsim_String__stringConv(s.tmp_1); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_1) + ""; } - case 10: - r0 = s.retval; - s.tmp_5 = r0; - r0 = pxsim_String__concat(s.tmp_5, " "); - s.tmp_4 = r0; - if ((s.tmp_4) && (s.tmp_4).vtable) { - setupResume(s, 11); - pxsim_String__stringConv(s.tmp_4); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_4) + ""; } - case 11: - r0 = s.retval; - s.tmp_3 = r0; - r0 = pxsim_String__concat(s.tmp_2, s.tmp_3); - s.serviceString___324467 = (r0); - r0 = (s.unnamed2923___U3 + 1); - s.unnamed2923___U3 = (r0); - { step = 1; continue; } - case 4: - s.unnamed2922___U2 = (undefined); - r0 = s.arg0.fields["device_name"]; - 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["unique_device_identifier"]; - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.toHex(s.tmp_1); - case 6: - // jmp value (already in r0) - s.tmp_2 = r0; - s.tmp_3 = console_log__P297810_mk(s); - if ((s.tmp_2) && (s.tmp_2).vtable) { - setupResume(s, 13); - pxsim_String__stringConv(s.tmp_2); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_2) + ""; } - case 13: - r0 = s.retval; - s.tmp_8 = r0; - r0 = pxsim_String__concat("id: ", s.tmp_8); - s.tmp_7 = r0; - r0 = pxsim_String__concat(s.tmp_7, "\r\naddress: "); - s.tmp_6 = r0; - r0 = s.arg0.fields["device_address"]; - s.tmp_10 = r0; - if ((s.tmp_10) && (s.tmp_10).vtable) { - setupResume(s, 14); - pxsim_String__stringConv(s.tmp_10); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_10) + ""; } - case 14: - r0 = s.retval; - s.tmp_9 = r0; - r0 = pxsim_String__concat(s.tmp_6, s.tmp_9); - s.tmp_5 = r0; - r0 = pxsim_String__concat(s.tmp_5, "\r\n\tServices\r\n\t----\r\n\t"); - s.tmp_4 = r0; - if ((s.serviceString___324467) && (s.serviceString___324467).vtable) { - setupResume(s, 15); - pxsim_String__stringConv(s.serviceString___324467); - checkResumeConsumed(); - return; - } else { s.retval = (s.serviceString___324467) + ""; } - case 15: - r0 = s.retval; - s.tmp_11 = r0; - r0 = pxsim_String__concat(s.tmp_4, s.tmp_11); - s.tmp_3.arg0 = r0; - s.pc = 12; return s.tmp_3; - case 12: - r0 = s.retval; - s.tmp_0 = console_log__P297810_mk(s); - s.tmp_0.arg0 = "-----------------------"; - s.pc = 16; return s.tmp_0; - case 16: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P324465.info = {"start":2958,"length":550,"line":78,"column":36,"endLine":87,"endColumn":21,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":["d"]} -inline__P324465.info = {"start":2958,"length":550,"line":78,"column":36,"endLine":87,"endColumn":21,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":["d"]} - -function inline__P324465_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P324465, 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, - serviceString___324467: undefined, - s___324469: undefined, - unnamed2922___U2: undefined, - unnamed2923___U3: undefined, - view___324472: undefined, - arg0: undefined, -} } - - - - - -function jacdac_JDDevice_services__P299905(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, jacdac_JDDevice__C299904_VT)) failedCast(r0); - r0 = s.arg0.fields["_services"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySlice__P297635_mk(s); - r0 = s.arg0.fields["_services"]; - s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = undefined; - s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - { step = 2; continue; } - case 1: - r0 = pxsim_Array__mk(); - case 2: - // jmp value (already in r0) - s.tmp_2 = r0; - r0 = s.tmp_2; - return leaveAccessor(s, r0) - default: oops() -} } } -jacdac_JDDevice_services__P299905.info = {"start":8125,"length":116,"line":226,"column":8,"endLine":228,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"services","argumentNames":["this"]} -jacdac_JDDevice_services__P299905.isGetter = true; -jacdac_JDDevice_services__P299905.info = {"start":8125,"length":116,"line":226,"column":8,"endLine":228,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"services","argumentNames":["this"]} - -function jacdac_JDDevice_services__P299905_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JDDevice_services__P299905, 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 jacdac_registerDebugViews__P299813(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_pxtcore_mkClassInstance(jacdac_ConsoleDebugView__C299767_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_ConsoleDebugView_constructor__P299771_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 1; return s.tmp_1; - case 1: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(jacdac_MessageBusDebugView__C299772_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_MessageBusDebugView_constructor__P299775_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 2; return s.tmp_1; - case 2: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(jacdac_LightDebugView__C299759_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_LightDebugView_constructor__P299762_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(jacdac_MusicDebugView__C299763_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_MusicDebugView_constructor__P299766_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 4; return s.tmp_1; - case 4: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(jacdac_AccelerometerDebugView__C299776_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_AccelerometerDebugView_constructor__P299780_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 5; return s.tmp_1; - case 5: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(jacdac_ButtonDebugView__C299781_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_ButtonDebugView_constructor__P299785_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 6; return s.tmp_1; - case 6: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(jacdac_LightSensorDebugView__C299786_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_LightSensorDebugView_constructor__P299788_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 7; return s.tmp_1; - case 7: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(jacdac_MicrophoneDebugView__C299789_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_MicrophoneDebugView_constructor__P299793_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 8; return s.tmp_1; - case 8: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(jacdac_SwitchDebugView__C299794_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_SwitchDebugView_constructor__P299798_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 9; return s.tmp_1; - case 9: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(jacdac_ThermometerDebugView__C299799_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_ThermometerDebugView_constructor__P299801_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 10; return s.tmp_1; - case 10: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(jacdac_TouchDebugView__C299802_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_TouchDebugView_constructor__P299806_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 11; return s.tmp_1; - case 11: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(jacdac_ControllerDebugView__C299807_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_ControllerDebugView_constructor__P299812_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 12; return s.tmp_1; - case 12: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_registerDebugViews__P299813.info = {"start":8928,"length":476,"line":270,"column":4,"endLine":284,"endColumn":5,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"registerDebugViews","argumentNames":[]} -jacdac_registerDebugViews__P299813.info = {"start":8928,"length":476,"line":270,"column":4,"endLine":284,"endColumn":5,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"registerDebugViews","argumentNames":[]} - -function jacdac_registerDebugViews__P299813_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_registerDebugViews__P299813, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, -} } - - - - - -function jacdac_ControllerDebugView_constructor__P299812(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, jacdac_ControllerDebugView__C299807_VT)) failedCast(r0); - s.tmp_0 = jacdac_DebugView_constructor__P299737_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = "ctrl"; - s.tmp_0.arg2 = 2018; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_ControllerDebugView_constructor__P299812.info = {"start":7366,"length":84,"line":234,"column":8,"endLine":236,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} -jacdac_ControllerDebugView_constructor__P299812.info = {"start":7366,"length":84,"line":234,"column":8,"endLine":236,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} - -function jacdac_ControllerDebugView_constructor__P299812_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_ControllerDebugView_constructor__P299812, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function jacdac_DebugView_constructor__P299737(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.i___324635 = 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, jacdac_DebugView__C299731_VT)) failedCast(r0); - r0 = (s.arg0).fields["name"] = (s.arg1); - r0 = (s.arg0).fields["serviceClass"] = (s.arg2); - r0 = (globals.jacdac_DebugView__debugViews___299736 === undefined); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = pxsim_Array__mk(); - globals.jacdac_DebugView__debugViews___299736 = (r0); - s.tmp_0 = jacdac_DebugView_registerDefaultViews__P299733_mk(s); - s.pc = 8; return s.tmp_0; - case 8: - r0 = s.retval; - case 1: - case 2: - s.i___324635 = (0); - case 3: - s.tmp_1 = r0 = s.i___324635; - r0 = pxsim_Array__length(globals.jacdac_DebugView__debugViews___299736); - 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 = pxsim_Array__getAt(globals.jacdac_DebugView__debugViews___299736, s.i___324635); - r0 = r0.fields["serviceClass"]; - s.tmp_4 = r0; - r0 = (s.tmp_4 == s.arg2); - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - if (!r0) { step = 4; continue; } - r0 = pxsim_Array_.setAt(globals.jacdac_DebugView__debugViews___299736, s.i___324635, s.arg0); - r0 = undefined; - { step = 7; continue; } - case 4: - case 5: - r0 = (s.i___324635 + 1); - s.i___324635 = (r0); - { step = 3; continue; } - case 6: - r0 = pxsim_Array__push(globals.jacdac_DebugView__debugViews___299736, s.arg0); - r0 = undefined; - case 7: - return leave(s, r0) - default: oops() -} } } -jacdac_DebugView_constructor__P299737.info = {"start":150,"length":663,"line":6,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/jacdac/debugview.ts","functionName":"inline","argumentNames":["this","name","serviceClass"]} -jacdac_DebugView_constructor__P299737.info = {"start":150,"length":663,"line":6,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/jacdac/debugview.ts","functionName":"inline","argumentNames":["this","name","serviceClass"]} - -function jacdac_DebugView_constructor__P299737_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_DebugView_constructor__P299737, 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___324635: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, -} } - - - - - -function jacdac_DebugView_registerDefaultViews__P299733(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_pxtcore_mkClassInstance(jacdac_ControlDebugView__C299738_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_ControlDebugView_constructor__P299741_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 1; return s.tmp_1; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_DebugView_registerDefaultViews__P299733.info = {"start":1065,"length":83,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/jacdac/debugview.ts","functionName":"registerDefaultViews","argumentNames":[]} -jacdac_DebugView_registerDefaultViews__P299733.info = {"start":1065,"length":83,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/jacdac/debugview.ts","functionName":"registerDefaultViews","argumentNames":[]} - -function jacdac_DebugView_registerDefaultViews__P299733_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_DebugView_registerDefaultViews__P299733, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, -} } - - - - - -function jacdac_ControlDebugView_constructor__P299741(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, jacdac_ControlDebugView__C299738_VT)) failedCast(r0); - s.tmp_0 = jacdac_DebugView_constructor__P299737_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = "CONTROL"; - s.tmp_0.arg2 = 0; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_ControlDebugView_constructor__P299741.info = {"start":123,"length":86,"line":6,"column":8,"endLine":8,"endColumn":9,"fileName":"pxt_modules/jacdac/controldebugview.ts","functionName":"inline","argumentNames":["this"]} -jacdac_ControlDebugView_constructor__P299741.info = {"start":123,"length":86,"line":6,"column":8,"endLine":8,"endColumn":9,"fileName":"pxt_modules/jacdac/controldebugview.ts","functionName":"inline","argumentNames":["this"]} - -function jacdac_ControlDebugView_constructor__P299741_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_ControlDebugView_constructor__P299741, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function jacdac_TouchDebugView_constructor__P299806(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, jacdac_TouchDebugView__C299802_VT)) failedCast(r0); - s.tmp_0 = jacdac_SensorDebugView_constructor__P299758_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = "touch"; - s.tmp_0.arg2 = 2005; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_TouchDebugView_constructor__P299806.info = {"start":6578,"length":86,"line":208,"column":8,"endLine":210,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} -jacdac_TouchDebugView_constructor__P299806.info = {"start":6578,"length":86,"line":208,"column":8,"endLine":210,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} - -function jacdac_TouchDebugView_constructor__P299806_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_TouchDebugView_constructor__P299806, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function jacdac_SensorDebugView_constructor__P299758(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, jacdac_SensorDebugView__C299751_VT)) failedCast(r0); - s.tmp_0 = jacdac_DebugView_constructor__P299737_mk(s); - s.tmp_0.arg0 = s.arg0; - 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 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_SensorDebugView_constructor__P299758.info = {"start":80,"length":96,"line":2,"column":8,"endLine":4,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this","name","driverClass"]} -jacdac_SensorDebugView_constructor__P299758.info = {"start":80,"length":96,"line":2,"column":8,"endLine":4,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this","name","driverClass"]} - -function jacdac_SensorDebugView_constructor__P299758_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_SensorDebugView_constructor__P299758, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, -} } - - - - - -function jacdac_ThermometerDebugView_constructor__P299801(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, jacdac_ThermometerDebugView__C299799_VT)) failedCast(r0); - s.tmp_0 = jacdac_SensorDebugView_constructor__P299758_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = "temp"; - s.tmp_0.arg2 = 2008; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_ThermometerDebugView_constructor__P299801.info = {"start":6426,"length":85,"line":202,"column":8,"endLine":204,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} -jacdac_ThermometerDebugView_constructor__P299801.info = {"start":6426,"length":85,"line":202,"column":8,"endLine":204,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} - -function jacdac_ThermometerDebugView_constructor__P299801_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_ThermometerDebugView_constructor__P299801, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function jacdac_SwitchDebugView_constructor__P299798(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, jacdac_SwitchDebugView__C299794_VT)) failedCast(r0); - s.tmp_0 = jacdac_SensorDebugView_constructor__P299758_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = "switch"; - s.tmp_0.arg2 = 2009; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_SwitchDebugView_constructor__P299798.info = {"start":5917,"length":82,"line":184,"column":8,"endLine":186,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} -jacdac_SwitchDebugView_constructor__P299798.info = {"start":5917,"length":82,"line":184,"column":8,"endLine":186,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} - -function jacdac_SwitchDebugView_constructor__P299798_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_SwitchDebugView_constructor__P299798, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function jacdac_MicrophoneDebugView_constructor__P299793(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, jacdac_MicrophoneDebugView__C299789_VT)) failedCast(r0); - s.tmp_0 = jacdac_SensorDebugView_constructor__P299758_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = "mic"; - s.tmp_0.arg2 = 2007; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_MicrophoneDebugView_constructor__P299793.info = {"start":5510,"length":83,"line":168,"column":8,"endLine":170,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} -jacdac_MicrophoneDebugView_constructor__P299793.info = {"start":5510,"length":83,"line":168,"column":8,"endLine":170,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} - -function jacdac_MicrophoneDebugView_constructor__P299793_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_MicrophoneDebugView_constructor__P299793, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function jacdac_LightSensorDebugView_constructor__P299788(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, jacdac_LightSensorDebugView__C299786_VT)) failedCast(r0); - s.tmp_0 = jacdac_SensorDebugView_constructor__P299758_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = "lis"; - s.tmp_0.arg2 = 2006; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_LightSensorDebugView_constructor__P299788.info = {"start":5353,"length":85,"line":162,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} -jacdac_LightSensorDebugView_constructor__P299788.info = {"start":5353,"length":85,"line":162,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} - -function jacdac_LightSensorDebugView_constructor__P299788_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_LightSensorDebugView_constructor__P299788, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function jacdac_ButtonDebugView_constructor__P299785(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, jacdac_ButtonDebugView__C299781_VT)) failedCast(r0); - s.tmp_0 = jacdac_SensorDebugView_constructor__P299758_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = "button"; - s.tmp_0.arg2 = 2004; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_ButtonDebugView_constructor__P299785.info = {"start":4732,"length":82,"line":142,"column":8,"endLine":144,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} -jacdac_ButtonDebugView_constructor__P299785.info = {"start":4732,"length":82,"line":142,"column":8,"endLine":144,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} - -function jacdac_ButtonDebugView_constructor__P299785_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_ButtonDebugView_constructor__P299785, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function jacdac_AccelerometerDebugView_constructor__P299780(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, jacdac_AccelerometerDebugView__C299776_VT)) failedCast(r0); - s.tmp_0 = jacdac_SensorDebugView_constructor__P299758_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = "acc"; - s.tmp_0.arg2 = 2003; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_AccelerometerDebugView_constructor__P299780.info = {"start":4060,"length":86,"line":121,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} -jacdac_AccelerometerDebugView_constructor__P299780.info = {"start":4060,"length":86,"line":121,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} - -function jacdac_AccelerometerDebugView_constructor__P299780_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_AccelerometerDebugView_constructor__P299780, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function jacdac_MessageBusDebugView_constructor__P299775(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, jacdac_MessageBusDebugView__C299772_VT)) failedCast(r0); - s.tmp_0 = jacdac_DebugView_constructor__P299737_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.jacdac_MessageBusService_NAME___300085; - s.tmp_0.arg2 = 2020; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_MessageBusDebugView_constructor__P299775.info = {"start":3676,"length":101,"line":110,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} -jacdac_MessageBusDebugView_constructor__P299775.info = {"start":3676,"length":101,"line":110,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} - -function jacdac_MessageBusDebugView_constructor__P299775_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_MessageBusDebugView_constructor__P299775, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function jacdac_ConsoleDebugView_constructor__P299771(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, jacdac_ConsoleDebugView__C299767_VT)) failedCast(r0); - s.tmp_0 = jacdac_DebugView_constructor__P299737_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = "log"; - s.tmp_0.arg2 = 2001; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_ConsoleDebugView_constructor__P299771.info = {"start":3091,"length":79,"line":93,"column":8,"endLine":95,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} -jacdac_ConsoleDebugView_constructor__P299771.info = {"start":3091,"length":79,"line":93,"column":8,"endLine":95,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} - -function jacdac_ConsoleDebugView_constructor__P299771_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_ConsoleDebugView_constructor__P299771, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function jacdac_MusicDebugView_constructor__P299766(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, jacdac_MusicDebugView__C299763_VT)) failedCast(r0); - s.tmp_0 = jacdac_DebugView_constructor__P299737_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = "music"; - s.tmp_0.arg2 = 2016; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_MusicDebugView_constructor__P299766.info = {"start":2559,"length":80,"line":76,"column":8,"endLine":78,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} -jacdac_MusicDebugView_constructor__P299766.info = {"start":2559,"length":80,"line":76,"column":8,"endLine":78,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} - -function jacdac_MusicDebugView_constructor__P299766_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_MusicDebugView_constructor__P299766, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function jacdac_LightDebugView_constructor__P299762(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, jacdac_LightDebugView__C299759_VT)) failedCast(r0); - s.tmp_0 = jacdac_DebugView_constructor__P299737_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = "light"; - s.tmp_0.arg2 = 2012; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_LightDebugView_constructor__P299762.info = {"start":1902,"length":80,"line":52,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} -jacdac_LightDebugView_constructor__P299762.info = {"start":1902,"length":80,"line":52,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"inline","argumentNames":["this"]} - -function jacdac_LightDebugView_constructor__P299762_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_LightDebugView_constructor__P299762, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function jacdac_DebuggerService_constructor__P299750(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, jacdac_DebuggerService__C299746_VT)) failedCast(r0); - s.tmp_0 = jacdac_JDService_constructor__P299606_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = 6; - s.tmp_0.arg2 = 1; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - s.tmp_0 = jacdac_JACDAC_bridge__P299835_mk(s); - s.tmp_1 = jacdac_JACDAC_instance__P299852_mk(s); - s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.arg0; - s.pc = 2; return s.tmp_0; - case 2: - r0 = s.retval; - r0 = (s.arg0).fields["running"] = (true); - r0 = pxsim_pxtcore_mkClassInstance(jacdac_JDDeviceManager__C299814_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_JDDeviceManager_constructor__P299821_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 4; return s.tmp_1; - case 4: - r0 = s.retval; - r0 = (s.arg0).fields["deviceManager"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(1, inline__P324558); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = r0 = s.arg0; - s.tmp_3 = setInterval__P297867_mk(s); - s.tmp_3.arg0 = s.tmp_0; - s.tmp_3.arg1 = 500; - s.pc = 5; return s.tmp_3; - case 5: - r0 = s.retval; - s.tmp_2 = r0; - r0 = (s.tmp_1).fields["_intervalId"] = (s.tmp_2); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_DebuggerService_constructor__P299750.info = {"start":772,"length":848,"line":32,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/jacdac/debugservice.ts","functionName":"inline","argumentNames":["this"]} -jacdac_DebuggerService_constructor__P299750.info = {"start":772,"length":848,"line":32,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/jacdac/debugservice.ts","functionName":"inline","argumentNames":["this"]} - -function jacdac_DebuggerService_constructor__P299750_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_DebuggerService_constructor__P299750, 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 inline__P324558(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.devices___324559 = undefined; - s.device___324565 = undefined; - s.unnamed2916___U2 = undefined; - s.unnamed2917___U3 = undefined; - s.tmp_0 = jacdac_JDDeviceManager_getDeviceList__P299815_mk(s); - r0 = s.caps[0].fields["deviceManager"]; - s.tmp_0.arg0 = r0; - s.pc = 7; return s.tmp_0; - case 7: - r0 = s.retval; - s.devices___324559 = (r0); - s.device___324565 = (undefined); - s.unnamed2916___U2 = (s.devices___324559); - s.unnamed2917___U3 = (0); - case 1: - s.tmp_0 = r0 = s.unnamed2917___U3; - r0 = pxsim_Array__length(s.unnamed2916___U2); - s.tmp_1 = r0; - r0 = (s.tmp_0 < s.tmp_1); - if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed2916___U2, s.unnamed2917___U3); - s.device___324565 = (r0); - s.tmp_2 = r0 = s.device___324565; - r0 = s.tmp_2.fields["rolling_counter"]; - s.tmp_4 = r0; - r0 = (s.tmp_4 + 1); - s.tmp_3 = r0; - r0 = (s.tmp_2).fields["rolling_counter"] = (s.tmp_3); - r0 = s.device___324565.fields["rolling_counter"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 >= 3); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 4; continue; } - s.tmp_2 = jacdac_JDDeviceManager_removeDevice__P299820_mk(s); - r0 = s.caps[0].fields["deviceManager"]; - s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.device___324565; - s.pc = 8; return s.tmp_2; - case 8: - r0 = s.retval; - r0 = s.caps[0].fields["paintDevices"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 2; continue; } - s.tmp_1 = if_paintDevices_2_mk(s); - s.tmp_1.arg0 = s.caps[0]; - s.tmp_2 = jacdac_JDDeviceManager_getDeviceList__P299815_mk(s); - r0 = s.caps[0].fields["deviceManager"]; - s.tmp_2.arg0 = r0; - s.pc = 10; return s.tmp_2; - case 10: - r0 = s.retval; - s.tmp_1.arg1 = r0; - if (!s.tmp_1.arg0.vtable.iface) { - setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "paintDevices"), 2); - s.pc = 9; return s.tmp_1; - } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["paintDevices"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["paintDevices"], 2); s.pc = 9; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.pc = 9; return s.tmp_1;; } - else { s.pc = 9; return s.tmp_1; } - } - case 9: - r0 = s.retval; - case 2: - case 3: - case 4: - case 5: - r0 = (s.unnamed2917___U3 + 1); - s.unnamed2917___U3 = (r0); - { step = 1; continue; } - case 6: - s.unnamed2916___U2 = (undefined); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P324558.info = {"start":1061,"length":544,"line":38,"column":43,"endLine":53,"endColumn":13,"fileName":"pxt_modules/jacdac/debugservice.ts","functionName":"inline","argumentNames":[]} -inline__P324558.info = {"start":1061,"length":544,"line":38,"column":43,"endLine":53,"endColumn":13,"fileName":"pxt_modules/jacdac/debugservice.ts","functionName":"inline","argumentNames":[]} - -function inline__P324558_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P324558, 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, - devices___324559: undefined, - device___324565: undefined, - unnamed2916___U2: undefined, - unnamed2917___U3: undefined, -} } - - - - - -function jacdac_JACDAC_bridge__P299835(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; - if (!checkSubtype(r0, jacdac_JACDAC__C299830_VT)) failedCast(r0); - r0 = (s.arg0).fields["_bridge"] = (s.arg1); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_JACDAC_bridge__P299835.info = {"start":977,"length":76,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"bridge","argumentNames":["this","bridge"]} -jacdac_JACDAC_bridge__P299835.info = {"start":977,"length":76,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"bridge","argumentNames":["this","bridge"]} - -function jacdac_JACDAC_bridge__P299835_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JACDAC_bridge__P299835, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, - arg1: undefined, -} } - - - - - -function jacdac_JACDAC_bridge__P299834(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, jacdac_JACDAC__C299830_VT)) failedCast(r0); - r0 = s.arg0.fields["_bridge"]; - return leaveAccessor(s, r0) - default: oops() -} } } -jacdac_JACDAC_bridge__P299834.info = {"start":910,"length":57,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"bridge","argumentNames":["this"]} -jacdac_JACDAC_bridge__P299834.isGetter = true; -jacdac_JACDAC_bridge__P299834.info = {"start":910,"length":57,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"bridge","argumentNames":["this"]} - -function jacdac_JACDAC_bridge__P299834_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JACDAC_bridge__P299834, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function jacdac_DebugView_renderPacket__P299735(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; - if (!checkSubtype(r0, jacdac_DebugView__C299731_VT)) failedCast(r0); - r0 = pxsim_String_.mkEmpty(); - return leave(s, r0) - default: oops() -} } } -jacdac_DebugView_renderPacket__P299735.info = {"start":1283,"length":65,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/jacdac/debugview.ts","functionName":"renderPacket","argumentNames":["this","packet"]} -jacdac_DebugView_renderPacket__P299735.info = {"start":1283,"length":65,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/jacdac/debugview.ts","functionName":"renderPacket","argumentNames":["this","packet"]} - -function jacdac_DebugView_renderPacket__P299735_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_DebugView_renderPacket__P299735, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, - arg1: undefined, -} } - - - - - -function jacdac_DebugView_find__P299732(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.view___324520 = undefined; - s.unnamed2912___U1 = undefined; - s.unnamed2913___U2 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - s.view___324520 = (undefined); - s.unnamed2912___U1 = (globals.jacdac_DebugView__debugViews___299736); - s.unnamed2913___U2 = (0); - case 1: - s.tmp_0 = r0 = s.unnamed2913___U2; - r0 = pxsim_Array__length(s.unnamed2912___U1); - s.tmp_1 = r0; - r0 = (s.tmp_0 < s.tmp_1); - if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed2912___U1, s.unnamed2913___U2); - s.view___324520 = (r0); - r0 = s.view___324520.fields["serviceClass"]; - s.tmp_3 = r0; - r0 = (s.tmp_3 == s.arg0); - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 2; continue; } - r0 = s.view___324520; - { step = 5; continue; } - case 2: - case 3: - r0 = (s.unnamed2913___U2 + 1); - s.unnamed2913___U2 = (r0); - { step = 1; continue; } - case 4: - s.unnamed2912___U1 = (undefined); - r0 = undefined; - case 5: - return leave(s, r0) - default: oops() -} } } -jacdac_DebugView_find__P299732.info = {"start":823,"length":232,"line":27,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/jacdac/debugview.ts","functionName":"find","argumentNames":["serviceClass"]} -jacdac_DebugView_find__P299732.info = {"start":823,"length":232,"line":27,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/jacdac/debugview.ts","functionName":"find","argumentNames":["serviceClass"]} - -function jacdac_DebugView_find__P299732_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_DebugView_find__P299732, 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, - view___324520: undefined, - unnamed2912___U1: undefined, - unnamed2913___U2: undefined, - arg0: undefined, -} } - - - - - -function game_consoleOverlay_clear__P299124(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_Array__mk(); - globals.consoleStrings___299086 = (r0); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -game_consoleOverlay_clear__P299124.info = {"start":496,"length":60,"line":15,"column":4,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game---hw/console.ts","functionName":"clear","argumentNames":[]} -game_consoleOverlay_clear__P299124.info = {"start":496,"length":60,"line":15,"column":4,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game---hw/console.ts","functionName":"clear","argumentNames":[]} - -function game_consoleOverlay_clear__P299124_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: game_consoleOverlay_clear__P299124, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, -} } - - - - - -function game_consoleOverlay_isVisible__P299123(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.consoleStrings___299086); - s.tmp_2 = r0; - r0 = pxsim_Boolean__bang(s.tmp_2); - 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() -} } } -game_consoleOverlay_isVisible__P299123.info = {"start":422,"length":68,"line":11,"column":4,"endLine":13,"endColumn":5,"fileName":"pxt_modules/game---hw/console.ts","functionName":"isVisible","argumentNames":[]} -game_consoleOverlay_isVisible__P299123.info = {"start":422,"length":68,"line":11,"column":4,"endLine":13,"endColumn":5,"fileName":"pxt_modules/game---hw/console.ts","functionName":"isVisible","argumentNames":[]} - -function game_consoleOverlay_isVisible__P299123_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: game_consoleOverlay_isVisible__P299123, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, -} } - - - - - -function jacdac_dbg_DebugMenu_start__P300145(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, jacdac_dbg_DebugMenu__C300141_VT)) failedCast(r0); - s.tmp_0 = game_pushScene__P298728_mk(s); - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - s.tmp_0 = controller__setUserEventsEnabled__P298205_mk(s); - s.tmp_0.arg0 = false; - s.pc = 2; return s.tmp_0; - case 2: - r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P324036); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P298742_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P324041); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.left___298128; - s.tmp_1.arg1 = 2053; - s.tmp_1.arg2 = s.tmp_0; - s.pc = 4; return s.tmp_1; - case 4: - r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P324051); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.right___298132; - s.tmp_1.arg1 = 2053; - s.tmp_1.arg2 = s.tmp_0; - s.pc = 5; return s.tmp_1; - case 5: - r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P324060); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.up___298130; - s.tmp_1.arg1 = 2053; - s.tmp_1.arg2 = s.tmp_0; - s.pc = 6; return s.tmp_1; - case 6: - r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P324073); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.down___298134; - s.tmp_1.arg1 = 2053; - s.tmp_1.arg2 = s.tmp_0; - s.pc = 7; return s.tmp_1; - case 7: - r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P298158_mk(s); - s.tmp_0.arg0 = globals.B___298126; - s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P324083; - s.pc = 8; return s.tmp_0; - case 8: - r0 = s.retval; - s.tmp_0 = game_consoleOverlay_setVisible__P299125_mk(s); - s.tmp_0.arg0 = true; - s.tmp_0.arg1 = undefined; - s.pc = 9; return s.tmp_0; - case 9: - r0 = s.retval; - s.tmp_0 = console_log__P297810_mk(s); - s.tmp_0.arg0 = "jacdac dashboard"; - s.pc = 10; return s.tmp_0; - case 10: - r0 = s.retval; - s.tmp_0 = console_log__P297810_mk(s); - s.tmp_0.arg0 = " LEFT for packets"; - s.pc = 11; return s.tmp_0; - case 11: - r0 = s.retval; - s.tmp_0 = console_log__P297810_mk(s); - s.tmp_0.arg0 = " RIGHT for devices"; - s.pc = 12; return s.tmp_0; - case 12: - r0 = s.retval; - s.tmp_0 = console_log__P297810_mk(s); - s.tmp_0.arg0 = " UP for diagnostics"; - s.pc = 13; return s.tmp_0; - case 13: - r0 = s.retval; - s.tmp_0 = console_log__P297810_mk(s); - s.tmp_0.arg0 = " DOWN to hide control packets"; - s.pc = 14; return s.tmp_0; - case 14: - r0 = s.retval; - s.tmp_0 = console_log__P297810_mk(s); - s.tmp_0.arg0 = " B for exit"; - s.pc = 15; return s.tmp_0; - case 15: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_dbg_DebugMenu_start__P300145.info = {"start":5531,"length":1555,"line":137,"column":8,"endLine":177,"endColumn":9,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"start","argumentNames":["this"]} -jacdac_dbg_DebugMenu_start__P300145.info = {"start":5531,"length":1555,"line":137,"column":8,"endLine":177,"endColumn":9,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"start","argumentNames":["this"]} - -function jacdac_dbg_DebugMenu_start__P300145_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_dbg_DebugMenu_start__P300145, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - arg0: undefined, -} } - - - - - -function inline__P324036(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_0 = jacdac_dbg_DebugMenu_paintDiagnosticsBar__P300143_mk(s); - s.tmp_0.arg0 = s.caps[0]; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P324036.info = {"start":5649,"length":65,"line":140,"column":25,"endLine":142,"endColumn":13,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} -inline__P324036.info = {"start":5649,"length":65,"line":140,"column":25,"endLine":142,"endColumn":13,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} - -function inline__P324036_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P324036, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function inline__P324041(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["mode"] = (1); - s.tmp_0 = game_consoleOverlay_clear__P299124_mk(s); - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P324041.info = {"start":5770,"length":108,"line":143,"column":53,"endLine":146,"endColumn":13,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} -inline__P324041.info = {"start":5770,"length":108,"line":143,"column":53,"endLine":146,"endColumn":13,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} - -function inline__P324041_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P324041, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function inline__P324051(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["mode"] = (2); - s.tmp_0 = game_consoleOverlay_clear__P299124_mk(s); - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P324051.info = {"start":5934,"length":108,"line":147,"column":54,"endLine":150,"endColumn":13,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} -inline__P324051.info = {"start":5934,"length":108,"line":147,"column":54,"endLine":150,"endColumn":13,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} - -function inline__P324051_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P324051, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function inline__P324060(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["mode"] = (0); - s.tmp_0 = game_consoleOverlay_clear__P299124_mk(s); - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - s.tmp_0 = console_log__P297810_mk(s); - s.tmp_0.arg0 = "jacdac dashboard"; - s.pc = 2; return s.tmp_0; - case 2: - r0 = s.retval; - s.tmp_0 = console_log__P297810_mk(s); - s.tmp_0.arg0 = " LEFT for packets"; - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - s.tmp_0 = console_log__P297810_mk(s); - s.tmp_0.arg0 = " RIGHT for devices"; - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - s.tmp_0 = console_log__P297810_mk(s); - s.tmp_0.arg0 = " B for exit"; - s.pc = 5; return s.tmp_0; - case 5: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P324060.info = {"start":6095,"length":303,"line":151,"column":51,"endLine":158,"endColumn":13,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} -inline__P324060.info = {"start":6095,"length":303,"line":151,"column":51,"endLine":158,"endColumn":13,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} - -function inline__P324060_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P324060, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function inline__P324073(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_0 = r0 = s.caps[0]; - r0 = s.caps[0].fields["hideControl"]; - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - s.tmp_2 = r0; - r0 = pxsim_Boolean__bang(s.tmp_2); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["hideControl"] = (s.tmp_1); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P324073.info = {"start":6453,"length":75,"line":159,"column":53,"endLine":161,"endColumn":13,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} -inline__P324073.info = {"start":6453,"length":75,"line":159,"column":53,"endLine":161,"endColumn":13,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} - -function inline__P324073_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P324073, 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 inline__P324083(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._menu___300147); - if (!r0) { step = 1; continue; } - s.tmp_0 = jacdac_dbg_DebugMenu_stop__P300144_mk(s); - s.tmp_0.arg0 = globals._menu___300147; - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - globals._menu___300147 = (undefined); - case 1: - case 2: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P324083.info = {"start":6580,"length":165,"line":162,"column":50,"endLine":168,"endColumn":13,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} -inline__P324083.info = {"start":6580,"length":165,"line":162,"column":50,"endLine":168,"endColumn":13,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"inline","argumentNames":[]} - -function inline__P324083_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P324083, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function jacdac_dbg_DebugMenu_paintDiagnosticsBar__P300143(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.diag___324104 = undefined; - s.background___324107 = undefined; - s.height___324112 = undefined; - s.errorCount___324137 = undefined; - s.horiz___324149 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_dbg_DebugMenu__C300141_VT)) failedCast(r0); - r0 = s.arg0.fields["mode"]; - 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 = 0; - { step = 5; continue; } - case 1: - case 2: - s.tmp_2 = jacdac_diagnostics__P299942_mk(s); - s.pc = 6; return s.tmp_2; - case 6: - r0 = s.retval; - s.diag___324104 = (r0); - s.background___324107 = (1); - r0 = s.diag___324104.fields["bus_state"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 3; continue; } - s.background___324107 = (2); - case 3: - case 4: - s.tmp_2 = if_charHeight_1_mk(s); - r0 = s.arg0.fields["debugFont"]; - s.tmp_2.arg0 = r0; - if (!s.tmp_2.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); - } else { - s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["charHeight"]; - if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["charHeight"]; } - else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.pc = 7; return s.tmp_2; } - } - case 7: - r0 = s.retval; - s.tmp_1 = r0; - r0 = s.arg0.fields["marginy"]; - s.tmp_4 = r0; - r0 = (2 * s.tmp_4); - s.tmp_3 = r0; - r0 = (s.tmp_1 + s.tmp_3); - s.tmp_0 = r0; - r0 = (2 * s.tmp_0); - s.height___324112 = (r0); - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_0.arg1 = 0; - r0 = pxsim_ImageMethods.height(globals.screen___298046); - s.tmp_1 = r0; - r0 = (s.tmp_1 - s.height___324112); - s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); - s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = s.height___324112; - s.tmp_0.arg5 = s.background___324107; - s.pc = 8; return s.tmp_0; - case 8: - r0 = s.retval; - r0 = s.diag___324104.fields["bus_lo_error"]; - s.tmp_1 = r0; - r0 = s.diag___324104.fields["bus_uart_error"]; - s.tmp_2 = r0; - r0 = (s.tmp_1 + s.tmp_2); - s.tmp_0 = r0; - r0 = s.diag___324104.fields["bus_timeout_error"]; - s.tmp_3 = r0; - r0 = (s.tmp_0 + s.tmp_3); - s.errorCount___324137 = (r0); - s.horiz___324149 = (1); - s.tmp_0 = jacdac_dbg_DebugMenu_makeDiagnostic__P300142_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = "TX"; - r0 = s.diag___324104.fields["packets_sent"]; - s.tmp_1 = r0; - r0 = pxsim_numops.toString(s.tmp_1); - s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.horiz___324149; - s.tmp_0.arg4 = 6; - s.tmp_0.arg5 = s.height___324112; - s.pc = 9; return s.tmp_0; - case 9: - r0 = s.retval; - s.horiz___324149 = (r0); - s.tmp_0 = jacdac_dbg_DebugMenu_makeDiagnostic__P300142_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = "RX"; - r0 = s.diag___324104.fields["packets_received"]; - s.tmp_1 = r0; - r0 = pxsim_numops.toString(s.tmp_1); - s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.horiz___324149; - s.tmp_0.arg4 = 7; - s.tmp_0.arg5 = s.height___324112; - s.pc = 10; return s.tmp_0; - case 10: - r0 = s.retval; - s.horiz___324149 = (r0); - s.tmp_0 = jacdac_dbg_DebugMenu_makeDiagnostic__P300142_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = "DR"; - r0 = s.diag___324104.fields["packets_dropped"]; - s.tmp_1 = r0; - r0 = pxsim_numops.toString(s.tmp_1); - s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.horiz___324149; - s.tmp_0.arg4 = 2; - s.tmp_0.arg5 = s.height___324112; - s.pc = 11; return s.tmp_0; - case 11: - r0 = s.retval; - s.horiz___324149 = (r0); - s.tmp_0 = jacdac_dbg_DebugMenu_makeDiagnostic__P300142_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = "ERR"; - r0 = pxsim_numops.toString(s.errorCount___324137); - s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.horiz___324149; - s.tmp_0.arg4 = 2; - s.tmp_0.arg5 = s.height___324112; - s.pc = 12; return s.tmp_0; - case 12: - r0 = s.retval; - s.horiz___324149 = (r0); - r0 = s.height___324112; - case 5: - return leave(s, r0) - default: oops() -} } } -jacdac_dbg_DebugMenu_paintDiagnosticsBar__P300143.info = {"start":4339,"length":947,"line":107,"column":8,"endLine":125,"endColumn":9,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"paintDiagnosticsBar","argumentNames":["this"]} -jacdac_dbg_DebugMenu_paintDiagnosticsBar__P300143.info = {"start":4339,"length":947,"line":107,"column":8,"endLine":125,"endColumn":9,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"paintDiagnosticsBar","argumentNames":["this"]} - -function jacdac_dbg_DebugMenu_paintDiagnosticsBar__P300143_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_dbg_DebugMenu_paintDiagnosticsBar__P300143, 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, - diag___324104: undefined, - background___324107: undefined, - height___324112: undefined, - errorCount___324137: undefined, - horiz___324149: undefined, - arg0: undefined, -} } - - - - - -function jacdac_dbg_DebugMenu_makeDiagnostic__P300142(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.charCount___324191 = undefined; - s.size___324198 = 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.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_dbg_DebugMenu__C300141_VT)) failedCast(r0); - s.tmp_0 = Math_max__P297646_mk(s); - r0 = pxsim_String_.length(s.arg2); - s.tmp_0.arg0 = r0; - r0 = pxsim_String_.length(s.arg1); - s.tmp_0.arg1 = r0; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - s.charCount___324191 = (r0); - s.tmp_2 = if_charWidth_1_mk(s); - r0 = s.arg0.fields["debugFont"]; - s.tmp_2.arg0 = r0; - if (!s.tmp_2.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); - } else { - s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["charWidth"]; - if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["charWidth"]; } - else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.pc = 2; return s.tmp_2; } - } - case 2: - r0 = s.retval; - s.tmp_1 = r0; - r0 = (s.tmp_1 * s.charCount___324191); - s.tmp_0 = r0; - r0 = s.arg0.fields["marginx"]; - s.tmp_3 = r0; - r0 = (s.tmp_0 + s.tmp_3); - s.size___324198 = (r0); - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_0.arg1 = s.arg3; - r0 = pxsim_ImageMethods.height(globals.screen___298046); - s.tmp_1 = r0; - r0 = (s.tmp_1 - s.arg5); - s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.size___324198; - s.tmp_0.arg4 = s.arg5; - s.tmp_0.arg5 = s.arg4; - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_0.arg1 = s.arg1; - r0 = s.arg0.fields["marginx"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 / 2); - s.tmp_1 = r0; - r0 = (s.tmp_1 + s.arg3); - s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___298046); - s.tmp_4 = r0; - r0 = (s.tmp_4 - s.arg5); - s.tmp_3 = r0; - r0 = s.arg0.fields["marginy"]; - s.tmp_5 = r0; - r0 = (s.tmp_3 + s.tmp_5); - s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = 1; - r0 = s.arg0.fields["debugFont"]; - s.tmp_0.arg5 = r0; - s.tmp_0.arg6 = undefined; - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_0.arg1 = s.arg2; - r0 = s.arg0.fields["marginx"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 / 2); - s.tmp_1 = r0; - r0 = (s.tmp_1 + s.arg3); - s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___298046); - s.tmp_3 = r0; - s.tmp_6 = if_charHeight_1_mk(s); - r0 = s.arg0.fields["debugFont"]; - s.tmp_6.arg0 = r0; - if (!s.tmp_6.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "charHeight"); - } else { - s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["charHeight"]; - if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["charHeight"]; } - else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.pc = 6; return s.tmp_6; } - } - case 6: - r0 = s.retval; - s.tmp_5 = r0; - r0 = s.arg0.fields["marginy"]; - s.tmp_8 = r0; - r0 = (2 * s.tmp_8); - s.tmp_7 = r0; - r0 = (s.tmp_5 + s.tmp_7); - s.tmp_4 = r0; - r0 = (s.tmp_3 - s.tmp_4); - s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = 1; - r0 = s.arg0.fields["debugFont"]; - s.tmp_0.arg5 = r0; - s.tmp_0.arg6 = undefined; - s.pc = 5; return s.tmp_0; - case 5: - r0 = s.retval; - s.tmp_0 = r0 = s.arg3; - r0 = (s.size___324198 + 1); - s.tmp_1 = r0; - r0 = (s.tmp_0 + s.tmp_1); - s.arg3 = (r0); - r0 = s.arg3; - return leave(s, r0) - default: oops() -} } } -jacdac_dbg_DebugMenu_makeDiagnostic__P300142.info = {"start":3599,"length":730,"line":93,"column":8,"endLine":105,"endColumn":9,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"makeDiagnostic","argumentNames":["this","label","value","horizontalOffset","color","barHeight"]} -jacdac_dbg_DebugMenu_makeDiagnostic__P300142.info = {"start":3599,"length":730,"line":93,"column":8,"endLine":105,"endColumn":9,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"makeDiagnostic","argumentNames":["this","label","value","horizontalOffset","color","barHeight"]} - -function jacdac_dbg_DebugMenu_makeDiagnostic__P300142_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_dbg_DebugMenu_makeDiagnostic__P300142, 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, - charCount___324191: undefined, - size___324198: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, - arg3: undefined, - arg4: undefined, - arg5: undefined, -} } - - - - - -function jacdac_diagnostics__P299942(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.bus___299940); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkClassInstance(jacdac_JDDiagnostics__C299822_VT); - s.tmp_2 = r0; - s.tmp_3 = jacdac_JDDiagnostics_constructor__P299823_mk(s); - s.tmp_3.arg0 = s.tmp_2; - r0 = pxsim.control.createBuffer(0); - s.tmp_3.arg1 = r0; - s.pc = 4; return s.tmp_3; - case 4: - r0 = s.retval; - r0 = s.tmp_2; - { step = 3; continue; } - case 1: - case 2: - r0 = pxsim_pxtcore_mkClassInstance(jacdac_JDDiagnostics__C299822_VT); - s.tmp_4 = r0; - s.tmp_5 = jacdac_JDDiagnostics_constructor__P299823_mk(s); - s.tmp_5.arg0 = s.tmp_4; - r0 = pxsim.jacdac.__physGetDiagnostics(); - s.tmp_5.arg1 = r0; - s.pc = 5; return s.tmp_5; - case 5: - r0 = s.retval; - r0 = s.tmp_4; - case 3: - return leave(s, r0) - default: oops() -} } } -jacdac_diagnostics__P299942.info = {"start":2517,"length":211,"line":91,"column":4,"endLine":96,"endColumn":5,"fileName":"pxt_modules/jacdac/makecodejacdac.ts","functionName":"diagnostics","argumentNames":[]} -jacdac_diagnostics__P299942.info = {"start":2517,"length":211,"line":91,"column":4,"endLine":96,"endColumn":5,"fileName":"pxt_modules/jacdac/makecodejacdac.ts","functionName":"diagnostics","argumentNames":[]} - -function jacdac_diagnostics__P299942_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_diagnostics__P299942, 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, -} } - - - - - -function jacdac_JACDACBus_getDiagnostics__P299936(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, jacdac_JACDACBus__C299929_VT)) failedCast(r0); - r0 = pxsim.jacdac.__physGetDiagnostics(); - return leave(s, r0) - default: oops() -} } } -jacdac_JACDACBus_getDiagnostics__P299936.info = {"start":907,"length":71,"line":43,"column":8,"endLine":45,"endColumn":9,"fileName":"pxt_modules/jacdac/makecodejacdac.ts","functionName":"getDiagnostics","argumentNames":["this"]} -jacdac_JACDACBus_getDiagnostics__P299936.info = {"start":907,"length":71,"line":43,"column":8,"endLine":45,"endColumn":9,"fileName":"pxt_modules/jacdac/makecodejacdac.ts","functionName":"getDiagnostics","argumentNames":["this"]} - -function jacdac_JACDACBus_getDiagnostics__P299936_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JACDACBus_getDiagnostics__P299936, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function jacdac_JDDiagnostics_constructor__P299823(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; - if (!checkSubtype(r0, jacdac_JDDiagnostics__C299822_VT)) failedCast(r0); - 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.BufferMethods.length(s.arg1); - s.tmp_2 = r0; - r0 = (s.tmp_2 == 0); - 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).fields["bus_lo_error"] = (0); - r0 = (s.arg0).fields["bus_uart_error"] = (0); - r0 = (s.arg0).fields["bus_timeout_error"] = (0); - r0 = (s.arg0).fields["packets_sent"] = (0); - r0 = (s.arg0).fields["packets_received"] = (0); - r0 = (s.arg0).fields["packets_dropped"] = (0); - r0 = (s.arg0).fields["bus_state"] = (0); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim_String_.mkEmpty(); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["bus_status"] = (s.tmp_1); - { step = 6; continue; } - case 3: - s.tmp_0 = r0 = s.arg0; - r0 = pxsim.BufferMethods.getNumber(s.arg1, 11, 0); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["bus_state"] = (s.tmp_1); - r0 = s.arg0.fields["bus_state"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 == 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 4; continue; } - r0 = (s.arg0).fields["bus_status"] = ("connected"); - { step = 5; continue; } - case 4: - r0 = (s.arg0).fields["bus_status"] = ("error"); - case 5: - s.tmp_0 = r0 = s.arg0; - r0 = pxsim.BufferMethods.getNumber(s.arg1, 11, 4); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["bus_lo_error"] = (s.tmp_1); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim.BufferMethods.getNumber(s.arg1, 11, 8); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["bus_uart_error"] = (s.tmp_1); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim.BufferMethods.getNumber(s.arg1, 11, 12); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["bus_timeout_error"] = (s.tmp_1); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim.BufferMethods.getNumber(s.arg1, 11, 16); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["packets_sent"] = (s.tmp_1); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim.BufferMethods.getNumber(s.arg1, 11, 20); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["packets_received"] = (s.tmp_1); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim.BufferMethods.getNumber(s.arg1, 11, 24); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["packets_dropped"] = (s.tmp_1); - case 6: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_JDDiagnostics_constructor__P299823.info = {"start":314,"length":1146,"line":12,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/jacdac/diagnostics.ts","functionName":"inline","argumentNames":["this","buf"]} -jacdac_JDDiagnostics_constructor__P299823.info = {"start":314,"length":1146,"line":12,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/jacdac/diagnostics.ts","functionName":"inline","argumentNames":["this","buf"]} - -function jacdac_JDDiagnostics_constructor__P299823_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JDDiagnostics_constructor__P299823, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function game_onShade__P298742(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 = game_init__P298727_mk(s); - s.tmp_0.arg0 = undefined; - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.arg0); - 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: - s.tmp_2 = scene_createRenderable__P298587_mk(s); - s.tmp_2.arg0 = 80; - s.tmp_2.arg1 = s.arg0; - s.tmp_2.arg2 = undefined; - s.pc = 5; return s.tmp_2; - case 5: - r0 = s.retval; - case 3: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -game_onShade__P298742.info = {"start":9936,"length":145,"line":320,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"onShade","argumentNames":["a"]} -game_onShade__P298742.info = {"start":9936,"length":145,"line":320,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"onShade","argumentNames":["a"]} - -function game_onShade__P298742_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: game_onShade__P298742, 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 controller__setUserEventsEnabled__P298205(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; - } - globals._userEventsEnabled___298146 = (s.arg0); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -controller__setUserEventsEnabled__P298205.info = {"start":19246,"length":101,"line":587,"column":4,"endLine":589,"endColumn":5,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} -controller__setUserEventsEnabled__P298205.info = {"start":19246,"length":101,"line":587,"column":4,"endLine":589,"endColumn":5,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} - -function controller__setUserEventsEnabled__P298205_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: controller__setUserEventsEnabled__P298205, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function jacdac_dbg_DebugMenu_stop__P300144(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, jacdac_dbg_DebugMenu__C300141_VT)) failedCast(r0); - r0 = s.arg0.fields["started"]; - 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["started"] = (false); - s.tmp_0 = game_popScene__P298729_mk(s); - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - s.tmp_0 = game_consoleOverlay_setVisible__P299125_mk(s); - s.tmp_0.arg0 = false; - s.tmp_0.arg1 = undefined; - s.pc = 5; return s.tmp_0; - case 5: - r0 = s.retval; - s.tmp_0 = controller__setUserEventsEnabled__P298205_mk(s); - s.tmp_0.arg0 = true; - s.pc = 6; return s.tmp_0; - case 6: - r0 = s.retval; - case 3: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_dbg_DebugMenu_stop__P300144.info = {"start":5296,"length":225,"line":127,"column":8,"endLine":135,"endColumn":9,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"stop","argumentNames":["this"]} -jacdac_dbg_DebugMenu_stop__P300144.info = {"start":5296,"length":225,"line":127,"column":8,"endLine":135,"endColumn":9,"fileName":"pxt_modules/jacdac-game/debugger.ts","functionName":"stop","argumentNames":["this"]} - -function jacdac_dbg_DebugMenu_stop__P300144_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_dbg_DebugMenu_stop__P300144, 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 scene_systemMenu_addEntry__P299041(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 = pxsim_numops_toBoolDecr(globals.customMenuOptions___299010); - 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.customMenuOptions___299010 = (r0); - case 1: - case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C299012_VT); - s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P299020_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.arg2; - s.tmp_1.arg2 = s.arg0; - s.tmp_1.arg3 = s.arg1; - s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - r0 = pxsim_Array__push(globals.customMenuOptions___299010, s.tmp_0); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_addEntry__P299041.info = {"start":12104,"length":221,"line":367,"column":4,"endLine":370,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"addEntry","argumentNames":["name","clickHandler","icon"]} -scene_systemMenu_addEntry__P299041.info = {"start":12104,"length":221,"line":367,"column":4,"endLine":370,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"addEntry","argumentNames":["name","clickHandler","icon"]} - -function scene_systemMenu_addEntry__P299041_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_addEntry__P299041, 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 scene_systemMenu_MenuOption_constructor__P299020(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.arg3 = (s.lambdaArgs[3]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C299012_VT)) failedCast(r0); - r0 = (s.arg0).fields["iconImage"] = (s.arg1); - r0 = (s.arg0).fields["getText"] = (s.arg2); - r0 = (s.arg0).fields["action"] = (s.arg3); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_MenuOption_constructor__P299020.info = {"start":786,"length":108,"line":38,"column":8,"endLine":39,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":["this","iconImage","getText","action"]} -scene_systemMenu_MenuOption_constructor__P299020.info = {"start":786,"length":108,"line":38,"column":8,"endLine":39,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":["this","iconImage","getText","action"]} - -function scene_systemMenu_MenuOption_constructor__P299020_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P299020, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, - arg1: undefined, - arg2: undefined, - arg3: undefined, -} } - - - - - -function Math_abs__P297644(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 < 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = (0 - s.arg0); - { step = 2; continue; } - case 1: - r0 = s.arg0; - case 2: - // jmp value (already in r0) - s.tmp_1 = r0; - r0 = s.tmp_1; - return leave(s, r0) - default: oops() -} } } -Math_abs__P297644.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__P297644.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__P297644_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: Math_abs__P297644, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - arg0: undefined, -} } - - - - - -function Math_sign__P297645(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 == 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = 0; - { step = 5; continue; } - case 1: - case 2: - r0 = (s.arg0 > 0); - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 3; continue; } - r0 = 1; - { step = 5; continue; } - case 3: - case 4: - r0 = -1; - case 5: - return leave(s, r0) - default: oops() -} } } -Math_sign__P297645.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__P297645.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__P297645_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: Math_sign__P297645, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - arg0: undefined, -} } - - - - - -function texteffects_TextEffect_constructor__P299344(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; - if (!checkSubtype(r0, texteffects_TextEffect__C299343_VT)) failedCast(r0); - r0 = (s.arg0).fields["getState"] = (s.arg1); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -texteffects_TextEffect_constructor__P299344.info = {"start":657,"length":133,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"pxt_modules/game---hw/texteffects.ts","functionName":"inline","argumentNames":["this","getState"]} -texteffects_TextEffect_constructor__P299344.info = {"start":657,"length":133,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"pxt_modules/game---hw/texteffects.ts","functionName":"inline","argumentNames":["this","getState"]} - -function texteffects_TextEffect_constructor__P299344_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: texteffects_TextEffect_constructor__P299344, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, - arg1: undefined, -} } - - - - - -function Math_FastRandom_constructor__P299008(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; - if (!checkSubtype(r0, Math_FastRandom__C299001_VT)) failedCast(r0); - r0 = (s.arg1 === undefined); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = pxsim.Math_.randomRange(1, 65535); - s.arg1 = (r0); - case 1: - case 2: - r0 = (s.arg0).fields["seed"] = (s.arg1); - r0 = (s.arg0).fields["lfsr"] = (s.arg1); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -Math_FastRandom_constructor__P299008.info = {"start":1392,"length":175,"line":43,"column":8,"endLine":47,"endColumn":9,"fileName":"pxt_modules/game---hw/mathUtil.ts","functionName":"inline","argumentNames":["this","seed"]} -Math_FastRandom_constructor__P299008.info = {"start":1392,"length":175,"line":43,"column":8,"endLine":47,"endColumn":9,"fileName":"pxt_modules/game---hw/mathUtil.ts","functionName":"inline","argumentNames":["this","seed"]} - -function Math_FastRandom_constructor__P299008_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: Math_FastRandom_constructor__P299008, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function control_ramSize__P297794(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_pxtcore.getConfig(205, 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 = 33554432; - case 2: - // jmp value (already in r0) - s.tmp_1 = r0; - r0 = s.tmp_1; - return leave(s, r0) - default: oops() -} } } -control_ramSize__P297794.info = {"start":9191,"length":100,"line":308,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} -control_ramSize__P297794.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__P297794_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: control_ramSize__P297794, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, -} } - - - - - -function control__ramSize__P297793(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 = 33554432; - return leave(s, r0) - default: oops() -} } } -control__ramSize__P297793.info = {"start":9071,"length":60,"line":303,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} -control__ramSize__P297793.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__P297793_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: control__ramSize__P297793, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, -} } - - - - - -function game_consoleOverlay_listener__P299122(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(globals.consoleStrings___299086); - 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_toBoolDecr(s.tmp_3); - if (!r0) { step = 3; continue; } - { step = 7; continue; } - case 3: - case 4: - s.tmp_4 = helpers_arrayForEach__P297630_mk(s); - s.tmp_5 = helpers_arrayFilter__P297631_mk(s); - s.tmp_6 = helpers_stringSplit__P297640_mk(s); - s.tmp_6.arg0 = s.arg1; - s.tmp_6.arg1 = "\n"; - s.tmp_6.arg2 = undefined; - s.pc = 10; return s.tmp_6; - case 10: - r0 = s.retval; - s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = inline__P324790; - s.pc = 9; return s.tmp_5; - case 9: - r0 = s.retval; - s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = inline__P324795; - s.pc = 8; return s.tmp_4; - case 8: - r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___299086); - s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___299099); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_arraySplice__P297619_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___299086; - s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___299086); - s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___299099); - s.tmp_2.arg2 = r0; - s.pc = 11; return s.tmp_2; - case 11: - r0 = s.retval; - case 5: - case 6: - case 7: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -game_consoleOverlay_listener__P299122.info = {"start":787,"length":571,"line":26,"column":4,"endLine":42,"endColumn":5,"fileName":"pxt_modules/game---hw/console.ts","functionName":"listener","argumentNames":["priority","text"]} -game_consoleOverlay_listener__P299122.info = {"start":787,"length":571,"line":26,"column":4,"endLine":42,"endColumn":5,"fileName":"pxt_modules/game---hw/console.ts","functionName":"listener","argumentNames":["priority","text"]} - -function game_consoleOverlay_listener__P299122_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: game_consoleOverlay_listener__P299122, 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, - arg1: undefined, -} } - - - - - -function inline__P324790(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 = pxsim_numops_toBoolDecr(s.arg0); - s.tmp_2 = r0; - r0 = pxsim_Boolean__bang(s.tmp_2); - 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__P324790.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game---hw/console.ts","functionName":"inline","argumentNames":["line"]} -inline__P324790.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game---hw/console.ts","functionName":"inline","argumentNames":["line"]} - -function inline__P324790_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P324790, 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__P324795(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.j___324797 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - s.j___324797 = (0); - case 1: - s.tmp_1 = r0 = s.j___324797; - 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___299086; - s.tmp_5 = helpers_stringSlice__P297638_mk(s); - s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___324797; - r0 = (s.j___324797 + globals.consoleColumns___299110); - 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___324797 + globals.consoleColumns___299110); - s.j___324797 = (r0); - { step = 1; continue; } - case 2: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P324795.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game---hw/console.ts","functionName":"inline","argumentNames":["line"]} -inline__P324795.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game---hw/console.ts","functionName":"inline","argumentNames":["line"]} - -function inline__P324795_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P324795, 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, - j___324797: undefined, - arg0: undefined, -} } - - - - - -function console_addListener__P297813(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 = 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_Array_.indexOf(globals.listeners___297805, s.arg0, undefined); - 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; } - { step = 5; continue; } - case 3: - case 4: - r0 = pxsim_Array__push(globals.listeners___297805, s.arg0); - case 5: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -console_addListener__P297813.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__P297813.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__P297813_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: console_addListener__P297813, 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 _screen_internal_createScreen__P298051(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.img___324843 = undefined; - s.status___324847 = undefined; - r0 = pxsim.image.create(160, 120); - s.img___324843 = (r0); - r0 = undefined; - r0 = pxsim.image.create(160, 8); - s.status___324847 = (r0); - r0 = undefined; - r0 = pxsim_pxtcore_mkAction(1, inline__P324853); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.img___324843); - s.tmp_1 = control___screen_setupUpdate__P298015_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.pc = 1; return s.tmp_1; - case 1: - r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P324858); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.status___324847); - globals.control_EventContext_onStats___297851 = (s.tmp_0); - r0 = s.img___324843; - return leave(s, r0) - default: oops() -} } } -_screen_internal_createScreen__P298051.info = {"start":948,"length":547,"line":28,"column":4,"endLine":44,"endColumn":5,"fileName":"pxt_modules/screen---st7735/targetoverrides.ts","functionName":"createScreen","argumentNames":[]} -_screen_internal_createScreen__P298051.info = {"start":948,"length":547,"line":28,"column":4,"endLine":44,"endColumn":5,"fileName":"pxt_modules/screen---st7735/targetoverrides.ts","functionName":"createScreen","argumentNames":[]} - -function _screen_internal_createScreen__P298051_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: _screen_internal_createScreen__P298051, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - img___324843: undefined, - status___324847: undefined, -} } - - - - - -function inline__P324853(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_pxtcore.updateScreen(s.caps[0]); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P324853.info = {"start":1204,"length":23,"line":35,"column":37,"endLine":35,"endColumn":60,"fileName":"pxt_modules/screen---st7735/targetoverrides.ts","functionName":"inline","argumentNames":[]} -inline__P324853.info = {"start":1204,"length":23,"line":35,"column":37,"endLine":35,"endColumn":60,"fileName":"pxt_modules/screen---st7735/targetoverrides.ts","functionName":"inline","argumentNames":[]} - -function inline__P324853_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P324853, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, -} } - - - - - -function inline__P324858(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 = pxsim_ImageMethods.fill(s.caps[0], 0); - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = s.caps[0]; - s.tmp_0.arg1 = s.arg0; - s.tmp_0.arg2 = 2; - s.tmp_0.arg3 = 2; - s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = globals.font5___298006; - s.tmp_0.arg6 = undefined; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - r0 = pxsim_pxtcore.updateStats(s.arg0); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P324858.info = {"start":1268,"length":185,"line":36,"column":39,"endLine":41,"endColumn":9,"fileName":"pxt_modules/screen---st7735/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} -inline__P324858.info = {"start":1268,"length":185,"line":36,"column":39,"endLine":41,"endColumn":9,"fileName":"pxt_modules/screen---st7735/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} - -function inline__P324858_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P324858, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function _screen_internal_setupScreenStatusBar__P298050(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 = undefined; - return leave(s, r0) - default: oops() -} } } -_screen_internal_setupScreenStatusBar__P298050.info = {"start":877,"length":65,"line":26,"column":4,"endLine":26,"endColumn":69,"fileName":"pxt_modules/screen---st7735/targetoverrides.ts","functionName":"setupScreenStatusBar","argumentNames":["barHeight"]} -_screen_internal_setupScreenStatusBar__P298050.info = {"start":877,"length":65,"line":26,"column":4,"endLine":26,"endColumn":69,"fileName":"pxt_modules/screen---st7735/targetoverrides.ts","functionName":"setupScreenStatusBar","argumentNames":["barHeight"]} - -function _screen_internal_setupScreenStatusBar__P298050_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: _screen_internal_setupScreenStatusBar__P298050, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function _screen_internal_updateScreenStatusBar__P298049(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 = undefined; - return leave(s, r0) - default: oops() -} } } -_screen_internal_updateScreenStatusBar__P298049.info = {"start":774,"length":59,"line":24,"column":4,"endLine":24,"endColumn":63,"fileName":"pxt_modules/screen---st7735/targetoverrides.ts","functionName":"updateScreenStatusBar","argumentNames":["img"]} -_screen_internal_updateScreenStatusBar__P298049.info = {"start":774,"length":59,"line":24,"column":4,"endLine":24,"endColumn":63,"fileName":"pxt_modules/screen---st7735/targetoverrides.ts","functionName":"updateScreenStatusBar","argumentNames":["img"]} - -function _screen_internal_updateScreenStatusBar__P298049_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: _screen_internal_updateScreenStatusBar__P298049, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function control___screen_setupUpdate__P298015(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; - } - globals.__updated___298013 = (true); - globals.__update___298011 = (s.arg0); - s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.arg0; - setupLambda(s.tmp_0, s.tmp_0.argL); - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -control___screen_setupUpdate__P298015.info = {"start":198,"length":125,"line":10,"column":4,"endLine":14,"endColumn":5,"fileName":"pxt_modules/screen---st7735/frame.ts","functionName":"setupUpdate","argumentNames":["update"]} -control___screen_setupUpdate__P298015.info = {"start":198,"length":125,"line":10,"column":4,"endLine":14,"endColumn":5,"fileName":"pxt_modules/screen---st7735/frame.ts","functionName":"setupUpdate","argumentNames":["update"]} - -function control___screen_setupUpdate__P298015_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: control___screen_setupUpdate__P298015, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function scene_systemMenu_register__P299042(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.instance___299009); - if (!r0) { step = 1; continue; } - { step = 3; continue; } - case 1: - case 2: - s.tmp_0 = controller_Button_onEvent__P298158_mk(s); - s.tmp_0.arg0 = globals.menu___298136; - s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P299043; - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - case 3: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_register__P299042.info = {"start":12331,"length":193,"line":372,"column":4,"endLine":376,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"register","argumentNames":[]} -scene_systemMenu_register__P299042.info = {"start":12331,"length":193,"line":372,"column":4,"endLine":376,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"register","argumentNames":[]} - -function scene_systemMenu_register__P299042_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_register__P299042, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function scene_systemMenu_showSystemMenu__P299043(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.instance___299009); - if (!r0) { step = 1; continue; } - { step = 3; continue; } - case 1: - case 2: - s.tmp_0 = game_pushScene__P298728_mk(s); - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C299021_VT); - s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P299028_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P299039; - s.tmp_1.arg2 = undefined; - s.pc = 5; return s.tmp_1; - case 5: - r0 = s.retval; - globals.instance___299009 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P299022_mk(s); - s.tmp_0.arg0 = globals.instance___299009; - s.pc = 6; return s.tmp_0; - case 6: - r0 = s.retval; - case 3: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_showSystemMenu__P299043.info = {"start":12530,"length":172,"line":378,"column":4,"endLine":383,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"showSystemMenu","argumentNames":[]} -scene_systemMenu_showSystemMenu__P299043.info = {"start":12530,"length":172,"line":378,"column":4,"endLine":383,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"showSystemMenu","argumentNames":[]} - -function scene_systemMenu_showSystemMenu__P299043_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_showSystemMenu__P299043, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, -} } - - - - - -function scene_systemMenu_buildOptionList__P299039(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.options___325490 = undefined; - r0 = pxsim_Array__mk(); - s.options___325490 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C299012_VT); - s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P299020_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___299070; - s.tmp_1.arg2 = inline__P325498; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P299031; - s.pc = 5; return s.tmp_1; - case 5: - r0 = s.retval; - r0 = pxsim_Array__push(s.options___325490, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C299012_VT); - s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P299020_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___299061; - s.tmp_1.arg2 = inline__P325512; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P299030; - s.pc = 6; return s.tmp_1; - case 6: - r0 = s.retval; - r0 = pxsim_Array__push(s.options___325490, 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__C299012_VT); - s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P299020_mk(s); - s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___299064; - s.tmp_2.arg2 = inline__P325527; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P299033; - s.pc = 7; return s.tmp_2; - case 7: - r0 = s.retval; - r0 = pxsim_Array__push(s.options___325490, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C299012_VT); - s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P299020_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___299079; - s.tmp_1.arg2 = inline__P325543; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P299032; - s.pc = 8; return s.tmp_1; - case 8: - r0 = s.retval; - r0 = pxsim_Array__push(s.options___325490, s.tmp_0); - case 1: - case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C299012_VT); - s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P299020_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___299082; - s.tmp_1.arg2 = inline__P325558; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P299034; - s.pc = 9; return s.tmp_1; - case 9: - r0 = s.retval; - r0 = pxsim_Array__push(s.options___325490, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C299012_VT); - s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P299020_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___299076; - s.tmp_1.arg2 = inline__P325567; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P299035; - s.pc = 10; return s.tmp_1; - case 10: - r0 = s.retval; - r0 = pxsim_Array__push(s.options___325490, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C299012_VT); - s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P299020_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___299073; - s.tmp_1.arg2 = inline__P325576; - s.tmp_1.arg3 = scene_systemMenu_sleep__P299036; - s.pc = 11; return s.tmp_1; - case 11: - r0 = s.retval; - r0 = pxsim_Array__push(s.options___325490, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___299010); - if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P297634_mk(s); - s.tmp_0.arg0 = s.options___325490; - s.tmp_0.arg1 = globals.customMenuOptions___299010; - s.pc = 12; return s.tmp_0; - case 12: - r0 = s.retval; - s.options___325490 = (r0); - case 3: - case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C299012_VT); - s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P299020_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___299067; - s.tmp_1.arg2 = inline__P325589; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P299037; - s.pc = 13; return s.tmp_1; - case 13: - r0 = s.retval; - r0 = pxsim_Array__push(s.options___325490, s.tmp_0); - r0 = s.options___325490; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_buildOptionList__P299039.info = {"start":10037,"length":1149,"line":324,"column":4,"endLine":344,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"buildOptionList","argumentNames":[]} -scene_systemMenu_buildOptionList__P299039.info = {"start":10037,"length":1149,"line":324,"column":4,"endLine":344,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"buildOptionList","argumentNames":[]} - -function scene_systemMenu_buildOptionList__P299039_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_buildOptionList__P299039, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - options___325490: undefined, -} } - - - - - -function inline__P325498(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_3 = music_volume__P300207_mk(s); - s.pc = 1; return s.tmp_3; - case 1: - r0 = s.retval; - s.tmp_2 = r0; - if ((s.tmp_2) && (s.tmp_2).vtable) { - setupResume(s, 2); - pxsim_String__stringConv(s.tmp_2); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_2) + ""; } - case 2: - r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_String__concat("VOLUME DOWN (", s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_String__concat(s.tmp_0, ")"); - return leave(s, r0) - default: oops() -} } } -inline__P325498.info = {"start":10182,"length":39,"line":327,"column":54,"endLine":327,"endColumn":93,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P325498.info = {"start":10182,"length":39,"line":327,"column":54,"endLine":327,"endColumn":93,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} - -function inline__P325498_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325498, 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 inline__P325512(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_3 = music_volume__P300207_mk(s); - s.pc = 1; return s.tmp_3; - case 1: - r0 = s.retval; - s.tmp_2 = r0; - if ((s.tmp_2) && (s.tmp_2).vtable) { - setupResume(s, 2); - pxsim_String__stringConv(s.tmp_2); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_2) + ""; } - case 2: - r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_String__concat("VOLUME UP (", s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_String__concat(s.tmp_0, ")"); - return leave(s, r0) - default: oops() -} } } -inline__P325512.info = {"start":10289,"length":37,"line":328,"column":52,"endLine":328,"endColumn":89,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P325512.info = {"start":10289,"length":37,"line":328,"column":52,"endLine":328,"endColumn":89,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} - -function inline__P325512_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325512, 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 inline__P325527(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 = globals.brightness___297976; - s.tmp_2 = r0; - if ((s.tmp_2) && (s.tmp_2).vtable) { - setupResume(s, 1); - pxsim_String__stringConv(s.tmp_2); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_2) + ""; } - case 1: - r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_String__concat("BRIGHTNESS DOWN (", s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_String__concat(s.tmp_0, ")"); - return leave(s, r0) - default: oops() -} } } -inline__P325527.info = {"start":10448,"length":48,"line":330,"column":62,"endLine":330,"endColumn":110,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P325527.info = {"start":10448,"length":48,"line":330,"column":62,"endLine":330,"endColumn":110,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} - -function inline__P325527_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325527, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, -} } - - - - - -function inline__P325543(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 = globals.brightness___297976; - s.tmp_2 = r0; - if ((s.tmp_2) && (s.tmp_2).vtable) { - setupResume(s, 1); - pxsim_String__stringConv(s.tmp_2); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_2) + ""; } - case 1: - r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_String__concat("BRIGHTNESS UP (", s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_String__concat(s.tmp_0, ")"); - return leave(s, r0) - default: oops() -} } } -inline__P325543.info = {"start":10576,"length":46,"line":331,"column":60,"endLine":331,"endColumn":106,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P325543.info = {"start":10576,"length":46,"line":331,"column":60,"endLine":331,"endColumn":106,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} - -function inline__P325543_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325543, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, -} } - - - - - -function inline__P325558(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.stats___298707); - if (!r0) { step = 1; continue; } - r0 = "HIDE STATS"; - { step = 2; continue; } - case 1: - r0 = "SHOW STATS"; - case 2: - // jmp value (already in r0) - s.tmp_0 = r0; - r0 = s.tmp_0; - return leave(s, r0) - default: oops() -} } } -inline__P325558.info = {"start":10698,"length":46,"line":333,"column":48,"endLine":333,"endColumn":94,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P325558.info = {"start":10698,"length":46,"line":333,"column":48,"endLine":333,"endColumn":94,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} - -function inline__P325558_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325558, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function inline__P325567(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.consoleStrings___299086); - s.tmp_3 = r0; - r0 = pxsim_Boolean__bang(s.tmp_3); - 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 = "HIDE CONSOLE"; - { step = 2; continue; } - case 1: - r0 = "SHOW CONSOLE"; - case 2: - // jmp value (already in r0) - s.tmp_4 = r0; - r0 = s.tmp_4; - return leave(s, r0) - default: oops() -} } } -inline__P325567.info = {"start":10811,"length":71,"line":334,"column":50,"endLine":334,"endColumn":121,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P325567.info = {"start":10811,"length":71,"line":334,"column":50,"endLine":334,"endColumn":121,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} - -function inline__P325567_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325567, 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, -} } - - - - - -function inline__P325576(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 = "SLEEP"; - return leave(s, r0) - default: oops() -} } } -inline__P325576.info = {"start":10949,"length":13,"line":335,"column":48,"endLine":335,"endColumn":61,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P325576.info = {"start":10949,"length":13,"line":335,"column":48,"endLine":335,"endColumn":61,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} - -function inline__P325576_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325576, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, -} } - - - - - -function inline__P325589(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 = "CLOSE"; - return leave(s, r0) - default: oops() -} } } -inline__P325589.info = {"start":11128,"length":13,"line":341,"column":53,"endLine":341,"endColumn":66,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P325589.info = {"start":11128,"length":13,"line":341,"column":53,"endLine":341,"endColumn":66,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} - -function inline__P325589_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325589, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, -} } - - - - - -function scene_systemMenu_setScreenBrightnessSupported__P299038(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 = 0; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_setScreenBrightnessSupported__P299038.info = {"start":9936,"length":95,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"setScreenBrightnessSupported","argumentNames":[]} -scene_systemMenu_setScreenBrightnessSupported__P299038.info = {"start":9936,"length":95,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"setScreenBrightnessSupported","argumentNames":[]} - -function scene_systemMenu_setScreenBrightnessSupported__P299038_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P299038, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, -} } - - - - - -function scene_systemMenu_closeMenu__P299037(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.instance___299009); - if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P299026_mk(s); - s.tmp_0.arg0 = globals.instance___299009; - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - globals.instance___299009 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P298205_mk(s); - s.tmp_0.arg0 = true; - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - s.tmp_0 = game_popScene__P298729_mk(s); - s.pc = 5; return s.tmp_0; - case 5: - r0 = s.retval; - case 1: - case 2: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_closeMenu__P299037.info = {"start":9667,"length":216,"line":310,"column":4,"endLine":317,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"closeMenu","argumentNames":[]} -scene_systemMenu_closeMenu__P299037.info = {"start":9667,"length":216,"line":310,"column":4,"endLine":317,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"closeMenu","argumentNames":[]} - -function scene_systemMenu_closeMenu__P299037_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_closeMenu__P299037, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function scene_systemMenu_PauseMenu_dispose__P299026(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_systemMenu_PauseMenu__C299021_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__P297630_mk(s); - r0 = s.arg0.fields["options"]; - s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = inline__P325351; - s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - r0 = (s.arg0).fields["options"] = (undefined); - case 1: - case 2: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_PauseMenu_dispose__P299026.info = {"start":7732,"length":165,"line":243,"column":8,"endLine":248,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"dispose","argumentNames":["this"]} -scene_systemMenu_PauseMenu_dispose__P299026.info = {"start":7732,"length":165,"line":243,"column":8,"endLine":248,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"dispose","argumentNames":["this"]} - -function scene_systemMenu_PauseMenu_dispose__P299026_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P299026, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - arg0: undefined, -} } - - - - - -function inline__P325351(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 = scene_systemMenu_MenuOption_dispose__P299018_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__P325351.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":["o"]} -inline__P325351.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":["o"]} - -function inline__P325351_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325351, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function scene_systemMenu_MenuOption_dispose__P299018(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_systemMenu_MenuOption__C299012_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__P298274_mk(s); - r0 = s.arg0.fields["card"]; - s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = undefined; - s.tmp_1.arg2 = undefined; - s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - s.tmp_0 = Sprite_destroy__P298274_mk(s); - r0 = s.arg0.fields["icon"]; - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = undefined; - s.tmp_0.arg2 = undefined; - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - r0 = (s.arg0).fields["card"] = (undefined); - r0 = (s.arg0).fields["icon"] = (undefined); - case 1: - case 2: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_MenuOption_dispose__P299018.info = {"start":1812,"length":216,"line":77,"column":8,"endLine":84,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"dispose","argumentNames":["this"]} -scene_systemMenu_MenuOption_dispose__P299018.info = {"start":1812,"length":216,"line":77,"column":8,"endLine":84,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"dispose","argumentNames":["this"]} - -function scene_systemMenu_MenuOption_dispose__P299018_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P299018, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - arg0: undefined, -} } - - - - - -function scene_systemMenu_sleep__P299036(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_pxtcore.deepSleep(); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_sleep__P299036.info = {"start":9610,"length":51,"line":306,"column":4,"endLine":308,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"sleep","argumentNames":[]} -scene_systemMenu_sleep__P299036.info = {"start":9610,"length":51,"line":306,"column":4,"endLine":308,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"sleep","argumentNames":[]} - -function scene_systemMenu_sleep__P299036_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_sleep__P299036, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, -} } - - - - - -function scene_systemMenu_toggleConsole__P299035(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.consoleStrings___299086); - s.tmp_3 = r0; - r0 = pxsim_Boolean__bang(s.tmp_3); - 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; } - s.tmp_4 = game_consoleOverlay_setVisible__P299125_mk(s); - s.tmp_4.arg0 = false; - s.tmp_4.arg1 = undefined; - s.pc = 3; return s.tmp_4; - case 3: - r0 = s.retval; - { step = 2; continue; } - case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P299125_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__P297810_mk(s); - s.tmp_0.arg0 = "console"; - s.pc = 5; return s.tmp_0; - case 5: - r0 = s.retval; - case 2: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_toggleConsole__P299035.info = {"start":9365,"length":239,"line":297,"column":4,"endLine":304,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"toggleConsole","argumentNames":[]} -scene_systemMenu_toggleConsole__P299035.info = {"start":9365,"length":239,"line":297,"column":4,"endLine":304,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"toggleConsole","argumentNames":[]} - -function scene_systemMenu_toggleConsole__P299035_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_toggleConsole__P299035, 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, -} } - - - - - -function scene_systemMenu_toggleStats__P299034(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.stats___298707); - s.tmp_0 = r0; - r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___298707 = (r0); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_toggleStats__P299034.info = {"start":9295,"length":64,"line":293,"column":4,"endLine":295,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"toggleStats","argumentNames":[]} -scene_systemMenu_toggleStats__P299034.info = {"start":9295,"length":64,"line":293,"column":4,"endLine":295,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"toggleStats","argumentNames":[]} - -function scene_systemMenu_toggleStats__P299034_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_toggleStats__P299034, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function scene_systemMenu_brightnessDown__P299033(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_0 = helpers_setScreenBrightness__P297994_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - r0 = globals.brightness___297976; - s.tmp_1 = r0; - r0 = (s.tmp_1 - 10); - s.tmp_0.arg1 = r0; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_brightnessDown__P299033.info = {"start":9200,"length":89,"line":289,"column":4,"endLine":291,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"brightnessDown","argumentNames":[]} -scene_systemMenu_brightnessDown__P299033.info = {"start":9200,"length":89,"line":289,"column":4,"endLine":291,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"brightnessDown","argumentNames":[]} - -function scene_systemMenu_brightnessDown__P299033_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_brightnessDown__P299033, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, -} } - - - - - -function helpers_setScreenBrightness__P297994(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; - } - s.tmp_0 = Math_clamp__P297643_mk(s); - s.tmp_0.arg0 = 10; - s.tmp_0.arg1 = 100; - r0 = (s.arg1 | 0); - s.tmp_0.arg2 = r0; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - s.arg1 = (r0); - globals.brightness___297976 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___297976); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -helpers_setScreenBrightness__P297994.info = {"start":6243,"length":210,"line":211,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/screen---st7735/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} -helpers_setScreenBrightness__P297994.info = {"start":6243,"length":210,"line":211,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/screen---st7735/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} - -function helpers_setScreenBrightness__P297994_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: helpers_setScreenBrightness__P297994, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function scene_systemMenu_brightnessUp__P299032(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_0 = helpers_setScreenBrightness__P297994_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - r0 = globals.brightness___297976; - s.tmp_1 = r0; - r0 = (s.tmp_1 + 10); - s.tmp_0.arg1 = r0; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_brightnessUp__P299032.info = {"start":9107,"length":87,"line":285,"column":4,"endLine":287,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"brightnessUp","argumentNames":[]} -scene_systemMenu_brightnessUp__P299032.info = {"start":9107,"length":87,"line":285,"column":4,"endLine":287,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"brightnessUp","argumentNames":[]} - -function scene_systemMenu_brightnessUp__P299032_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_brightnessUp__P299032, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, -} } - - - - - -function scene_systemMenu_volumeDown__P299031(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.v___325730 = undefined; - s.remainder___325733 = undefined; - s.newVolume___325736 = undefined; - s.tmp_0 = music_volume__P300207_mk(s); - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - s.v___325730 = (r0); - r0 = (s.v___325730 % 32); - s.remainder___325733 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___325733); - if (!r0) { step = 1; continue; } - r0 = s.remainder___325733; - { step = 2; continue; } - case 1: - r0 = 32; - case 2: - // jmp value (already in r0) - s.tmp_0 = r0; - r0 = (s.v___325730 - s.tmp_0); - s.newVolume___325736 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P299029_mk(s); - s.tmp_0.arg0 = s.newVolume___325736; - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_volumeDown__P299031.info = {"start":8914,"length":187,"line":278,"column":4,"endLine":283,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"volumeDown","argumentNames":[]} -scene_systemMenu_volumeDown__P299031.info = {"start":8914,"length":187,"line":278,"column":4,"endLine":283,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"volumeDown","argumentNames":[]} - -function scene_systemMenu_volumeDown__P299031_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_volumeDown__P299031, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - v___325730: undefined, - remainder___325733: undefined, - newVolume___325736: undefined, -} } - - - - - -function scene_systemMenu_setVolume__P299029(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 = music_setVolume__P300206_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__P300209_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__P298072_mk(s); - s.tmp_0.arg0 = "#volume"; - s.tmp_0.arg1 = s.arg0; - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_setVolume__P299029.info = {"start":8565,"length":166,"line":265,"column":4,"endLine":269,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"setVolume","argumentNames":["newVolume"]} -scene_systemMenu_setVolume__P299029.info = {"start":8565,"length":166,"line":265,"column":4,"endLine":269,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"setVolume","argumentNames":["newVolume"]} - -function scene_systemMenu_setVolume__P299029_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_setVolume__P299029, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function music_playTone__P300209(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.id___325662 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = pxsim_pxtrt.mklocRef(); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); - s.arg1 = (s.tmp_0); - r0 = pxsim_pxtrt_ldlocRef(s.arg1); - s.tmp_2 = r0; - r0 = (s.tmp_2 == 0); - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 1; continue; } - r0 = pxsim_pxtrt_stlocRef(s.arg1, 86400000); - case 1: - case 2: - r0 = pxsim_pxtrt_ldlocRef(s.arg1); - s.tmp_1 = r0; - r0 = (s.tmp_1 <= 2000); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P300208_mk(s); - s.tmp_2.arg0 = 0; - s.tmp_2.arg1 = s.arg0; - r0 = pxsim_pxtrt_ldlocRef(s.arg1); - s.tmp_2.arg2 = r0; - s.pc = 5; return s.tmp_2; - case 5: - r0 = s.retval; - s.tmp_0 = pause__P297860_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.arg1); - s.tmp_0.arg0 = r0; - s.pc = 6; return s.tmp_0; - case 6: - r0 = s.retval; - { step = 4; continue; } - case 3: - r0 = (globals.playToneID___300211 + 1); - s.tmp_0 = r0; - globals.playToneID___300211 = (r0); - s.id___325662 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, inline__P325668); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___325662); - 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); - case 4: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -music_playTone__P300209.info = {"start":2591,"length":831,"line":83,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} -music_playTone__P300209.info = {"start":2591,"length":831,"line":83,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} - -function music_playTone__P300209_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_playTone__P300209, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - id___325662: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function inline__P325668(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.pos___325669 = undefined; - s.now___325679 = undefined; - s.d___325682 = undefined; - s.t___325686 = undefined; - r0 = pxsim.control.millis(); - s.pos___325669 = (r0); - case 1: - r0 = (s.caps[0] == globals.playToneID___300211); - 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_pxtrt_ldlocRef(s.caps[1]); - 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 = 6; continue; } - r0 = pxsim.control.millis(); - s.now___325679 = (r0); - r0 = (s.pos___325669 - s.now___325679); - s.d___325682 = (r0); - s.tmp_0 = Math_min__P297647_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___325686 = (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___325686); - s.tmp_1 = r0; - r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___325669 + s.t___325686); - s.pos___325669 = (r0); - s.tmp_0 = music_playNoteCore__P300208_mk(s); - r0 = (s.d___325682 - 1); - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___325686; - s.pc = 8; return s.tmp_0; - case 8: - r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); - s.tmp_1 = r0; - r0 = (s.tmp_1 == 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 4; continue; } - s.tmp_2 = pause__P297860_mk(s); - r0 = (s.d___325682 + s.t___325686); - 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__P297860_mk(s); - r0 = (s.d___325682 + s.t___325686); - s.tmp_1 = r0; - r0 = (s.tmp_1 - 100); - s.tmp_0.arg0 = r0; - s.pc = 10; return s.tmp_0; - case 10: - r0 = s.retval; - case 5: - { step = 1; continue; } - case 6: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P325668.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"inline","argumentNames":[]} -inline__P325668.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"inline","argumentNames":[]} - -function inline__P325668_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325668, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - pos___325669: undefined, - now___325679: undefined, - d___325682: undefined, - t___325686: undefined, -} } - - - - - -function music_playNoteCore__P300208(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.buf___325716 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.lambdaArgs = null; - } - r0 = pxsim.control.createBuffer(12); - s.buf___325716 = (r0); - s.tmp_0 = music_addNote__P300228_mk(s); - s.tmp_0.arg0 = s.buf___325716; - 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__P300207_mk(s); - s.pc = 2; return s.tmp_1; - case 2: - r0 = s.retval; - s.tmp_0.arg7 = r0; - s.tmp_0.arg8 = s.arg1; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___325716); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -music_playNoteCore__P300208.info = {"start":1877,"length":240,"line":66,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"playNoteCore","argumentNames":["when","frequency","ms"]} -music_playNoteCore__P300208.info = {"start":1877,"length":240,"line":66,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"playNoteCore","argumentNames":["when","frequency","ms"]} - -function music_playNoteCore__P300208_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_playNoteCore__P300208, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - buf___325716: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, -} } - - - - - -function scene_systemMenu_volumeUp__P299030(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.v___325630 = undefined; - s.remainder___325633 = undefined; - s.newVolume___325636 = undefined; - s.tmp_0 = music_volume__P300207_mk(s); - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - s.v___325630 = (r0); - r0 = (s.v___325630 % 32); - s.remainder___325633 = (r0); - r0 = (s.v___325630 + 32); - s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___325633); - s.newVolume___325636 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P299029_mk(s); - s.tmp_0.arg0 = s.newVolume___325636; - s.pc = 2; return s.tmp_0; - case 2: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_volumeUp__P299030.info = {"start":8737,"length":171,"line":271,"column":4,"endLine":276,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"volumeUp","argumentNames":[]} -scene_systemMenu_volumeUp__P299030.info = {"start":8737,"length":171,"line":271,"column":4,"endLine":276,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"volumeUp","argumentNames":[]} - -function scene_systemMenu_volumeUp__P299030_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_volumeUp__P299030, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - v___325630: undefined, - remainder___325633: undefined, - newVolume___325636: undefined, -} } - - - - - -function helpers_screenBrightness__P297995(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 = globals.brightness___297976; - return leave(s, r0) - default: oops() -} } } -helpers_screenBrightness__P297995.info = {"start":6459,"length":98,"line":217,"column":4,"endLine":219,"endColumn":5,"fileName":"pxt_modules/screen---st7735/image.ts","functionName":"screenBrightness","argumentNames":["img"]} -helpers_screenBrightness__P297995.info = {"start":6459,"length":98,"line":217,"column":4,"endLine":219,"endColumn":5,"fileName":"pxt_modules/screen---st7735/image.ts","functionName":"screenBrightness","argumentNames":["img"]} - -function helpers_screenBrightness__P297995_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: helpers_screenBrightness__P297995, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function scene_systemMenu_PauseMenu_constructor__P299028(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, scene_systemMenu_PauseMenu__C299021_VT)) failedCast(r0); - r0 = (s.arg0).fields["generator"] = (s.arg1); - 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 = scene_systemMenu_buildMenuTheme__P299040_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___299052); - s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = 3; - s.tmp_1.arg2 = undefined; - s.tmp_1.arg3 = undefined; - s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - case 2: - // jmp value (already in r0) - s.tmp_2 = r0; - r0 = (s.arg0).fields["theme"] = (s.tmp_2); - r0 = (s.arg0).fields["scrollRow"] = (0); - r0 = (s.arg0).fields["scrollOffset"] = (0); - r0 = (s.arg0).fields["scrollTarget"] = (0); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_PauseMenu_constructor__P299028.info = {"start":3029,"length":257,"line":116,"column":8,"endLine":121,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":["this","generator","theme"]} -scene_systemMenu_PauseMenu_constructor__P299028.info = {"start":3029,"length":257,"line":116,"column":8,"endLine":121,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":["this","generator","theme"]} - -function scene_systemMenu_PauseMenu_constructor__P299028_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P299028, 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, - arg2: undefined, -} } - - - - - -function scene_systemMenu_buildMenuTheme__P299040(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.cardsPerRow___325764 = 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_ImageMethods.width(globals.screen___298046); - 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___325764 = (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___297999; - case 2: - // jmp value (already in r0) - s.tmp_1 = r0; - s.arg2 = (s.tmp_1); - 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: - s.tmp_1 = image_doubledFont__P298003_mk(s); - s.tmp_1.arg0 = s.arg2; - s.pc = 5; return s.tmp_1; - case 5: - r0 = s.retval; - case 4: - // jmp value (already in r0) - s.tmp_2 = r0; - s.arg3 = (s.tmp_2); - r0 = pxsim_pxtrt.mkMap(); - 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___325764); - r0 = pxsim_ImageMethods.width(globals.screen___298046); - s.tmp_3 = r0; - r0 = (s.cardsPerRow___325764 * s.arg0); - s.tmp_5 = r0; - r0 = (s.cardsPerRow___325764 - 1); - s.tmp_7 = r0; - r0 = (s.tmp_7 * s.arg1); - s.tmp_6 = r0; - r0 = (s.tmp_5 + s.tmp_6); - s.tmp_4 = r0; - r0 = (s.tmp_3 - s.tmp_4); - s.tmp_2 = r0; - r0 = (s.tmp_2 >> 1); - s.tmp_1 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "padding", s.tmp_1); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "infoFont", s.arg2); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "headerFont", s.arg3); - s.tmp_11 = if_charHeight_1_mk(s); - s.tmp_11.arg0 = s.arg3; - if (!s.tmp_11.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_11.arg0, "charHeight"); - } else { - s.tmp_11.fn = s.tmp_11.arg0.vtable.iface["charHeight"]; - if (s.tmp_11.fn == null) { s.retval = s.tmp_11.arg0.fields["charHeight"]; } - else if (!s.tmp_11.fn.isGetter) { s.retval = bind(s.tmp_11); } - else { s.pc = 6; return s.tmp_11; } - } - case 6: - r0 = s.retval; - s.tmp_10 = r0; - r0 = (s.tmp_10 + 2); - s.tmp_9 = r0; - 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___298046); - s.tmp_14 = r0; - s.tmp_16 = if_charHeight_1_mk(s); - s.tmp_16.arg0 = s.arg2; - if (!s.tmp_16.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_16.arg0, "charHeight"); - } else { - s.tmp_16.fn = s.tmp_16.arg0.vtable.iface["charHeight"]; - if (s.tmp_16.fn == null) { s.retval = s.tmp_16.arg0.fields["charHeight"]; } - else if (!s.tmp_16.fn.isGetter) { s.retval = bind(s.tmp_16); } - else { s.pc = 7; return s.tmp_16; } - } - case 7: - r0 = s.retval; - s.tmp_15 = r0; - r0 = (s.tmp_14 - s.tmp_15); - s.tmp_13 = r0; - r0 = (s.tmp_13 - 2); - 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___299055); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___299058); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___299052); - r0 = s.tmp_0; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_buildMenuTheme__P299040.info = {"start":11192,"length":906,"line":346,"column":4,"endLine":365,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"buildMenuTheme","argumentNames":["cardWidth","cardSpacing","infoFont","headerFont"]} -scene_systemMenu_buildMenuTheme__P299040.info = {"start":11192,"length":906,"line":346,"column":4,"endLine":365,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"buildMenuTheme","argumentNames":["cardWidth","cardSpacing","infoFont","headerFont"]} - -function scene_systemMenu_buildMenuTheme__P299040_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P299040, 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, - tmp_12: undefined, - tmp_13: undefined, - tmp_14: undefined, - tmp_15: undefined, - tmp_16: undefined, - cardsPerRow___325764: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, - arg3: undefined, -} } - - - - - -function image_doubledFont__P298003(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 = image_scaledFont__P298004_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = 2; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - return leave(s, r0) - default: oops() -} } } -image_doubledFont__P298003.info = {"start":12008,"length":82,"line":146,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/screen---st7735/text.ts","functionName":"doubledFont","argumentNames":["f"]} -image_doubledFont__P298003.info = {"start":12008,"length":82,"line":146,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/screen---st7735/text.ts","functionName":"doubledFont","argumentNames":["f"]} - -function image_doubledFont__P298003_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: image_doubledFont__P298003, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function image_scaledFont__P298004(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.arg1 | 0); - s.arg1 = (r0); - r0 = (s.arg1 < 2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = s.arg0; - { step = 5; continue; } - case 1: - case 2: - r0 = pxsim_pxtrt.mkMap(); - s.tmp_1 = r0; - s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = s.arg0; - if (!s.tmp_4.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); - } else { - s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charWidth"]; - if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charWidth"]; } - else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.pc = 6; return s.tmp_4; } - } - case 6: - r0 = s.retval; - s.tmp_3 = r0; - r0 = (s.tmp_3 * s.arg1); - s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_1, "charWidth", s.tmp_2); - s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.arg0; - if (!s.tmp_7.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); - } else { - s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["charHeight"]; - if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["charHeight"]; } - else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.pc = 7; return s.tmp_7; } - } - case 7: - r0 = s.retval; - s.tmp_6 = r0; - r0 = (s.tmp_6 * s.arg1); - s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_1, "charHeight", s.tmp_5); - s.tmp_9 = if_data_1_mk(s); - s.tmp_9.arg0 = s.arg0; - if (!s.tmp_9.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_9.arg0, "data"); - } else { - s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["data"]; - if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["data"]; } - else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } - else { s.pc = 8; return s.tmp_9; } - } - case 8: - r0 = s.retval; - s.tmp_8 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_1, "data", s.tmp_8); - s.tmp_11 = if_multiplier_1_mk(s); - s.tmp_11.arg0 = s.arg0; - if (!s.tmp_11.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_11.arg0, "multiplier"); - } else { - s.tmp_11.fn = s.tmp_11.arg0.vtable.iface["multiplier"]; - if (s.tmp_11.fn == null) { s.retval = s.tmp_11.arg0.fields["multiplier"]; } - else if (!s.tmp_11.fn.isGetter) { s.retval = bind(s.tmp_11); } - else { s.pc = 9; return s.tmp_11; } - } - case 9: - r0 = s.retval; - s.tmp_10 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_10); - if (!r0) { step = 3; continue; } - s.tmp_12 = r0 = s.arg1; - s.tmp_14 = if_multiplier_1_mk(s); - s.tmp_14.arg0 = s.arg0; - if (!s.tmp_14.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_14.arg0, "multiplier"); - } else { - s.tmp_14.fn = s.tmp_14.arg0.vtable.iface["multiplier"]; - if (s.tmp_14.fn == null) { s.retval = s.tmp_14.arg0.fields["multiplier"]; } - else if (!s.tmp_14.fn.isGetter) { s.retval = bind(s.tmp_14); } - else { s.pc = 10; return s.tmp_14; } - } - case 10: - r0 = s.retval; - s.tmp_13 = r0; - r0 = (s.tmp_12 * s.tmp_13); - { step = 4; continue; } - case 3: - r0 = s.arg1; - case 4: - // jmp value (already in r0) - s.tmp_15 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_1, "multiplier", s.tmp_15); - r0 = s.tmp_1; - case 5: - return leave(s, r0) - default: oops() -} } } -image_scaledFont__P298004.info = {"start":12096,"length":331,"line":150,"column":4,"endLine":160,"endColumn":5,"fileName":"pxt_modules/screen---st7735/text.ts","functionName":"scaledFont","argumentNames":["f","size"]} -image_scaledFont__P298004.info = {"start":12096,"length":331,"line":150,"column":4,"endLine":160,"endColumn":5,"fileName":"pxt_modules/screen---st7735/text.ts","functionName":"scaledFont","argumentNames":["f","size"]} - -function image_scaledFont__P298004_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: image_scaledFont__P298004, 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, - tmp_12: undefined, - tmp_13: undefined, - tmp_14: undefined, - tmp_15: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function scene_systemMenu_PauseMenu_show__P299022(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.current___324906 = undefined; - s.i___324907 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C299021_VT)) failedCast(r0); - s.tmp_0 = r0 = s.arg0; - s.tmp_2 = if_generator_1_mk(s); - s.tmp_2.arg0 = s.arg0; - if (!s.tmp_2.arg0.vtable.iface) { - setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "generator"), 1); - s.pc = 3; return s.tmp_2; - } else { - s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["generator"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["generator"], 1); s.pc = 3; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.pc = 3; return s.tmp_2;; } - else { s.pc = 3; return s.tmp_2; } - } - case 3: - r0 = s.retval; - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["options"] = (s.tmp_1); - r0 = (s.arg0).fields["selection"] = (0); - s.i___324907 = (0); - case 1: - s.tmp_1 = r0 = s.i___324907; - r0 = s.arg0.fields["options"]; - 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 = 2; continue; } - r0 = s.arg0.fields["options"]; - s.tmp_4 = r0; - r0 = pxsim_Array__getAt(s.tmp_4, s.i___324907); - s.current___324906 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P299013_mk(s); - s.tmp_0.arg0 = s.current___324906; - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P299016_mk(s); - s.tmp_0.arg0 = s.current___324906; - 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__P299014_mk(s); - s.tmp_0.arg0 = s.current___324906; - s.tmp_2 = if_padding_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_2.arg0 = r0; - if (!s.tmp_2.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "padding"); - } else { - s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["padding"]; - if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["padding"]; } - else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.pc = 7; return s.tmp_2; } - } - case 7: - r0 = s.retval; - s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___324907; - s.tmp_7 = if_cardsPerRow_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_7.arg0 = r0; - if (!s.tmp_7.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "cardsPerRow"); - } else { - s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["cardsPerRow"]; - if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["cardsPerRow"]; } - else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.pc = 8; return s.tmp_7; } - } - case 8: - r0 = s.retval; - s.tmp_6 = r0; - r0 = (s.tmp_5 % s.tmp_6); - s.tmp_4 = r0; - s.tmp_10 = if_cardWidth_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_10.arg0 = r0; - if (!s.tmp_10.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_10.arg0, "cardWidth"); - } else { - s.tmp_10.fn = s.tmp_10.arg0.vtable.iface["cardWidth"]; - if (s.tmp_10.fn == null) { s.retval = s.tmp_10.arg0.fields["cardWidth"]; } - else if (!s.tmp_10.fn.isGetter) { s.retval = bind(s.tmp_10); } - else { s.pc = 9; return s.tmp_10; } - } - case 9: - r0 = s.retval; - s.tmp_9 = r0; - s.tmp_12 = if_cardSpacing_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_12.arg0 = r0; - if (!s.tmp_12.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_12.arg0, "cardSpacing"); - } else { - s.tmp_12.fn = s.tmp_12.arg0.vtable.iface["cardSpacing"]; - if (s.tmp_12.fn == null) { s.retval = s.tmp_12.arg0.fields["cardSpacing"]; } - else if (!s.tmp_12.fn.isGetter) { s.retval = bind(s.tmp_12); } - else { s.pc = 10; return s.tmp_12; } - } - case 10: - r0 = s.retval; - s.tmp_11 = r0; - r0 = (s.tmp_9 + s.tmp_11); - s.tmp_8 = r0; - r0 = (s.tmp_4 * s.tmp_8); - s.tmp_3 = r0; - r0 = (s.tmp_1 + s.tmp_3); - s.tmp_0.arg1 = r0; - s.tmp_14 = if_cardsTop_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_14.arg0 = r0; - if (!s.tmp_14.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_14.arg0, "cardsTop"); - } else { - s.tmp_14.fn = s.tmp_14.arg0.vtable.iface["cardsTop"]; - if (s.tmp_14.fn == null) { s.retval = s.tmp_14.arg0.fields["cardsTop"]; } - else if (!s.tmp_14.fn.isGetter) { s.retval = bind(s.tmp_14); } - else { s.pc = 11; return s.tmp_14; } - } - case 11: - r0 = s.retval; - s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___324907; - s.tmp_19 = if_cardsPerRow_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_19.arg0 = r0; - if (!s.tmp_19.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_19.arg0, "cardsPerRow"); - } else { - s.tmp_19.fn = s.tmp_19.arg0.vtable.iface["cardsPerRow"]; - if (s.tmp_19.fn == null) { s.retval = s.tmp_19.arg0.fields["cardsPerRow"]; } - else if (!s.tmp_19.fn.isGetter) { s.retval = bind(s.tmp_19); } - else { s.pc = 12; return s.tmp_19; } - } - case 12: - r0 = s.retval; - s.tmp_18 = r0; - r0 = pxsim.Math_.idiv(s.tmp_17, s.tmp_18); - s.tmp_16 = r0; - s.tmp_22 = if_cardWidth_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_22.arg0 = r0; - if (!s.tmp_22.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_22.arg0, "cardWidth"); - } else { - s.tmp_22.fn = s.tmp_22.arg0.vtable.iface["cardWidth"]; - if (s.tmp_22.fn == null) { s.retval = s.tmp_22.arg0.fields["cardWidth"]; } - else if (!s.tmp_22.fn.isGetter) { s.retval = bind(s.tmp_22); } - else { s.pc = 13; return s.tmp_22; } - } - case 13: - r0 = s.retval; - s.tmp_21 = r0; - s.tmp_24 = if_cardSpacing_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_24.arg0 = r0; - if (!s.tmp_24.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_24.arg0, "cardSpacing"); - } else { - s.tmp_24.fn = s.tmp_24.arg0.vtable.iface["cardSpacing"]; - if (s.tmp_24.fn == null) { s.retval = s.tmp_24.arg0.fields["cardSpacing"]; } - else if (!s.tmp_24.fn.isGetter) { s.retval = bind(s.tmp_24); } - else { s.pc = 14; return s.tmp_24; } - } - case 14: - r0 = s.retval; - s.tmp_23 = r0; - r0 = (s.tmp_21 + s.tmp_23); - s.tmp_20 = r0; - r0 = (s.tmp_16 * s.tmp_20); - s.tmp_15 = r0; - r0 = (s.tmp_13 + s.tmp_15); - s.tmp_0.arg2 = r0; - s.pc = 6; return s.tmp_0; - case 6: - r0 = s.retval; - r0 = (s.i___324907 + 1); - s.i___324907 = (r0); - { step = 1; continue; } - case 2: - s.tmp_0 = controller__setUserEventsEnabled__P298205_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__P324975); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.A___298124; - 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__P324996); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.A___298124; - 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__P298158_mk(s); - s.tmp_0.arg0 = globals.B___298126; - s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P325025; - s.pc = 18; return s.tmp_0; - case 18: - r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P298158_mk(s); - s.tmp_0.arg0 = globals.menu___298136; - s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P325030; - s.pc = 19; return s.tmp_0; - case 19: - r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P325035); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.up___298130; - 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__P325047); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.left___298128; - 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__P325056); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.down___298134; - 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__P325072); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P298158_mk(s); - s.tmp_1.arg0 = globals.right___298132; - 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__P325084); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P298742_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__P299024_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = 0; - s.pc = 25; return s.tmp_0; - case 25: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_PauseMenu_show__P299022.info = {"start":3296,"length":2241,"line":123,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"show","argumentNames":["this"]} -scene_systemMenu_PauseMenu_show__P299022.info = {"start":3296,"length":2241,"line":123,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"show","argumentNames":["this"]} - -function scene_systemMenu_PauseMenu_show__P299022_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P299022, 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, - tmp_12: undefined, - tmp_13: undefined, - tmp_14: undefined, - tmp_15: undefined, - tmp_16: undefined, - tmp_17: undefined, - tmp_18: undefined, - tmp_19: undefined, - tmp_20: undefined, - tmp_21: undefined, - tmp_22: undefined, - tmp_23: undefined, - tmp_24: undefined, - current___324906: undefined, - i___324907: undefined, - arg0: undefined, -} } - - - - - -function inline__P324975(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["options"]; - 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_toBool(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } - case 1: - r0 = s.caps[0].fields["options"]; - s.tmp_5 = r0; - r0 = s.caps[0].fields["selection"]; - s.tmp_6 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.tmp_6); - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); - s.tmp_3 = r0; - r0 = pxsim_Boolean__bang(s.tmp_3); - case 2: - // jmp value (already in r0) - s.tmp_7 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_7); - if (!r0) { step = 3; continue; } - { step = 5; continue; } - case 3: - case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P299017_mk(s); - r0 = s.caps[0].fields["options"]; - s.tmp_9 = r0; - r0 = s.caps[0].fields["selection"]; - s.tmp_10 = r0; - r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); - s.tmp_8.arg0 = r0; - s.tmp_8.arg1 = 1; - s.pc = 6; return s.tmp_8; - case 6: - r0 = s.retval; - case 5: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P324975.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P324975.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} - -function inline__P324975_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P324975, 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, -} } - - - - - -function inline__P324996(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["options"]; - 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_toBool(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } - case 1: - r0 = s.caps[0].fields["options"]; - s.tmp_5 = r0; - r0 = s.caps[0].fields["selection"]; - s.tmp_6 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.tmp_6); - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); - s.tmp_3 = r0; - r0 = pxsim_Boolean__bang(s.tmp_3); - case 2: - // jmp value (already in r0) - s.tmp_7 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_7); - if (!r0) { step = 3; continue; } - { step = 5; continue; } - case 3: - case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P299017_mk(s); - r0 = s.caps[0].fields["options"]; - s.tmp_9 = r0; - r0 = s.caps[0].fields["selection"]; - s.tmp_10 = r0; - r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); - s.tmp_8.arg0 = r0; - s.tmp_8.arg1 = 0; - s.pc = 6; return s.tmp_8; - case 6: - r0 = s.retval; - r0 = s.caps[0].fields["options"]; - s.tmp_1 = r0; - r0 = s.caps[0].fields["selection"]; - s.tmp_2 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.tmp_2); - r0 = r0.fields["action"]; - s.tmp_0 = r0; - r0 = pxsim.control.runInParallel(s.tmp_0); - case 5: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P324996.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P324996.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} - -function inline__P324996_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P324996, 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, -} } - - - - - -function inline__P325025(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_0 = scene_systemMenu_closeMenu__P299037_mk(s); - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P325025.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P325025.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} - -function inline__P325025_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325025, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function inline__P325030(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_0 = scene_systemMenu_closeMenu__P299037_mk(s); - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P325030.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P325030.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} - -function inline__P325030_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325030, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function inline__P325035(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_0 = scene_systemMenu_PauseMenu_setSelection__P299024_mk(s); - s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P297646_mk(s); - s.tmp_1.arg0 = 0; - r0 = s.caps[0].fields["selection"]; - s.tmp_2 = r0; - s.tmp_4 = if_cardsPerRow_1_mk(s); - r0 = s.caps[0].fields["theme"]; - s.tmp_4.arg0 = r0; - if (!s.tmp_4.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "cardsPerRow"); - } else { - s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["cardsPerRow"]; - if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["cardsPerRow"]; } - else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.pc = 3; return s.tmp_4; } - } - case 3: - r0 = s.retval; - s.tmp_3 = r0; - r0 = (s.tmp_2 - s.tmp_3); - s.tmp_1.arg1 = r0; - s.pc = 2; return s.tmp_1; - case 2: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P325035.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P325035.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} - -function inline__P325035_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325035, 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, -} } - - - - - -function inline__P325047(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_0 = scene_systemMenu_PauseMenu_setSelection__P299024_mk(s); - s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P297646_mk(s); - s.tmp_1.arg0 = 0; - r0 = s.caps[0].fields["selection"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 - 1); - s.tmp_1.arg1 = r0; - s.pc = 2; return s.tmp_1; - case 2: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P325047.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P325047.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} - -function inline__P325047_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325047, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, -} } - - - - - -function inline__P325056(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_0 = scene_systemMenu_PauseMenu_setSelection__P299024_mk(s); - s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P297647_mk(s); - r0 = s.caps[0].fields["options"]; - s.tmp_3 = r0; - r0 = pxsim_Array__length(s.tmp_3); - s.tmp_2 = r0; - r0 = (s.tmp_2 - 1); - s.tmp_1.arg0 = r0; - r0 = s.caps[0].fields["selection"]; - s.tmp_4 = r0; - s.tmp_6 = if_cardsPerRow_1_mk(s); - r0 = s.caps[0].fields["theme"]; - s.tmp_6.arg0 = r0; - if (!s.tmp_6.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "cardsPerRow"); - } else { - s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["cardsPerRow"]; - if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["cardsPerRow"]; } - else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.pc = 3; return s.tmp_6; } - } - case 3: - r0 = s.retval; - s.tmp_5 = r0; - r0 = (s.tmp_4 + s.tmp_5); - s.tmp_1.arg1 = r0; - s.pc = 2; return s.tmp_1; - case 2: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P325056.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P325056.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} - -function inline__P325056_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325056, 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, -} } - - - - - -function inline__P325072(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_0 = scene_systemMenu_PauseMenu_setSelection__P299024_mk(s); - s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P297647_mk(s); - r0 = s.caps[0].fields["options"]; - s.tmp_3 = r0; - r0 = pxsim_Array__length(s.tmp_3); - s.tmp_2 = r0; - r0 = (s.tmp_2 - 1); - s.tmp_1.arg0 = r0; - r0 = s.caps[0].fields["selection"]; - s.tmp_4 = r0; - r0 = (s.tmp_4 + 1); - s.tmp_1.arg1 = r0; - s.pc = 2; return s.tmp_1; - case 2: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P325072.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P325072.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} - -function inline__P325072_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325072, 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, -} } - - - - - -function inline__P325084(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_0 = scene_systemMenu_PauseMenu_onUpdate__P299023_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__P299025_mk(s); - s.tmp_0.arg0 = s.caps[0]; - s.pc = 2; return s.tmp_0; - case 2: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P325084.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P325084.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"inline","argumentNames":[]} - -function inline__P325084_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325084, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function scene_systemMenu_PauseMenu_drawText__P299025(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_systemMenu_PauseMenu__C299021_VT)) failedCast(r0); - r0 = s.arg0.fields["options"]; - 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: - s.tmp_3 = helpers_imageFillRect__P297986_mk(s); - s.tmp_3.arg0 = globals.screen___298046; - s.tmp_3.arg1 = 0; - s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); - s.tmp_3.arg3 = r0; - s.tmp_5 = if_cardsTop_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_5.arg0 = r0; - if (!s.tmp_5.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "cardsTop"); - } else { - s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["cardsTop"]; - if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["cardsTop"]; } - else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.pc = 5; return s.tmp_5; } - } - case 5: - r0 = s.retval; - s.tmp_4 = r0; - r0 = (s.tmp_4 - 2); - s.tmp_3.arg4 = r0; - s.tmp_3.arg5 = 15; - s.pc = 4; return s.tmp_3; - case 4: - r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P298009_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_1 = if_headerText_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_1.arg0 = r0; - if (!s.tmp_1.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "headerText"); - } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["headerText"]; - if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["headerText"]; } - else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.pc = 7; return s.tmp_1; } - } - case 7: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = 2; - s.tmp_0.arg3 = 1; - s.tmp_2 = if_headerFont_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_2.arg0 = r0; - if (!s.tmp_2.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "headerFont"); - } else { - s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["headerFont"]; - if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["headerFont"]; } - else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.pc = 8; return s.tmp_2; } - } - case 8: - r0 = s.retval; - s.tmp_0.arg4 = r0; - s.pc = 6; return s.tmp_0; - case 6: - r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_0.arg1 = 0; - s.tmp_2 = if_infoTop_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_2.arg0 = r0; - if (!s.tmp_2.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "infoTop"); - } else { - s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["infoTop"]; - if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["infoTop"]; } - else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.pc = 10; return s.tmp_2; } - } - case 10: - r0 = s.retval; - s.tmp_1 = r0; - r0 = (s.tmp_1 - 3); - s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); - s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___298046); - s.tmp_4 = r0; - s.tmp_6 = if_infoTop_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_6.arg0 = r0; - if (!s.tmp_6.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "infoTop"); - } else { - s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["infoTop"]; - if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["infoTop"]; } - else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.pc = 11; return s.tmp_6; } - } - case 11: - r0 = s.retval; - s.tmp_5 = r0; - r0 = (s.tmp_4 - s.tmp_5); - s.tmp_3 = r0; - r0 = (s.tmp_3 + 6); - s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = 15; - s.pc = 9; return s.tmp_0; - case 9: - r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_1 = if_padding_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_1.arg0 = r0; - if (!s.tmp_1.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "padding"); - } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["padding"]; - if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["padding"]; } - else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.pc = 13; return s.tmp_1; } - } - case 13: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.tmp_2 = if_infoTop_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_2.arg0 = r0; - if (!s.tmp_2.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "infoTop"); - } else { - s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["infoTop"]; - if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["infoTop"]; } - else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.pc = 14; return s.tmp_2; } - } - case 14: - r0 = s.retval; - s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); - s.tmp_3 = r0; - s.tmp_6 = if_padding_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_6.arg0 = r0; - if (!s.tmp_6.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "padding"); - } else { - s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["padding"]; - if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["padding"]; } - else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.pc = 15; return s.tmp_6; } - } - case 15: - r0 = s.retval; - s.tmp_5 = r0; - r0 = (s.tmp_5 << 1); - s.tmp_4 = r0; - r0 = (s.tmp_3 - s.tmp_4); - s.tmp_0.arg3 = r0; - s.tmp_8 = if_charHeight_1_mk(s); - s.tmp_9 = if_infoFont_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_9.arg0 = r0; - if (!s.tmp_9.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_9.arg0, "infoFont"); - } else { - s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["infoFont"]; - if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["infoFont"]; } - else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } - else { s.pc = 17; return s.tmp_9; } - } - case 17: - r0 = s.retval; - s.tmp_8.arg0 = r0; - if (!s.tmp_8.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_8.arg0, "charHeight"); - } else { - s.tmp_8.fn = s.tmp_8.arg0.vtable.iface["charHeight"]; - if (s.tmp_8.fn == null) { s.retval = s.tmp_8.arg0.fields["charHeight"]; } - else if (!s.tmp_8.fn.isGetter) { s.retval = bind(s.tmp_8); } - else { s.pc = 16; return s.tmp_8; } - } - case 16: - r0 = s.retval; - s.tmp_7 = r0; - r0 = (s.tmp_7 + 1); - s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = 1; - s.pc = 12; return s.tmp_0; - case 12: - r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P298009_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_1 = if_getText_1_mk(s); - r0 = s.arg0.fields["options"]; - s.tmp_2 = r0; - r0 = s.arg0.fields["selection"]; - s.tmp_3 = r0; - r0 = pxsim_Array__getAt(s.tmp_2, s.tmp_3); - s.tmp_1.arg0 = r0; - if (!s.tmp_1.arg0.vtable.iface) { - setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "getText"), 1); - s.pc = 19; return s.tmp_1; - } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["getText"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["getText"], 1); s.pc = 19; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.pc = 19; return s.tmp_1;; } - else { s.pc = 19; return s.tmp_1; } - } - case 19: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.tmp_5 = if_infoTop_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_5.arg0 = r0; - if (!s.tmp_5.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "infoTop"); - } else { - s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["infoTop"]; - if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["infoTop"]; } - else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.pc = 20; return s.tmp_5; } - } - case 20: - r0 = s.retval; - s.tmp_4 = r0; - r0 = (s.tmp_4 + 1); - s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = 15; - s.tmp_6 = if_infoFont_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_6.arg0 = r0; - if (!s.tmp_6.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "infoFont"); - } else { - s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["infoFont"]; - if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["infoFont"]; } - else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.pc = 21; return s.tmp_6; } - } - case 21: - r0 = s.retval; - s.tmp_0.arg4 = r0; - s.pc = 18; return s.tmp_0; - case 18: - r0 = s.retval; - case 3: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_PauseMenu_drawText__P299025.info = {"start":6927,"length":795,"line":224,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"drawText","argumentNames":["this"]} -scene_systemMenu_PauseMenu_drawText__P299025.info = {"start":6927,"length":795,"line":224,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"drawText","argumentNames":["this"]} - -function scene_systemMenu_PauseMenu_drawText__P299025_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P299025, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - tmp_5: undefined, - tmp_6: undefined, - tmp_7: undefined, - tmp_8: undefined, - tmp_9: undefined, - arg0: undefined, -} } - - - - - -function scene_systemMenu_PauseMenu_setSelection__P299024(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; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C299021_VT)) failedCast(r0); - r0 = s.arg0.fields["options"]; - 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 = 9; continue; } - case 1: - case 2: - r0 = s.arg0.fields["options"]; - s.tmp_4 = r0; - r0 = s.arg0.fields["selection"]; - s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_4, s.tmp_5); - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - if (!r0) { step = 3; continue; } - s.tmp_6 = scene_systemMenu_MenuOption_setState__P299017_mk(s); - r0 = s.arg0.fields["options"]; - s.tmp_7 = r0; - r0 = s.arg0.fields["selection"]; - s.tmp_8 = r0; - r0 = pxsim_Array__getAt(s.tmp_7, s.tmp_8); - s.tmp_6.arg0 = r0; - s.tmp_6.arg1 = 2; - s.pc = 10; return s.tmp_6; - case 10: - r0 = s.retval; - case 3: - case 4: - r0 = (s.arg0).fields["selection"] = (s.arg1); - r0 = s.arg0.fields["options"]; - s.tmp_1 = r0; - r0 = s.arg0.fields["selection"]; - s.tmp_2 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.tmp_2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 7; continue; } - s.tmp_4 = controller_Button__C298153_v0_1_mk(s); - s.tmp_4.arg0 = globals.A___298124; - if (!checkSubtype(s.tmp_4.arg0, controller_Button__C298153_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: - r0 = s.retval; - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - if (!r0) { step = 5; continue; } - r0 = 1; - { step = 6; continue; } - case 5: - r0 = 0; - case 6: - // jmp value (already in r0) - s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P299017_mk(s); - r0 = s.arg0.fields["options"]; - s.tmp_7 = r0; - r0 = s.arg0.fields["selection"]; - s.tmp_8 = r0; - r0 = pxsim_Array__getAt(s.tmp_7, s.tmp_8); - s.tmp_6.arg0 = r0; - s.tmp_6.arg1 = s.tmp_5; - s.pc = 12; return s.tmp_6; - case 12: - r0 = s.retval; - case 7: - case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P299027_mk(s); - s.tmp_0.arg0 = s.arg0; - s.pc = 13; return s.tmp_0; - case 13: - r0 = s.retval; - case 9: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_PauseMenu_setSelection__P299024.info = {"start":6436,"length":481,"line":208,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"setSelection","argumentNames":["this","selection"]} -scene_systemMenu_PauseMenu_setSelection__P299024.info = {"start":6436,"length":481,"line":208,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"setSelection","argumentNames":["this","selection"]} - -function scene_systemMenu_PauseMenu_setSelection__P299024_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P299024, 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, - arg0: undefined, - arg1: undefined, -} } - - - - - -function scene_systemMenu_PauseMenu_updateScrollTarget__P299027(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.row___325297 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C299021_VT)) failedCast(r0); - r0 = s.arg0.fields["selection"]; - s.tmp_0 = r0; - s.tmp_2 = if_cardsPerRow_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_2.arg0 = r0; - if (!s.tmp_2.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "cardsPerRow"); - } else { - s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["cardsPerRow"]; - if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["cardsPerRow"]; } - else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.pc = 8; return s.tmp_2; } - } - case 8: - r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.row___325297 = (r0); - r0 = s.arg0.fields["scrollRow"]; - s.tmp_1 = r0; - r0 = (s.row___325297 === 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___325297 - 1); - s.tmp_2 = r0; - r0 = s.arg0.fields["scrollRow"]; - s.tmp_3 = r0; - r0 = (s.tmp_2 === s.tmp_3); - 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: - r0 = s.arg0.fields["scrollRow"]; - s.tmp_6 = r0; - r0 = (s.row___325297 > s.tmp_6); - s.tmp_5 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_5); - if (!r0) { step = 5; continue; } - s.tmp_7 = r0 = s.arg0; - r0 = s.tmp_7.fields["scrollRow"]; - s.tmp_9 = r0; - r0 = (s.tmp_9 + 1); - s.tmp_8 = r0; - r0 = (s.tmp_7).fields["scrollRow"] = (s.tmp_8); - { step = 6; continue; } - case 5: - s.tmp_0 = r0 = s.arg0; - r0 = s.tmp_0.fields["scrollRow"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 - 1); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["scrollRow"] = (s.tmp_1); - case 6: - s.tmp_0 = r0 = s.arg0; - r0 = s.arg0.fields["scrollRow"]; - s.tmp_2 = r0; - s.tmp_5 = if_cardSpacing_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_5.arg0 = r0; - if (!s.tmp_5.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "cardSpacing"); - } else { - s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["cardSpacing"]; - if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["cardSpacing"]; } - else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.pc = 9; return s.tmp_5; } - } - case 9: - r0 = s.retval; - s.tmp_4 = r0; - s.tmp_7 = if_cardWidth_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_7.arg0 = r0; - if (!s.tmp_7.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "cardWidth"); - } else { - s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["cardWidth"]; - if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["cardWidth"]; } - else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.pc = 10; return s.tmp_7; } - } - case 10: - r0 = s.retval; - s.tmp_6 = r0; - r0 = (s.tmp_4 + s.tmp_6); - s.tmp_3 = r0; - r0 = (s.tmp_2 * s.tmp_3); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["scrollTarget"] = (s.tmp_1); - case 7: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_PauseMenu_updateScrollTarget__P299027.info = {"start":7907,"length":458,"line":250,"column":8,"endLine":260,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"updateScrollTarget","argumentNames":["this"]} -scene_systemMenu_PauseMenu_updateScrollTarget__P299027.info = {"start":7907,"length":458,"line":250,"column":8,"endLine":260,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"updateScrollTarget","argumentNames":["this"]} - -function scene_systemMenu_PauseMenu_updateScrollTarget__P299027_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P299027, 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, - row___325297: undefined, - arg0: undefined, -} } - - - - - -function scene_systemMenu_PauseMenu_onUpdate__P299023(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.t___325165 = undefined; - s.i___325169 = undefined; - s.dt___325198 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C299021_VT)) failedCast(r0); - r0 = pxsim.control.millis(); - s.tmp_0 = r0; - r0 = (s.tmp_0 / 250); - s.t___325165 = (r0); - s.i___325169 = (0); - case 1: - s.tmp_1 = r0 = s.i___325169; - r0 = s.arg0.fields["options"]; - 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 = 2; continue; } - s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P299015_mk(s); - r0 = s.arg0.fields["options"]; - s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___325169); - s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___325165; - s.tmp_11 = r0 = s.i___325169; - s.tmp_13 = if_cardsPerRow_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_13.arg0 = r0; - if (!s.tmp_13.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_13.arg0, "cardsPerRow"); - } else { - s.tmp_13.fn = s.tmp_13.arg0.vtable.iface["cardsPerRow"]; - if (s.tmp_13.fn == null) { s.retval = s.tmp_13.arg0.fields["cardsPerRow"]; } - else if (!s.tmp_13.fn.isGetter) { s.retval = bind(s.tmp_13); } - else { s.pc = 11; return s.tmp_13; } - } - case 11: - r0 = s.retval; - s.tmp_12 = r0; - r0 = (s.tmp_11 % s.tmp_12); - s.tmp_10 = r0; - r0 = (s.tmp_10 * 1.5707963267948966); - s.tmp_9 = r0; - r0 = (s.tmp_8 - s.tmp_9); - s.tmp_7 = r0; - r0 = pxsim.Math_.sin(s.tmp_7); - s.tmp_6 = r0; - r0 = (2 * s.tmp_6); - s.tmp_4.arg1 = r0; - s.pc = 10; return s.tmp_4; - case 10: - r0 = s.retval; - r0 = (s.i___325169 + 1); - s.i___325169 = (r0); - { step = 1; continue; } - case 2: - s.tmp_1 = game_currentScene__P298414_mk(s); - s.pc = 12; return s.tmp_1; - case 12: - r0 = s.retval; - r0 = r0.fields["eventContext"]; - s.tmp_0 = r0; - r0 = s.tmp_0.fields["deltaTimeMillis"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 / 1000); - s.dt___325198 = (r0); - r0 = s.arg0.fields["scrollOffset"]; - s.tmp_1 = r0; - r0 = s.arg0.fields["scrollTarget"]; - 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 = 3; continue; } - s.tmp_3 = r0 = s.arg0; - r0 = s.tmp_3.fields["scrollOffset"]; - s.tmp_5 = r0; - r0 = (s.dt___325198 * 100); - s.tmp_6 = r0; - r0 = (s.tmp_5 + s.tmp_6); - s.tmp_4 = r0; - r0 = (s.tmp_3).fields["scrollOffset"] = (s.tmp_4); - { step = 6; continue; } - case 3: - r0 = s.arg0.fields["scrollOffset"]; - s.tmp_1 = r0; - r0 = s.arg0.fields["scrollTarget"]; - s.tmp_2 = r0; - r0 = (s.tmp_1 > s.tmp_2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 4; continue; } - s.tmp_3 = r0 = s.arg0; - r0 = s.tmp_3.fields["scrollOffset"]; - s.tmp_5 = r0; - r0 = (s.dt___325198 * 100); - s.tmp_6 = r0; - r0 = (s.tmp_5 - s.tmp_6); - s.tmp_4 = r0; - r0 = (s.tmp_3).fields["scrollOffset"] = (s.tmp_4); - { step = 5; continue; } - case 4: - { step = 9; continue; } - case 5: - case 6: - s.tmp_2 = Math_abs__P297644_mk(s); - r0 = s.arg0.fields["scrollOffset"]; - s.tmp_3 = r0; - r0 = s.arg0.fields["scrollTarget"]; - s.tmp_4 = r0; - r0 = (s.tmp_3 - s.tmp_4); - s.tmp_2.arg0 = r0; - s.pc = 13; return s.tmp_2; - case 13: - r0 = s.retval; - s.tmp_1 = r0; - r0 = (s.tmp_1 < 2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 7; continue; } - r0 = s.arg0.fields["scrollTarget"]; - s.tmp_5 = r0; - r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); - case 7: - case 8: - s.tmp_0 = scene_Camera_offsetY__P298577_mk(s); - s.tmp_1 = game_currentScene__P298414_mk(s); - s.pc = 15; return s.tmp_1; - case 15: - r0 = s.retval; - r0 = r0.fields["camera"]; - s.tmp_0.arg0 = r0; - r0 = s.arg0.fields["scrollOffset"]; - s.tmp_0.arg1 = r0; - s.pc = 14; return s.tmp_0; - case 14: - r0 = s.retval; - case 9: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_PauseMenu_onUpdate__P299023.info = {"start":5547,"length":879,"line":183,"column":8,"endLine":206,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"onUpdate","argumentNames":["this"]} -scene_systemMenu_PauseMenu_onUpdate__P299023.info = {"start":5547,"length":879,"line":183,"column":8,"endLine":206,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"onUpdate","argumentNames":["this"]} - -function scene_systemMenu_PauseMenu_onUpdate__P299023_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P299023, 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, - tmp_12: undefined, - tmp_13: undefined, - t___325165: undefined, - i___325169: undefined, - dt___325198: undefined, - arg0: undefined, -} } - - - - - -function scene_systemMenu_MenuOption_setOffset__P299015(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; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C299012_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P298254_mk(s); - r0 = s.arg0.fields["card"]; - s.tmp_0.arg0 = r0; - r0 = s.arg0.fields["top"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 + s.arg1); - s.tmp_0.arg1 = r0; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); - r0 = s.arg0.fields["icon"]; - s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P298231_mk(s); - r0 = s.arg0.fields["card"]; - s.tmp_1.arg0 = r0; - s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.pc = 2; return s.tmp_0; - case 2: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_MenuOption_setOffset__P299015.info = {"start":1411,"length":123,"line":61,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"setOffset","argumentNames":["this","offset"]} -scene_systemMenu_MenuOption_setOffset__P299015.info = {"start":1411,"length":123,"line":61,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"setOffset","argumentNames":["this","offset"]} - -function scene_systemMenu_MenuOption_setOffset__P299015_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P299015, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function scene_systemMenu_MenuOption_setState__P299017(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; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C299012_VT)) failedCast(r0); - r0 = s.arg0.fields["state"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 === s.arg1); - 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["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P299019_mk(s); - s.tmp_0.arg0 = s.arg0; - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - case 3: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_MenuOption_setState__P299017.info = {"start":1655,"length":147,"line":71,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"setState","argumentNames":["this","state"]} -scene_systemMenu_MenuOption_setState__P299017.info = {"start":1655,"length":147,"line":71,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"setState","argumentNames":["this","state"]} - -function scene_systemMenu_MenuOption_setState__P299017_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P299017, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function scene_systemMenu_MenuOption_updateCard__P299019(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_systemMenu_MenuOption__C299012_VT)) failedCast(r0); - r0 = s.arg0.fields["theme"]; - 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 = 7; continue; } - case 1: - case 2: - r0 = s.arg0.fields["state"]; - s.tmp_3 = r0; - r0 = pxsim_pxtcore.switch_eq(2, s.tmp_3); - if (r0) { step = 3; continue; } - r0 = pxsim_pxtcore.switch_eq(0, s.tmp_3); - if (r0) { step = 4; continue; } - r0 = pxsim_pxtcore.switch_eq(1, s.tmp_3); - if (r0) { step = 5; continue; } - r0 = s.tmp_3; - { step = 6; continue; } - case 3: - s.tmp_4 = Sprite_setImage__P298245_mk(s); - r0 = s.arg0.fields["card"]; - s.tmp_4.arg0 = r0; - s.tmp_5 = if_basicCard_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_5.arg0 = r0; - if (!s.tmp_5.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "basicCard"); - } else { - s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["basicCard"]; - if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["basicCard"]; } - else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.pc = 9; return s.tmp_5; } - } - case 9: - r0 = s.retval; - s.tmp_4.arg1 = r0; - s.pc = 8; return s.tmp_4; - case 8: - r0 = s.retval; - { step = 6; continue; } - case 4: - s.tmp_0 = Sprite_setImage__P298245_mk(s); - r0 = s.arg0.fields["card"]; - s.tmp_0.arg0 = r0; - s.tmp_1 = if_selectedCard_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_1.arg0 = r0; - if (!s.tmp_1.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "selectedCard"); - } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["selectedCard"]; - if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["selectedCard"]; } - else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.pc = 11; return s.tmp_1; } - } - case 11: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.pc = 10; return s.tmp_0; - case 10: - r0 = s.retval; - { step = 6; continue; } - case 5: - s.tmp_0 = Sprite_setImage__P298245_mk(s); - r0 = s.arg0.fields["card"]; - s.tmp_0.arg0 = r0; - s.tmp_1 = if_activeCard_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_1.arg0 = r0; - if (!s.tmp_1.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "activeCard"); - } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["activeCard"]; - if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["activeCard"]; } - else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.pc = 13; return s.tmp_1; } - } - case 13: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.pc = 12; return s.tmp_0; - case 12: - r0 = s.retval; - case 6: - s.tmp_0 = Sprite_x__P298230_mk(s); - r0 = s.arg0.fields["icon"]; - s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P298229_mk(s); - r0 = s.arg0.fields["card"]; - s.tmp_1.arg0 = r0; - s.pc = 15; return s.tmp_1; - case 15: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.pc = 14; return s.tmp_0; - case 14: - r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); - r0 = s.arg0.fields["icon"]; - s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P298231_mk(s); - r0 = s.arg0.fields["card"]; - s.tmp_1.arg0 = r0; - s.pc = 17; return s.tmp_1; - case 17: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.pc = 16; return s.tmp_0; - case 16: - r0 = s.retval; - case 7: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_MenuOption_updateCard__P299019.info = {"start":2038,"length":497,"line":86,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"updateCard","argumentNames":["this"]} -scene_systemMenu_MenuOption_updateCard__P299019.info = {"start":2038,"length":497,"line":86,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"updateCard","argumentNames":["this"]} - -function scene_systemMenu_MenuOption_updateCard__P299019_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P299019, 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 scene_systemMenu_MenuOption_setTheme__P299016(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; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C299012_VT)) failedCast(r0); - r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P299019_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() -} } } -scene_systemMenu_MenuOption_setTheme__P299016.info = {"start":1544,"length":101,"line":66,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"setTheme","argumentNames":["this","theme"]} -scene_systemMenu_MenuOption_setTheme__P299016.info = {"start":1544,"length":101,"line":66,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"setTheme","argumentNames":["this","theme"]} - -function scene_systemMenu_MenuOption_setTheme__P299016_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P299016, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function scene_systemMenu_MenuOption_position__P299014(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, scene_systemMenu_MenuOption__C299012_VT)) failedCast(r0); - r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P298250_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__P298254_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__P298230_mk(s); - r0 = s.arg0.fields["icon"]; - s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P298229_mk(s); - r0 = s.arg0.fields["card"]; - s.tmp_1.arg0 = r0; - s.pc = 4; return s.tmp_1; - case 4: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); - r0 = s.arg0.fields["icon"]; - s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P298231_mk(s); - r0 = s.arg0.fields["card"]; - s.tmp_1.arg0 = r0; - s.pc = 6; return s.tmp_1; - case 6: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.pc = 5; return s.tmp_0; - case 5: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_MenuOption_position__P299014.info = {"start":1178,"length":223,"line":51,"column":8,"endLine":59,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"position","argumentNames":["this","left","top"]} -scene_systemMenu_MenuOption_position__P299014.info = {"start":1178,"length":223,"line":51,"column":8,"endLine":59,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"position","argumentNames":["this","left","top"]} - -function scene_systemMenu_MenuOption_position__P299014_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_MenuOption_position__P299014, 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 scene_systemMenu_MenuOption_show__P299013(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_systemMenu_MenuOption__C299012_VT)) failedCast(r0); - r0 = s.arg0.fields["theme"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_1 = if_basicCard_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_1.arg0 = r0; - if (!s.tmp_1.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "basicCard"); - } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["basicCard"]; - if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["basicCard"]; } - else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.pc = 3; return s.tmp_1; } - } - case 3: - r0 = s.retval; - { step = 2; continue; } - case 1: - r0 = globals.CARD_NORMAL___299052; - case 2: - // jmp value (already in r0) - s.tmp_2 = r0; - s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P298222_mk(s); - s.tmp_5.arg0 = s.tmp_2; - s.tmp_5.arg1 = undefined; - s.pc = 4; return s.tmp_5; - case 4: - r0 = s.retval; - s.tmp_4 = r0; - r0 = (s.tmp_3).fields["card"] = (s.tmp_4); - s.tmp_0 = if_z_2_mk(s); - r0 = s.arg0.fields["card"]; - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = 1; - if (!s.tmp_0.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapSetByString(s.tmp_0.arg0, "z", s.tmp_0.arg1); - } else { - s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; - if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } - else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.pc = 5; return s.tmp_0; } - } - case 5: - r0 = s.retval; - s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P298222_mk(s); - r0 = s.arg0.fields["iconImage"]; - s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = undefined; - s.pc = 6; return s.tmp_2; - case 6: - r0 = s.retval; - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["icon"] = (s.tmp_1); - s.tmp_0 = if_z_2_mk(s); - r0 = s.arg0.fields["icon"]; - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = 2; - if (!s.tmp_0.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapSetByString(s.tmp_0.arg0, "z", s.tmp_0.arg1); - } else { - s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; - if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } - else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.pc = 7; return s.tmp_0; } - } - case 7: - r0 = s.retval; - r0 = (s.arg0).fields["state"] = (2); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_MenuOption_show__P299013.info = {"start":904,"length":264,"line":41,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"show","argumentNames":["this"]} -scene_systemMenu_MenuOption_show__P299013.info = {"start":904,"length":264,"line":41,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"show","argumentNames":["this"]} - -function scene_systemMenu_MenuOption_show__P299013_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_MenuOption_show__P299013, 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 scene_systemMenu_initVolume__P299045(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.vol___325844 = undefined; - s.tmp_0 = settings_readNumber__P298076_mk(s); - s.tmp_0.arg0 = "#volume"; - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - s.vol___325844 = (r0); - r0 = (s.vol___325844 != null); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_1 = music_setVolume__P300206_mk(s); - s.tmp_1.arg0 = s.vol___325844; - s.pc = 4; return s.tmp_1; - case 4: - r0 = s.retval; - case 1: - case 2: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_initVolume__P299045.info = {"start":12776,"length":138,"line":389,"column":4,"endLine":393,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"initVolume","argumentNames":[]} -scene_systemMenu_initVolume__P299045.info = {"start":12776,"length":138,"line":389,"column":4,"endLine":393,"endColumn":5,"fileName":"pxt_modules/game---hw/systemmenu.ts","functionName":"initVolume","argumentNames":[]} - -function scene_systemMenu_initVolume__P299045_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_initVolume__P299045, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - vol___325844: undefined, -} } - - - - - -function game_currentScene__P298414(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_0 = game_init__P298727_mk(s); - s.tmp_0.arg0 = undefined; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = globals._scene___298716; - return leave(s, r0) - default: oops() -} } } -game_currentScene__P298414.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"currentScene","argumentNames":[]} -game_currentScene__P298414.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"currentScene","argumentNames":[]} - -function game_currentScene__P298414_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: game_currentScene__P298414, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function game_addScenePopHandler__P298409(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 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___298719); - 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___298719 = (r0); - case 1: - case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___298719, 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___298719, s.arg0); - case 3: - case 4: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -game_addScenePopHandler__P298409.info = {"start":11756,"length":237,"line":368,"column":4,"endLine":372,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} -game_addScenePopHandler__P298409.info = {"start":11756,"length":237,"line":368,"column":4,"endLine":372,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} - -function game_addScenePopHandler__P298409_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: game_addScenePopHandler__P298409, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - arg0: undefined, -} } - - - - - -function game_addScenePushHandler__P298392(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 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___298718); - 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___298718 = (r0); - case 1: - case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___298718, 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___298718, s.arg0); - case 3: - case 4: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -game_addScenePushHandler__P298392.info = {"start":10755,"length":242,"line":344,"column":4,"endLine":348,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} -game_addScenePushHandler__P298392.info = {"start":10755,"length":242,"line":344,"column":4,"endLine":348,"endColumn":5,"fileName":"pxt_modules/game---hw/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} - -function game_addScenePushHandler__P298392_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: game_addScenePushHandler__P298392, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - arg0: undefined, -} } - - - - - -function Fx8__P297663(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 * 256); - s.tmp_0 = r0; - r0 = (s.tmp_0 | 0); - return leave(s, r0) - default: oops() -} } } -Fx8__P297663.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} -Fx8__P297663.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__P297663_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: Fx8__P297663, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function SpriteKind_create__P298312(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 = (globals.nextKind___298311 === undefined); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - globals.nextKind___298311 = (1000); - case 1: - case 2: - s.tmp_0 = r0 = globals.nextKind___298311; - r0 = (s.tmp_0 + 1); - globals.nextKind___298311 = (r0); - r0 = s.tmp_0; - return leave(s, r0) - default: oops() -} } } -SpriteKind_create__P298312.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game---hw/spritekind.ts","functionName":"create","argumentNames":[]} -SpriteKind_create__P298312.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game---hw/spritekind.ts","functionName":"create","argumentNames":[]} - -function SpriteKind_create__P298312_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: SpriteKind_create__P298312, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function controller_Button_constructor__P298164(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, controller_Button__C298153_VT)) failedCast(r0); - r0 = (s.arg0).fields["id"] = (s.arg1); - r0 = (s.arg0).fields["_pressed"] = (false); - r0 = (s.arg0).fields["repeatDelay"] = (undefined); - r0 = (s.arg0).fields["repeatInterval"] = (undefined); - r0 = (s.arg0).fields["_repeatCount"] = (0); - r0 = (s.arg1 > 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P325920); - 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__P325927); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = s.arg0.fields["id"]; - s.tmp_1 = r0; - r0 = pxsim.control.internalOnEvent(2051, s.tmp_1, s.tmp_0, 16); - r0 = (s.arg2 > 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = undefined; - case 1: - case 2: - case 3: - case 4: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -controller_Button_constructor__P298164.info = {"start":1589,"length":863,"line":67,"column":8,"endLine":83,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":["this","id","configKey"]} -controller_Button_constructor__P298164.info = {"start":1589,"length":863,"line":67,"column":8,"endLine":83,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":["this","id","configKey"]} - -function controller_Button_constructor__P298164_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: controller_Button_constructor__P298164, 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, - arg2: undefined, -} } - - - - - -function inline__P325920(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_0 = controller_Button_setPressed__P298162_mk(s); - s.tmp_0.arg0 = s.caps[0]; - s.tmp_0.arg1 = false; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P325920.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":[]} -inline__P325920.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":[]} - -function inline__P325920_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325920, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function inline__P325927(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_0 = controller_Button_setPressed__P298162_mk(s); - s.tmp_0.arg0 = s.caps[0]; - s.tmp_0.arg1 = true; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P325927.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":[]} -inline__P325927.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"inline","argumentNames":[]} - -function inline__P325927_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P325927, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function controller_Button_setPressed__P298162(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; - if (!checkSubtype(r0, controller_Button__C298153_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__P297966_mk(s); - s.pc = 7; return s.tmp_2; - case 7: - r0 = s.retval; - r0 = s.arg0.fields["_owner"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_1 = controller_Controller_connected__P298193_mk(s); - r0 = s.arg0.fields["_owner"]; - s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = true; - s.pc = 8; return s.tmp_1; - case 8: - r0 = s.retval; - case 1: - case 2: - r0 = (s.arg0).fields["_pressed"] = (s.arg1); - r0 = s.arg0.fields["_pressed"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 3; continue; } - r0 = (s.arg0).fields["_pressedElasped"] = (0); - s.tmp_0 = controller_Button_raiseButtonDown__P298156_mk(s); - s.tmp_0.arg0 = s.arg0; - s.pc = 9; return s.tmp_0; - case 9: - r0 = s.retval; - { step = 4; continue; } - case 3: - r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P298155_mk(s); - s.tmp_0.arg0 = s.arg0; - s.pc = 10; return s.tmp_0; - case 10: - r0 = s.retval; - case 4: - case 5: - case 6: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -controller_Button_setPressed__P298162.info = {"start":4600,"length":507,"line":148,"column":8,"endLine":162,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"setPressed","argumentNames":["this","pressed"]} -controller_Button_setPressed__P298162.info = {"start":4600,"length":507,"line":148,"column":8,"endLine":162,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"setPressed","argumentNames":["this","pressed"]} - -function controller_Button_setPressed__P298162_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: controller_Button_setPressed__P298162, 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 controller_Controller_connected__P298193(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; - if (!checkSubtype(r0, controller_Controller__C298176_VT)) failedCast(r0); - r0 = s.arg0.fields["_connected"]; - s.tmp_1 = r0; - r0 = (s.arg1 != s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 3; continue; } - r0 = (s.arg0).fields["_connected"] = (s.arg1); - r0 = s.arg0.fields["_connected"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = 1; - { step = 2; continue; } - case 1: - r0 = 2; - case 2: - // jmp value (already in r0) - s.tmp_1 = r0; - r0 = s.arg0.fields["_id"]; - s.tmp_2 = r0; - r0 = pxsim.control.raiseEvent(s.tmp_2, s.tmp_1); - case 3: - case 4: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -controller_Controller_connected__P298193.info = {"start":12550,"length":261,"line":405,"column":8,"endLine":410,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"connected","argumentNames":["this","value"]} -controller_Controller_connected__P298193.info = {"start":12550,"length":261,"line":405,"column":8,"endLine":410,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"connected","argumentNames":["this","value"]} - -function controller_Controller_connected__P298193_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: controller_Controller_connected__P298193, 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 controller_Controller_id__P298179(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, controller_Controller__C298176_VT)) failedCast(r0); - r0 = s.arg0.fields["_id"]; - return leaveAccessor(s, r0) - default: oops() -} } } -controller_Controller_id__P298179.info = {"start":8841,"length":49,"line":276,"column":8,"endLine":278,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"id","argumentNames":["this"]} -controller_Controller_id__P298179.isGetter = true; -controller_Controller_id__P298179.info = {"start":8841,"length":49,"line":276,"column":8,"endLine":278,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"id","argumentNames":["this"]} - -function controller_Controller_id__P298179_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: controller_Controller_id__P298179, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function controller_Controller_connected__P298192(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, controller_Controller__C298176_VT)) failedCast(r0); - r0 = s.arg0.fields["_connected"]; - return leaveAccessor(s, r0) - default: oops() -} } } -controller_Controller_connected__P298192.info = {"start":12477,"length":63,"line":401,"column":8,"endLine":403,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"connected","argumentNames":["this"]} -controller_Controller_connected__P298192.isGetter = true; -controller_Controller_connected__P298192.info = {"start":12477,"length":63,"line":401,"column":8,"endLine":403,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"connected","argumentNames":["this"]} - -function controller_Controller_connected__P298192_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: controller_Controller_connected__P298192, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function controller_Button_raiseButtonDown__P298156(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, controller_Button__C298153_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___298146); - if (!r0) { step = 1; continue; } - r0 = s.arg0.fields["id"]; - s.tmp_0 = r0; - r0 = pxsim.control.raiseEvent(2049, s.tmp_0); - { step = 2; continue; } - case 1: - r0 = s.arg0.fields["id"]; - s.tmp_0 = r0; - r0 = pxsim.control.raiseEvent(2053, s.tmp_0); - case 2: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -controller_Button_raiseButtonDown__P298156.info = {"start":2672,"length":205,"line":92,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"raiseButtonDown","argumentNames":["this"]} -controller_Button_raiseButtonDown__P298156.info = {"start":2672,"length":205,"line":92,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"raiseButtonDown","argumentNames":["this"]} - -function controller_Button_raiseButtonDown__P298156_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: controller_Button_raiseButtonDown__P298156, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function controller_Button_raiseButtonUp__P298155(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, controller_Button__C298153_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___298146); - if (!r0) { step = 1; continue; } - r0 = s.arg0.fields["id"]; - s.tmp_0 = r0; - r0 = pxsim.control.raiseEvent(2048, s.tmp_0); - { step = 2; continue; } - case 1: - r0 = s.arg0.fields["id"]; - s.tmp_0 = r0; - r0 = pxsim.control.raiseEvent(2052, s.tmp_0); - case 2: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -controller_Button_raiseButtonUp__P298155.info = {"start":2462,"length":200,"line":85,"column":8,"endLine":90,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"raiseButtonUp","argumentNames":["this"]} -controller_Button_raiseButtonUp__P298155.info = {"start":2462,"length":200,"line":85,"column":8,"endLine":90,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"raiseButtonUp","argumentNames":["this"]} - -function controller_Button_raiseButtonUp__P298155_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: controller_Button_raiseButtonUp__P298155, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function controller_setupButton__P298152(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 = undefined; - return leave(s, r0) - default: oops() -} } } -controller_setupButton__P298152.info = {"start":983,"length":93,"line":47,"column":4,"endLine":49,"endColumn":6,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"setupButton","argumentNames":["buttonId","key"]} -controller_setupButton__P298152.info = {"start":983,"length":93,"line":47,"column":4,"endLine":49,"endColumn":6,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"setupButton","argumentNames":["buttonId","key"]} - -function controller_setupButton__P298152_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: controller_setupButton__P298152, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, - arg1: undefined, -} } - - - - - -function settings_initScopes__P298067(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.rn___326007 = undefined; - s.tmp_1 = settings_runNumber__P298065_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___326007 = (r0); - s.tmp_0 = settings_writeNumber__P298072_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___298054; - s.tmp_0.arg1 = s.rn___326007; - s.pc = 2; return s.tmp_0; - case 2: - r0 = s.retval; - r0 = pxsim.control.deviceSerialNumber(); - s.tmp_1 = r0; - r0 = (s.tmp_1 & 2147483647); - s.tmp_0 = r0; - r0 = pxsim_pxtcore.seedAddRandom(s.tmp_0); - r0 = pxsim_pxtcore.seedAddRandom(s.rn___326007); - s.tmp_0 = settings_setScope__P298066_mk(s); - r0 = pxsim_pxtcore.programName(); - s.tmp_0.arg0 = r0; - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -settings_initScopes__P298067.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} -settings_initScopes__P298067.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__P298067_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: settings_initScopes__P298067, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - rn___326007: undefined, -} } - - - - - -function settings_setScope__P298066(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.currScope___326036 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - 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: - r0 = pxsim_String_.length(s.arg0); - s.tmp_2 = r0; - r0 = (s.tmp_2 > 100); - case 2: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - if (!r0) { step = 3; continue; } - r0 = pxsim_pxtrt.panic(922); - case 3: - case 4: - s.tmp_0 = settings_readString__P298075_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___298055; - s.pc = 7; return s.tmp_0; - case 7: - r0 = s.retval; - s.currScope___326036 = (r0); - r0 = (s.currScope___326036 != 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__P298071_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___298055; - s.tmp_0.arg1 = s.arg0; - s.pc = 8; return s.tmp_0; - case 8: - r0 = s.retval; - case 5: - case 6: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -settings_setScope__P298066.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__P298066.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__P298066_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: settings_setScope__P298066, 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___326036: undefined, - arg0: undefined, -} } - - - - - -function settings_runNumber__P298065(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 = settings_readNumber__P298076_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___298054; - s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } - case 1: - r0 = 0; - case 2: - // jmp value (already in r0) - s.tmp_2 = r0; - r0 = s.tmp_2; - return leave(s, r0) - default: oops() -} } } -settings_runNumber__P298065.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} -settings_runNumber__P298065.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__P298065_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: settings_runNumber__P298065, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, -} } - - - - - -function control___screen_update__P298014(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.__update___298011); - if (!r0) { step = 1; continue; } - s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___298011; - 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___298013 = (true); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -control___screen_update__P298014.info = {"start":90,"length":102,"line":4,"column":4,"endLine":8,"endColumn":5,"fileName":"pxt_modules/screen---st7735/frame.ts","functionName":"update","argumentNames":[]} -control___screen_update__P298014.info = {"start":90,"length":102,"line":4,"column":4,"endLine":8,"endColumn":5,"fileName":"pxt_modules/screen---st7735/frame.ts","functionName":"update","argumentNames":[]} - -function control___screen_update__P298014_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: control___screen_update__P298014, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function pause__P297860(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; - } - setupResume(s, 1); - pxsim.loops.pause(s.arg0); - checkResumeConsumed(); - return; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -pause__P297860.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} -pause__P297860.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__P297860_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: pause__P297860, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function jacdac_JACDACBus_constructor__P299937(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, jacdac_JACDACBus__C299929_VT)) failedCast(r0); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_JACDACBus_constructor__P299937.info = {"start":179,"length":25,"line":11,"column":8,"endLine":12,"endColumn":9,"fileName":"pxt_modules/jacdac/makecodejacdac.ts","functionName":"inline","argumentNames":["this"]} -jacdac_JACDACBus_constructor__P299937.info = {"start":179,"length":25,"line":11,"column":8,"endLine":12,"endColumn":9,"fileName":"pxt_modules/jacdac/makecodejacdac.ts","functionName":"inline","argumentNames":["this"]} - -function jacdac_JACDACBus_constructor__P299937_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JACDACBus_constructor__P299937, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function jacdac_JACDACBus_isConnected__P299934(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, jacdac_JACDACBus__C299929_VT)) failedCast(r0); - r0 = pxsim.jacdac.__physIsConnected(); - return leave(s, r0) - default: oops() -} } } -jacdac_JACDACBus_isConnected__P299934.info = {"start":762,"length":64,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"pxt_modules/jacdac/makecodejacdac.ts","functionName":"isConnected","argumentNames":["this"]} -jacdac_JACDACBus_isConnected__P299934.info = {"start":762,"length":64,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"pxt_modules/jacdac/makecodejacdac.ts","functionName":"isConnected","argumentNames":["this"]} - -function jacdac_JACDACBus_isConnected__P299934_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JACDACBus_isConnected__P299934, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function jacdac_JACDACBus_writeBuffer__P299933(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; - if (!checkSubtype(r0, jacdac_JACDACBus__C299929_VT)) failedCast(r0); - r0 = pxsim.jacdac.__physSendPacket(s.arg1); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -jacdac_JACDACBus_writeBuffer__P299933.info = {"start":685,"length":67,"line":31,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/jacdac/makecodejacdac.ts","functionName":"writeBuffer","argumentNames":["this","b"]} -jacdac_JACDACBus_writeBuffer__P299933.info = {"start":685,"length":67,"line":31,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/jacdac/makecodejacdac.ts","functionName":"writeBuffer","argumentNames":["this","b"]} - -function jacdac_JACDACBus_writeBuffer__P299933_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JACDACBus_writeBuffer__P299933, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, - arg1: undefined, -} } - - - - - -function jacdac_ControlDebugView_renderPacket__P299740(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.cp___326065 = undefined; - s.device___326069 = undefined; - s.cpFlags___326074 = undefined; - s.ss___326119 = undefined; - s.s___326121 = undefined; - s.unnamed2914___U5 = undefined; - s.unnamed2915___U6 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_ControlDebugView__C299738_VT)) failedCast(r0); - r0 = s.arg1.fields["_buffer"]; - s.tmp_4 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_4, 1); - s.tmp_3 = r0; - r0 = (s.tmp_3 & 240); - s.tmp_2 = r0; - r0 = (s.tmp_2 >> 4); - s.tmp_1 = r0; - r0 = (s.tmp_1 == 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 15; continue; } - r0 = pxsim_pxtcore_mkClassInstance(jacdac_JDControlPacket__C299892_VT); - s.tmp_5 = r0; - s.tmp_6 = jacdac_JDControlPacket_constructor__P299900_mk(s); - s.tmp_6.arg0 = s.tmp_5; - s.tmp_6.arg1 = s.arg1; - s.pc = 18; return s.tmp_6; - case 18: - r0 = s.retval; - s.cp___326065 = (s.tmp_5); - r0 = pxsim_pxtcore_mkClassInstance(jacdac_JDDevice__C299904_VT); - s.tmp_0 = r0; - s.tmp_1 = jacdac_JDDevice_constructor__P299911_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.cp___326065; - s.tmp_1.arg2 = undefined; - s.pc = 19; return s.tmp_1; - case 19: - r0 = s.retval; - s.device___326069 = (s.tmp_0); - r0 = pxsim_String_.mkEmpty(); - s.cpFlags___326074 = (r0); - r0 = s.device___326069.fields["device_flags"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 & 8); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = "NACK | "; - { step = 2; continue; } - case 1: - r0 = pxsim_String_.mkEmpty(); - case 2: - // jmp value (already in r0) - s.tmp_2 = r0; - if ((s.cpFlags___326074) && (s.cpFlags___326074).vtable) { - setupResume(s, 20); - pxsim_String__stringConv(s.cpFlags___326074); - checkResumeConsumed(); - return; - } else { s.retval = (s.cpFlags___326074) + ""; } - case 20: - r0 = s.retval; - s.tmp_3 = r0; - if ((s.tmp_2) && (s.tmp_2).vtable) { - setupResume(s, 21); - pxsim_String__stringConv(s.tmp_2); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_2) + ""; } - case 21: - r0 = s.retval; - s.tmp_4 = r0; - r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.cpFlags___326074 = (r0); - r0 = s.device___326069.fields["device_flags"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 & 4); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 3; continue; } - r0 = "NAME | "; - { step = 4; continue; } - case 3: - r0 = pxsim_String_.mkEmpty(); - case 4: - // jmp value (already in r0) - s.tmp_2 = r0; - if ((s.cpFlags___326074) && (s.cpFlags___326074).vtable) { - setupResume(s, 22); - pxsim_String__stringConv(s.cpFlags___326074); - checkResumeConsumed(); - return; - } else { s.retval = (s.cpFlags___326074) + ""; } - case 22: - r0 = s.retval; - s.tmp_3 = r0; - if ((s.tmp_2) && (s.tmp_2).vtable) { - setupResume(s, 23); - pxsim_String__stringConv(s.tmp_2); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_2) + ""; } - case 23: - r0 = s.retval; - s.tmp_4 = r0; - r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.cpFlags___326074 = (r0); - r0 = s.device___326069.fields["device_flags"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 & 2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 5; continue; } - r0 = "PROP | "; - { step = 6; continue; } - case 5: - r0 = pxsim_String_.mkEmpty(); - case 6: - // jmp value (already in r0) - s.tmp_2 = r0; - if ((s.cpFlags___326074) && (s.cpFlags___326074).vtable) { - setupResume(s, 24); - pxsim_String__stringConv(s.cpFlags___326074); - checkResumeConsumed(); - return; - } else { s.retval = (s.cpFlags___326074) + ""; } - case 24: - r0 = s.retval; - s.tmp_3 = r0; - if ((s.tmp_2) && (s.tmp_2).vtable) { - setupResume(s, 25); - pxsim_String__stringConv(s.tmp_2); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_2) + ""; } - case 25: - r0 = s.retval; - s.tmp_4 = r0; - r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.cpFlags___326074 = (r0); - r0 = s.device___326069.fields["device_flags"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 & 1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 7; continue; } - r0 = "REG | "; - { step = 8; continue; } - case 7: - r0 = pxsim_String_.mkEmpty(); - case 8: - // jmp value (already in r0) - s.tmp_2 = r0; - if ((s.cpFlags___326074) && (s.cpFlags___326074).vtable) { - setupResume(s, 26); - pxsim_String__stringConv(s.cpFlags___326074); - checkResumeConsumed(); - return; - } else { s.retval = (s.cpFlags___326074) + ""; } - case 26: - r0 = s.retval; - s.tmp_3 = r0; - if ((s.tmp_2) && (s.tmp_2).vtable) { - setupResume(s, 27); - pxsim_String__stringConv(s.tmp_2); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_2) + ""; } - case 27: - r0 = s.retval; - s.tmp_4 = r0; - r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.cpFlags___326074 = (r0); - r0 = pxsim_String_.length(s.cpFlags___326074); - s.tmp_1 = r0; - r0 = (s.tmp_1 == 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 9; continue; } - s.cpFlags___326074 = ("NONE"); - case 9: - case 10: - s.ss___326119 = ("\r\nclass\tflags\tadvert\r\n"); - s.s___326121 = (undefined); - s.tmp_0 = jacdac_JDDevice_services__P299905_mk(s); - s.tmp_0.arg0 = s.device___326069; - s.pc = 28; return s.tmp_0; - case 28: - r0 = s.retval; - s.unnamed2914___U5 = (r0); - s.unnamed2915___U6 = (0); - case 11: - s.tmp_0 = r0 = s.unnamed2915___U6; - r0 = pxsim_Array__length(s.unnamed2914___U5); - s.tmp_1 = r0; - r0 = (s.tmp_0 < s.tmp_1); - if (!r0) { step = 12; continue; } - r0 = pxsim_Array__getAt(s.unnamed2914___U5, s.unnamed2915___U6); - s.s___326121 = (r0); - if ((s.ss___326119) && (s.ss___326119).vtable) { - setupResume(s, 29); - pxsim_String__stringConv(s.ss___326119); - checkResumeConsumed(); - return; - } else { s.retval = (s.ss___326119) + ""; } - case 29: - r0 = s.retval; - s.tmp_2 = r0; - r0 = pxsim_String_.mkEmpty(); - s.tmp_10 = r0; - r0 = s.s___326121.fields["service_class"]; - s.tmp_12 = r0; - if ((s.tmp_12) && (s.tmp_12).vtable) { - setupResume(s, 30); - pxsim_String__stringConv(s.tmp_12); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_12) + ""; } - case 30: - r0 = s.retval; - s.tmp_11 = r0; - r0 = pxsim_String__concat(s.tmp_10, s.tmp_11); - s.tmp_9 = r0; - r0 = pxsim_String__concat(s.tmp_9, "\t"); - s.tmp_8 = r0; - r0 = s.s___326121.fields["service_flags"]; - s.tmp_14 = r0; - if ((s.tmp_14) && (s.tmp_14).vtable) { - setupResume(s, 31); - pxsim_String__stringConv(s.tmp_14); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_14) + ""; } - case 31: - r0 = s.retval; - s.tmp_13 = r0; - r0 = pxsim_String__concat(s.tmp_8, s.tmp_13); - s.tmp_7 = r0; - r0 = pxsim_String__concat(s.tmp_7, "\t"); - s.tmp_6 = r0; - r0 = s.s___326121.fields["data"]; - s.tmp_17 = r0; - r0 = pxsim.BufferMethods.toHex(s.tmp_17); - s.tmp_16 = r0; - if ((s.tmp_16) && (s.tmp_16).vtable) { - setupResume(s, 32); - pxsim_String__stringConv(s.tmp_16); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_16) + ""; } - case 32: - r0 = s.retval; - s.tmp_15 = r0; - r0 = pxsim_String__concat(s.tmp_6, s.tmp_15); - s.tmp_5 = r0; - r0 = pxsim_String__concat(s.tmp_5, "\r\n"); - s.tmp_4 = r0; - if ((s.tmp_4) && (s.tmp_4).vtable) { - setupResume(s, 33); - pxsim_String__stringConv(s.tmp_4); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_4) + ""; } - case 33: - r0 = s.retval; - s.tmp_3 = r0; - r0 = pxsim_String__concat(s.tmp_2, s.tmp_3); - s.ss___326119 = (r0); - r0 = (s.unnamed2915___U6 + 1); - s.unnamed2915___U6 = (r0); - { step = 11; continue; } - case 12: - s.unnamed2914___U5 = (undefined); - r0 = s.device___326069.fields["device_name"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 13; continue; } - r0 = s.device___326069.fields["device_name"]; - { step = 14; continue; } - case 13: - r0 = s.device___326069.fields["unique_device_identifier"]; - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.toHex(s.tmp_1); - case 14: - // jmp value (already in r0) - s.tmp_2 = r0; - if ((s.tmp_2) && (s.tmp_2).vtable) { - setupResume(s, 34); - pxsim_String__stringConv(s.tmp_2); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_2) + ""; } - case 34: - r0 = s.retval; - s.tmp_10 = r0; - r0 = pxsim_String__concat("\r\nid: ", s.tmp_10); - s.tmp_9 = r0; - r0 = pxsim_String__concat(s.tmp_9, "\r\naddress: "); - s.tmp_8 = r0; - r0 = s.device___326069.fields["device_address"]; - s.tmp_12 = r0; - if ((s.tmp_12) && (s.tmp_12).vtable) { - setupResume(s, 35); - pxsim_String__stringConv(s.tmp_12); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_12) + ""; } - case 35: - r0 = s.retval; - s.tmp_11 = r0; - r0 = pxsim_String__concat(s.tmp_8, s.tmp_11); - s.tmp_7 = r0; - r0 = pxsim_String__concat(s.tmp_7, "\tflags:"); - s.tmp_6 = r0; - if ((s.cpFlags___326074) && (s.cpFlags___326074).vtable) { - setupResume(s, 36); - pxsim_String__stringConv(s.cpFlags___326074); - checkResumeConsumed(); - return; - } else { s.retval = (s.cpFlags___326074) + ""; } - case 36: - r0 = s.retval; - s.tmp_13 = r0; - r0 = pxsim_String__concat(s.tmp_6, s.tmp_13); - s.tmp_5 = r0; - r0 = pxsim_String__concat(s.tmp_5, " "); - s.tmp_4 = r0; - if ((s.ss___326119) && (s.ss___326119).vtable) { - setupResume(s, 37); - pxsim_String__stringConv(s.ss___326119); - checkResumeConsumed(); - return; - } else { s.retval = (s.ss___326119) + ""; } - case 37: - r0 = s.retval; - s.tmp_14 = r0; - r0 = pxsim_String__concat(s.tmp_4, s.tmp_14); - s.tmp_3 = r0; - r0 = pxsim_String__concat(s.tmp_3, "\r\n"); - { step = 17; continue; } - case 15: - case 16: - r0 = pxsim_String_.mkEmpty(); - case 17: - return leave(s, r0) - default: oops() -} } } -jacdac_ControlDebugView_renderPacket__P299740.info = {"start":219,"length":1163,"line":10,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/jacdac/controldebugview.ts","functionName":"renderPacket","argumentNames":["this","pkt"]} -jacdac_ControlDebugView_renderPacket__P299740.info = {"start":219,"length":1163,"line":10,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/jacdac/controldebugview.ts","functionName":"renderPacket","argumentNames":["this","pkt"]} - -function jacdac_ControlDebugView_renderPacket__P299740_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_ControlDebugView_renderPacket__P299740, 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, - tmp_12: undefined, - tmp_13: undefined, - tmp_14: undefined, - tmp_15: undefined, - tmp_16: undefined, - tmp_17: undefined, - cp___326065: undefined, - device___326069: undefined, - cpFlags___326074: undefined, - ss___326119: undefined, - s___326121: undefined, - unnamed2914___U5: undefined, - unnamed2915___U6: undefined, + return { + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P1524, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, arg0: undefined, arg1: undefined, } } @@ -79156,7 +68360,7 @@ function jacdac_ControlDebugView_renderPacket__P299740_mk(s) { -function jacdac_ControllerDebugView_renderPacket__P299810(s) { +function scene_systemMenu_MenuOption_position__P1522(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79166,48 +68370,79 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.data___326182 = 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, jacdac_ControllerDebugView__C299807_VT)) failedCast(r0); - s.tmp_0 = jacdac_JDPacket_data__P299885_mk(s); - s.tmp_0.arg0 = s.arg1; + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C1520_VT)) failedCast(r0); + r0 = (s.arg0).fields["top"] = (s.arg2); + s.tmp_0 = Sprite_left__P758_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.data___326182 = (r0); - s.tmp_0 = jacdac_ControllerDebugView_renderData__P299811_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.data___326182; + s.tmp_0 = Sprite_top__P762_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__P738_mk(s); + r0 = s.arg0.fields["icon"]; + s.tmp_0.arg0 = r0; + s.tmp_1 = Sprite_x__P737_mk(s); + r0 = s.arg0.fields["card"]; + s.tmp_1.arg0 = r0; + s.pc = 4; return s.tmp_1; + case 4: + r0 = s.retval; + s.tmp_0.arg1 = r0; + s.pc = 3; return s.tmp_0; + case 3: + r0 = s.retval; + s.tmp_0 = Sprite_y__P740_mk(s); + r0 = s.arg0.fields["icon"]; + s.tmp_0.arg0 = r0; + s.tmp_1 = Sprite_y__P739_mk(s); + r0 = s.arg0.fields["card"]; + s.tmp_1.arg0 = r0; + s.pc = 6; return s.tmp_1; + case 6: + r0 = s.retval; + s.tmp_0.arg1 = r0; + s.pc = 5; return s.tmp_0; + case 5: + r0 = s.retval; + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_ControllerDebugView_renderPacket__P299810.info = {"start":7663,"length":130,"line":243,"column":8,"endLine":246,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderPacket","argumentNames":["this","packet"]} -jacdac_ControllerDebugView_renderPacket__P299810.info = {"start":7663,"length":130,"line":243,"column":8,"endLine":246,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderPacket","argumentNames":["this","packet"]} +scene_systemMenu_MenuOption_position__P1522.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__P1522.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 jacdac_ControllerDebugView_renderPacket__P299810_mk(s) { +function scene_systemMenu_MenuOption_position__P1522_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_ControllerDebugView_renderPacket__P299810, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P1522, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - data___326182: undefined, + tmp_1: undefined, arg0: undefined, arg1: undefined, + arg2: undefined, } } -function jacdac_ControllerDebugView_renderData__P299811(s) { +function scene_systemMenu_MenuOption_show__P1521(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79217,331 +68452,94 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.cmd___326189 = undefined; - s.state___326200 = undefined; - s.left___326203 = undefined; - s.up___326209 = undefined; - s.right___326215 = undefined; - s.down___326221 = undefined; - s.A___326227 = undefined; - s.B___326233 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_ControllerDebugView__C299807_VT)) failedCast(r0); - r0 = pxsim.BufferMethods.getByte(s.arg1, 0); - s.cmd___326189 = (r0); - s.tmp_0 = r0 = s.cmd___326189; - r0 = pxsim_pxtcore.switch_eq(1, s.tmp_0); - if (r0) { step = 1; continue; } - r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); - if (r0) { step = 14; continue; } - r0 = pxsim_pxtcore.switch_eq(3, s.tmp_0); - if (r0) { step = 23; continue; } - r0 = s.tmp_0; - { step = 26; continue; } + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C1520_VT)) failedCast(r0); + r0 = s.arg0.fields["theme"]; + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + s.tmp_1 = if_basicCard_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_1.arg0 = r0; + if (!s.tmp_1.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "basicCard"); + } else { + s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["basicCard"]; + if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["basicCard"]; } + else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } + else { s.pc = 3; return s.tmp_1; } + } + case 3: + r0 = s.retval; + { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.getByte(s.arg1, 1); - s.state___326200 = (r0); - r0 = (s.state___326200 & 2); - s.left___326203 = (r0); - r0 = (s.state___326200 & 4); - s.up___326209 = (r0); - r0 = (s.state___326200 & 8); - s.right___326215 = (r0); - r0 = (s.state___326200 & 16); - s.down___326221 = (r0); - r0 = (s.state___326200 & 32); - s.A___326227 = (r0); - r0 = (s.state___326200 & 64); - s.B___326233 = (r0); - r0 = pxsim_numops_toBoolDecr(s.left___326203); - if (!r0) { step = 2; continue; } - r0 = "L"; - { step = 3; continue; } + r0 = globals.CARD_NORMAL___1560; case 2: - r0 = "-"; - case 3: - // jmp value (already in r0) - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.up___326209); - if (!r0) { step = 4; continue; } - r0 = "U"; - { step = 5; continue; } - case 4: - r0 = "-"; - case 5: - // jmp value (already in r0) - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.right___326215); - if (!r0) { step = 6; continue; } - r0 = "R"; - { step = 7; continue; } - case 6: - r0 = "-"; - case 7: // jmp value (already in r0) s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.down___326221); - if (!r0) { step = 8; continue; } - r0 = "D"; - { step = 9; continue; } - case 8: - r0 = "-"; - case 9: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.A___326227); - if (!r0) { step = 10; continue; } - r0 = "A"; - { step = 11; continue; } - case 10: - r0 = "-"; - case 11: - // jmp value (already in r0) - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.B___326233); - if (!r0) { step = 12; continue; } - r0 = "B"; - { step = 13; continue; } - case 12: - r0 = "-"; - case 13: - // jmp value (already in r0) - s.tmp_5 = r0; - r0 = pxsim_String_.mkEmpty(); - s.tmp_11 = r0; - if ((s.tmp_0) && (s.tmp_0).vtable) { - setupResume(s, 28); - pxsim_String__stringConv(s.tmp_0); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_0) + ""; } - case 28: - r0 = s.retval; - s.tmp_12 = r0; - r0 = pxsim_String__concat(s.tmp_11, s.tmp_12); - s.tmp_10 = r0; - if ((s.tmp_1) && (s.tmp_1).vtable) { - setupResume(s, 29); - pxsim_String__stringConv(s.tmp_1); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_1) + ""; } - case 29: - r0 = s.retval; - s.tmp_13 = r0; - r0 = pxsim_String__concat(s.tmp_10, s.tmp_13); - s.tmp_9 = r0; - if ((s.tmp_2) && (s.tmp_2).vtable) { - setupResume(s, 30); - pxsim_String__stringConv(s.tmp_2); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_2) + ""; } - case 30: - r0 = s.retval; - s.tmp_14 = r0; - r0 = pxsim_String__concat(s.tmp_9, s.tmp_14); - s.tmp_8 = r0; - if ((s.tmp_3) && (s.tmp_3).vtable) { - setupResume(s, 31); - pxsim_String__stringConv(s.tmp_3); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_3) + ""; } - case 31: - r0 = s.retval; - s.tmp_15 = r0; - r0 = pxsim_String__concat(s.tmp_8, s.tmp_15); - s.tmp_7 = r0; - if ((s.tmp_4) && (s.tmp_4).vtable) { - setupResume(s, 32); - pxsim_String__stringConv(s.tmp_4); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_4) + ""; } - case 32: - r0 = s.retval; - s.tmp_16 = r0; - r0 = pxsim_String__concat(s.tmp_7, s.tmp_16); - s.tmp_6 = r0; - if ((s.tmp_5) && (s.tmp_5).vtable) { - setupResume(s, 33); - pxsim_String__stringConv(s.tmp_5); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_5) + ""; } - case 33: - r0 = s.retval; - s.tmp_17 = r0; - r0 = pxsim_String__concat(s.tmp_6, s.tmp_17); - { step = 27; continue; } - case 14: - r0 = pxsim.BufferMethods.getByte(s.arg1, 1); - s.tmp_18 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_18); - if (!r0) { step = 15; continue; } - s.tmp_19 = jacdac_toHex8__P299958_mk(s); - r0 = pxsim.BufferMethods.getByte(s.arg1, 1); - s.tmp_19.arg0 = r0; - s.pc = 34; return s.tmp_19; - case 34: - r0 = s.retval; - { step = 16; continue; } - case 15: - r0 = "--"; - case 16: - // jmp value (already in r0) - s.tmp_20 = r0; - r0 = pxsim.BufferMethods.getByte(s.arg1, 2); - s.tmp_21 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_21); - if (!r0) { step = 17; continue; } - s.tmp_22 = jacdac_toHex8__P299958_mk(s); - r0 = pxsim.BufferMethods.getByte(s.arg1, 2); - s.tmp_22.arg0 = r0; - s.pc = 35; return s.tmp_22; - case 35: - r0 = s.retval; - { step = 18; continue; } - case 17: - r0 = "--"; - case 18: - // jmp value (already in r0) - s.tmp_23 = r0; - r0 = pxsim.BufferMethods.getByte(s.arg1, 3); - s.tmp_24 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_24); - if (!r0) { step = 19; continue; } - s.tmp_25 = jacdac_toHex8__P299958_mk(s); - r0 = pxsim.BufferMethods.getByte(s.arg1, 3); - s.tmp_25.arg0 = r0; - s.pc = 36; return s.tmp_25; - case 36: - r0 = s.retval; - { step = 20; continue; } - case 19: - r0 = "--"; - case 20: - // jmp value (already in r0) - s.tmp_26 = r0; - r0 = pxsim.BufferMethods.getByte(s.arg1, 4); - s.tmp_27 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_27); - if (!r0) { step = 21; continue; } - s.tmp_28 = jacdac_toHex8__P299958_mk(s); - r0 = pxsim.BufferMethods.getByte(s.arg1, 4); - s.tmp_28.arg0 = r0; - s.pc = 37; return s.tmp_28; - case 37: - r0 = s.retval; - { step = 22; continue; } - case 21: - r0 = "--"; - case 22: - // jmp value (already in r0) - s.tmp_29 = r0; - if ((s.tmp_20) && (s.tmp_20).vtable) { - setupResume(s, 38); - pxsim_String__stringConv(s.tmp_20); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_20) + ""; } - case 38: - r0 = s.retval; - s.tmp_36 = r0; - r0 = pxsim_String__concat("srv> ", s.tmp_36); - s.tmp_35 = r0; - r0 = pxsim_String__concat(s.tmp_35, " "); - s.tmp_34 = r0; - if ((s.tmp_23) && (s.tmp_23).vtable) { - setupResume(s, 39); - pxsim_String__stringConv(s.tmp_23); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_23) + ""; } - case 39: - r0 = s.retval; - s.tmp_37 = r0; - r0 = pxsim_String__concat(s.tmp_34, s.tmp_37); - s.tmp_33 = r0; - r0 = pxsim_String__concat(s.tmp_33, " "); - s.tmp_32 = r0; - if ((s.tmp_26) && (s.tmp_26).vtable) { - setupResume(s, 40); - pxsim_String__stringConv(s.tmp_26); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_26) + ""; } - case 40: - r0 = s.retval; - s.tmp_38 = r0; - r0 = pxsim_String__concat(s.tmp_32, s.tmp_38); - s.tmp_31 = r0; - r0 = pxsim_String__concat(s.tmp_31, " "); - s.tmp_30 = r0; - if ((s.tmp_29) && (s.tmp_29).vtable) { - setupResume(s, 41); - pxsim_String__stringConv(s.tmp_29); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_29) + ""; } - case 41: + s.tmp_3 = r0 = s.arg0; + s.tmp_5 = sprites_create__P730_mk(s); + s.tmp_5.arg0 = s.tmp_2; + s.tmp_5.arg1 = undefined; + s.pc = 4; return s.tmp_5; + case 4: r0 = s.retval; - s.tmp_39 = r0; - r0 = pxsim_String__concat(s.tmp_30, s.tmp_39); - { step = 27; continue; } - case 23: - r0 = pxsim.BufferMethods.getByte(s.arg1, 1); - s.tmp_40 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_40); - if (!r0) { step = 24; continue; } - s.tmp_41 = jacdac_toHex8__P299958_mk(s); - r0 = pxsim.BufferMethods.getByte(s.arg1, 1); - s.tmp_41.arg0 = r0; - s.pc = 42; return s.tmp_41; - case 42: + s.tmp_4 = r0; + r0 = (s.tmp_3).fields["card"] = (s.tmp_4); + s.tmp_0 = if_z_2_mk(s); + r0 = s.arg0.fields["card"]; + s.tmp_0.arg0 = r0; + s.tmp_0.arg1 = 1; + if (!s.tmp_0.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapSetByString(s.tmp_0.arg0, "z", s.tmp_0.arg1); + } else { + s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; + if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } + else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } + else { s.pc = 5; return s.tmp_0; } + } + case 5: r0 = s.retval; - { step = 25; continue; } - case 24: - r0 = "--"; - case 25: - // jmp value (already in r0) - s.tmp_42 = r0; - if ((s.tmp_42) && (s.tmp_42).vtable) { - setupResume(s, 43); - pxsim_String__stringConv(s.tmp_42); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_42) + ""; } - case 43: + s.tmp_0 = r0 = s.arg0; + s.tmp_2 = sprites_create__P730_mk(s); + r0 = s.arg0.fields["iconImage"]; + s.tmp_2.arg0 = r0; + s.tmp_2.arg1 = undefined; + s.pc = 6; return s.tmp_2; + case 6: r0 = s.retval; - s.tmp_43 = r0; - r0 = pxsim_String__concat("client> ", s.tmp_43); - { step = 27; continue; } - case 26: - s.tmp_44 = jacdac_toHex8__P299958_mk(s); - s.tmp_44.arg0 = s.cmd___326189; - s.pc = 44; return s.tmp_44; - case 44: + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["icon"] = (s.tmp_1); + s.tmp_0 = if_z_2_mk(s); + r0 = s.arg0.fields["icon"]; + s.tmp_0.arg0 = r0; + s.tmp_0.arg1 = 2; + if (!s.tmp_0.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapSetByString(s.tmp_0.arg0, "z", s.tmp_0.arg1); + } else { + s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; + if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } + else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } + else { s.pc = 7; return s.tmp_0; } + } + case 7: r0 = s.retval; - { step = 27; continue; } + r0 = (s.arg0).fields["state"] = (2); r0 = undefined; - case 27: return leave(s, r0) default: oops() } } } -jacdac_ControllerDebugView_renderData__P299811.info = {"start":7803,"length":1113,"line":248,"column":8,"endLine":267,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderData","argumentNames":["this","data"]} -jacdac_ControllerDebugView_renderData__P299811.info = {"start":7803,"length":1113,"line":248,"column":8,"endLine":267,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderData","argumentNames":["this","data"]} +scene_systemMenu_MenuOption_show__P1521.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__P1521.info = {"start":904,"length":264,"line":41,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"show","argumentNames":["this"]} -function jacdac_ControllerDebugView_renderData__P299811_mk(s) { +function scene_systemMenu_MenuOption_show__P1521_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_ControllerDebugView_renderData__P299811, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P1521, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -79549,62 +68547,14 @@ function jacdac_ControllerDebugView_renderData__P299811_mk(s) { 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, - tmp_19: undefined, - tmp_20: undefined, - tmp_21: undefined, - tmp_22: undefined, - tmp_23: undefined, - tmp_24: undefined, - tmp_25: undefined, - tmp_26: undefined, - tmp_27: undefined, - tmp_28: undefined, - tmp_29: undefined, - tmp_30: undefined, - tmp_31: undefined, - tmp_32: undefined, - tmp_33: undefined, - tmp_34: undefined, - tmp_35: undefined, - tmp_36: undefined, - tmp_37: undefined, - tmp_38: undefined, - tmp_39: undefined, - tmp_40: undefined, - tmp_41: undefined, - tmp_42: undefined, - tmp_43: undefined, - tmp_44: undefined, - cmd___326189: undefined, - state___326200: undefined, - left___326203: undefined, - up___326209: undefined, - right___326215: undefined, - down___326221: undefined, - A___326227: undefined, - B___326233: undefined, arg0: undefined, - arg1: undefined, } } -function jacdac_toHex8__P299958(s) { +function game_onShade__P1250(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79614,27 +68564,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.hexBuf___326294 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim.control.createBuffer(1); - s.hexBuf___326294 = (r0); - r0 = pxsim.BufferMethods.setNumber(s.hexBuf___326294, 2, 0, s.arg0); - r0 = pxsim.BufferMethods.toHex(s.hexBuf___326294); + s.tmp_0 = game_init__P1235_mk(s); + s.tmp_0.arg0 = undefined; + s.pc = 4; return s.tmp_0; + case 4: + r0 = s.retval; + r0 = pxsim_numops_toBoolDecr(s.arg0); + 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: + s.tmp_2 = scene_createRenderable__P1095_mk(s); + s.tmp_2.arg0 = 80; + s.tmp_2.arg1 = s.arg0; + s.tmp_2.arg2 = undefined; + s.pc = 5; return s.tmp_2; + case 5: + r0 = s.retval; + case 3: + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_toHex8__P299958.info = {"start":504,"length":182,"line":14,"column":4,"endLine":18,"endColumn":5,"fileName":"pxt_modules/jacdac/config.ts","functionName":"toHex8","argumentNames":["n"]} -jacdac_toHex8__P299958.info = {"start":504,"length":182,"line":14,"column":4,"endLine":18,"endColumn":5,"fileName":"pxt_modules/jacdac/config.ts","functionName":"toHex8","argumentNames":["n"]} +game_onShade__P1250.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__P1250.info = {"start":9936,"length":145,"line":320,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} -function jacdac_toHex8__P299958_mk(s) { +function game_onShade__P1250_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_toHex8__P299958, depth: s.depth + 1, + parent: s, fn: game_onShade__P1250, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - hexBuf___326294: undefined, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, arg0: undefined, } } @@ -79642,7 +68612,7 @@ function jacdac_toHex8__P299958_mk(s) { -function jacdac_MessageBusDebugView_renderPacket__P299774(s) { +function scene_systemMenu_initVolume__P1553(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79652,77 +68622,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.data___326443 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_MessageBusDebugView__C299772_VT)) failedCast(r0); - s.tmp_0 = jacdac_JDPacket_data__P299885_mk(s); - s.tmp_0.arg0 = s.arg1; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - s.data___326443 = (r0); - r0 = pxsim_String_.mkEmpty(); - s.tmp_2 = r0; - r0 = pxsim.BufferMethods.getNumber(s.data___326443, 4, 0); - s.tmp_4 = r0; - if ((s.tmp_4) && (s.tmp_4).vtable) { - setupResume(s, 2); - pxsim_String__stringConv(s.tmp_4); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_4) + ""; } - case 2: + s.vol___25640 = undefined; + s.tmp_0 = settings_readNumber__P584_mk(s); + s.tmp_0.arg0 = "#volume"; + s.pc = 3; return s.tmp_0; + case 3: r0 = s.retval; - s.tmp_3 = r0; - r0 = pxsim_String__concat(s.tmp_2, s.tmp_3); - s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, " "); + s.vol___25640 = (r0); + r0 = (s.vol___25640 != null); s.tmp_0 = r0; - r0 = pxsim.BufferMethods.getNumber(s.data___326443, 4, 2); - s.tmp_6 = r0; - if ((s.tmp_6) && (s.tmp_6).vtable) { - setupResume(s, 3); - pxsim_String__stringConv(s.tmp_6); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_6) + ""; } - case 3: + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + s.tmp_1 = music_setVolume__P403_mk(s); + s.tmp_1.arg0 = s.vol___25640; + s.pc = 4; return s.tmp_1; + case 4: r0 = s.retval; - s.tmp_5 = r0; - r0 = pxsim_String__concat(s.tmp_0, s.tmp_5); + case 1: + case 2: + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_MessageBusDebugView_renderPacket__P299774.info = {"start":3787,"length":198,"line":114,"column":8,"endLine":117,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderPacket","argumentNames":["this","packet"]} -jacdac_MessageBusDebugView_renderPacket__P299774.info = {"start":3787,"length":198,"line":114,"column":8,"endLine":117,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderPacket","argumentNames":["this","packet"]} +scene_systemMenu_initVolume__P1553.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__P1553.info = {"start":12776,"length":138,"line":389,"column":4,"endLine":393,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"initVolume","argumentNames":[]} -function jacdac_MessageBusDebugView_renderPacket__P299774_mk(s) { +function scene_systemMenu_initVolume__P1553_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_MessageBusDebugView_renderPacket__P299774, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P1553, 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, - data___326443: undefined, - arg0: undefined, - arg1: undefined, + vol___25640: undefined, } } -function jacdac_ConsoleDebugView_renderPacket__P299770(s) { +function game_currentScene__P922(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79732,84 +68671,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.data___326463 = undefined; - s.pri___326466 = undefined; - s.str___326469 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_ConsoleDebugView__C299767_VT)) failedCast(r0); - s.tmp_0 = jacdac_JDPacket_data__P299885_mk(s); - s.tmp_0.arg0 = s.arg1; + s.tmp_0 = game_init__P1235_mk(s); + s.tmp_0.arg0 = undefined; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.data___326463 = (r0); - r0 = pxsim.BufferMethods.getByte(s.data___326463, 0); - s.pri___326466 = (r0); - s.tmp_0 = jacdac_bufferToString__P300053_mk(s); - s.tmp_0.arg0 = s.data___326463; - s.tmp_0.arg1 = 1; - s.pc = 2; return s.tmp_0; - case 2: - r0 = s.retval; - s.str___326469 = (r0); - r0 = pxsim_String_.mkEmpty(); - s.tmp_2 = r0; - if ((s.pri___326466) && (s.pri___326466).vtable) { - setupResume(s, 3); - pxsim_String__stringConv(s.pri___326466); - checkResumeConsumed(); - return; - } else { s.retval = (s.pri___326466) + ""; } - case 3: - r0 = s.retval; - s.tmp_3 = r0; - r0 = pxsim_String__concat(s.tmp_2, s.tmp_3); - s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, ":"); - s.tmp_0 = r0; - if ((s.str___326469) && (s.str___326469).vtable) { - setupResume(s, 4); - pxsim_String__stringConv(s.str___326469); - checkResumeConsumed(); - return; - } else { s.retval = (s.str___326469) + ""; } - case 4: - r0 = s.retval; - s.tmp_4 = r0; - r0 = pxsim_String__concat(s.tmp_0, s.tmp_4); + r0 = globals._scene___1224; return leave(s, r0) default: oops() } } } -jacdac_ConsoleDebugView_renderPacket__P299770.info = {"start":3412,"length":198,"line":101,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderPacket","argumentNames":["this","packet"]} -jacdac_ConsoleDebugView_renderPacket__P299770.info = {"start":3412,"length":198,"line":101,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderPacket","argumentNames":["this","packet"]} +game_currentScene__P922.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P922.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} -function jacdac_ConsoleDebugView_renderPacket__P299770_mk(s) { +function game_currentScene__P922_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_ConsoleDebugView_renderPacket__P299770, depth: s.depth + 1, + parent: s, fn: game_currentScene__P922, 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, - data___326463: undefined, - pri___326466: undefined, - str___326469: undefined, - arg0: undefined, - arg1: undefined, } } -function jacdac_bufferToString__P300053(s) { +function game_addScenePopHandler__P917(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79819,104 +68705,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.str___326484 = undefined; - s.i___326485 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_String_.mkEmpty(); - s.str___326484 = (r0); - s.i___326485 = (s.arg1); - case 1: - s.tmp_1 = r0 = s.i___326485; - r0 = pxsim.BufferMethods.length(s.arg0); - s.tmp_2 = r0; - r0 = (s.tmp_1 < s.tmp_2); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___1227); + 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 = 2; continue; } - r0 = s.tmp_0; - { step = 3; continue; } + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = pxsim_Array__mk(); + globals._scenePopHandlers___1227 = (r0); + case 1: case 2: - r0 = pxsim.BufferMethods.getByte(s.arg0, s.i___326485); - s.tmp_6 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_6); - s.tmp_5 = r0; - r0 = pxsim_Boolean__bang(s.tmp_5); - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); - s.tmp_3 = r0; - r0 = pxsim_Boolean__bang(s.tmp_3); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___1227, 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___1227, s.arg0); case 3: - // jmp value (already in r0) - s.tmp_7 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_7); - if (!r0) { step = 4; continue; } - if ((s.str___326484) && (s.str___326484).vtable) { - setupResume(s, 5); - pxsim_String__stringConv(s.str___326484); - checkResumeConsumed(); - return; - } else { s.retval = (s.str___326484) + ""; } - case 5: - r0 = s.retval; - s.tmp_8 = r0; - r0 = pxsim.BufferMethods.getByte(s.arg0, s.i___326485); - s.tmp_11 = r0; - r0 = pxsim_String_.fromCharCode(s.tmp_11); - s.tmp_10 = r0; - if ((s.tmp_10) && (s.tmp_10).vtable) { - setupResume(s, 6); - pxsim_String__stringConv(s.tmp_10); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_10) + ""; } - case 6: - r0 = s.retval; - s.tmp_9 = r0; - r0 = pxsim_String__concat(s.tmp_8, s.tmp_9); - s.str___326484 = (r0); - r0 = (s.i___326485 + 1); - s.i___326485 = (r0); - { step = 1; continue; } case 4: - r0 = s.str___326484; + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_bufferToString__P300053.info = {"start":687,"length":229,"line":28,"column":4,"endLine":33,"endColumn":5,"fileName":"pxt_modules/jacdac/sensordriver.ts","functionName":"bufferToString","argumentNames":["buf","offset"]} -jacdac_bufferToString__P300053.info = {"start":687,"length":229,"line":28,"column":4,"endLine":33,"endColumn":5,"fileName":"pxt_modules/jacdac/sensordriver.ts","functionName":"bufferToString","argumentNames":["buf","offset"]} +game_addScenePopHandler__P917.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__P917.info = {"start":11756,"length":237,"line":368,"column":4,"endLine":372,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} -function jacdac_bufferToString__P300053_mk(s) { +function game_addScenePopHandler__P917_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_bufferToString__P300053, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P917, 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, - str___326484: undefined, - i___326485: undefined, arg0: undefined, - arg1: undefined, } } -function jacdac_MusicDebugView_renderPacket__P299765(s) { +function game_addScenePushHandler__P900(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79926,91 +68759,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.data___326387 = undefined; - s.cmd___326390 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_MusicDebugView__C299763_VT)) failedCast(r0); - s.tmp_0 = jacdac_JDPacket_data__P299885_mk(s); - s.tmp_0.arg0 = s.arg1; - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - s.data___326387 = (r0); - r0 = pxsim.BufferMethods.getByte(s.data___326387, 0); - s.cmd___326390 = (r0); - s.tmp_0 = r0 = s.cmd___326390; - r0 = pxsim_pxtcore.switch_eq(1, s.tmp_0); - if (r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } - case 1: - r0 = pxsim.BufferMethods.getNumber(s.data___326387, 11, 1); - s.tmp_4 = r0; - if ((s.tmp_4) && (s.tmp_4).vtable) { - setupResume(s, 5); - pxsim_String__stringConv(s.tmp_4); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_4) + ""; } - case 5: - r0 = s.retval; - s.tmp_3 = r0; - r0 = pxsim_String__concat("tone ", s.tmp_3); - s.tmp_2 = r0; - r0 = pxsim_String__concat(s.tmp_2, " "); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___1226); s.tmp_1 = r0; - r0 = pxsim.BufferMethods.getNumber(s.data___326387, 11, 5); - s.tmp_6 = r0; - if ((s.tmp_6) && (s.tmp_6).vtable) { - setupResume(s, 6); - pxsim_String__stringConv(s.tmp_6); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_6) + ""; } - case 6: - r0 = s.retval; - s.tmp_5 = r0; - r0 = pxsim_String__concat(s.tmp_1, s.tmp_5); - { step = 3; continue; } + 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___1226 = (r0); + case 1: case 2: - r0 = pxsim_String_.mkEmpty(); - { step = 3; continue; } - r0 = undefined; + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___1226, 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___1226, s.arg0); case 3: + case 4: + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_MusicDebugView_renderPacket__P299765.info = {"start":2649,"length":379,"line":80,"column":8,"endLine":89,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderPacket","argumentNames":["this","packet"]} -jacdac_MusicDebugView_renderPacket__P299765.info = {"start":2649,"length":379,"line":80,"column":8,"endLine":89,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderPacket","argumentNames":["this","packet"]} +game_addScenePushHandler__P900.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__P900.info = {"start":10755,"length":242,"line":344,"column":4,"endLine":348,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} -function jacdac_MusicDebugView_renderPacket__P299765_mk(s) { +function game_addScenePushHandler__P900_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_MusicDebugView_renderPacket__P299765, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P900, 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, - data___326387: undefined, - cmd___326390: undefined, arg0: undefined, - arg1: undefined, } } -function jacdac_LightDebugView_renderPacket__P299761(s) { +function Fx8__P92(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80020,104 +68813,72 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.data___326414 = undefined; - s.cmd___326417 = undefined; - s.payload___326420 = undefined; - s.names___326427 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_LightDebugView__C299759_VT)) failedCast(r0); - s.tmp_0 = jacdac_JDPacket_data__P299885_mk(s); - s.tmp_0.arg0 = s.arg1; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - s.data___326414 = (r0); - r0 = pxsim.BufferMethods.getByte(s.data___326414, 0); - s.cmd___326417 = (r0); - s.tmp_0 = r0 = s.data___326414; - r0 = pxsim.BufferMethods.length(s.data___326414); - s.tmp_2 = r0; - r0 = (s.tmp_2 - 1); - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_0, 1, s.tmp_1); - s.payload___326420 = (r0); - r0 = pxsim_Array__mk(); - s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, "none"); - r0 = pxsim_Array__push(s.tmp_0, "all"); - r0 = pxsim_Array__push(s.tmp_0, "bright"); - r0 = pxsim_Array__push(s.tmp_0, "rainbow"); - r0 = pxsim_Array__push(s.tmp_0, "rlights"); - r0 = pxsim_Array__push(s.tmp_0, "colorw"); - r0 = pxsim_Array__push(s.tmp_0, "comet"); - r0 = pxsim_Array__push(s.tmp_0, "theaterchase"); - r0 = pxsim_Array__push(s.tmp_0, "sparkle"); - s.names___326427 = (s.tmp_0); - r0 = pxsim_String_.mkEmpty(); - s.tmp_2 = r0; - r0 = pxsim_Array__getAt(s.names___326427, s.cmd___326417); - s.tmp_4 = r0; - if ((s.tmp_4) && (s.tmp_4).vtable) { - setupResume(s, 2); - pxsim_String__stringConv(s.tmp_4); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_4) + ""; } - case 2: - r0 = s.retval; - s.tmp_3 = r0; - r0 = pxsim_String__concat(s.tmp_2, s.tmp_3); - s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, " "); + r0 = (s.arg0 * 256); s.tmp_0 = r0; - r0 = pxsim.BufferMethods.toHex(s.payload___326420); - s.tmp_6 = r0; - if ((s.tmp_6) && (s.tmp_6).vtable) { - setupResume(s, 3); - pxsim_String__stringConv(s.tmp_6); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_6) + ""; } - case 3: - r0 = s.retval; - s.tmp_5 = r0; - r0 = pxsim_String__concat(s.tmp_0, s.tmp_5); + r0 = (s.tmp_0 | 0); return leave(s, r0) default: oops() } } } -jacdac_LightDebugView_renderPacket__P299761.info = {"start":1992,"length":506,"line":56,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderPacket","argumentNames":["this","packet"]} -jacdac_LightDebugView_renderPacket__P299761.info = {"start":1992,"length":506,"line":56,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderPacket","argumentNames":["this","packet"]} +Fx8__P92.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} +Fx8__P92.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} -function jacdac_LightDebugView_renderPacket__P299761_mk(s) { +function Fx8__P92_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_LightDebugView_renderPacket__P299761, depth: s.depth + 1, + parent: s, fn: Fx8__P92, 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, - data___326414: undefined, - cmd___326417: undefined, - payload___326420: undefined, - names___326427: undefined, arg0: undefined, - arg1: undefined, } } -function jacdac_SensorDebugView_renderPacket__P299754(s) { +function SpriteKind_create__P820(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 = (globals.nextKind___819 === undefined); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + globals.nextKind___819 = (1000); + case 1: + case 2: + s.tmp_0 = r0 = globals.nextKind___819; + r0 = (s.tmp_0 + 1); + globals.nextKind___819 = (r0); + r0 = s.tmp_0; + return leave(s, r0) + default: oops() +} } } +SpriteKind_create__P820.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P820.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__P820_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: SpriteKind_create__P820, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, +} } + + + + + +function controller_Button_constructor__P672(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80127,194 +68888,69 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.data___326308 = undefined; - s.cmd___326311 = undefined; - s.interval___326328 = 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, jacdac_SensorDebugView__C299751_VT)) failedCast(r0); - s.tmp_0 = jacdac_JDPacket_data__P299885_mk(s); - s.tmp_0.arg0 = s.arg1; - s.pc = 13; return s.tmp_0; - case 13: - r0 = s.retval; - s.data___326308 = (r0); - r0 = pxsim.BufferMethods.getByte(s.data___326308, 0); - s.cmd___326311 = (r0); - s.tmp_0 = r0 = s.cmd___326311; - r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); - if (r0) { step = 1; continue; } - r0 = pxsim_pxtcore.switch_eq(3, s.tmp_0); - if (r0) { step = 4; continue; } - r0 = pxsim_pxtcore.switch_eq(4, s.tmp_0); - if (r0) { step = 5; continue; } - r0 = pxsim_pxtcore.switch_eq(5, s.tmp_0); - if (r0) { step = 6; continue; } - r0 = pxsim_pxtcore.switch_eq(1, s.tmp_0); - if (r0) { step = 7; continue; } - r0 = pxsim_pxtcore.switch_eq(0, s.tmp_0); - if (r0) { step = 8; continue; } - r0 = s.tmp_0; - { step = 11; continue; } - case 1: - r0 = pxsim.BufferMethods.getNumber(s.data___326308, 11, 1); - s.interval___326328 = (r0); - r0 = pxsim_numops_toBoolDecr(s.interval___326328); - if (!r0) { step = 2; continue; } - if ((s.interval___326328) && (s.interval___326328).vtable) { - setupResume(s, 14); - pxsim_String__stringConv(s.interval___326328); - checkResumeConsumed(); - return; - } else { s.retval = (s.interval___326328) + ""; } - case 14: - r0 = s.retval; + if (!checkSubtype(r0, controller_Button__C661_VT)) failedCast(r0); + r0 = (s.arg0).fields["id"] = (s.arg1); + r0 = (s.arg0).fields["_pressed"] = (false); + r0 = (s.arg0).fields["repeatDelay"] = (undefined); + r0 = (s.arg0).fields["repeatInterval"] = (undefined); + r0 = (s.arg0).fields["_repeatCount"] = (0); + r0 = (s.arg1 > 0); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 3; continue; } + r0 = pxsim_pxtcore_mkAction(1, inline__P25716); s.tmp_1 = r0; - r0 = pxsim_String__concat("(", s.tmp_1); + 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__P25723); s.tmp_0 = r0; - r0 = pxsim_String__concat(s.tmp_0, "ms)"); - { step = 3; continue; } + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); + r0 = s.arg0.fields["id"]; + s.tmp_1 = r0; + r0 = pxsim.control.internalOnEvent(2051, s.tmp_1, s.tmp_0, 16); + r0 = (s.arg2 > 0); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = undefined; + case 1: case 2: - r0 = pxsim_String_.mkEmpty(); case 3: - // jmp value (already in r0) - s.tmp_2 = r0; - if ((s.tmp_2) && (s.tmp_2).vtable) { - setupResume(s, 15); - pxsim_String__stringConv(s.tmp_2); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_2) + ""; } - case 15: - r0 = s.retval; - s.tmp_3 = r0; - r0 = pxsim_String__concat("start stream ", s.tmp_3); - { step = 12; continue; } case 4: - r0 = "stop stream"; - { step = 12; continue; } - case 5: - r0 = pxsim.BufferMethods.getByte(s.data___326308, 1); - s.tmp_5 = r0; - if ((s.tmp_5) && (s.tmp_5).vtable) { - setupResume(s, 16); - pxsim_String__stringConv(s.tmp_5); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_5) + ""; } - case 16: - r0 = s.retval; - s.tmp_4 = r0; - r0 = pxsim_String__concat("low ", s.tmp_4); - { step = 12; continue; } - case 6: - r0 = pxsim.BufferMethods.getByte(s.data___326308, 1); - s.tmp_7 = r0; - if ((s.tmp_7) && (s.tmp_7).vtable) { - setupResume(s, 17); - pxsim_String__stringConv(s.tmp_7); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_7) + ""; } - case 17: - r0 = s.retval; - s.tmp_6 = r0; - r0 = pxsim_String__concat("high ", s.tmp_6); - { step = 12; continue; } - case 7: - s.tmp_8 = jacdac_SensorDebugView__C299751_v1_2_mk(s); - s.tmp_8.arg0 = s.arg0; - r0 = pxsim.BufferMethods.getByte(s.data___326308, 1); - s.tmp_8.arg1 = r0; - if (!checkSubtype(s.tmp_8.arg0, jacdac_SensorDebugView__C299751_VT)) failedCast(s.tmp_8.arg0); - s.tmp_8.fn = s.tmp_8.arg0.vtable.methods.renderEvent; - s.pc = 18; return s.tmp_8; - case 18: - r0 = s.retval; - { step = 12; continue; } - case 8: - s.tmp_10 = jacdac_SensorDebugView__C299751_v2_2_mk(s); - s.tmp_10.arg0 = s.arg0; - r0 = pxsim.BufferMethods.slice(s.data___326308, 1, -1); - s.tmp_10.arg1 = r0; - if (!checkSubtype(s.tmp_10.arg0, jacdac_SensorDebugView__C299751_VT)) failedCast(s.tmp_10.arg0); - s.tmp_10.fn = s.tmp_10.arg0.vtable.methods.renderState; - s.pc = 19; return s.tmp_10; - case 19: - r0 = s.retval; - s.tmp_9 = r0; - r0 = pxsim_numops_toBool(s.tmp_9); - if (!r0) { step = 9; continue; } - r0 = s.tmp_9; - { step = 10; continue; } - case 9: - r0 = pxsim.BufferMethods.getByte(s.data___326308, 1); - case 10: - // jmp value (already in r0) - s.tmp_11 = r0; - if ((s.tmp_11) && (s.tmp_11).vtable) { - setupResume(s, 20); - pxsim_String__stringConv(s.tmp_11); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_11) + ""; } - case 20: - r0 = s.retval; - s.tmp_12 = r0; - r0 = pxsim_String__concat("ev ", s.tmp_12); - { step = 12; continue; } - case 11: - s.tmp_13 = jacdac_SensorDebugView_renderCustomPacket__P299755_mk(s); - s.tmp_13.arg0 = s.arg0; - s.tmp_13.arg1 = s.cmd___326311; - s.tmp_13.arg2 = s.arg1; - s.pc = 21; return s.tmp_13; - case 21: - r0 = s.retval; - { step = 12; continue; } r0 = undefined; - case 12: return leave(s, r0) default: oops() } } } -jacdac_SensorDebugView_renderPacket__P299754.info = {"start":588,"length":953,"line":16,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderPacket","argumentNames":["this","packet"]} -jacdac_SensorDebugView_renderPacket__P299754.info = {"start":588,"length":953,"line":16,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderPacket","argumentNames":["this","packet"]} +controller_Button_constructor__P672.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__P672.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 jacdac_SensorDebugView_renderPacket__P299754_mk(s) { +function controller_Button_constructor__P672_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_SensorDebugView_renderPacket__P299754, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P672, 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, - tmp_12: undefined, - tmp_13: undefined, - data___326308: undefined, - cmd___326311: undefined, - interval___326328: undefined, arg0: undefined, arg1: undefined, + arg2: undefined, } } -function jacdac_SensorDebugView_renderState__P299757(s) { +function inline__P25716(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80324,34 +68960,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; - if (!checkSubtype(r0, jacdac_SensorDebugView__C299751_VT)) failedCast(r0); - r0 = pxsim.BufferMethods.toHex(s.arg1); + s.tmp_0 = controller_Button_setPressed__P670_mk(s); + s.tmp_0.arg0 = s.caps[0]; + s.tmp_0.arg1 = false; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_SensorDebugView_renderState__P299757.info = {"start":1763,"length":78,"line":46,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderState","argumentNames":["this","data"]} -jacdac_SensorDebugView_renderState__P299757.info = {"start":1763,"length":78,"line":46,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderState","argumentNames":["this","data"]} +inline__P25716.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P25716.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function jacdac_SensorDebugView_renderState__P299757_mk(s) { +function inline__P25716_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_SensorDebugView_renderState__P299757, depth: s.depth + 1, + parent: s, fn: inline__P25716, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, - arg1: undefined, + tmp_0: undefined, } } -function jacdac_SensorDebugView_renderEvent__P299756(s) { +function inline__P25723(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80361,34 +68995,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; - if (!checkSubtype(r0, jacdac_SensorDebugView__C299751_VT)) failedCast(r0); - r0 = pxsim_numops.toString(s.arg1); + s.tmp_0 = controller_Button_setPressed__P670_mk(s); + s.tmp_0.arg0 = s.caps[0]; + s.tmp_0.arg1 = true; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_SensorDebugView_renderEvent__P299756.info = {"start":1670,"length":83,"line":42,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderEvent","argumentNames":["this","value"]} -jacdac_SensorDebugView_renderEvent__P299756.info = {"start":1670,"length":83,"line":42,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderEvent","argumentNames":["this","value"]} +inline__P25723.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P25723.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function jacdac_SensorDebugView_renderEvent__P299756_mk(s) { +function inline__P25723_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_SensorDebugView_renderEvent__P299756, depth: s.depth + 1, + parent: s, fn: inline__P25723, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, - arg1: undefined, + tmp_0: undefined, } } -function jacdac_SensorDebugView_renderCustomPacket__P299755(s) { +function controller_Button_setPressed__P670(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80401,41 +69033,79 @@ 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, jacdac_SensorDebugView__C299751_VT)) failedCast(r0); - s.tmp_1 = jacdac_JDPacket_data__P299885_mk(s); - s.tmp_1.arg0 = s.arg2; - s.pc = 1; return s.tmp_1; - case 1: + if (!checkSubtype(r0, controller_Button__C661_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__P464_mk(s); + s.pc = 7; return s.tmp_2; + case 7: + r0 = s.retval; + r0 = s.arg0.fields["_owner"]; + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + s.tmp_1 = controller_Controller_connected__P701_mk(s); + r0 = s.arg0.fields["_owner"]; + s.tmp_1.arg0 = r0; + s.tmp_1.arg1 = true; + s.pc = 8; return s.tmp_1; + case 8: r0 = s.retval; + case 1: + case 2: + r0 = (s.arg0).fields["_pressed"] = (s.arg1); + r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; - r0 = pxsim.BufferMethods.toHex(s.tmp_0); + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 3; continue; } + r0 = (s.arg0).fields["_pressedElasped"] = (0); + s.tmp_0 = controller_Button_raiseButtonDown__P664_mk(s); + s.tmp_0.arg0 = s.arg0; + s.pc = 9; return s.tmp_0; + case 9: + r0 = s.retval; + { step = 4; continue; } + case 3: + r0 = (s.arg0).fields["_repeatCount"] = (0); + s.tmp_0 = controller_Button_raiseButtonUp__P663_mk(s); + s.tmp_0.arg0 = s.arg0; + s.pc = 10; return s.tmp_0; + case 10: + r0 = s.retval; + case 4: + case 5: + case 6: + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_SensorDebugView_renderCustomPacket__P299755.info = {"start":1551,"length":109,"line":38,"column":8,"endLine":40,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderCustomPacket","argumentNames":["this","cmd","packet"]} -jacdac_SensorDebugView_renderCustomPacket__P299755.info = {"start":1551,"length":109,"line":38,"column":8,"endLine":40,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderCustomPacket","argumentNames":["this","cmd","packet"]} +controller_Button_setPressed__P670.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__P670.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 jacdac_SensorDebugView_renderCustomPacket__P299755_mk(s) { +function controller_Button_setPressed__P670_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_SensorDebugView_renderCustomPacket__P299755, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P670, 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, - arg2: undefined, } } -function jacdac_JDPacket_toString__P299890(s) { +function controller_Controller_connected__P701(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80447,33 +69117,58 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDPacket__C299874_VT)) failedCast(r0); - r0 = s.arg0.fields["_buffer"]; + if (!checkSubtype(r0, controller_Controller__C684_VT)) failedCast(r0); + r0 = s.arg0.fields["_connected"]; + s.tmp_1 = r0; + r0 = (s.arg1 != s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 3; continue; } + r0 = (s.arg0).fields["_connected"] = (s.arg1); + r0 = s.arg0.fields["_connected"]; s.tmp_0 = r0; - r0 = pxsim.BufferMethods.toHex(s.tmp_0); + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = 1; + { step = 2; continue; } + case 1: + r0 = 2; + case 2: + // jmp value (already in r0) + s.tmp_1 = r0; + r0 = s.arg0.fields["_id"]; + s.tmp_2 = r0; + r0 = pxsim.control.raiseEvent(s.tmp_2, s.tmp_1); + case 3: + case 4: + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDPacket_toString__P299890.info = {"start":2956,"length":71,"line":77,"column":8,"endLine":79,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"toString","argumentNames":["this"]} -jacdac_JDPacket_toString__P299890.info = {"start":2956,"length":71,"line":77,"column":8,"endLine":79,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"toString","argumentNames":["this"]} +controller_Controller_connected__P701.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__P701.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 jacdac_JDPacket_toString__P299890_mk(s) { +function controller_Controller_connected__P701_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDPacket_toString__P299890, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P701, 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 jacdac_JDDevice_toString__P299910(s) { +function controller_Controller_id__P687(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80483,154 +69178,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.service_numbers___326526 = undefined; - s.s___326528 = undefined; - s.unnamed2920___U2 = undefined; - s.unnamed2921___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDDevice__C299904_VT)) failedCast(r0); - r0 = pxsim_String_.mkEmpty(); - s.service_numbers___326526 = (r0); - s.s___326528 = (undefined); - s.tmp_0 = jacdac_JDDevice_services__P299905_mk(s); - s.tmp_0.arg0 = s.arg0; - s.pc = 5; return s.tmp_0; - case 5: - r0 = s.retval; - s.unnamed2920___U2 = (r0); - s.unnamed2921___U3 = (0); - case 1: - s.tmp_0 = r0 = s.unnamed2921___U3; - r0 = pxsim_Array__length(s.unnamed2920___U2); - s.tmp_1 = r0; - r0 = (s.tmp_0 < s.tmp_1); - if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed2920___U2, s.unnamed2921___U3); - s.s___326528 = (r0); - if ((s.service_numbers___326526) && (s.service_numbers___326526).vtable) { - setupResume(s, 6); - pxsim_String__stringConv(s.service_numbers___326526); - checkResumeConsumed(); - return; - } else { s.retval = (s.service_numbers___326526) + ""; } - case 6: - r0 = s.retval; - s.tmp_2 = r0; - r0 = s.s___326528.fields["service_class"]; - s.tmp_7 = r0; - r0 = pxsim_numops.toString(s.tmp_7); - s.tmp_6 = r0; - if ((s.tmp_6) && (s.tmp_6).vtable) { - setupResume(s, 7); - pxsim_String__stringConv(s.tmp_6); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_6) + ""; } - case 7: - r0 = s.retval; - s.tmp_5 = r0; - r0 = pxsim_String__concat(s.tmp_5, " "); - s.tmp_4 = r0; - if ((s.tmp_4) && (s.tmp_4).vtable) { - setupResume(s, 8); - pxsim_String__stringConv(s.tmp_4); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_4) + ""; } - case 8: - r0 = s.retval; - s.tmp_3 = r0; - r0 = pxsim_String__concat(s.tmp_2, s.tmp_3); - s.service_numbers___326526 = (r0); - r0 = (s.unnamed2921___U3 + 1); - s.unnamed2921___U3 = (r0); - { step = 1; continue; } - case 2: - s.unnamed2920___U2 = (undefined); - r0 = s.arg0.fields["device_name"]; - 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["unique_device_identifier"]; - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.toHex(s.tmp_1); - case 4: - // jmp value (already in r0) - s.tmp_2 = r0; - r0 = pxsim_String_.mkEmpty(); - s.tmp_7 = r0; - if ((s.tmp_2) && (s.tmp_2).vtable) { - setupResume(s, 9); - pxsim_String__stringConv(s.tmp_2); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_2) + ""; } - case 9: - r0 = s.retval; - s.tmp_8 = r0; - r0 = pxsim_String__concat(s.tmp_7, s.tmp_8); - s.tmp_6 = r0; - r0 = pxsim_String__concat(s.tmp_6, " ["); - s.tmp_5 = r0; - r0 = s.arg0.fields["device_address"]; - s.tmp_10 = r0; - if ((s.tmp_10) && (s.tmp_10).vtable) { - setupResume(s, 10); - pxsim_String__stringConv(s.tmp_10); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_10) + ""; } - case 10: - r0 = s.retval; - s.tmp_9 = r0; - r0 = pxsim_String__concat(s.tmp_5, s.tmp_9); - s.tmp_4 = r0; - r0 = pxsim_String__concat(s.tmp_4, "]: "); - s.tmp_3 = r0; - if ((s.service_numbers___326526) && (s.service_numbers___326526).vtable) { - setupResume(s, 11); - pxsim_String__stringConv(s.service_numbers___326526); - checkResumeConsumed(); - return; - } else { s.retval = (s.service_numbers___326526) + ""; } - case 11: - r0 = s.retval; - s.tmp_11 = r0; - r0 = pxsim_String__concat(s.tmp_3, s.tmp_11); - return leave(s, r0) + if (!checkSubtype(r0, controller_Controller__C684_VT)) failedCast(r0); + r0 = s.arg0.fields["_id"]; + return leaveAccessor(s, r0) default: oops() } } } -jacdac_JDDevice_toString__P299910.info = {"start":9242,"length":286,"line":260,"column":8,"endLine":266,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"toString","argumentNames":["this"]} -jacdac_JDDevice_toString__P299910.info = {"start":9242,"length":286,"line":260,"column":8,"endLine":266,"endColumn":9,"fileName":"pxt_modules/jacdac/structs.ts","functionName":"toString","argumentNames":["this"]} +controller_Controller_id__P687.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__P687.isGetter = true; +controller_Controller_id__P687.info = {"start":8841,"length":49,"line":276,"column":8,"endLine":278,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"id","argumentNames":["this"]} -function jacdac_JDDevice_toString__P299910_mk(s) { +function controller_Controller_id__P687_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDDevice_toString__P299910, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P687, 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, - service_numbers___326526: undefined, - s___326528: undefined, - unnamed2920___U2: undefined, - unnamed2921___U3: undefined, arg0: undefined, } } @@ -80638,7 +69204,7 @@ function jacdac_JDDevice_toString__P299910_mk(s) { -function jacdac_JDRNGService_send__P299872(s) { +function controller_Controller_connected__P700(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80650,76 +69216,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, jacdac_JDRNGService__C299870_VT)) failedCast(r0); - s.tmp_1 = if_isConnected_1_mk(s); - s.tmp_3 = jacdac_JACDAC_instance__P299852_mk(s); - s.pc = 4; return s.tmp_3; - case 4: - r0 = s.retval; - s.tmp_2 = r0; - r0 = s.tmp_2.fields["_bus"]; - s.tmp_1.arg0 = r0; - if (!s.tmp_1.arg0.vtable.iface) { - setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "isConnected"), 1); - s.pc = 3; return s.tmp_1; - } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["isConnected"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["isConnected"], 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; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_4 = jacdac_JACDAC_write__P299853_mk(s); - s.tmp_5 = jacdac_JACDAC_instance__P299852_mk(s); - s.pc = 6; return s.tmp_5; - case 6: - r0 = s.retval; - s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.arg1; - r0 = s.arg0.fields["service_number"]; - s.tmp_4.arg2 = r0; - s.tmp_4.arg3 = 0; - s.tmp_4.arg4 = null; - s.pc = 5; return s.tmp_4; - case 5: - r0 = s.retval; - case 1: - case 2: - r0 = undefined; - return leave(s, r0) + if (!checkSubtype(r0, controller_Controller__C684_VT)) failedCast(r0); + r0 = s.arg0.fields["_connected"]; + return leaveAccessor(s, r0) default: oops() } } } -jacdac_JDRNGService_send__P299872.info = {"start":235,"length":166,"line":9,"column":8,"endLine":12,"endColumn":9,"fileName":"pxt_modules/jacdac/rngservice.ts","functionName":"send","argumentNames":["this","buffer"]} -jacdac_JDRNGService_send__P299872.info = {"start":235,"length":166,"line":9,"column":8,"endLine":12,"endColumn":9,"fileName":"pxt_modules/jacdac/rngservice.ts","functionName":"send","argumentNames":["this","buffer"]} +controller_Controller_connected__P700.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__P700.isGetter = true; +controller_Controller_connected__P700.info = {"start":12477,"length":63,"line":401,"column":8,"endLine":403,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]} -function jacdac_JDRNGService_send__P299872_mk(s) { +function controller_Controller_connected__P700_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDRNGService_send__P299872, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P700, 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 jacdac_JDConfigurationService_send__P299617(s) { +function controller_Button_raiseButtonDown__P664(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80731,76 +69252,42 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDConfigurationService__C299615_VT)) failedCast(r0); - s.tmp_1 = if_isConnected_1_mk(s); - s.tmp_3 = jacdac_JACDAC_instance__P299852_mk(s); - s.pc = 4; return s.tmp_3; - case 4: - r0 = s.retval; - s.tmp_2 = r0; - r0 = s.tmp_2.fields["_bus"]; - s.tmp_1.arg0 = r0; - if (!s.tmp_1.arg0.vtable.iface) { - setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "isConnected"), 1); - s.pc = 3; return s.tmp_1; - } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["isConnected"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["isConnected"], 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; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!checkSubtype(r0, controller_Button__C661_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___654); if (!r0) { step = 1; continue; } - s.tmp_4 = jacdac_JACDAC_write__P299853_mk(s); - s.tmp_5 = jacdac_JACDAC_instance__P299852_mk(s); - s.pc = 6; return s.tmp_5; - case 6: - r0 = s.retval; - s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.arg1; - r0 = s.arg0.fields["service_number"]; - s.tmp_4.arg2 = r0; - s.tmp_4.arg3 = 0; - s.tmp_4.arg4 = null; - s.pc = 5; return s.tmp_4; - case 5: - r0 = s.retval; + r0 = s.arg0.fields["id"]; + s.tmp_0 = r0; + r0 = pxsim.control.raiseEvent(2049, s.tmp_0); + { step = 2; continue; } case 1: + r0 = s.arg0.fields["id"]; + s.tmp_0 = r0; + r0 = pxsim.control.raiseEvent(2053, s.tmp_0); case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDConfigurationService_send__P299617.info = {"start":413,"length":166,"line":15,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/jacdac/configurationservice.ts","functionName":"send","argumentNames":["this","buffer"]} -jacdac_JDConfigurationService_send__P299617.info = {"start":413,"length":166,"line":15,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/jacdac/configurationservice.ts","functionName":"send","argumentNames":["this","buffer"]} +controller_Button_raiseButtonDown__P664.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__P664.info = {"start":2672,"length":205,"line":92,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonDown","argumentNames":["this"]} -function jacdac_JDConfigurationService_send__P299617_mk(s) { +function controller_Button_raiseButtonDown__P664_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDConfigurationService_send__P299617, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P664, 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 jacdac_JDDummyBus_isConnected__P299829(s) { +function controller_Button_raiseButtonUp__P663(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80815,19 +69302,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDDummyBus__C299827_VT)) failedCast(r0); - r0 = true; + if (!checkSubtype(r0, controller_Button__C661_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___654); + if (!r0) { step = 1; continue; } + r0 = s.arg0.fields["id"]; + s.tmp_0 = r0; + r0 = pxsim.control.raiseEvent(2048, s.tmp_0); + { step = 2; continue; } + case 1: + r0 = s.arg0.fields["id"]; + s.tmp_0 = r0; + r0 = pxsim.control.raiseEvent(2052, s.tmp_0); + case 2: + r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDDummyBus_isConnected__P299829.info = {"start":158,"length":50,"line":7,"column":8,"endLine":9,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"isConnected","argumentNames":["this"]} -jacdac_JDDummyBus_isConnected__P299829.info = {"start":158,"length":50,"line":7,"column":8,"endLine":9,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"isConnected","argumentNames":["this"]} +controller_Button_raiseButtonUp__P663.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__P663.info = {"start":2462,"length":200,"line":85,"column":8,"endLine":90,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonUp","argumentNames":["this"]} -function jacdac_JDDummyBus_isConnected__P299829_mk(s) { +function controller_Button_raiseButtonUp__P663_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDDummyBus_isConnected__P299829, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P663, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, arg0: undefined, } } @@ -80835,7 +69334,7 @@ function jacdac_JDDummyBus_isConnected__P299829_mk(s) { -function jacdac_JDDummyBus_writeBuffer__P299828(s) { +function controller_setupButton__P660(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80850,19 +69349,17 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDDummyBus__C299827_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDDummyBus_writeBuffer__P299828.info = {"start":112,"length":36,"line":4,"column":8,"endLine":5,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"writeBuffer","argumentNames":["this","buf"]} -jacdac_JDDummyBus_writeBuffer__P299828.info = {"start":112,"length":36,"line":4,"column":8,"endLine":5,"endColumn":9,"fileName":"pxt_modules/jacdac/jacdac.ts","functionName":"writeBuffer","argumentNames":["this","buf"]} +controller_setupButton__P660.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__P660.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 jacdac_JDDummyBus_writeBuffer__P299828_mk(s) { +function controller_setupButton__P660_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDDummyBus_writeBuffer__P299828, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P660, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -80872,7 +69369,64 @@ function jacdac_JDDummyBus_writeBuffer__P299828_mk(s) { -function jacdac_JDService_send__P299603(s) { +function settings_initScopes__P575(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.rn___25803 = undefined; + s.tmp_1 = settings_runNumber__P573_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___25803 = (r0); + s.tmp_0 = settings_writeNumber__P580_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___562; + s.tmp_0.arg1 = s.rn___25803; + s.pc = 2; return s.tmp_0; + case 2: + r0 = s.retval; + r0 = pxsim.control.deviceSerialNumber(); + s.tmp_1 = r0; + r0 = (s.tmp_1 & 2147483647); + s.tmp_0 = r0; + r0 = pxsim_pxtcore.seedAddRandom(s.tmp_0); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___25803); + s.tmp_0 = settings_setScope__P574_mk(s); + r0 = pxsim_pxtcore.programName(); + s.tmp_0.arg0 = r0; + s.pc = 3; return s.tmp_0; + case 3: + r0 = s.retval; + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +settings_initScopes__P575.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P575.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__P575_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: settings_initScopes__P575, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + rn___25803: undefined, +} } + + + + + +function settings_setScope__P574(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80882,91 +69436,242 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: + s.currScope___25832 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDService__C299596_VT)) failedCast(r0); - r0 = s.arg0.fields["device"]; + 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; } + if (!r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = if_isConnected_1_mk(s); - s.tmp_3 = jacdac_JACDAC_instance__P299852_mk(s); - s.pc = 6; return s.tmp_3; - case 6: - r0 = s.retval; + r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; - r0 = s.tmp_2.fields["_bus"]; - s.tmp_1.arg0 = r0; - if (!s.tmp_1.arg0.vtable.iface) { - setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "isConnected"), 1); - s.pc = 5; return s.tmp_1; - } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["isConnected"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["isConnected"], 1); s.pc = 5; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.pc = 5; return s.tmp_1;; } - else { s.pc = 5; return s.tmp_1; } - } - case 5: - r0 = s.retval; + r0 = (s.tmp_2 > 100); case 2: // jmp value (already in r0) - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_5 = jacdac_JACDAC_write__P299853_mk(s); - s.tmp_6 = jacdac_JACDAC_instance__P299852_mk(s); - s.pc = 8; return s.tmp_6; - case 8: - r0 = s.retval; - s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = s.arg1; - r0 = s.arg0.fields["service_number"]; - s.tmp_5.arg2 = r0; - r0 = s.arg0.fields["device"]; - r0 = r0.fields["device_address"]; - s.tmp_5.arg3 = r0; - r0 = s.arg0.fields["device"]; - s.tmp_5.arg4 = r0; - s.pc = 7; return s.tmp_5; - case 7: - r0 = s.retval; + r0 = pxsim_pxtrt.panic(922); case 3: case 4: + s.tmp_0 = settings_readString__P583_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___563; + s.pc = 7; return s.tmp_0; + case 7: + r0 = s.retval; + s.currScope___25832 = (r0); + r0 = (s.currScope___25832 != 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__P579_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___563; + s.tmp_0.arg1 = s.arg0; + s.pc = 8; return s.tmp_0; + case 8: + r0 = s.retval; + case 5: + case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -jacdac_JDService_send__P299603.info = {"start":1708,"length":213,"line":68,"column":8,"endLine":71,"endColumn":9,"fileName":"pxt_modules/jacdac/service.ts","functionName":"send","argumentNames":["this","buffer"]} -jacdac_JDService_send__P299603.info = {"start":1708,"length":213,"line":68,"column":8,"endLine":71,"endColumn":9,"fileName":"pxt_modules/jacdac/service.ts","functionName":"send","argumentNames":["this","buffer"]} +settings_setScope__P574.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__P574.info = {"start":826,"length":272,"line":31,"column":4,"endLine":39,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"setScope","argumentNames":["scope"]} -function jacdac_JDService_send__P299603_mk(s) { +function settings_setScope__P574_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_JDService_send__P299603, depth: s.depth + 1, + parent: s, fn: settings_setScope__P574, 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, + currScope___25832: undefined, arg0: undefined, - arg1: undefined, } } -function tiles_legacy_LegacyTilemap_getTileIndex__P299593(s) { +function settings_runNumber__P573(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 = settings_readNumber__P584_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___562; + s.pc = 3; return s.tmp_1; + case 3: + r0 = s.retval; + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = s.tmp_0; + { step = 2; continue; } + case 1: + r0 = 0; + case 2: + // jmp value (already in r0) + s.tmp_2 = r0; + r0 = s.tmp_2; + return leave(s, r0) + default: oops() +} } } +settings_runNumber__P573.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P573.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__P573_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: settings_runNumber__P573, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, +} } + + + + + +function control___screen_setupUpdate__P513(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; + } + globals.__updated___511 = (true); + globals.__update___509 = (s.arg0); + s.tmp_0 = lambda_1_mk(s); + s.tmp_0.argL = s.arg0; + setupLambda(s.tmp_0, s.tmp_0.argL); + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +control___screen_setupUpdate__P513.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__P513.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__P513_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: control___screen_setupUpdate__P513, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + arg0: undefined, +} } + + + + + +function control___screen_update__P512(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.__update___509); + if (!r0) { step = 1; continue; } + s.tmp_0 = lambda_1_mk(s); + s.tmp_0.argL = globals.__update___509; + 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___511 = (true); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +control___screen_update__P512.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__P512.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__P512_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: control___screen_update__P512, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, +} } + + + + + +function pause__P289(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; + } + setupResume(s, 1); + pxsim.loops.pause(s.arg0); + checkResumeConsumed(); + return; + case 1: + r0 = s.retval; + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +pause__P289.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} +pause__P289.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__P289_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: pause__P289, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + arg0: undefined, +} } + + + + + +function tiles_legacy_LegacyTilemap_getTileIndex__P2101(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80983,20 +69688,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); r0 = s.arg0.fields["_mapImage"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.arg1, s.arg2); return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_getTileIndex__P299593.info = {"start":14153,"length":111,"line":399,"column":8,"endLine":401,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} -tiles_legacy_LegacyTilemap_getTileIndex__P299593.info = {"start":14153,"length":111,"line":399,"column":8,"endLine":401,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} +tiles_legacy_LegacyTilemap_getTileIndex__P2101.info = {"start":14153,"length":111,"line":399,"column":8,"endLine":401,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} +tiles_legacy_LegacyTilemap_getTileIndex__P2101.info = {"start":14153,"length":111,"line":399,"column":8,"endLine":401,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} -function tiles_legacy_LegacyTilemap_getTileIndex__P299593_mk(s) { +function tiles_legacy_LegacyTilemap_getTileIndex__P2101_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_getTileIndex__P299593, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_getTileIndex__P2101, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -81008,7 +69713,7 @@ function tiles_legacy_LegacyTilemap_getTileIndex__P299593_mk(s) { -function tiles_legacy_LegacyTilemap_draw__P299589(s) { +function tiles_legacy_LegacyTilemap_draw__P2097(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81018,21 +69723,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.bitmask___326620 = undefined; - s.offsetX___326626 = undefined; - s.offsetY___326631 = undefined; - s.x0___326636 = undefined; - s.xn___326643 = undefined; - s.y0___326660 = undefined; - s.yn___326667 = undefined; - s.x___326684 = undefined; - s.y___326690 = undefined; - s.index___326696 = undefined; - s.tile___326703 = undefined; - s.x___326742 = undefined; - s.xLine___326748 = undefined; - s.y___326774 = undefined; - s.yLine___326780 = undefined; + s.bitmask___25875 = undefined; + s.offsetX___25881 = undefined; + s.offsetY___25886 = undefined; + s.x0___25891 = undefined; + s.xn___25898 = undefined; + s.y0___25915 = undefined; + s.yn___25922 = undefined; + s.x___25939 = undefined; + s.y___25945 = undefined; + s.index___25951 = undefined; + s.tile___25958 = undefined; + s.x___25997 = undefined; + s.xLine___26003 = undefined; + s.y___26029 = undefined; + s.yLine___26035 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -81040,10 +69745,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); - s.tmp_3 = tiles_legacy_LegacyTilemap__C299568_v6_1_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); + s.tmp_3 = tiles_legacy_LegacyTilemap__C2076_v6_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.enabled; s.pc = 26; return s.tmp_3; case 26: @@ -81063,16 +69768,16 @@ switch (step) { r0 = (1 << s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_4 - 1); - s.bitmask___326620 = (r0); + s.bitmask___25875 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___326620); - s.offsetX___326626 = (r0); + r0 = (s.tmp_0 & s.bitmask___25875); + s.offsetX___25881 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___326620); - s.offsetY___326631 = (r0); - s.tmp_0 = Math_max__P297646_mk(s); + r0 = (s.tmp_0 & s.bitmask___25875); + s.offsetY___25886 = (r0); + s.tmp_0 = Math_max__P75_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -81083,8 +69788,8 @@ switch (step) { s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.x0___326636 = (r0); - s.tmp_0 = Math_min__P297647_mk(s); + s.x0___25891 = (r0); + s.tmp_0 = Math_min__P76_mk(s); r0 = s.arg0.fields["_mapImage"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.width(s.tmp_1); @@ -81104,8 +69809,8 @@ switch (step) { s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.xn___326643 = (r0); - s.tmp_0 = Math_max__P297646_mk(s); + s.xn___25898 = (r0); + s.tmp_0 = Math_max__P75_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -81116,8 +69821,8 @@ switch (step) { s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.y0___326660 = (r0); - s.tmp_0 = Math_min__P297647_mk(s); + s.y0___25915 = (r0); + s.tmp_0 = Math_min__P76_mk(s); r0 = s.arg0.fields["_mapImage"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.height(s.tmp_1); @@ -81137,103 +69842,103 @@ switch (step) { s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - s.yn___326667 = (r0); - s.x___326684 = (s.x0___326636); + s.yn___25922 = (r0); + s.x___25939 = (s.x0___25891); case 3: - r0 = (s.x___326684 <= s.xn___326643); + r0 = (s.x___25939 <= s.xn___25898); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.y___326690 = (s.y0___326660); + s.y___25945 = (s.y0___25915); case 4: - r0 = (s.y___326690 <= s.yn___326667); + r0 = (s.y___25945 <= s.yn___25922); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } r0 = s.arg0.fields["_mapImage"]; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.x___326684, s.y___326690); - s.index___326696 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.x___25939, s.y___25945); + s.index___25951 = (r0); r0 = s.arg0.fields["_tileSets"]; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.index___326696); + r0 = pxsim_Array__getAt(s.tmp_1, s.index___25951); 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_2 = tiles_legacy_LegacyTilemap_generateTile__P299586_mk(s); + s.tmp_2 = tiles_legacy_LegacyTilemap_generateTile__P2094_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.index___326696; + s.tmp_2.arg1 = s.index___25951; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.tile___326703 = (s.tmp_3); - r0 = pxsim_numops_toBoolDecr(s.tile___326703); + s.tile___25958 = (s.tmp_3); + r0 = pxsim_numops_toBoolDecr(s.tile___25958); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_2 = tiles_legacy_TileSet_image__P299566_mk(s); - s.tmp_2.arg0 = s.tile___326703; + s.tmp_2 = tiles_legacy_TileSet_image__P2074_mk(s); + s.tmp_2.arg0 = s.tile___25958; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.x___326684 - s.x0___326636); + r0 = (s.x___25939 - s.x0___25891); s.tmp_5 = r0; r0 = s.arg0.fields["_scale"]; s.tmp_6 = r0; r0 = (s.tmp_5 << s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.offsetX___326626); + r0 = (s.tmp_4 - s.offsetX___25881); s.tmp_3 = r0; - r0 = (s.y___326690 - s.y0___326660); + r0 = (s.y___25945 - s.y0___25915); s.tmp_9 = r0; r0 = s.arg0.fields["_scale"]; s.tmp_10 = r0; r0 = (s.tmp_9 << s.tmp_10); s.tmp_8 = r0; - r0 = (s.tmp_8 - s.offsetY___326631); + r0 = (s.tmp_8 - s.offsetY___25886); s.tmp_7 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_3, s.tmp_7); case 7: case 8: - r0 = (s.y___326690 + 1); - s.y___326690 = (r0); + r0 = (s.y___25945 + 1); + s.y___25945 = (r0); { step = 4; continue; } case 9: - r0 = (s.x___326684 + 1); - s.x___326684 = (r0); + r0 = (s.x___25939 + 1); + s.x___25939 = (r0); { step = 3; continue; } case 10: - r0 = pxsim_numops_toBoolDecr(globals.debug___298705); + r0 = pxsim_numops_toBoolDecr(globals.debug___1213); if (!r0) { step = 23; continue; } - s.x___326742 = (s.x0___326636); + s.x___25997 = (s.x0___25891); case 11: - r0 = (s.x___326742 <= s.xn___326643); + r0 = (s.x___25997 <= s.xn___25898); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = (s.x___326742 - s.x0___326636); + r0 = (s.x___25997 - s.x0___25891); 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___326626); - s.xLine___326748 = (r0); - r0 = (s.xLine___326748 >= 0); + r0 = (s.tmp_1 - s.offsetX___25881); + s.xLine___26003 = (r0); + r0 = (s.xLine___26003 >= 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_1 = r0 = s.xLine___326748; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + s.tmp_1 = r0 = s.xLine___26003; + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 13: @@ -81241,11 +69946,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 14; continue; } - s.tmp_4 = helpers_imageDrawLine__P297988_mk(s); + s.tmp_4 = helpers_imageDrawLine__P486_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___326748; + s.tmp_4.arg1 = s.xLine___26003; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___326748; + s.tmp_4.arg3 = s.xLine___26003; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; @@ -81254,33 +69959,33 @@ switch (step) { r0 = s.retval; case 14: case 15: - r0 = (s.x___326742 + 1); - s.x___326742 = (r0); + r0 = (s.x___25997 + 1); + s.x___25997 = (r0); { step = 11; continue; } case 16: - s.y___326774 = (s.y0___326660); + s.y___26029 = (s.y0___25915); case 17: - r0 = (s.y___326774 <= s.yn___326667); + r0 = (s.y___26029 <= s.yn___25922); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___326774 - s.y0___326660); + r0 = (s.y___26029 - s.y0___25915); 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___326631); - s.yLine___326780 = (r0); - r0 = (s.yLine___326780 >= 0); + r0 = (s.tmp_1 - s.offsetY___25886); + s.yLine___26035 = (r0); + r0 = (s.yLine___26035 >= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 18; continue; } r0 = s.tmp_0; { step = 19; continue; } case 18: - s.tmp_1 = r0 = s.yLine___326780; - r0 = pxsim_ImageMethods.height(globals.screen___298046); + s.tmp_1 = r0 = s.yLine___26035; + r0 = pxsim_ImageMethods.height(globals.screen___545); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 19: @@ -81288,21 +69993,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 20; continue; } - s.tmp_4 = helpers_imageDrawLine__P297988_mk(s); + s.tmp_4 = helpers_imageDrawLine__P486_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___326780; + s.tmp_4.arg2 = s.yLine___26035; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___326780; + s.tmp_4.arg4 = s.yLine___26035; s.tmp_4.arg5 = 1; s.pc = 34; return s.tmp_4; case 34: r0 = s.retval; case 20: case 21: - r0 = (s.y___326774 + 1); - s.y___326774 = (r0); + r0 = (s.y___26029 + 1); + s.y___26029 = (r0); { step = 17; continue; } case 22: case 23: @@ -81312,13 +70017,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_draw__P299589.info = {"start":10518,"length":2266,"line":303,"column":8,"endLine":358,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} -tiles_legacy_LegacyTilemap_draw__P299589.info = {"start":10518,"length":2266,"line":303,"column":8,"endLine":358,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} +tiles_legacy_LegacyTilemap_draw__P2097.info = {"start":10518,"length":2266,"line":303,"column":8,"endLine":358,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} +tiles_legacy_LegacyTilemap_draw__P2097.info = {"start":10518,"length":2266,"line":303,"column":8,"endLine":358,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} -function tiles_legacy_LegacyTilemap_draw__P299589_mk(s) { +function tiles_legacy_LegacyTilemap_draw__P2097_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_draw__P299589, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_draw__P2097, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81331,21 +70036,21 @@ function tiles_legacy_LegacyTilemap_draw__P299589_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - bitmask___326620: undefined, - offsetX___326626: undefined, - offsetY___326631: undefined, - x0___326636: undefined, - xn___326643: undefined, - y0___326660: undefined, - yn___326667: undefined, - x___326684: undefined, - y___326690: undefined, - index___326696: undefined, - tile___326703: undefined, - x___326742: undefined, - xLine___326748: undefined, - y___326774: undefined, - yLine___326780: undefined, + bitmask___25875: undefined, + offsetX___25881: undefined, + offsetY___25886: undefined, + x0___25891: undefined, + xn___25898: undefined, + y0___25915: undefined, + yn___25922: undefined, + x___25939: undefined, + y___25945: undefined, + index___25951: undefined, + tile___25958: undefined, + x___25997: undefined, + xLine___26003: undefined, + y___26029: undefined, + yLine___26035: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -81355,7 +70060,7 @@ function tiles_legacy_LegacyTilemap_draw__P299589_mk(s) { -function tiles_legacy_LegacyTilemap_generateTile__P299586(s) { +function tiles_legacy_LegacyTilemap_generateTile__P2094(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81365,27 +70070,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.size___326860 = undefined; - s.i___326864 = undefined; + s.size___26115 = undefined; + s.i___26119 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___326860 = (r0); - r0 = pxsim.image.create(s.size___326860, s.size___326860); - s.i___326864 = (r0); - r0 = pxsim_ImageMethods.fill(s.i___326864, s.arg1); - r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_TileSet__C299565_VT); + s.size___26115 = (r0); + r0 = pxsim.image.create(s.size___26115, s.size___26115); + s.i___26119 = (r0); + r0 = pxsim_ImageMethods.fill(s.i___26119, s.arg1); + r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_TileSet__C2073_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_legacy_TileSet_constructor__P299567_mk(s); + s.tmp_1 = tiles_legacy_TileSet_constructor__P2075_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.i___326864; + s.tmp_1.arg1 = s.i___26119; s.tmp_1.arg2 = false; s.tmp_1.arg3 = s.arg0; s.pc = 1; return s.tmp_1; @@ -81398,19 +70103,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_generateTile__P299586.info = {"start":9936,"length":245,"line":286,"column":8,"endLine":292,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"generateTile","argumentNames":["this","index"]} -tiles_legacy_LegacyTilemap_generateTile__P299586.info = {"start":9936,"length":245,"line":286,"column":8,"endLine":292,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"generateTile","argumentNames":["this","index"]} +tiles_legacy_LegacyTilemap_generateTile__P2094.info = {"start":9936,"length":245,"line":286,"column":8,"endLine":292,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"generateTile","argumentNames":["this","index"]} +tiles_legacy_LegacyTilemap_generateTile__P2094.info = {"start":9936,"length":245,"line":286,"column":8,"endLine":292,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"generateTile","argumentNames":["this","index"]} -function tiles_legacy_LegacyTilemap_generateTile__P299586_mk(s) { +function tiles_legacy_LegacyTilemap_generateTile__P2094_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_generateTile__P299586, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_generateTile__P2094, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - size___326860: undefined, - i___326864: undefined, + size___26115: undefined, + i___26119: undefined, arg0: undefined, arg1: undefined, } } @@ -81419,7 +70124,7 @@ function tiles_legacy_LegacyTilemap_generateTile__P299586_mk(s) { -function tiles_legacy_TileSet_image__P299566(s) { +function tiles_legacy_TileSet_image__P2074(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81429,19 +70134,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.size___326807 = undefined; + s.size___26062 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_TileSet__C299565_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_TileSet__C2073_VT)) failedCast(r0); r0 = s.arg0.fields["map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___326807 = (r0); + s.size___26062 = (r0); r0 = s.arg0.fields["cachedImage"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -81457,7 +70162,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 != s.size___326807); + r0 = (s.tmp_3 != s.size___26062); case 2: // jmp value (already in r0) s.tmp_5 = r0; @@ -81470,7 +70175,7 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_ImageMethods.height(s.tmp_7); s.tmp_6 = r0; - r0 = (s.tmp_6 != s.size___326807); + r0 = (s.tmp_6 != s.size___26062); case 4: // jmp value (already in r0) s.tmp_8 = r0; @@ -81480,7 +70185,7 @@ switch (step) { s.tmp_11 = r0; r0 = pxsim_ImageMethods.width(s.tmp_11); s.tmp_10 = r0; - r0 = (s.tmp_10 == s.size___326807); + r0 = (s.tmp_10 == s.size___26062); s.tmp_9 = r0; r0 = pxsim_numops_toBool(s.tmp_9); if (r0) { step = 5; continue; } @@ -81491,7 +70196,7 @@ switch (step) { s.tmp_13 = r0; r0 = pxsim_ImageMethods.height(s.tmp_13); s.tmp_12 = r0; - r0 = (s.tmp_12 == s.size___326807); + r0 = (s.tmp_12 == s.size___26062); case 6: // jmp value (already in r0) s.tmp_14 = r0; @@ -81503,7 +70208,7 @@ switch (step) { { step = 8; continue; } case 7: s.tmp_0 = r0 = s.arg0; - r0 = pxsim.image.create(s.size___326807, s.size___326807); + r0 = pxsim.image.create(s.size___26062, s.size___26062); s.tmp_1 = r0; r0 = (s.tmp_0).fields["cachedImage"] = (s.tmp_1); r0 = s.arg0.fields["cachedImage"]; @@ -81518,14 +70223,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_legacy_TileSet_image__P299566.info = {"start":6198,"length":567,"line":170,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"image","argumentNames":["this"]} -tiles_legacy_TileSet_image__P299566.isGetter = true; -tiles_legacy_TileSet_image__P299566.info = {"start":6198,"length":567,"line":170,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"image","argumentNames":["this"]} +tiles_legacy_TileSet_image__P2074.info = {"start":6198,"length":567,"line":170,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"image","argumentNames":["this"]} +tiles_legacy_TileSet_image__P2074.isGetter = true; +tiles_legacy_TileSet_image__P2074.info = {"start":6198,"length":567,"line":170,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"image","argumentNames":["this"]} -function tiles_legacy_TileSet_image__P299566_mk(s) { +function tiles_legacy_TileSet_image__P2074_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_TileSet_image__P299566, depth: s.depth + 1, + parent: s, fn: tiles_legacy_TileSet_image__P2074, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81543,7 +70248,7 @@ function tiles_legacy_TileSet_image__P299566_mk(s) { tmp_13: undefined, tmp_14: undefined, tmp_15: undefined, - size___326807: undefined, + size___26062: undefined, arg0: undefined, } } @@ -81551,7 +70256,7 @@ function tiles_legacy_TileSet_image__P299566_mk(s) { -function tiles_legacy_LegacyTilemap_setTileAt__P299583(s) { +function tiles_legacy_LegacyTilemap_setTileAt__P2091(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81569,8 +70274,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); - s.tmp_3 = tiles_legacy_LegacyTilemap_isOutsideMap__P299587_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); + s.tmp_3 = tiles_legacy_LegacyTilemap_isOutsideMap__P2095_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.arg2; @@ -81587,10 +70292,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_6 = tiles_legacy_LegacyTilemap__C299568_v10_2_mk(s); + s.tmp_6 = tiles_legacy_LegacyTilemap__C2076_v10_2_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = s.arg3; - if (!checkSubtype(s.tmp_6.arg0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(s.tmp_6.arg0); s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.isInvalidIndex; s.pc = 6; return s.tmp_6; case 6: @@ -81613,13 +70318,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_setTileAt__P299583.info = {"start":8548,"length":210,"line":251,"column":8,"endLine":254,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setTileAt","argumentNames":["this","col","row","index"]} -tiles_legacy_LegacyTilemap_setTileAt__P299583.info = {"start":8548,"length":210,"line":251,"column":8,"endLine":254,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setTileAt","argumentNames":["this","col","row","index"]} +tiles_legacy_LegacyTilemap_setTileAt__P2091.info = {"start":8548,"length":210,"line":251,"column":8,"endLine":254,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setTileAt","argumentNames":["this","col","row","index"]} +tiles_legacy_LegacyTilemap_setTileAt__P2091.info = {"start":8548,"length":210,"line":251,"column":8,"endLine":254,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"setTileAt","argumentNames":["this","col","row","index"]} -function tiles_legacy_LegacyTilemap_setTileAt__P299583_mk(s) { +function tiles_legacy_LegacyTilemap_setTileAt__P2091_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_setTileAt__P299583, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_setTileAt__P2091, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81640,7 +70345,7 @@ function tiles_legacy_LegacyTilemap_setTileAt__P299583_mk(s) { -function tiles_legacy_LegacyTilemap_isOutsideMap__P299587(s) { +function tiles_legacy_LegacyTilemap_isOutsideMap__P2095(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81657,10 +70362,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); - s.tmp_3 = tiles_legacy_LegacyTilemap__C299568_v6_1_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); + s.tmp_3 = tiles_legacy_LegacyTilemap__C2076_v6_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.enabled; s.pc = 9; return s.tmp_3; case 9: @@ -81720,13 +70425,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_isOutsideMap__P299587.info = {"start":10191,"length":202,"line":294,"column":8,"endLine":297,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} -tiles_legacy_LegacyTilemap_isOutsideMap__P299587.info = {"start":10191,"length":202,"line":294,"column":8,"endLine":297,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} +tiles_legacy_LegacyTilemap_isOutsideMap__P2095.info = {"start":10191,"length":202,"line":294,"column":8,"endLine":297,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} +tiles_legacy_LegacyTilemap_isOutsideMap__P2095.info = {"start":10191,"length":202,"line":294,"column":8,"endLine":297,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} -function tiles_legacy_LegacyTilemap_isOutsideMap__P299587_mk(s) { +function tiles_legacy_LegacyTilemap_isOutsideMap__P2095_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_isOutsideMap__P299587, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_isOutsideMap__P2095, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81751,7 +70456,7 @@ function tiles_legacy_LegacyTilemap_isOutsideMap__P299587_mk(s) { -function tiles_legacy_LegacyTilemap_getTile__P299582(s) { +function tiles_legacy_LegacyTilemap_getTile__P2090(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81768,10 +70473,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C298507_VT); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C1015_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P298513_mk(s); + s.tmp_1 = tiles_Location_constructor__P1021_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -81783,13 +70488,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_getTile__P299582.info = {"start":8427,"length":111,"line":247,"column":8,"endLine":249,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -tiles_legacy_LegacyTilemap_getTile__P299582.info = {"start":8427,"length":111,"line":247,"column":8,"endLine":249,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_legacy_LegacyTilemap_getTile__P2090.info = {"start":8427,"length":111,"line":247,"column":8,"endLine":249,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_legacy_LegacyTilemap_getTile__P2090.info = {"start":8427,"length":111,"line":247,"column":8,"endLine":249,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_legacy_LegacyTilemap_getTile__P299582_mk(s) { +function tiles_legacy_LegacyTilemap_getTile__P2090_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_getTile__P299582, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_getTile__P2090, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81802,7 +70507,7 @@ function tiles_legacy_LegacyTilemap_getTile__P299582_mk(s) { -function tiles_legacy_LegacyTilemap_enabled__P299578(s) { +function tiles_legacy_LegacyTilemap_enabled__P2086(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81817,7 +70522,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); r0 = s.arg0.fields["_mapImage"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -81830,14 +70535,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_enabled__P299578.info = {"start":7951,"length":71,"line":230,"column":8,"endLine":232,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"enabled","argumentNames":["this"]} -tiles_legacy_LegacyTilemap_enabled__P299578.isGetter = true; -tiles_legacy_LegacyTilemap_enabled__P299578.info = {"start":7951,"length":71,"line":230,"column":8,"endLine":232,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"enabled","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_enabled__P2086.info = {"start":7951,"length":71,"line":230,"column":8,"endLine":232,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"enabled","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_enabled__P2086.isGetter = true; +tiles_legacy_LegacyTilemap_enabled__P2086.info = {"start":7951,"length":71,"line":230,"column":8,"endLine":232,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"enabled","argumentNames":["this"]} -function tiles_legacy_LegacyTilemap_enabled__P299578_mk(s) { +function tiles_legacy_LegacyTilemap_enabled__P2086_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_enabled__P299578, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_enabled__P2086, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81850,7 +70555,7 @@ function tiles_legacy_LegacyTilemap_enabled__P299578_mk(s) { -function tiles_legacy_LegacyTilemap_areaHeight__P299575(s) { +function tiles_legacy_LegacyTilemap_areaHeight__P2083(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81865,7 +70570,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); r0 = s.arg0.fields["_mapImage"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -81887,13 +70592,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_areaHeight__P299575.info = {"start":7628,"length":103,"line":216,"column":8,"endLine":218,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} -tiles_legacy_LegacyTilemap_areaHeight__P299575.info = {"start":7628,"length":103,"line":216,"column":8,"endLine":218,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_areaHeight__P2083.info = {"start":7628,"length":103,"line":216,"column":8,"endLine":218,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_areaHeight__P2083.info = {"start":7628,"length":103,"line":216,"column":8,"endLine":218,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} -function tiles_legacy_LegacyTilemap_areaHeight__P299575_mk(s) { +function tiles_legacy_LegacyTilemap_areaHeight__P2083_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_areaHeight__P299575, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_areaHeight__P2083, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81907,7 +70612,7 @@ function tiles_legacy_LegacyTilemap_areaHeight__P299575_mk(s) { -function tiles_legacy_LegacyTilemap_areaWidth__P299574(s) { +function tiles_legacy_LegacyTilemap_areaWidth__P2082(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81922,7 +70627,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); r0 = s.arg0.fields["_mapImage"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -81944,13 +70649,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_areaWidth__P299574.info = {"start":7517,"length":101,"line":212,"column":8,"endLine":214,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} -tiles_legacy_LegacyTilemap_areaWidth__P299574.info = {"start":7517,"length":101,"line":212,"column":8,"endLine":214,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_areaWidth__P2082.info = {"start":7517,"length":101,"line":212,"column":8,"endLine":214,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_areaWidth__P2082.info = {"start":7517,"length":101,"line":212,"column":8,"endLine":214,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} -function tiles_legacy_LegacyTilemap_areaWidth__P299574_mk(s) { +function tiles_legacy_LegacyTilemap_areaWidth__P2082_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_areaWidth__P299574, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_areaWidth__P2082, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81964,7 +70669,7 @@ function tiles_legacy_LegacyTilemap_areaWidth__P299574_mk(s) { -function tiles_legacy_LegacyTilemap_offsetY__P299573(s) { +function tiles_legacy_LegacyTilemap_offsetY__P2081(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81980,19 +70685,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P297643_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P72_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P297646_mk(s); - s.tmp_3 = tiles_legacy_LegacyTilemap__C299568_v4_1_mk(s); + s.tmp_1 = Math_max__P75_mk(s); + s.tmp_3 = tiles_legacy_LegacyTilemap__C2076_v4_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.areaHeight; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___298046); + r0 = pxsim_ImageMethods.height(globals.screen___545); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -82008,13 +70713,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_offsetY__P299573.info = {"start":7384,"length":123,"line":208,"column":8,"endLine":210,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} -tiles_legacy_LegacyTilemap_offsetY__P299573.info = {"start":7384,"length":123,"line":208,"column":8,"endLine":210,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} +tiles_legacy_LegacyTilemap_offsetY__P2081.info = {"start":7384,"length":123,"line":208,"column":8,"endLine":210,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} +tiles_legacy_LegacyTilemap_offsetY__P2081.info = {"start":7384,"length":123,"line":208,"column":8,"endLine":210,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} -function tiles_legacy_LegacyTilemap_offsetY__P299573_mk(s) { +function tiles_legacy_LegacyTilemap_offsetY__P2081_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_offsetY__P299573, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_offsetY__P2081, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -82029,7 +70734,7 @@ function tiles_legacy_LegacyTilemap_offsetY__P299573_mk(s) { -function tiles_legacy_LegacyTilemap_offsetX__P299572(s) { +function tiles_legacy_LegacyTilemap_offsetX__P2080(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82045,19 +70750,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P297643_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P72_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P297646_mk(s); - s.tmp_3 = tiles_legacy_LegacyTilemap__C299568_v3_1_mk(s); + s.tmp_1 = Math_max__P75_mk(s); + s.tmp_3 = tiles_legacy_LegacyTilemap__C2076_v3_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.areaWidth; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -82073,13 +70778,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_offsetX__P299572.info = {"start":7253,"length":121,"line":204,"column":8,"endLine":206,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} -tiles_legacy_LegacyTilemap_offsetX__P299572.info = {"start":7253,"length":121,"line":204,"column":8,"endLine":206,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} +tiles_legacy_LegacyTilemap_offsetX__P2080.info = {"start":7253,"length":121,"line":204,"column":8,"endLine":206,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} +tiles_legacy_LegacyTilemap_offsetX__P2080.info = {"start":7253,"length":121,"line":204,"column":8,"endLine":206,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} -function tiles_legacy_LegacyTilemap_offsetX__P299572_mk(s) { +function tiles_legacy_LegacyTilemap_offsetX__P2080_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_offsetX__P299572, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_offsetX__P2080, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -82094,7 +70799,7 @@ function tiles_legacy_LegacyTilemap_offsetX__P299572_mk(s) { -function tiles_legacy_LegacyTilemap_data__P299570(s) { +function tiles_legacy_LegacyTilemap_data__P2078(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82109,19 +70814,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); r0 = null; return leaveAccessor(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_data__P299570.info = {"start":7108,"length":60,"line":196,"column":8,"endLine":198,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"data","argumentNames":["this"]} -tiles_legacy_LegacyTilemap_data__P299570.isGetter = true; -tiles_legacy_LegacyTilemap_data__P299570.info = {"start":7108,"length":60,"line":196,"column":8,"endLine":198,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"data","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_data__P2078.info = {"start":7108,"length":60,"line":196,"column":8,"endLine":198,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"data","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_data__P2078.isGetter = true; +tiles_legacy_LegacyTilemap_data__P2078.info = {"start":7108,"length":60,"line":196,"column":8,"endLine":198,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"data","argumentNames":["this"]} -function tiles_legacy_LegacyTilemap_data__P299570_mk(s) { +function tiles_legacy_LegacyTilemap_data__P2078_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_data__P299570, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_data__P2078, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -82130,7 +70835,7 @@ function tiles_legacy_LegacyTilemap_data__P299570_mk(s) { -function tiles_Location_y__P298509(s) { +function tiles_Location_y__P1017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82140,22 +70845,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scale___329344 = undefined; + s.scale___28599 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C298507_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C1015_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___329344 = (r0); + s.scale___28599 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___329344); + r0 = (s.tmp_1 << s.scale___28599); s.tmp_0 = r0; - r0 = (s.scale___329344 - 1); + r0 = (s.scale___28599 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -82163,20 +70868,20 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_y__P298509.info = {"start":714,"length":135,"line":30,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"y","argumentNames":["this"]} -tiles_Location_y__P298509.isGetter = true; -tiles_Location_y__P298509.info = {"start":714,"length":135,"line":30,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"y","argumentNames":["this"]} +tiles_Location_y__P1017.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__P1017.isGetter = true; +tiles_Location_y__P1017.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__P298509_mk(s) { +function tiles_Location_y__P1017_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P298509, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P1017, 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___329344: undefined, + scale___28599: undefined, arg0: undefined, } } @@ -82184,7 +70889,7 @@ function tiles_Location_y__P298509_mk(s) { -function tiles_Location_x__P298508(s) { +function tiles_Location_x__P1016(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82194,22 +70899,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scale___329361 = undefined; + s.scale___28616 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C298507_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C1015_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___329361 = (r0); + s.scale___28616 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___329361); + r0 = (s.tmp_1 << s.scale___28616); s.tmp_0 = r0; - r0 = (s.scale___329361 - 1); + r0 = (s.scale___28616 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -82217,20 +70922,20 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_x__P298508.info = {"start":569,"length":135,"line":25,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"x","argumentNames":["this"]} -tiles_Location_x__P298508.isGetter = true; -tiles_Location_x__P298508.info = {"start":569,"length":135,"line":25,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"x","argumentNames":["this"]} +tiles_Location_x__P1016.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__P1016.isGetter = true; +tiles_Location_x__P1016.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__P298508_mk(s) { +function tiles_Location_x__P1016_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P298508, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P1016, 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___329361: undefined, + scale___28616: undefined, arg0: undefined, } } @@ -82238,7 +70943,7 @@ function tiles_Location_x__P298508_mk(s) { -function game_BaseDialog_drawTextCore__P298661(s) { +function game_BaseDialog_drawTextCore__P1169(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82253,18 +70958,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C298658_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C1166_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_drawTextCore__P298661.info = {"start":1757,"length":65,"line":70,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -game_BaseDialog_drawTextCore__P298661.info = {"start":1757,"length":65,"line":70,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_BaseDialog_drawTextCore__P1169.info = {"start":1757,"length":65,"line":70,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_BaseDialog_drawTextCore__P1169.info = {"start":1757,"length":65,"line":70,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_BaseDialog_drawTextCore__P298661_mk(s) { +function game_BaseDialog_drawTextCore__P1169_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawTextCore__P298661, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawTextCore__P1169, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -82273,7 +70978,7 @@ function game_BaseDialog_drawTextCore__P298661_mk(s) { -function game_BaseDialog_update__P298659(s) { +function game_BaseDialog_update__P1167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82288,20 +70993,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C298658_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_clearInterior__P298664_mk(s); + if (!checkSubtype(r0, game_BaseDialog__C1166_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_clearInterior__P1172_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_BaseDialog__C298658_v1_1_mk(s); + s.tmp_0 = game_BaseDialog__C1166_v1_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C298658_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C1166_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawTextCore; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawCursorRow__P298662_mk(s); + s.tmp_0 = game_BaseDialog_drawCursorRow__P1170_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 3; return s.tmp_0; case 3: @@ -82310,13 +71015,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_update__P298659.info = {"start":1539,"length":121,"line":60,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"update","argumentNames":["this"]} -game_BaseDialog_update__P298659.info = {"start":1539,"length":121,"line":60,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/game---hw/textDialogs.ts","functionName":"update","argumentNames":["this"]} +game_BaseDialog_update__P1167.info = {"start":1539,"length":121,"line":60,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} +game_BaseDialog_update__P1167.info = {"start":1539,"length":121,"line":60,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} -function game_BaseDialog_update__P298659_mk(s) { +function game_BaseDialog_update__P1167_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_update__P298659, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_update__P1167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -82326,7 +71031,7 @@ function game_BaseDialog_update__P298659_mk(s) { -function info_PlayerInfo_id__P298473(s) { +function info_PlayerInfo_id__P981(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82341,18 +71046,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C298470_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C978_VT)) failedCast(r0); r0 = s.arg0.fields["_player"]; return leave(s, r0) default: oops() } } } -info_PlayerInfo_id__P298473.info = {"start":17259,"length":57,"line":568,"column":8,"endLine":570,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"id","argumentNames":["this"]} -info_PlayerInfo_id__P298473.info = {"start":17259,"length":57,"line":568,"column":8,"endLine":570,"endColumn":9,"fileName":"pxt_modules/game---hw/info.ts","functionName":"id","argumentNames":["this"]} +info_PlayerInfo_id__P981.info = {"start":17259,"length":57,"line":568,"column":8,"endLine":570,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"id","argumentNames":["this"]} +info_PlayerInfo_id__P981.info = {"start":17259,"length":57,"line":568,"column":8,"endLine":570,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"id","argumentNames":["this"]} -function info_PlayerInfo_id__P298473_mk(s) { +function info_PlayerInfo_id__P981_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_id__P298473, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_id__P981, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -82361,7 +71066,7 @@ function info_PlayerInfo_id__P298473_mk(s) { -function sprites_SpriteSet_toString__P298307(s) { +function sprites_SpriteSet_toString__P815(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82376,7 +71081,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C298297_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C805_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -82398,13 +71103,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_toString__P298307.info = {"start":2577,"length":66,"line":97,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game---hw/spriteset.ts","functionName":"toString","argumentNames":["this"]} -sprites_SpriteSet_toString__P298307.info = {"start":2577,"length":66,"line":97,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game---hw/spriteset.ts","functionName":"toString","argumentNames":["this"]} +sprites_SpriteSet_toString__P815.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__P815.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__P298307_mk(s) { +function sprites_SpriteSet_toString__P815_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P298307, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P815, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -82418,7 +71123,7 @@ function sprites_SpriteSet_toString__P298307_mk(s) { -function sprites_SpriteSet_length__P298299(s) { +function sprites_SpriteSet_length__P807(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82433,21 +71138,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C298297_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C805_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__P298299.info = {"start":628,"length":65,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game---hw/spriteset.ts","functionName":"length","argumentNames":["this"]} -sprites_SpriteSet_length__P298299.isGetter = true; -sprites_SpriteSet_length__P298299.info = {"start":628,"length":65,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game---hw/spriteset.ts","functionName":"length","argumentNames":["this"]} +sprites_SpriteSet_length__P807.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__P807.isGetter = true; +sprites_SpriteSet_length__P807.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__P298299_mk(s) { +function sprites_SpriteSet_length__P807_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P298299, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P807, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -82457,7 +71162,7 @@ function sprites_SpriteSet_length__P298299_mk(s) { -function tileworld_RuleEditor_showCollision__P307934(s) { +function tileworld_RuleEditor_showCollision__P10119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82477,8 +71182,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleVisualsBase_showCollision__P306477_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleVisualsBase_showCollision__P8662_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -82497,13 +71202,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_showCollision__P307934.info = {"start":12099,"length":256,"line":276,"column":8,"endLine":280,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showCollision","argumentNames":["this","col","row","dir","arrowImg","rt"]} -tileworld_RuleEditor_showCollision__P307934.info = {"start":12099,"length":256,"line":276,"column":8,"endLine":280,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showCollision","argumentNames":["this","col","row","dir","arrowImg","rt"]} +tileworld_RuleEditor_showCollision__P10119.info = {"start":12099,"length":256,"line":276,"column":8,"endLine":280,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showCollision","argumentNames":["this","col","row","dir","arrowImg","rt"]} +tileworld_RuleEditor_showCollision__P10119.info = {"start":12099,"length":256,"line":276,"column":8,"endLine":280,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showCollision","argumentNames":["this","col","row","dir","arrowImg","rt"]} -function tileworld_RuleEditor_showCollision__P307934_mk(s) { +function tileworld_RuleEditor_showCollision__P10119_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_showCollision__P307934, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_showCollision__P10119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -82519,7 +71224,7 @@ function tileworld_RuleEditor_showCollision__P307934_mk(s) { -function tileworld_RuleEditor_cursorMove__P307930(s) { +function tileworld_RuleEditor_cursorMove__P10115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82536,14 +71241,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); r0 = s.arg0.fields["menu"]; 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; } - s.tmp_2 = tileworld_RuleEditor_otherCursorMove__P307931_mk(s); + s.tmp_2 = tileworld_RuleEditor_otherCursorMove__P10116_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 29; return s.tmp_2; case 29: @@ -82555,7 +71260,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - s.tmp_3 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; s.pc = 30; return s.tmp_3; @@ -82566,7 +71271,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 3; continue; } - s.tmp_5 = Sprite_x__P298229_mk(s); + s.tmp_5 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_5.arg0 = r0; s.pc = 31; return s.tmp_5; @@ -82576,7 +71281,7 @@ switch (step) { r0 = (s.tmp_4 + 16); { step = 4; continue; } case 3: - s.tmp_7 = Sprite_x__P298229_mk(s); + s.tmp_7 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_7.arg0 = r0; s.pc = 32; return s.tmp_7; @@ -82587,14 +71292,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_8 = r0; - s.tmp_9 = Sprite_x__P298230_mk(s); + s.tmp_9 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.tmp_8; s.pc = 33; return s.tmp_9; case 33: r0 = s.retval; - s.tmp_2 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 34; return s.tmp_2; @@ -82605,7 +71310,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = Sprite_y__P298231_mk(s); + s.tmp_4 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_4.arg0 = r0; s.pc = 35; return s.tmp_4; @@ -82615,7 +71320,7 @@ switch (step) { r0 = (s.tmp_3 + 32); { step = 6; continue; } case 5: - s.tmp_5 = Sprite_y__P298231_mk(s); + s.tmp_5 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_5.arg0 = r0; s.pc = 36; return s.tmp_5; @@ -82624,14 +71329,14 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_6 = r0; - s.tmp_7 = Sprite_y__P298232_mk(s); + s.tmp_7 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = s.tmp_6; s.pc = 37; return s.tmp_7; case 37: r0 = s.retval; - s.tmp_0 = Sprite_say__P298261_mk(s); + s.tmp_0 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = null; @@ -82647,7 +71352,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; s.pc = 39; return s.tmp_4; @@ -82658,19 +71363,19 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 7; continue; } - s.tmp_5 = Sprite_say__P298261_mk(s); + s.tmp_5 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tileworld_getHelp__P302000_mk(s); - s.tmp_6.arg0 = globals.menuHelpString___308497; - s.tmp_7 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_6 = tileworld_getHelp__P3844_mk(s); + s.tmp_6.arg0 = globals.menuHelpString___10682; + s.tmp_7 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = true; s.pc = 42; return s.tmp_7; case 42: r0 = s.retval; s.tmp_6.arg1 = r0; - s.tmp_8 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_8.arg0 = s.arg0; s.tmp_8.arg1 = true; s.pc = 43; return s.tmp_8; @@ -82689,7 +71394,7 @@ switch (step) { r0 = s.retval; { step = 14; continue; } case 7: - s.tmp_2 = tileworld_RuleEditor_manhattanDistance2__P307932_mk(s); + s.tmp_2 = tileworld_RuleEditor_manhattanDistance2__P10117_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 44; return s.tmp_2; case 44: @@ -82699,7 +71404,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_5 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_5 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_5.arg0 = s.arg0; s.tmp_5.arg1 = true; s.pc = 45; return s.tmp_5; @@ -82713,7 +71418,7 @@ switch (step) { r0 = s.tmp_3; { step = 9; continue; } case 8: - s.tmp_7 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = true; s.pc = 46; return s.tmp_7; @@ -82726,7 +71431,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 10; continue; } - s.tmp_9 = Sprite_say__P298261_mk(s); + s.tmp_9 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = "A: attributes"; @@ -82738,7 +71443,7 @@ switch (step) { r0 = s.retval; { step = 11; continue; } case 10: - s.tmp_0 = Sprite_say__P298261_mk(s); + s.tmp_0 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = "A: add sprite"; @@ -82760,7 +71465,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; s.pc = 49; return s.tmp_4; @@ -82771,19 +71476,19 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 16; continue; } - s.tmp_5 = Sprite_say__P298261_mk(s); + s.tmp_5 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tileworld_getHelp__P302000_mk(s); - s.tmp_6.arg0 = globals.attrHelpString___308499; - s.tmp_7 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_6 = tileworld_getHelp__P3844_mk(s); + s.tmp_6.arg0 = globals.attrHelpString___10684; + s.tmp_7 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = true; s.pc = 52; return s.tmp_7; case 52: r0 = s.retval; s.tmp_6.arg1 = r0; - s.tmp_8 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_8.arg0 = s.arg0; s.tmp_8.arg1 = true; s.pc = 53; return s.tmp_8; @@ -82802,7 +71507,7 @@ switch (step) { r0 = s.retval; { step = 21; continue; } case 16: - s.tmp_2 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 54; return s.tmp_2; @@ -82816,7 +71521,7 @@ switch (step) { r0 = s.tmp_0; { step = 18; continue; } case 17: - s.tmp_4 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; s.pc = 55; return s.tmp_4; @@ -82829,7 +71534,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 19; continue; } - s.tmp_6 = Sprite_say__P298261_mk(s); + s.tmp_6 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "A: set attribute"; @@ -82850,7 +71555,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_2 = tileworld_RuleEditor_commandUpdate__P307954_mk(s); + s.tmp_2 = tileworld_RuleEditor_commandUpdate__P10139_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 57; return s.tmp_2; @@ -82866,13 +71571,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_cursorMove__P307930.info = {"start":7286,"length":1475,"line":177,"column":8,"endLine":204,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -tileworld_RuleEditor_cursorMove__P307930.info = {"start":7286,"length":1475,"line":177,"column":8,"endLine":204,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_RuleEditor_cursorMove__P10115.info = {"start":7286,"length":1475,"line":177,"column":8,"endLine":204,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_RuleEditor_cursorMove__P10115.info = {"start":7286,"length":1475,"line":177,"column":8,"endLine":204,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -function tileworld_RuleEditor_cursorMove__P307930_mk(s) { +function tileworld_RuleEditor_cursorMove__P10115_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_cursorMove__P307930, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_cursorMove__P10115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -82893,7 +71598,7 @@ function tileworld_RuleEditor_cursorMove__P307930_mk(s) { -function tileworld_getHelp__P302000(s) { +function tileworld_getHelp__P3844(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82903,11 +71608,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.index___302007 = undefined; - s.curr___302017 = undefined; - s.nextCol___302019 = undefined; - s.nextRow___302030 = undefined; - s.comma___302042 = undefined; + s.index___3851 = undefined; + s.curr___3861 = undefined; + s.nextCol___3863 = undefined; + s.nextRow___3874 = undefined; + s.comma___3886 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -82924,16 +71629,16 @@ switch (step) { { step = 11; continue; } case 1: case 2: - s.index___302007 = (0); + s.index___3851 = (0); case 3: - r0 = (s.index___302007 >= 0); + r0 = (s.index___3851 >= 0); 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_1 = r0 = s.index___302007; + s.tmp_1 = r0 = s.index___3851; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -82942,41 +71647,41 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.curr___302017 = (s.index___302007); - r0 = pxsim_String_.substr(s.arg0, s.curr___302017, 1); + s.curr___3861 = (s.index___3851); + r0 = pxsim_String_.substr(s.arg0, s.curr___3861, 1); s.tmp_1 = r0; r0 = pxsim_String_.charCodeAt(s.tmp_1, 0); s.tmp_0 = r0; - r0 = (s.tmp_0 - globals.zeroCode___301997); - s.nextCol___302019 = (r0); + r0 = (s.tmp_0 - globals.zeroCode___3841); + s.nextCol___3863 = (r0); s.tmp_2 = r0 = s.arg0; - r0 = (s.curr___302017 + 1); + r0 = (s.curr___3861 + 1); s.tmp_3 = r0; r0 = pxsim_String_.substr(s.tmp_2, s.tmp_3, 1); s.tmp_1 = r0; r0 = pxsim_String_.charCodeAt(s.tmp_1, 0); s.tmp_0 = r0; - r0 = (s.tmp_0 - globals.zeroCode___301997); - s.nextRow___302030 = (r0); - r0 = pxsim_String_.indexOf(s.arg0, ",", s.index___302007); - s.comma___302042 = (r0); - r0 = (s.nextCol___302019 == s.arg1); + r0 = (s.tmp_0 - globals.zeroCode___3841); + s.nextRow___3874 = (r0); + r0 = pxsim_String_.indexOf(s.arg0, ",", s.index___3851); + s.comma___3886 = (r0); + r0 = (s.nextCol___3863 == s.arg1); 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.nextRow___302030 == s.arg2); + r0 = (s.nextRow___3874 == s.arg2); case 7: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } s.tmp_2 = r0 = s.arg0; - r0 = (s.curr___302017 + 2); + r0 = (s.curr___3861 + 2); s.tmp_3 = r0; - r0 = (s.comma___302042 - s.curr___302017); + r0 = (s.comma___3886 - s.curr___3861); s.tmp_5 = r0; r0 = (s.tmp_5 - 2); s.tmp_4 = r0; @@ -82984,8 +71689,8 @@ switch (step) { { step = 11; continue; } case 8: case 9: - r0 = (s.comma___302042 + 1); - s.index___302007 = (r0); + r0 = (s.comma___3886 + 1); + s.index___3851 = (r0); { step = 3; continue; } case 10: r0 = null; @@ -82993,13 +71698,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_getHelp__P302000.info = {"start":313,"length":596,"line":14,"column":4,"endLine":28,"endColumn":5,"fileName":"utilities.ts","functionName":"getHelp","argumentNames":["help","col","row"]} -tileworld_getHelp__P302000.info = {"start":313,"length":596,"line":14,"column":4,"endLine":28,"endColumn":5,"fileName":"utilities.ts","functionName":"getHelp","argumentNames":["help","col","row"]} +tileworld_getHelp__P3844.info = {"start":313,"length":596,"line":14,"column":4,"endLine":28,"endColumn":5,"fileName":"utilities.ts","functionName":"getHelp","argumentNames":["help","col","row"]} +tileworld_getHelp__P3844.info = {"start":313,"length":596,"line":14,"column":4,"endLine":28,"endColumn":5,"fileName":"utilities.ts","functionName":"getHelp","argumentNames":["help","col","row"]} -function tileworld_getHelp__P302000_mk(s) { +function tileworld_getHelp__P3844_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_getHelp__P302000, depth: s.depth + 1, + parent: s, fn: tileworld_getHelp__P3844, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -83007,11 +71712,11 @@ function tileworld_getHelp__P302000_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___302007: undefined, - curr___302017: undefined, - nextCol___302019: undefined, - nextRow___302030: undefined, - comma___302042: undefined, + index___3851: undefined, + curr___3861: undefined, + nextCol___3863: undefined, + nextRow___3874: undefined, + comma___3886: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -83021,7 +71726,7 @@ function tileworld_getHelp__P302000_mk(s) { -function tileworld_RuleEditor_otherCursorMove__P307931(s) { +function tileworld_RuleEditor_otherCursorMove__P10116(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -83031,14 +71736,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.row___309028 = undefined; + s.row___11213 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 5; return s.tmp_2; @@ -83052,7 +71757,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; s.pc = 6; return s.tmp_4; @@ -83065,7 +71770,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 3; continue; } - s.tmp_7 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = true; s.pc = 7; return s.tmp_7; @@ -83073,8 +71778,8 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 - 2); - s.row___309028 = (r0); - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + s.row___11213 = (r0); + s.tmp_0 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; @@ -83082,12 +71787,12 @@ switch (step) { s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_x__P298230_mk(s); + s.tmp_0 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; - s.tmp_3 = tileworld_RuleEditor_rowToColCoord__P307939_mk(s); + s.tmp_3 = tileworld_RuleEditor_rowToColCoord__P10124_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.row___309028; + s.tmp_3.arg1 = s.row___11213; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; @@ -83099,12 +71804,12 @@ switch (step) { s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); + s.tmp_0 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; - s.tmp_5 = tileworld_RuleEditor_rowToRowCoord__P307940_mk(s); + s.tmp_5 = tileworld_RuleEditor_rowToRowCoord__P10125_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.row___309028; + s.tmp_5.arg1 = s.row___11213; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; @@ -83122,7 +71827,7 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite_setFlag__P298266_mk(s); + s.tmp_0 = Sprite_setFlag__P774_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; @@ -83135,13 +71840,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_otherCursorMove__P307931.info = {"start":8771,"length":556,"line":206,"column":8,"endLine":216,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"otherCursorMove","argumentNames":["this"]} -tileworld_RuleEditor_otherCursorMove__P307931.info = {"start":8771,"length":556,"line":206,"column":8,"endLine":216,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"otherCursorMove","argumentNames":["this"]} +tileworld_RuleEditor_otherCursorMove__P10116.info = {"start":8771,"length":556,"line":206,"column":8,"endLine":216,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"otherCursorMove","argumentNames":["this"]} +tileworld_RuleEditor_otherCursorMove__P10116.info = {"start":8771,"length":556,"line":206,"column":8,"endLine":216,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"otherCursorMove","argumentNames":["this"]} -function tileworld_RuleEditor_otherCursorMove__P307931_mk(s) { +function tileworld_RuleEditor_otherCursorMove__P10116_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_otherCursorMove__P307931, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_otherCursorMove__P10116, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -83151,7 +71856,7 @@ function tileworld_RuleEditor_otherCursorMove__P307931_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - row___309028: undefined, + row___11213: undefined, arg0: undefined, } } @@ -83159,7 +71864,7 @@ function tileworld_RuleEditor_otherCursorMove__P307931_mk(s) { -function tileworld_RuleEditor_okToMove__P307924(s) { +function tileworld_RuleEditor_okToMove__P10109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -83174,7 +71879,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleEditor__C307920_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleEditor__C10105_VT)) failedCast(r0); r0 = s.arg0.fields["askDeleteRule"]; s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); @@ -83183,13 +71888,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleEditor_okToMove__P307924.info = {"start":6378,"length":72,"line":146,"column":8,"endLine":148,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"okToMove","argumentNames":["this"]} -tileworld_RuleEditor_okToMove__P307924.info = {"start":6378,"length":72,"line":146,"column":8,"endLine":148,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"okToMove","argumentNames":["this"]} +tileworld_RuleEditor_okToMove__P10109.info = {"start":6378,"length":72,"line":146,"column":8,"endLine":148,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"okToMove","argumentNames":["this"]} +tileworld_RuleEditor_okToMove__P10109.info = {"start":6378,"length":72,"line":146,"column":8,"endLine":148,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"okToMove","argumentNames":["this"]} -function tileworld_RuleEditor_okToMove__P307924_mk(s) { +function tileworld_RuleEditor_okToMove__P10109_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleEditor_okToMove__P307924, depth: s.depth + 1, + parent: s, fn: tileworld_RuleEditor_okToMove__P10109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -83200,7 +71905,7 @@ function tileworld_RuleEditor_okToMove__P307924_mk(s) { -function tileworld_RuleRoom_centerImage__P307847(s) { +function tileworld_RuleRoom_centerImage__P10032(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -83215,8 +71920,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleRoom__C307843_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_getImage__P303129_mk(s); + if (!checkSubtype(r0, tileworld_RuleRoom__C10028_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_getImage__P4977_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["kind"]; @@ -83227,13 +71932,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleRoom_centerImage__P307847.info = {"start":3622,"length":84,"line":82,"column":8,"endLine":84,"endColumn":9,"fileName":"spriteRules.ts","functionName":"centerImage","argumentNames":["this"]} -tileworld_RuleRoom_centerImage__P307847.info = {"start":3622,"length":84,"line":82,"column":8,"endLine":84,"endColumn":9,"fileName":"spriteRules.ts","functionName":"centerImage","argumentNames":["this"]} +tileworld_RuleRoom_centerImage__P10032.info = {"start":3622,"length":84,"line":82,"column":8,"endLine":84,"endColumn":9,"fileName":"spriteRules.ts","functionName":"centerImage","argumentNames":["this"]} +tileworld_RuleRoom_centerImage__P10032.info = {"start":3622,"length":84,"line":82,"column":8,"endLine":84,"endColumn":9,"fileName":"spriteRules.ts","functionName":"centerImage","argumentNames":["this"]} -function tileworld_RuleRoom_centerImage__P307847_mk(s) { +function tileworld_RuleRoom_centerImage__P10032_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleRoom_centerImage__P307847, depth: s.depth + 1, + parent: s, fn: tileworld_RuleRoom_centerImage__P10032, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -83243,7 +71948,7 @@ function tileworld_RuleRoom_centerImage__P307847_mk(s) { -function tileworld_RuleRoom_cursorMove__P307845(s) { +function tileworld_RuleRoom_cursorMove__P10030(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -83253,8 +71958,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.index___308067 = undefined; - s.message___308077 = undefined; + s.index___10252 = undefined; + s.message___10262 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -83262,13 +71967,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleRoom__C307843_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleRoom__C10028_VT)) failedCast(r0); r0 = s.arg0.fields["p"]; r0 = r0.fields["help"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_3 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; s.pc = 17; return s.tmp_3; @@ -83279,7 +71984,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 1; continue; } - s.tmp_5 = Sprite_x__P298229_mk(s); + s.tmp_5 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_5.arg0 = r0; s.pc = 18; return s.tmp_5; @@ -83289,7 +71994,7 @@ switch (step) { r0 = (s.tmp_4 + 8); { step = 2; continue; } case 1: - s.tmp_7 = Sprite_x__P298229_mk(s); + s.tmp_7 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_7.arg0 = r0; s.pc = 19; return s.tmp_7; @@ -83300,14 +72005,14 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_8 = r0; - s.tmp_9 = Sprite_x__P298230_mk(s); + s.tmp_9 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.tmp_8; s.pc = 20; return s.tmp_9; case 20: r0 = s.retval; - s.tmp_2 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 21; return s.tmp_2; @@ -83318,7 +72023,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_y__P298231_mk(s); + s.tmp_4 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_4.arg0 = r0; s.pc = 22; return s.tmp_4; @@ -83328,7 +72033,7 @@ switch (step) { r0 = (s.tmp_3 + 32); { step = 4; continue; } case 3: - s.tmp_5 = Sprite_y__P298231_mk(s); + s.tmp_5 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_5.arg0 = r0; s.pc = 23; return s.tmp_5; @@ -83337,7 +72042,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_6 = r0; - s.tmp_7 = Sprite_y__P298232_mk(s); + s.tmp_7 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = s.tmp_6; @@ -83346,14 +72051,14 @@ switch (step) { r0 = s.retval; r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 25; return s.tmp_2; case 25: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; s.pc = 26; return s.tmp_4; @@ -83361,8 +72066,8 @@ switch (step) { r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_3); - s.index___308067 = (r0); - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.index___10252 = (r0); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 27; return s.tmp_2; @@ -83373,7 +72078,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tmp_5 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_5 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_5.arg0 = s.arg0; s.tmp_5.arg1 = true; s.pc = 28; return s.tmp_5; @@ -83384,23 +72089,23 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 5; continue; } - r0 = globals.helpStringTop___307839; + r0 = globals.helpStringTop___10024; { step = 6; continue; } case 5: - r0 = globals.helpStringBot___307841; + r0 = globals.helpStringBot___10026; case 6: // jmp value (already in r0) s.tmp_6 = r0; - s.tmp_7 = tileworld_getHelp__P302000_mk(s); + s.tmp_7 = tileworld_getHelp__P3844_mk(s); s.tmp_7.arg0 = s.tmp_6; - s.tmp_8 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_8.arg0 = s.arg0; s.tmp_8.arg1 = true; s.pc = 30; return s.tmp_8; case 30: r0 = s.retval; s.tmp_7.arg1 = r0; - s.tmp_9 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_9 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_9.arg0 = s.arg0; s.tmp_9.arg1 = true; s.pc = 31; return s.tmp_9; @@ -83410,18 +72115,18 @@ switch (step) { s.pc = 29; return s.tmp_7; case 29: r0 = s.retval; - s.message___308077 = (r0); - s.tmp_0 = Sprite_say__P298261_mk(s); + s.message___10262 = (r0); + s.tmp_0 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.message___308077; + s.tmp_0.arg1 = s.message___10262; s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - s.tmp_2 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 33; return s.tmp_2; @@ -83435,13 +72140,13 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - r0 = s.message___308077; + r0 = s.message___10262; case 8: // jmp value (already in r0) s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 11; continue; } - s.tmp_6 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = true; s.pc = 34; return s.tmp_6; @@ -83452,7 +72157,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 9; continue; } - s.tmp_7 = Sprite_say__P298261_mk(s); + s.tmp_7 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["moreHelp"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = "into resting"; @@ -83464,7 +72169,7 @@ switch (step) { r0 = s.retval; { step = 10; continue; } case 9: - s.tmp_0 = Sprite_say__P298261_mk(s); + s.tmp_0 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["moreHelp"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = "into moving"; @@ -83477,7 +72182,7 @@ switch (step) { case 10: { step = 12; continue; } case 11: - s.tmp_0 = Sprite_say__P298261_mk(s); + s.tmp_0 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["moreHelp"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = null; @@ -83490,7 +72195,7 @@ switch (step) { case 12: { step = 14; continue; } case 13: - s.tmp_0 = Sprite_say__P298261_mk(s); + s.tmp_0 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = null; @@ -83500,7 +72205,7 @@ switch (step) { s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - s.tmp_0 = Sprite_say__P298261_mk(s); + s.tmp_0 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["moreHelp"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = null; @@ -83517,13 +72222,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleRoom_cursorMove__P307845.info = {"start":2105,"length":1177,"line":47,"column":8,"endLine":70,"endColumn":9,"fileName":"spriteRules.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -tileworld_RuleRoom_cursorMove__P307845.info = {"start":2105,"length":1177,"line":47,"column":8,"endLine":70,"endColumn":9,"fileName":"spriteRules.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_RuleRoom_cursorMove__P10030.info = {"start":2105,"length":1177,"line":47,"column":8,"endLine":70,"endColumn":9,"fileName":"spriteRules.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_RuleRoom_cursorMove__P10030.info = {"start":2105,"length":1177,"line":47,"column":8,"endLine":70,"endColumn":9,"fileName":"spriteRules.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -function tileworld_RuleRoom_cursorMove__P307845_mk(s) { +function tileworld_RuleRoom_cursorMove__P10030_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleRoom_cursorMove__P307845, depth: s.depth + 1, + parent: s, fn: tileworld_RuleRoom_cursorMove__P10030, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -83535,8 +72240,8 @@ function tileworld_RuleRoom_cursorMove__P307845_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - index___308067: undefined, - message___308077: undefined, + index___10252: undefined, + message___10262: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -83546,7 +72251,7 @@ function tileworld_RuleRoom_cursorMove__P307845_mk(s) { -function tileworld_Gallery_update__P311929(s) { +function tileworld_Gallery_update__P14114(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -83556,30 +72261,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.col___312036 = undefined; - s.row___312037 = undefined; + s.col___14219 = undefined; + s.row___14220 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Gallery__C311927_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Gallery__C14112_VT)) failedCast(r0); r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, 15); - r0 = pxsim_ImageMethods.fill(globals.screen___298046, 0); - s.tmp_0 = helpers_imageFillRect__P297986_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = 6; - s.tmp_0.arg3 = 16; - s.tmp_0.arg4 = 16; - s.tmp_0.arg5 = 11; + r0 = pxsim_ImageMethods.fill(globals.screen___545, 0); + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_0.arg1 = "Gallery"; + s.tmp_0.arg2 = 0; + s.tmp_0.arg3 = 6; + s.tmp_0.arg4 = undefined; + s.tmp_0.arg5 = undefined; + s.tmp_0.arg6 = undefined; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___298046, globals.paint___304532, 0, 6); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 1; @@ -83588,7 +72293,7 @@ switch (step) { s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 1; @@ -83598,17 +72303,17 @@ switch (step) { case 3: r0 = s.retval; r0 = pxsim_pxtrt.mklocRef(); - s.col___312036 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.col___312036, 4); + s.col___14219 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.col___14219, 4); r0 = pxsim_pxtrt.mklocRef(); - s.row___312037 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.row___312037, 1); - r0 = pxsim_pxtcore_mkAction(3, inline__P312041); + s.row___14220 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.row___14220, 1); + r0 = pxsim_pxtcore_mkAction(3, inline__P14224); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.col___312036); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.row___312037); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.col___14219); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.row___14220); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["gallery"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -83619,18 +72324,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Gallery_update__P311929.info = {"start":12190,"length":586,"line":324,"column":8,"endLine":339,"endColumn":9,"fileName":"gallery.ts","functionName":"update","argumentNames":["this"]} -tileworld_Gallery_update__P311929.info = {"start":12190,"length":586,"line":324,"column":8,"endLine":339,"endColumn":9,"fileName":"gallery.ts","functionName":"update","argumentNames":["this"]} +tileworld_Gallery_update__P14114.info = {"start":12190,"length":525,"line":324,"column":8,"endLine":338,"endColumn":9,"fileName":"gallery.ts","functionName":"update","argumentNames":["this"]} +tileworld_Gallery_update__P14114.info = {"start":12190,"length":525,"line":324,"column":8,"endLine":338,"endColumn":9,"fileName":"gallery.ts","functionName":"update","argumentNames":["this"]} -function tileworld_Gallery_update__P311929_mk(s) { +function tileworld_Gallery_update__P14114_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Gallery_update__P311929, depth: s.depth + 1, + parent: s, fn: tileworld_Gallery_update__P14114, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - col___312036: undefined, - row___312037: undefined, + col___14219: undefined, + row___14220: undefined, arg0: undefined, } } @@ -83638,7 +72343,7 @@ function tileworld_Gallery_update__P311929_mk(s) { -function inline__P312041(s) { +function inline__P14224(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -83653,7 +72358,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg1 = r0; @@ -83695,13 +72400,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P312041.info = {"start":12561,"length":203,"line":333,"column":33,"endLine":338,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":["img","i"]} -inline__P312041.info = {"start":12561,"length":203,"line":333,"column":33,"endLine":338,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P14224.info = {"start":12500,"length":203,"line":332,"column":33,"endLine":337,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P14224.info = {"start":12500,"length":203,"line":332,"column":33,"endLine":337,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P312041_mk(s) { +function inline__P14224_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P312041, depth: s.depth + 1, + parent: s, fn: inline__P14224, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -83714,7 +72419,42 @@ function inline__P312041_mk(s) { -function tiles_TileMapData_constructor__P298536(s) { +function music_Melody_toString__P422(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, music_Melody__C412_VT)) failedCast(r0); + r0 = s.arg0.fields["_text"]; + return leave(s, r0) + default: oops() +} } } +music_Melody_toString__P422.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__P422.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__P422_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: music_Melody_toString__P422, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + arg0: undefined, +} } + + + + + +function tiles_TileMapData_constructor__P1044(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -83733,11 +72473,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C298524_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C1032_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__P298528_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P1036_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; s.pc = 1; return s.tmp_0; @@ -83755,13 +72495,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_constructor__P298536.info = {"start":3105,"length":358,"line":115,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} -tiles_TileMapData_constructor__P298536.info = {"start":3105,"length":358,"line":115,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} +tiles_TileMapData_constructor__P1044.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__P1044.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__P298536_mk(s) { +function tiles_TileMapData_constructor__P1044_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P298536, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P1044, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -83776,7 +72516,7 @@ function tiles_TileMapData_constructor__P298536_mk(s) { -function scene_BackgroundLayer_constructor__P298506(s) { +function scene_BackgroundLayer_constructor__P1014(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -83794,9 +72534,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C298504_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C1012_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P297646_mk(s); + s.tmp_2 = Math_max__P75_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; s.pc = 7; return s.tmp_2; @@ -83842,13 +72582,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_constructor__P298506.info = {"start":1936,"length":1117,"line":72,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game---hw/background.ts","functionName":"inline","argumentNames":["this","distance","alignment","img"]} -scene_BackgroundLayer_constructor__P298506.info = {"start":1936,"length":1117,"line":72,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game---hw/background.ts","functionName":"inline","argumentNames":["this","distance","alignment","img"]} +scene_BackgroundLayer_constructor__P1014.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__P1014.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__P298506_mk(s) { +function scene_BackgroundLayer_constructor__P1014_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P298506, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P1014, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -83863,7 +72603,7 @@ function scene_BackgroundLayer_constructor__P298506_mk(s) { -function sprites_SpriteMap_toString__P298290(s) { +function sprites_SpriteMap_toString__P798(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -83878,7 +72618,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C298280_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C788_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -83898,10 +72638,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, " buckets, "); s.tmp_1 = r0; - s.tmp_10 = helpers_arrayFilter__P297631_mk(s); + s.tmp_10 = helpers_arrayFilter__P60_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = inline__P326999; + s.tmp_10.arg1 = inline__P26254; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; @@ -83923,13 +72663,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_toString__P298290.info = {"start":4109,"length":123,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"toString","argumentNames":["this"]} -sprites_SpriteMap_toString__P298290.info = {"start":4109,"length":123,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"toString","argumentNames":["this"]} +sprites_SpriteMap_toString__P798.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__P798.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__P298290_mk(s) { +function sprites_SpriteMap_toString__P798_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P298290, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P798, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -83949,7 +72689,7 @@ function sprites_SpriteMap_toString__P298290_mk(s) { -function inline__P326999(s) { +function inline__P26254(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -83973,13 +72713,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P326999.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"inline","argumentNames":["b"]} -inline__P326999.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"inline","argumentNames":["b"]} +inline__P26254.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["b"]} +inline__P26254.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__P326999_mk(s) { +function inline__P26254_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P326999, depth: s.depth + 1, + parent: s, fn: inline__P26254, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -83991,7 +72731,7 @@ function inline__P326999_mk(s) { -function ArcadePhysicsEngine_moveSprite__P298379(s) { +function ArcadePhysicsEngine_moveSprite__P887(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -84001,9 +72741,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tm___327037 = undefined; - s.maxDist___327047 = undefined; - s.ms___327067 = undefined; + s.tm___26292 = undefined; + s.maxDist___26302 = undefined; + s.ms___26322 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -84012,7 +72752,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -84041,21 +72781,21 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tmp_4 = game_currentScene__P298414_mk(s); + s.tmp_4 = game_currentScene__P922_mk(s); s.pc = 16; return s.tmp_4; case 16: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___327037 = (r0); - s.tmp_0 = r0 = s.tm___327037; + s.tm___26292 = (r0); + s.tmp_0 = r0 = s.tm___26292; 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__C298537_v6_1_mk(s); - s.tmp_1.arg0 = s.tm___327037; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = tiles_TileMap__C1045_v6_1_mk(s); + s.tmp_1.arg0 = s.tm___26292; + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.enabled; s.pc = 17; return s.tmp_1; case 17: @@ -84077,8 +72817,8 @@ switch (step) { r0 = (s.tmp_5 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); - s.maxDist___327047 = (r0); - s.tmp_2 = Math_abs__P297644_mk(s); + s.maxDist___26302 = (r0); + s.tmp_2 = Math_abs__P73_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); @@ -84087,14 +72827,14 @@ switch (step) { case 18: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___327047); + r0 = (s.tmp_1 <= s.maxDist___26302); 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__P297644_mk(s); + s.tmp_5 = Math_abs__P73_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); @@ -84103,15 +72843,15 @@ switch (step) { case 19: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___327047); + r0 = (s.tmp_4 <= s.maxDist___26302); 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__C298359_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C867_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P298360_mk(s); + s.tmp_9 = MovingSprite_constructor__P868_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -84125,20 +72865,20 @@ switch (step) { s.pc = 20; return s.tmp_9; case 20: r0 = s.retval; - s.ms___327067 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P298376_mk(s); + s.ms___26322 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P884_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___327067; - s.tmp_0.arg2 = s.tm___327037; + s.tmp_0.arg1 = s.ms___26322; + s.tmp_0.arg2 = s.tm___26292; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; { step = 12; continue; } case 7: - s.tmp_1 = tiles_TileMap__C298537_v14_2_mk(s); - s.tmp_1.arg0 = s.tm___327037; + s.tmp_1 = tiles_TileMap__C1045_v14_2_mk(s); + s.tmp_1.arg0 = s.tm___26292; s.tmp_1.arg1 = s.arg1; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isOnWall; s.pc = 22; return s.tmp_1; case 22: @@ -84149,10 +72889,10 @@ switch (step) { r0 = s.tmp_0; { step = 9; continue; } case 8: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P298380_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P888_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___327037; + s.tmp_4.arg2 = s.tm___26292; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; @@ -84188,13 +72928,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_moveSprite__P298379.info = {"start":18957,"length":1272,"line":550,"column":4,"endLine":583,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} -ArcadePhysicsEngine_moveSprite__P298379.info = {"start":18957,"length":1272,"line":550,"column":4,"endLine":583,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} +ArcadePhysicsEngine_moveSprite__P887.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__P887.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__P298379_mk(s) { +function ArcadePhysicsEngine_moveSprite__P887_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P298379, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P887, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -84206,9 +72946,9 @@ function ArcadePhysicsEngine_moveSprite__P298379_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___327037: undefined, - maxDist___327047: undefined, - ms___327067: undefined, + tm___26292: undefined, + maxDist___26302: undefined, + ms___26322: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -84219,7 +72959,7 @@ function ArcadePhysicsEngine_moveSprite__P298379_mk(s) { -function tiles_TileMap_isOnWall__P298559(s) { +function tiles_TileMap_isOnWall__P1067(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -84229,24 +72969,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.hbox___327285 = undefined; - s.left___327288 = undefined; - s.right___327294 = undefined; - s.top___327300 = undefined; - s.bottom___327306 = undefined; - s.col___327312 = undefined; - s.row___327318 = undefined; + s.hbox___26540 = undefined; + s.left___26543 = undefined; + s.right___26549 = undefined; + s.top___26555 = undefined; + s.bottom___26561 = undefined; + s.col___26567 = undefined; + s.row___26573 = 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__C298537_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___327285 = (r0); - s.tmp_1 = game_Hitbox_left__P298214_mk(s); - s.tmp_1.arg0 = s.hbox___327285; + s.hbox___26540 = (r0); + s.tmp_1 = game_Hitbox_left__P722_mk(s); + s.tmp_1.arg0 = s.hbox___26540; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; @@ -84256,9 +72996,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___327288 = (r0); - s.tmp_1 = game_Hitbox_right__P298216_mk(s); - s.tmp_1.arg0 = s.hbox___327285; + s.left___26543 = (r0); + s.tmp_1 = game_Hitbox_right__P724_mk(s); + s.tmp_1.arg0 = s.hbox___26540; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -84268,9 +73008,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___327294 = (r0); - s.tmp_1 = game_Hitbox_top__P298215_mk(s); - s.tmp_1.arg0 = s.hbox___327285; + s.right___26549 = (r0); + s.tmp_1 = game_Hitbox_top__P723_mk(s); + s.tmp_1.arg0 = s.hbox___26540; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; @@ -84280,9 +73020,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___327300 = (r0); - s.tmp_1 = game_Hitbox_bottom__P298217_mk(s); - s.tmp_1.arg0 = s.hbox___327285; + s.top___26555 = (r0); + s.tmp_1 = game_Hitbox_bottom__P725_mk(s); + s.tmp_1.arg0 = s.hbox___26540; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -84292,24 +73032,24 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___327306 = (r0); - s.col___327312 = (s.left___327288); + s.bottom___26561 = (r0); + s.col___26567 = (s.left___26543); case 1: - r0 = (s.col___327312 <= s.right___327294); + r0 = (s.col___26567 <= s.right___26549); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___327318 = (s.top___327300); + s.row___26573 = (s.top___26555); case 2: - r0 = (s.row___327318 <= s.bottom___327306); + r0 = (s.row___26573 <= s.bottom___26561); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap__C298537_v12_3_mk(s); + s.tmp_2 = tiles_TileMap__C1045_v12_3_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___327312; - s.tmp_2.arg2 = s.row___327318; - if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_2.arg0); + s.tmp_2.arg1 = s.col___26567; + s.tmp_2.arg2 = s.row___26573; + if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.isObstacle; s.pc = 12; return s.tmp_2; case 12: @@ -84321,12 +73061,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___327318 + 1); - s.row___327318 = (r0); + r0 = (s.row___26573 + 1); + s.row___26573 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___327312 + 1); - s.col___327312 = (r0); + r0 = (s.col___26567 + 1); + s.col___26567 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -84334,25 +73074,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isOnWall__P298559.info = {"start":11512,"length":627,"line":379,"column":8,"endLine":396,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} -tiles_TileMap_isOnWall__P298559.info = {"start":11512,"length":627,"line":379,"column":8,"endLine":396,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} +tiles_TileMap_isOnWall__P1067.info = {"start":11512,"length":627,"line":379,"column":8,"endLine":396,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} +tiles_TileMap_isOnWall__P1067.info = {"start":11512,"length":627,"line":379,"column":8,"endLine":396,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} -function tiles_TileMap_isOnWall__P298559_mk(s) { +function tiles_TileMap_isOnWall__P1067_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P298559, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P1067, 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___327285: undefined, - left___327288: undefined, - right___327294: undefined, - top___327300: undefined, - bottom___327306: undefined, - col___327312: undefined, - row___327318: undefined, + hbox___26540: undefined, + left___26543: undefined, + right___26549: undefined, + top___26555: undefined, + bottom___26561: undefined, + col___26567: undefined, + row___26573: undefined, arg0: undefined, arg1: undefined, } } @@ -84361,7 +73101,7 @@ function tiles_TileMap_isOnWall__P298559_mk(s) { -function tiles_TileMap_isObstacle__P298557(s) { +function tiles_TileMap_isObstacle__P1065(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -84378,10 +73118,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); - s.tmp_3 = tiles_TileMap__C298537_v6_1_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); + s.tmp_3 = tiles_TileMap__C1045_v6_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.enabled; s.pc = 6; return s.tmp_3; case 6: @@ -84397,7 +73137,7 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_5 = tiles_TileMapData_isOutsideMap__P298535_mk(s); + s.tmp_5 = tiles_TileMapData_isOutsideMap__P1043_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg1; @@ -84423,13 +73163,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isObstacle__P298557.info = {"start":10871,"length":211,"line":360,"column":8,"endLine":365,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} -tiles_TileMap_isObstacle__P298557.info = {"start":10871,"length":211,"line":360,"column":8,"endLine":365,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_isObstacle__P1065.info = {"start":10871,"length":211,"line":360,"column":8,"endLine":365,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_isObstacle__P1065.info = {"start":10871,"length":211,"line":360,"column":8,"endLine":365,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_isObstacle__P298557_mk(s) { +function tiles_TileMap_isObstacle__P1065_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P298557, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P1065, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -84449,7 +73189,7 @@ function tiles_TileMap_isObstacle__P298557_mk(s) { -function tiles_TileMapData_isWall__P298534(s) { +function tiles_TileMapData_isWall__P1042(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -84466,7 +73206,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C298524_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C1032_VT)) failedCast(r0); r0 = s.arg0.fields["layers"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2); @@ -84475,13 +73215,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isWall__P298534.info = {"start":5275,"length":107,"line":185,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} -tiles_TileMapData_isWall__P298534.info = {"start":5275,"length":107,"line":185,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} +tiles_TileMapData_isWall__P1042.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__P1042.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__P298534_mk(s) { +function tiles_TileMapData_isWall__P1042_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P298534, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P1042, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -84494,7 +73234,7 @@ function tiles_TileMapData_isWall__P298534_mk(s) { -function game_Hitbox_bottom__P298217(s) { +function game_Hitbox_bottom__P725(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -84509,10 +73249,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C298213_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C721_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P298215_mk(s); + s.tmp_3 = game_Hitbox_top__P723_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 1; return s.tmp_3; case 1: @@ -84524,14 +73264,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_bottom__P298217.info = {"start":742,"length":139,"line":31,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game---hw/hitbox.ts","functionName":"bottom","argumentNames":["this"]} -game_Hitbox_bottom__P298217.isGetter = true; -game_Hitbox_bottom__P298217.info = {"start":742,"length":139,"line":31,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game---hw/hitbox.ts","functionName":"bottom","argumentNames":["this"]} +game_Hitbox_bottom__P725.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__P725.isGetter = true; +game_Hitbox_bottom__P725.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__P298217_mk(s) { +function game_Hitbox_bottom__P725_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P298217, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P725, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -84544,7 +73284,7 @@ function game_Hitbox_bottom__P298217_mk(s) { -function game_Hitbox_right__P298216(s) { +function game_Hitbox_right__P724(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -84559,10 +73299,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C298213_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C721_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P298214_mk(s); + s.tmp_3 = game_Hitbox_left__P722_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 1; return s.tmp_3; case 1: @@ -84574,14 +73314,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_right__P298216.info = {"start":594,"length":138,"line":24,"column":8,"endLine":29,"endColumn":9,"fileName":"pxt_modules/game---hw/hitbox.ts","functionName":"right","argumentNames":["this"]} -game_Hitbox_right__P298216.isGetter = true; -game_Hitbox_right__P298216.info = {"start":594,"length":138,"line":24,"column":8,"endLine":29,"endColumn":9,"fileName":"pxt_modules/game---hw/hitbox.ts","functionName":"right","argumentNames":["this"]} +game_Hitbox_right__P724.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__P724.isGetter = true; +game_Hitbox_right__P724.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__P298216_mk(s) { +function game_Hitbox_right__P724_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P298216, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P724, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -84594,7 +73334,7 @@ function game_Hitbox_right__P298216_mk(s) { -function game_Hitbox_top__P298215(s) { +function game_Hitbox_top__P723(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -84609,7 +73349,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C298213_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C721_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -84619,14 +73359,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_top__P298215.info = {"start":511,"length":73,"line":20,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game---hw/hitbox.ts","functionName":"top","argumentNames":["this"]} -game_Hitbox_top__P298215.isGetter = true; -game_Hitbox_top__P298215.info = {"start":511,"length":73,"line":20,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game---hw/hitbox.ts","functionName":"top","argumentNames":["this"]} +game_Hitbox_top__P723.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__P723.isGetter = true; +game_Hitbox_top__P723.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__P298215_mk(s) { +function game_Hitbox_top__P723_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P298215, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P723, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -84637,7 +73377,7 @@ function game_Hitbox_top__P298215_mk(s) { -function game_Hitbox_left__P298214(s) { +function game_Hitbox_left__P722(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -84652,7 +73392,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C298213_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C721_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -84662,14 +73402,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_left__P298214.info = {"start":427,"length":74,"line":16,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/game---hw/hitbox.ts","functionName":"left","argumentNames":["this"]} -game_Hitbox_left__P298214.isGetter = true; -game_Hitbox_left__P298214.info = {"start":427,"length":74,"line":16,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/game---hw/hitbox.ts","functionName":"left","argumentNames":["this"]} +game_Hitbox_left__P722.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__P722.isGetter = true; +game_Hitbox_left__P722.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__P298214_mk(s) { +function game_Hitbox_left__P722_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P298214, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P722, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -84680,7 +73420,7 @@ function game_Hitbox_left__P298214_mk(s) { -function Fx_toIntShifted__P297681(s) { +function Fx_toIntShifted__P110(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -84702,13 +73442,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toIntShifted__P297681.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__P297681.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__P110.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__P110.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__P297681_mk(s) { +function Fx_toIntShifted__P110_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P297681, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P110, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -84720,7 +73460,7 @@ function Fx_toIntShifted__P297681_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P298380(s) { +function ArcadePhysicsEngine_canResolveClipping__P888(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -84730,19 +73470,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.hbox___327107 = undefined; - s.sz___327110 = undefined; - s.maxMove___327115 = undefined; - s.origY___327117 = undefined; - s.origX___327120 = undefined; - s.l___327123 = undefined; - s.r___327128 = undefined; - s.t___327133 = undefined; - s.b___327138 = undefined; - s.offset___327143 = undefined; - s.offset___327168 = undefined; - s.offset___327199 = undefined; - s.offset___327224 = undefined; + s.hbox___26362 = undefined; + s.sz___26365 = undefined; + s.maxMove___26370 = undefined; + s.origY___26372 = undefined; + s.origX___26375 = undefined; + s.l___26378 = undefined; + s.r___26383 = undefined; + s.t___26388 = undefined; + s.b___26393 = undefined; + s.offset___26398 = undefined; + s.offset___26423 = undefined; + s.offset___26454 = undefined; + s.offset___26479 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -84750,25 +73490,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___327107 = (r0); + s.hbox___26362 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___327110 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P298367_mk(s); + s.sz___26365 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P875_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.maxMove___327115 = (r0); + s.maxMove___26370 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___327117 = (r0); + s.origY___26372 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___327120 = (r0); - s.tmp_1 = game_Hitbox_left__P298214_mk(s); - s.tmp_1.arg0 = s.hbox___327107; + s.origX___26375 = (r0); + s.tmp_1 = game_Hitbox_left__P722_mk(s); + s.tmp_1.arg0 = s.hbox___26362; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; @@ -84776,9 +73516,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___327123 = (r0); - s.tmp_1 = game_Hitbox_right__P298216_mk(s); - s.tmp_1.arg0 = s.hbox___327107; + s.l___26378 = (r0); + s.tmp_1 = game_Hitbox_right__P724_mk(s); + s.tmp_1.arg0 = s.hbox___26362; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; @@ -84786,9 +73526,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___327128 = (r0); - s.tmp_1 = game_Hitbox_top__P298215_mk(s); - s.tmp_1.arg0 = s.hbox___327107; + s.r___26383 = (r0); + s.tmp_1 = game_Hitbox_top__P723_mk(s); + s.tmp_1.arg0 = s.hbox___26362; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; @@ -84796,9 +73536,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___327133 = (r0); - s.tmp_1 = game_Hitbox_bottom__P298217_mk(s); - s.tmp_1.arg0 = s.hbox___327107; + s.t___26388 = (r0); + s.tmp_1 = game_Hitbox_bottom__P725_mk(s); + s.tmp_1.arg0 = s.hbox___26362; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; @@ -84806,29 +73546,29 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___327138 = (r0); - r0 = (s.b___327138 + 1); + s.b___26393 = (r0); + r0 = (s.b___26393 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___327110); - s.offset___327143 = (r0); - r0 = (s.offset___327143 <= s.maxMove___327115); + r0 = (s.tmp_0 % s.sz___26365); + s.offset___26398 = (r0); + r0 = (s.offset___26398 <= s.maxMove___26370); 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___327143 * 256); + r0 = (s.offset___26398 * 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__C298537_v14_2_mk(s); + s.tmp_3 = tiles_TileMap__C1045_v14_2_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isOnWall; s.pc = 23; return s.tmp_3; case 23: @@ -84844,38 +73584,38 @@ switch (step) { { step = 17; continue; } { step = 2; continue; } case 1: - r0 = (s.arg1).fields["_y"] = (s.origY___327117); + r0 = (s.arg1).fields["_y"] = (s.origY___26372); case 2: case 3: case 4: - r0 = (s.t___327133 / s.sz___327110); + r0 = (s.t___26388 / s.sz___26365); 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___327110); + r0 = (s.tmp_1 * s.sz___26365); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___327133); - s.offset___327168 = (r0); - r0 = (s.offset___327168 <= s.maxMove___327115); + r0 = (s.tmp_0 - s.t___26388); + s.offset___26423 = (r0); + r0 = (s.offset___26423 <= s.maxMove___26370); 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___327168 * 256); + r0 = (s.offset___26423 * 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__C298537_v14_2_mk(s); + s.tmp_3 = tiles_TileMap__C1045_v14_2_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isOnWall; s.pc = 24; return s.tmp_3; case 24: @@ -84891,32 +73631,32 @@ switch (step) { { step = 17; continue; } { step = 6; continue; } case 5: - r0 = (s.arg1).fields["_y"] = (s.origY___327117); + r0 = (s.arg1).fields["_y"] = (s.origY___26372); case 6: case 7: case 8: - r0 = (s.r___327128 + 1); + r0 = (s.r___26383 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___327110); - s.offset___327199 = (r0); - r0 = (s.offset___327199 <= s.maxMove___327115); + r0 = (s.tmp_0 % s.sz___26365); + s.offset___26454 = (r0); + r0 = (s.offset___26454 <= s.maxMove___26370); 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___327199 * 256); + r0 = (s.offset___26454 * 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__C298537_v14_2_mk(s); + s.tmp_3 = tiles_TileMap__C1045_v14_2_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isOnWall; s.pc = 25; return s.tmp_3; case 25: @@ -84932,38 +73672,38 @@ switch (step) { { step = 17; continue; } { step = 10; continue; } case 9: - r0 = (s.arg1).fields["_x"] = (s.origX___327120); + r0 = (s.arg1).fields["_x"] = (s.origX___26375); case 10: case 11: case 12: - r0 = (s.l___327123 / s.sz___327110); + r0 = (s.l___26378 / s.sz___26365); 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___327110); + r0 = (s.tmp_1 * s.sz___26365); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___327123); - s.offset___327224 = (r0); - r0 = (s.offset___327224 <= s.maxMove___327115); + r0 = (s.tmp_0 - s.l___26378); + s.offset___26479 = (r0); + r0 = (s.offset___26479 <= s.maxMove___26370); 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___327224 * 256); + r0 = (s.offset___26479 * 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__C298537_v14_2_mk(s); + s.tmp_3 = tiles_TileMap__C1045_v14_2_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isOnWall; s.pc = 26; return s.tmp_3; case 26: @@ -84979,7 +73719,7 @@ switch (step) { { step = 17; continue; } { step = 14; continue; } case 13: - r0 = (s.arg1).fields["_x"] = (s.origX___327120); + r0 = (s.arg1).fields["_x"] = (s.origX___26375); case 14: case 15: case 16: @@ -84988,13 +73728,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P298380.info = {"start":20325,"length":2093,"line":586,"column":4,"endLine":656,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} -ArcadePhysicsEngine_canResolveClipping__P298380.info = {"start":20325,"length":2093,"line":586,"column":4,"endLine":656,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} +ArcadePhysicsEngine_canResolveClipping__P888.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__P888.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__P298380_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P888_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P298380, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P888, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -85002,19 +73742,19 @@ function ArcadePhysicsEngine_canResolveClipping__P298380_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___327107: undefined, - sz___327110: undefined, - maxMove___327115: undefined, - origY___327117: undefined, - origX___327120: undefined, - l___327123: undefined, - r___327128: undefined, - t___327133: undefined, - b___327138: undefined, - offset___327143: undefined, - offset___327168: undefined, - offset___327199: undefined, - offset___327224: undefined, + hbox___26362: undefined, + sz___26365: undefined, + maxMove___26370: undefined, + origY___26372: undefined, + origX___26375: undefined, + l___26378: undefined, + r___26383: undefined, + t___26388: undefined, + b___26393: undefined, + offset___26398: undefined, + offset___26423: undefined, + offset___26454: undefined, + offset___26479: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -85024,7 +73764,7 @@ function ArcadePhysicsEngine_canResolveClipping__P298380_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P298376(s) { +function ArcadePhysicsEngine_tilemapCollisions__P884(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -85034,34 +73774,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.s___327371 = undefined; - s.hbox___327388 = undefined; - s.tileScale___327391 = undefined; - s.tileSize___327394 = undefined; - s.xDiff___327398 = undefined; - s.yDiff___327405 = undefined; - s.right___327415 = undefined; - s.x0___327419 = undefined; - s.collidedTiles___327434 = undefined; - s.overlappedTiles___327436 = undefined; - s.y___327438 = undefined; - s.y0___327452 = undefined; - s.obstacle___327468 = undefined; - s.collisionDirection___327504 = undefined; - s.tile___327532 = undefined; - s.unnamed2890___U15 = undefined; - s.unnamed2891___U16 = undefined; - s.down___327616 = undefined; - s.y0___327620 = undefined; - s.collidedTiles___327635 = undefined; - s.overlappedTiles___327637 = undefined; - s.x___327639 = undefined; - s.x0___327649 = undefined; - s.obstacle___327663 = undefined; - s.collisionDirection___327697 = undefined; - s.tile___327725 = undefined; - s.unnamed2892___U26 = undefined; - s.unnamed2893___U27 = undefined; + s.s___26626 = undefined; + s.hbox___26643 = undefined; + s.tileScale___26646 = undefined; + s.tileSize___26649 = undefined; + s.xDiff___26653 = undefined; + s.yDiff___26660 = undefined; + s.right___26670 = undefined; + s.x0___26674 = undefined; + s.collidedTiles___26689 = undefined; + s.overlappedTiles___26691 = undefined; + s.y___26693 = undefined; + s.y0___26707 = undefined; + s.obstacle___26723 = undefined; + s.collisionDirection___26759 = undefined; + s.tile___26787 = undefined; + s.unnamed68___U15 = undefined; + s.unnamed69___U16 = undefined; + s.down___26871 = undefined; + s.y0___26875 = undefined; + s.collidedTiles___26890 = undefined; + s.overlappedTiles___26892 = undefined; + s.x___26894 = undefined; + s.x0___26904 = undefined; + s.obstacle___26918 = undefined; + s.collisionDirection___26952 = undefined; + s.tile___26980 = undefined; + s.unnamed70___U26 = undefined; + s.unnamed71___U27 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -85069,19 +73809,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___327371 = (r0); - r0 = s.s___327371.fields["flags"]; + s.s___26626 = (r0); + r0 = s.s___26626.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__C298537_v14_2_mk(s); + s.tmp_3 = tiles_TileMap__C1045_v14_2_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.s___327371; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_3.arg0); + s.tmp_3.arg1 = s.s___26626; + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isOnWall; s.pc = 78; return s.tmp_3; case 78: @@ -85092,7 +73832,7 @@ switch (step) { { step = 77; continue; } { step = 2; continue; } case 1: - s.tmp_4 = r0 = s.s___327371; + s.tmp_4 = r0 = s.s___26626; r0 = s.tmp_4.fields["flags"]; s.tmp_6 = r0; r0 = (s.tmp_6 & -257); @@ -85101,34 +73841,34 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___327371.fields["_hitbox"]; - s.hbox___327388 = (r0); + r0 = s.s___26626.fields["_hitbox"]; + s.hbox___26643 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___327391 = (r0); - r0 = (1 << s.tileScale___327391); - s.tileSize___327394 = (r0); - r0 = s.s___327371.fields["_x"]; + s.tileScale___26646 = (r0); + r0 = (1 << s.tileScale___26646); + s.tileSize___26649 = (r0); + r0 = s.s___26626.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___327371.fields["_lastX"]; + r0 = s.s___26626.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___327398 = (r0); - r0 = s.s___327371.fields["_y"]; + s.xDiff___26653 = (r0); + r0 = s.s___26626.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___327371.fields["_lastY"]; + r0 = s.s___26626.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___327405 = (r0); - r0 = (s.xDiff___327398 !== 0); + s.yDiff___26660 = (r0); + r0 = (s.xDiff___26653 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 39; continue; } - r0 = (s.xDiff___327398 > 0); - s.right___327415 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___327415); + r0 = (s.xDiff___26653 > 0); + s.right___26670 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___26670); if (!r0) { step = 5; continue; } - s.tmp_1 = game_Hitbox_right__P298216_mk(s); - s.tmp_1.arg0 = s.hbox___327388; + s.tmp_1 = game_Hitbox_right__P724_mk(s); + s.tmp_1.arg0 = s.hbox___26643; s.pc = 79; return s.tmp_1; case 79: r0 = s.retval; @@ -85136,8 +73876,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 6; continue; } case 5: - s.tmp_3 = game_Hitbox_left__P298214_mk(s); - s.tmp_3.arg0 = s.hbox___327388; + s.tmp_3 = game_Hitbox_left__P722_mk(s); + s.tmp_3.arg0 = s.hbox___26643; s.pc = 80; return s.tmp_3; case 80: r0 = s.retval; @@ -85148,32 +73888,32 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___327391 + 8); + r0 = (s.tileScale___26646 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___327419 = (r0); + s.x0___26674 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___327434 = (r0); + s.collidedTiles___26689 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___327436 = (r0); - s.tmp_1 = game_Hitbox_top__P298215_mk(s); - s.tmp_1.arg0 = s.hbox___327388; + s.overlappedTiles___26691 = (r0); + s.tmp_1 = game_Hitbox_top__P723_mk(s); + s.tmp_1.arg0 = s.hbox___26643; s.pc = 81; return s.tmp_1; case 81: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___327405); - s.y___327438 = (r0); + r0 = (s.tmp_0 - s.yDiff___26660); + s.y___26693 = (r0); case 7: - s.tmp_1 = r0 = s.y___327438; - s.tmp_3 = r0 = s.tileSize___327394; - s.tmp_6 = game_Hitbox_bottom__P298217_mk(s); - s.tmp_6.arg0 = s.hbox___327388; + s.tmp_1 = r0 = s.y___26693; + s.tmp_3 = r0 = s.tileSize___26649; + s.tmp_6 = game_Hitbox_bottom__P725_mk(s); + s.tmp_6.arg0 = s.hbox___26643; s.pc = 82; return s.tmp_6; case 82: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___327405); + r0 = (s.tmp_5 - s.yDiff___26660); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -85183,15 +73923,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_10 = Fx_min__P297691_mk(s); - s.tmp_10.arg0 = s.y___327438; - s.tmp_12 = game_Hitbox_bottom__P298217_mk(s); - s.tmp_12.arg0 = s.hbox___327388; + s.tmp_10 = Fx_min__P120_mk(s); + s.tmp_10.arg0 = s.y___26693; + s.tmp_12 = game_Hitbox_bottom__P725_mk(s); + s.tmp_12.arg0 = s.hbox___26643; s.pc = 84; return s.tmp_12; case 84: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___327405); + r0 = (s.tmp_11 - s.yDiff___26660); s.tmp_10.arg1 = r0; s.pc = 83; return s.tmp_10; case 83: @@ -85199,15 +73939,15 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___327391 + 8); + r0 = (s.tileScale___26646 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___327452 = (r0); - s.tmp_1 = tiles_TileMap__C298537_v12_3_mk(s); + s.y0___26707 = (r0); + s.tmp_1 = tiles_TileMap__C1045_v12_3_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___327419; - s.tmp_1.arg2 = s.y0___327452; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1.arg1 = s.x0___26674; + s.tmp_1.arg2 = s.y0___26707; + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isObstacle; s.pc = 85; return s.tmp_1; case 85: @@ -85215,21 +73955,21 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.tmp_2 = tiles_TileMap__C298537_v13_3_mk(s); + s.tmp_2 = tiles_TileMap__C1045_v13_3_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___327419; - s.tmp_2.arg2 = s.y0___327452; - if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_2.arg0); + s.tmp_2.arg1 = s.x0___26674; + s.tmp_2.arg2 = s.y0___26707; + if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.getObstacle; s.pc = 86; return s.tmp_2; case 86: r0 = s.retval; - s.obstacle___327468 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P327476); + s.obstacle___26723 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P26731); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___327468); - s.tmp_4 = helpers_arraySome__P297628_mk(s); - s.tmp_4.arg0 = s.collidedTiles___327434; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___26723); + s.tmp_4 = helpers_arraySome__P57_mk(s); + s.tmp_4.arg0 = s.collidedTiles___26689; s.tmp_4.arg1 = s.tmp_0; s.pc = 87; return s.tmp_4; case 87: @@ -85241,17 +73981,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - r0 = pxsim_Array__push(s.collidedTiles___327434, s.obstacle___327468); + r0 = pxsim_Array__push(s.collidedTiles___26689, s.obstacle___26723); case 8: case 9: { step = 11; continue; } case 10: - s.tmp_0 = r0 = s.overlappedTiles___327436; - s.tmp_2 = tiles_TileMap__C298537_v7_3_mk(s); + s.tmp_0 = r0 = s.overlappedTiles___26691; + s.tmp_2 = tiles_TileMap__C1045_v7_3_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___327419; - s.tmp_2.arg2 = s.y0___327452; - if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_2.arg0); + s.tmp_2.arg1 = s.x0___26674; + s.tmp_2.arg2 = s.y0___26707; + if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.getTile; s.pc = 88; return s.tmp_2; case 88: @@ -85259,17 +73999,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); case 11: - r0 = (s.tileSize___327394 << 8); + r0 = (s.tileSize___26649 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___327438); - s.y___327438 = (r0); + r0 = (s.tmp_0 + s.y___26693); + s.y___26693 = (r0); { step = 7; continue; } case 12: - r0 = pxsim_Array__length(s.collidedTiles___327434); + r0 = pxsim_Array__length(s.collidedTiles___26689); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___327415); + r0 = pxsim_numops_toBoolDecr(s.right___26670); if (!r0) { step = 13; continue; } r0 = 2; { step = 14; continue; } @@ -85278,23 +74018,23 @@ switch (step) { case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___327504 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___327415); + s.collisionDirection___26759 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___26670); if (!r0) { step = 15; continue; } - r0 = (s.x0___327419 << s.tileScale___327391); + r0 = (s.x0___26674 << s.tileScale___26646); 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___327388.fields["width"]; + r0 = s.hbox___26643.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 16; continue; } case 15: - r0 = (s.x0___327419 + 1); + r0 = (s.x0___26674 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___327391); + r0 = (s.tmp_5 << s.tileScale___26646); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -85302,43 +74042,43 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___327371; - r0 = s.hbox___327388.fields["ox"]; + s.tmp_8 = r0 = s.s___26626; + r0 = s.hbox___26643.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___327532 = (undefined); - s.unnamed2890___U15 = (s.collidedTiles___327434); - s.unnamed2891___U16 = (0); + s.tile___26787 = (undefined); + s.unnamed68___U15 = (s.collidedTiles___26689); + s.unnamed69___U16 = (0); case 17: - s.tmp_0 = r0 = s.unnamed2891___U16; - r0 = pxsim_Array__length(s.unnamed2890___U15); + s.tmp_0 = r0 = s.unnamed69___U16; + r0 = pxsim_Array__length(s.unnamed68___U15); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed2890___U15, s.unnamed2891___U16); - s.tile___327532 = (r0); - s.tmp_2 = Sprite_registerObstacle__P298272_mk(s); - s.tmp_2.arg0 = s.s___327371; - s.tmp_2.arg1 = s.collisionDirection___327504; - s.tmp_2.arg2 = s.tile___327532; + r0 = pxsim_Array__getAt(s.unnamed68___U15, s.unnamed69___U16); + s.tile___26787 = (r0); + s.tmp_2 = Sprite_registerObstacle__P780_mk(s); + s.tmp_2.arg0 = s.s___26626; + s.tmp_2.arg1 = s.collisionDirection___26759; + s.tmp_2.arg2 = s.tile___26787; s.pc = 89; return s.tmp_2; case 89: r0 = s.retval; - r0 = (s.unnamed2891___U16 + 1); - s.unnamed2891___U16 = (r0); + r0 = (s.unnamed69___U16 + 1); + s.unnamed69___U16 = (r0); { step = 17; continue; } case 18: - s.unnamed2890___U15 = (undefined); - r0 = s.s___327371.fields["flags"]; + s.unnamed68___U15 = (undefined); + r0 = s.s___26626.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__P298274_mk(s); - s.tmp_2.arg0 = s.s___327371; + s.tmp_2 = Sprite_destroy__P782_mk(s); + s.tmp_2.arg0 = s.s___26626; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.pc = 90; return s.tmp_2; @@ -85346,7 +74086,7 @@ switch (step) { r0 = s.retval; { step = 34; continue; } case 19: - r0 = s.s___327371.fields["_vx"]; + r0 = s.s___26626.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -85354,13 +74094,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 30; continue; } - r0 = s.s___327371.fields["flags"]; + r0 = s.s___26626.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___327415); + r0 = pxsim_numops_toBoolDecr(s.right___26670); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -85369,8 +74109,8 @@ switch (step) { r0 = s.tmp_5; { step = 21; continue; } case 20: - s.tmp_8 = Sprite_vx__P298233_mk(s); - s.tmp_8.arg0 = s.s___327371; + s.tmp_8 = Sprite_vx__P741_mk(s); + s.tmp_8.arg0 = s.s___26626; s.pc = 91; return s.tmp_8; case 91: r0 = s.retval; @@ -85384,14 +74124,14 @@ switch (step) { r0 = s.tmp_9; { step = 25; continue; } case 22: - s.tmp_10 = r0 = s.right___327415; + s.tmp_10 = r0 = s.right___26670; 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__P298233_mk(s); - s.tmp_12.arg0 = s.s___327371; + s.tmp_12 = Sprite_vx__P741_mk(s); + s.tmp_12.arg0 = s.s___26626; s.pc = 92; return s.tmp_12; case 92: r0 = s.retval; @@ -85406,8 +74146,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___327371; - r0 = s.s___327371.fields["_vx"]; + s.tmp_15 = r0 = s.s___26626; + r0 = s.s___26626.fields["_vx"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -85429,12 +74169,12 @@ switch (step) { { step = 29; continue; } case 28: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___327371).fields["_vx"] = (0); + r0 = (s.s___26626).fields["_vx"] = (0); case 29: { step = 33; continue; } case 30: - s.tmp_2 = Math_sign__P297645_mk(s); - r0 = s.s___327371.fields["_vx"]; + s.tmp_2 = Math_sign__P74_mk(s); + r0 = s.s___26626.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -85444,7 +74184,7 @@ switch (step) { case 93: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P297645_mk(s); + s.tmp_6 = Math_sign__P74_mk(s); r0 = s.arg1.fields["cachedVx"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -85466,14 +74206,14 @@ switch (step) { case 34: { step = 38; continue; } case 35: - r0 = pxsim_Array__length(s.overlappedTiles___327436); + r0 = pxsim_Array__length(s.overlappedTiles___26691); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P298377_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P885_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___327371; - s.tmp_1.arg2 = s.overlappedTiles___327436; + s.tmp_1.arg1 = s.s___26626; + s.tmp_1.arg2 = s.overlappedTiles___26691; s.pc = 95; return s.tmp_1; case 95: r0 = s.retval; @@ -85482,16 +74222,16 @@ switch (step) { case 38: case 39: case 40: - r0 = (s.yDiff___327405 !== 0); + r0 = (s.yDiff___26660 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 75; continue; } - r0 = (s.yDiff___327405 > 0); - s.down___327616 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___327616); + r0 = (s.yDiff___26660 > 0); + s.down___26871 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___26871); if (!r0) { step = 41; continue; } - s.tmp_1 = game_Hitbox_bottom__P298217_mk(s); - s.tmp_1.arg0 = s.hbox___327388; + s.tmp_1 = game_Hitbox_bottom__P725_mk(s); + s.tmp_1.arg0 = s.hbox___26643; s.pc = 96; return s.tmp_1; case 96: r0 = s.retval; @@ -85499,8 +74239,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 42; continue; } case 41: - s.tmp_3 = game_Hitbox_top__P298215_mk(s); - s.tmp_3.arg0 = s.hbox___327388; + s.tmp_3 = game_Hitbox_top__P723_mk(s); + s.tmp_3.arg0 = s.hbox___26643; s.pc = 97; return s.tmp_3; case 97: r0 = s.retval; @@ -85511,25 +74251,25 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___327391 + 8); + r0 = (s.tileScale___26646 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___327620 = (r0); + s.y0___26875 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___327635 = (r0); + s.collidedTiles___26890 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___327637 = (r0); - s.tmp_0 = game_Hitbox_left__P298214_mk(s); - s.tmp_0.arg0 = s.hbox___327388; + s.overlappedTiles___26892 = (r0); + s.tmp_0 = game_Hitbox_left__P722_mk(s); + s.tmp_0.arg0 = s.hbox___26643; s.pc = 98; return s.tmp_0; case 98: r0 = s.retval; - s.x___327639 = (r0); + s.x___26894 = (r0); case 43: - s.tmp_1 = r0 = s.x___327639; - s.tmp_3 = r0 = s.tileSize___327394; - s.tmp_5 = game_Hitbox_right__P298216_mk(s); - s.tmp_5.arg0 = s.hbox___327388; + s.tmp_1 = r0 = s.x___26894; + s.tmp_3 = r0 = s.tileSize___26649; + s.tmp_5 = game_Hitbox_right__P724_mk(s); + s.tmp_5.arg0 = s.hbox___26643; s.pc = 99; return s.tmp_5; case 99: r0 = s.retval; @@ -85542,10 +74282,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } - s.tmp_9 = Fx_min__P297691_mk(s); - s.tmp_9.arg0 = s.x___327639; - s.tmp_10 = game_Hitbox_right__P298216_mk(s); - s.tmp_10.arg0 = s.hbox___327388; + s.tmp_9 = Fx_min__P120_mk(s); + s.tmp_9.arg0 = s.x___26894; + s.tmp_10 = game_Hitbox_right__P724_mk(s); + s.tmp_10.arg0 = s.hbox___26643; s.pc = 101; return s.tmp_10; case 101: r0 = s.retval; @@ -85556,15 +74296,15 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___327391 + 8); + r0 = (s.tileScale___26646 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___327649 = (r0); - s.tmp_1 = tiles_TileMap__C298537_v12_3_mk(s); + s.x0___26904 = (r0); + s.tmp_1 = tiles_TileMap__C1045_v12_3_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___327649; - s.tmp_1.arg2 = s.y0___327620; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1.arg1 = s.x0___26904; + s.tmp_1.arg2 = s.y0___26875; + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isObstacle; s.pc = 102; return s.tmp_1; case 102: @@ -85572,21 +74312,21 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 46; continue; } - s.tmp_2 = tiles_TileMap__C298537_v13_3_mk(s); + s.tmp_2 = tiles_TileMap__C1045_v13_3_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___327649; - s.tmp_2.arg2 = s.y0___327620; - if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_2.arg0); + s.tmp_2.arg1 = s.x0___26904; + s.tmp_2.arg2 = s.y0___26875; + if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.getObstacle; s.pc = 103; return s.tmp_2; case 103: r0 = s.retval; - s.obstacle___327663 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P327671); + s.obstacle___26918 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P26926); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___327663); - s.tmp_4 = helpers_arraySome__P297628_mk(s); - s.tmp_4.arg0 = s.collidedTiles___327635; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___26918); + s.tmp_4 = helpers_arraySome__P57_mk(s); + s.tmp_4.arg0 = s.collidedTiles___26890; s.tmp_4.arg1 = s.tmp_0; s.pc = 104; return s.tmp_4; case 104: @@ -85598,17 +74338,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 44; continue; } - r0 = pxsim_Array__push(s.collidedTiles___327635, s.obstacle___327663); + r0 = pxsim_Array__push(s.collidedTiles___26890, s.obstacle___26918); case 44: case 45: { step = 47; continue; } case 46: - s.tmp_0 = r0 = s.overlappedTiles___327637; - s.tmp_2 = tiles_TileMap__C298537_v7_3_mk(s); + s.tmp_0 = r0 = s.overlappedTiles___26892; + s.tmp_2 = tiles_TileMap__C1045_v7_3_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___327649; - s.tmp_2.arg2 = s.y0___327620; - if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_2.arg0); + s.tmp_2.arg1 = s.x0___26904; + s.tmp_2.arg2 = s.y0___26875; + if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.getTile; s.pc = 105; return s.tmp_2; case 105: @@ -85616,17 +74356,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); case 47: - r0 = (s.tileSize___327394 << 8); + r0 = (s.tileSize___26649 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___327639); - s.x___327639 = (r0); + r0 = (s.tmp_0 + s.x___26894); + s.x___26894 = (r0); { step = 43; continue; } case 48: - r0 = pxsim_Array__length(s.collidedTiles___327635); + r0 = pxsim_Array__length(s.collidedTiles___26890); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 71; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___327616); + r0 = pxsim_numops_toBoolDecr(s.down___26871); if (!r0) { step = 49; continue; } r0 = 3; { step = 50; continue; } @@ -85635,23 +74375,23 @@ switch (step) { case 50: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___327697 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___327616); + s.collisionDirection___26952 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___26871); if (!r0) { step = 51; continue; } - r0 = (s.y0___327620 << s.tileScale___327391); + r0 = (s.y0___26875 << s.tileScale___26646); 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___327388.fields["height"]; + r0 = s.hbox___26643.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 52; continue; } case 51: - r0 = (s.y0___327620 + 1); + r0 = (s.y0___26875 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___327391); + r0 = (s.tmp_5 << s.tileScale___26646); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -85659,43 +74399,43 @@ switch (step) { case 52: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___327371; - r0 = s.hbox___327388.fields["oy"]; + s.tmp_8 = r0 = s.s___26626; + r0 = s.hbox___26643.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___327725 = (undefined); - s.unnamed2892___U26 = (s.collidedTiles___327635); - s.unnamed2893___U27 = (0); + s.tile___26980 = (undefined); + s.unnamed70___U26 = (s.collidedTiles___26890); + s.unnamed71___U27 = (0); case 53: - s.tmp_0 = r0 = s.unnamed2893___U27; - r0 = pxsim_Array__length(s.unnamed2892___U26); + s.tmp_0 = r0 = s.unnamed71___U27; + r0 = pxsim_Array__length(s.unnamed70___U26); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 54; continue; } - r0 = pxsim_Array__getAt(s.unnamed2892___U26, s.unnamed2893___U27); - s.tile___327725 = (r0); - s.tmp_2 = Sprite_registerObstacle__P298272_mk(s); - s.tmp_2.arg0 = s.s___327371; - s.tmp_2.arg1 = s.collisionDirection___327697; - s.tmp_2.arg2 = s.tile___327725; + r0 = pxsim_Array__getAt(s.unnamed70___U26, s.unnamed71___U27); + s.tile___26980 = (r0); + s.tmp_2 = Sprite_registerObstacle__P780_mk(s); + s.tmp_2.arg0 = s.s___26626; + s.tmp_2.arg1 = s.collisionDirection___26952; + s.tmp_2.arg2 = s.tile___26980; s.pc = 106; return s.tmp_2; case 106: r0 = s.retval; - r0 = (s.unnamed2893___U27 + 1); - s.unnamed2893___U27 = (r0); + r0 = (s.unnamed71___U27 + 1); + s.unnamed71___U27 = (r0); { step = 53; continue; } case 54: - s.unnamed2892___U26 = (undefined); - r0 = s.s___327371.fields["flags"]; + s.unnamed70___U26 = (undefined); + r0 = s.s___26626.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__P298274_mk(s); - s.tmp_2.arg0 = s.s___327371; + s.tmp_2 = Sprite_destroy__P782_mk(s); + s.tmp_2.arg0 = s.s___26626; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.pc = 107; return s.tmp_2; @@ -85703,7 +74443,7 @@ switch (step) { r0 = s.retval; { step = 70; continue; } case 55: - r0 = s.s___327371.fields["_vy"]; + r0 = s.s___26626.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -85711,13 +74451,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 66; continue; } - r0 = s.s___327371.fields["flags"]; + r0 = s.s___26626.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___327616); + r0 = pxsim_numops_toBoolDecr(s.down___26871); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -85726,8 +74466,8 @@ switch (step) { r0 = s.tmp_5; { step = 57; continue; } case 56: - s.tmp_8 = Sprite_vy__P298235_mk(s); - s.tmp_8.arg0 = s.s___327371; + s.tmp_8 = Sprite_vy__P743_mk(s); + s.tmp_8.arg0 = s.s___26626; s.pc = 108; return s.tmp_8; case 108: r0 = s.retval; @@ -85741,14 +74481,14 @@ switch (step) { r0 = s.tmp_9; { step = 61; continue; } case 58: - s.tmp_10 = r0 = s.down___327616; + s.tmp_10 = r0 = s.down___26871; 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__P298235_mk(s); - s.tmp_12.arg0 = s.s___327371; + s.tmp_12 = Sprite_vy__P743_mk(s); + s.tmp_12.arg0 = s.s___26626; s.pc = 109; return s.tmp_12; case 109: r0 = s.retval; @@ -85763,8 +74503,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___327371; - r0 = s.s___327371.fields["_vy"]; + s.tmp_15 = r0 = s.s___26626; + r0 = s.s___26626.fields["_vy"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -85786,12 +74526,12 @@ switch (step) { { step = 65; continue; } case 64: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___327371).fields["_vy"] = (0); + r0 = (s.s___26626).fields["_vy"] = (0); case 65: { step = 69; continue; } case 66: - s.tmp_2 = Math_sign__P297645_mk(s); - r0 = s.s___327371.fields["_vy"]; + s.tmp_2 = Math_sign__P74_mk(s); + r0 = s.s___26626.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -85801,7 +74541,7 @@ switch (step) { case 110: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P297645_mk(s); + s.tmp_6 = Math_sign__P74_mk(s); r0 = s.arg1.fields["cachedVy"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -85823,14 +74563,14 @@ switch (step) { case 70: { step = 74; continue; } case 71: - r0 = pxsim_Array__length(s.overlappedTiles___327637); + r0 = pxsim_Array__length(s.overlappedTiles___26892); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 72; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P298377_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P885_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___327371; - s.tmp_1.arg2 = s.overlappedTiles___327637; + s.tmp_1.arg1 = s.s___26626; + s.tmp_1.arg2 = s.overlappedTiles___26892; s.pc = 112; return s.tmp_1; case 112: r0 = s.retval; @@ -85844,13 +74584,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P298376.info = {"start":10337,"length":7533,"line":326,"column":4,"endLine":521,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} -ArcadePhysicsEngine_tilemapCollisions__P298376.info = {"start":10337,"length":7533,"line":326,"column":4,"endLine":521,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} +ArcadePhysicsEngine_tilemapCollisions__P884.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__P884.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__P298376_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P884_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P298376, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P884, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -85870,34 +74610,34 @@ function ArcadePhysicsEngine_tilemapCollisions__P298376_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - s___327371: undefined, - hbox___327388: undefined, - tileScale___327391: undefined, - tileSize___327394: undefined, - xDiff___327398: undefined, - yDiff___327405: undefined, - right___327415: undefined, - x0___327419: undefined, - collidedTiles___327434: undefined, - overlappedTiles___327436: undefined, - y___327438: undefined, - y0___327452: undefined, - obstacle___327468: undefined, - collisionDirection___327504: undefined, - tile___327532: undefined, - unnamed2890___U15: undefined, - unnamed2891___U16: undefined, - down___327616: undefined, - y0___327620: undefined, - collidedTiles___327635: undefined, - overlappedTiles___327637: undefined, - x___327639: undefined, - x0___327649: undefined, - obstacle___327663: undefined, - collisionDirection___327697: undefined, - tile___327725: undefined, - unnamed2892___U26: undefined, - unnamed2893___U27: undefined, + s___26626: undefined, + hbox___26643: undefined, + tileScale___26646: undefined, + tileSize___26649: undefined, + xDiff___26653: undefined, + yDiff___26660: undefined, + right___26670: undefined, + x0___26674: undefined, + collidedTiles___26689: undefined, + overlappedTiles___26691: undefined, + y___26693: undefined, + y0___26707: undefined, + obstacle___26723: undefined, + collisionDirection___26759: undefined, + tile___26787: undefined, + unnamed68___U15: undefined, + unnamed69___U16: undefined, + down___26871: undefined, + y0___26875: undefined, + collidedTiles___26890: undefined, + overlappedTiles___26892: undefined, + x___26894: undefined, + x0___26904: undefined, + obstacle___26918: undefined, + collisionDirection___26952: undefined, + tile___26980: undefined, + unnamed70___U26: undefined, + unnamed71___U27: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -85907,7 +74647,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P298376_mk(s) { -function inline__P327476(s) { +function inline__P26731(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -85929,13 +74669,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P327476.info = {"start":12419,"length":39,"line":388,"column":44,"endLine":388,"endColumn":83,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["o"]} -inline__P327476.info = {"start":12419,"length":39,"line":388,"column":44,"endLine":388,"endColumn":83,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P26731.info = {"start":12419,"length":39,"line":388,"column":44,"endLine":388,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P26731.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__P327476_mk(s) { +function inline__P26731_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P327476, depth: s.depth + 1, + parent: s, fn: inline__P26731, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -85946,7 +74686,7 @@ function inline__P327476_mk(s) { -function inline__P327671(s) { +function inline__P26926(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -85968,13 +74708,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P327671.info = {"start":15756,"length":39,"line":472,"column":44,"endLine":472,"endColumn":83,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["o"]} -inline__P327671.info = {"start":15756,"length":39,"line":472,"column":44,"endLine":472,"endColumn":83,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P26926.info = {"start":15756,"length":39,"line":472,"column":44,"endLine":472,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P26926.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__P327671_mk(s) { +function inline__P26926_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P327671, depth: s.depth + 1, + parent: s, fn: inline__P26926, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -85985,7 +74725,7 @@ function inline__P327671_mk(s) { -function tiles_TileMap_getObstacle__P298558(s) { +function tiles_TileMap_getObstacle__P1066(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -85995,8 +74735,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.index___327932 = undefined; - s.tile___327944 = undefined; + s.index___27187 = undefined; + s.tile___27199 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -86004,8 +74744,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P298535_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P1043_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -86019,7 +74759,7 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P298529_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P1037_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; @@ -86030,20 +74770,20 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___327932 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P298532_mk(s); + s.index___27187 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P1040_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___327932; + s.tmp_0.arg1 = s.index___27187; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___327944 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C298325_VT); + s.tile___27199 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C833_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P298332_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P840_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___327944; + s.tmp_1.arg1 = s.tile___27199; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -86054,15 +74794,15 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_4 << s.tmp_5); s.tmp_1.arg3 = r0; - s.tmp_6 = tiles_TileMap__C298537_v5_1_mk(s); + s.tmp_6 = tiles_TileMap__C1045_v5_1_mk(s); s.tmp_6.arg0 = s.arg0; - if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_6.arg0); s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.layer; s.pc = 7; return s.tmp_6; case 7: r0 = s.retval; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___327932; + s.tmp_1.arg5 = s.index___27187; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; @@ -86070,13 +74810,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getObstacle__P298558.info = {"start":11092,"length":410,"line":367,"column":8,"endLine":377,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} -tiles_TileMap_getObstacle__P298558.info = {"start":11092,"length":410,"line":367,"column":8,"endLine":377,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_getObstacle__P1066.info = {"start":11092,"length":410,"line":367,"column":8,"endLine":377,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_getObstacle__P1066.info = {"start":11092,"length":410,"line":367,"column":8,"endLine":377,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_getObstacle__P298558_mk(s) { +function tiles_TileMap_getObstacle__P1066_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P298558, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P1066, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -86085,8 +74825,8 @@ function tiles_TileMap_getObstacle__P298558_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - index___327932: undefined, - tile___327944: undefined, + index___27187: undefined, + tile___27199: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -86096,7 +74836,7 @@ function tiles_TileMap_getObstacle__P298558_mk(s) { -function tiles_TileMap_layer__P298545(s) { +function tiles_TileMap_layer__P1053(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -86111,19 +74851,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_layer__P298545.info = {"start":6709,"length":63,"line":241,"column":8,"endLine":243,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"layer","argumentNames":["this"]} -tiles_TileMap_layer__P298545.isGetter = true; -tiles_TileMap_layer__P298545.info = {"start":6709,"length":63,"line":241,"column":8,"endLine":243,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"layer","argumentNames":["this"]} +tiles_TileMap_layer__P1053.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__P1053.isGetter = true; +tiles_TileMap_layer__P1053.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__P298545_mk(s) { +function tiles_TileMap_layer__P1053_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P298545, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P1053, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -86132,7 +74872,7 @@ function tiles_TileMap_layer__P298545_mk(s) { -function sprites_StaticObstacle_constructor__P298332(s) { +function sprites_StaticObstacle_constructor__P840(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -86152,7 +74892,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C298325_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C833_VT)) failedCast(r0); r0 = (s.arg0).fields["image"] = (s.arg1); r0 = (s.arg0).fields["layer"] = (s.arg4); r0 = (s.arg0).fields["top"] = (s.arg2); @@ -86162,13 +74902,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_StaticObstacle_constructor__P298332.info = {"start":563,"length":261,"line":28,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/game---hw/obstacle.ts","functionName":"inline","argumentNames":["this","image","top","left","layer","tileIndex"]} -sprites_StaticObstacle_constructor__P298332.info = {"start":563,"length":261,"line":28,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/game---hw/obstacle.ts","functionName":"inline","argumentNames":["this","image","top","left","layer","tileIndex"]} +sprites_StaticObstacle_constructor__P840.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__P840.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__P298332_mk(s) { +function sprites_StaticObstacle_constructor__P840_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P298332, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P840, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -86182,7 +74922,7 @@ function sprites_StaticObstacle_constructor__P298332_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P298377(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P885(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -86192,10 +74932,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tile___327808 = undefined; - s.unnamed2894___U1 = undefined; - s.unnamed2895___U2 = undefined; - s.tileOverlapHandlers___327810 = undefined; + s.tile___27063 = undefined; + s.unnamed72___U1 = undefined; + s.unnamed73___U2 = undefined; + s.tileOverlapHandlers___27065 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -86203,37 +74943,37 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); - s.tile___327808 = (undefined); - s.unnamed2894___U1 = (s.arg2); - s.unnamed2895___U2 = (0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_VT)) failedCast(r0); + s.tile___27063 = (undefined); + s.unnamed72___U1 = (s.arg2); + s.unnamed73___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed2895___U2; - r0 = pxsim_Array__length(s.unnamed2894___U1); + s.tmp_0 = r0 = s.unnamed73___U2; + r0 = pxsim_Array__length(s.unnamed72___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed2894___U1, s.unnamed2895___U2); - s.tile___327808 = (r0); - s.tmp_2 = game_currentScene__P298414_mk(s); + r0 = pxsim_Array__getAt(s.unnamed72___U1, s.unnamed73___U2); + s.tile___27063 = (r0); + s.tmp_2 = game_currentScene__P922_mk(s); s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___327810 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___327810); + s.tileOverlapHandlers___27065 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___27065); if (!r0) { step = 2; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P327818); + r0 = pxsim_pxtcore_mkAction(2, inline__P27073); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___327808); - r0 = pxsim_pxtcore_mkAction(2, inline__P327835); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___27063); + r0 = pxsim_pxtcore_mkAction(2, inline__P27090); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___327808); - s.tmp_2 = helpers_arrayForEach__P297630_mk(s); - s.tmp_3 = helpers_arrayFilter__P297631_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___327810; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___27063); + s.tmp_2 = helpers_arrayForEach__P59_mk(s); + s.tmp_3 = helpers_arrayFilter__P60_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___27065; s.tmp_3.arg1 = s.tmp_0; s.pc = 7; return s.tmp_3; case 7: @@ -86245,31 +74985,31 @@ switch (step) { r0 = s.retval; case 2: case 3: - r0 = (s.unnamed2895___U2 + 1); - s.unnamed2895___U2 = (r0); + r0 = (s.unnamed73___U2 + 1); + s.unnamed73___U2 = (r0); { step = 1; continue; } case 4: - s.unnamed2894___U1 = (undefined); + s.unnamed72___U1 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P298377.info = {"start":18147,"length":479,"line":529,"column":4,"endLine":538,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} -ArcadePhysicsEngine_tilemapOverlaps__P298377.info = {"start":18147,"length":479,"line":529,"column":4,"endLine":538,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} +ArcadePhysicsEngine_tilemapOverlaps__P885.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__P885.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__P298377_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P885_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P298377, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P885, 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___327808: undefined, - unnamed2894___U1: undefined, - unnamed2895___U2: undefined, - tileOverlapHandlers___327810: undefined, + tile___27063: undefined, + unnamed72___U1: undefined, + unnamed73___U2: undefined, + tileOverlapHandlers___27065: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -86279,7 +75019,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P298377_mk(s) { -function inline__P327818(s) { +function inline__P27073(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -86306,7 +75046,7 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P298568_mk(s); + s.tmp_5 = tiles_getTileImage__P1076_mk(s); s.tmp_5.arg0 = s.caps[1]; s.pc = 3; return s.tmp_5; case 3: @@ -86320,13 +75060,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P327818.info = {"start":18454,"length":81,"line":534,"column":28,"endLine":534,"endColumn":109,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["h"]} -inline__P327818.info = {"start":18454,"length":81,"line":534,"column":28,"endLine":534,"endColumn":109,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P27073.info = {"start":18454,"length":81,"line":534,"column":28,"endLine":534,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P27073.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__P327818_mk(s) { +function inline__P27073_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P327818, depth: s.depth + 1, + parent: s, fn: inline__P27073, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -86342,7 +75082,7 @@ function inline__P327818_mk(s) { -function inline__P327835(s) { +function inline__P27090(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -86375,13 +75115,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P327835.info = {"start":18566,"length":28,"line":535,"column":29,"endLine":535,"endColumn":57,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["h"]} -inline__P327835.info = {"start":18566,"length":28,"line":535,"column":29,"endLine":535,"endColumn":57,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P27090.info = {"start":18566,"length":28,"line":535,"column":29,"endLine":535,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P27090.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__P327835_mk(s) { +function inline__P27090_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P327835, depth: s.depth + 1, + parent: s, fn: inline__P27090, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -86391,7 +75131,7 @@ function inline__P327835_mk(s) { -function tiles_getTileImage__P298568(s) { +function tiles_getTileImage__P1076(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -86401,16 +75141,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___327843 = undefined; + s.scene___27098 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P298414_mk(s); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___327843 = (r0); + s.scene___27098 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -86420,7 +75160,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___327843.fields["tileMap"]; + r0 = s.scene___27098.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -86430,20 +75170,20 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex327853); + r0 = pxsim.image.ofBuffer(_hex27108); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap__C298537_v15_2_mk(s); - r0 = s.scene___327843.fields["tileMap"]; + s.tmp_5 = tiles_TileMap__C1045_v15_2_mk(s); + r0 = s.scene___27098.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P298510_mk(s); + s.tmp_6 = tiles_Location_tileSet__P1018_mk(s); s.tmp_6.arg0 = s.arg0; s.pc = 8; return s.tmp_6; case 8: r0 = s.retval; s.tmp_5.arg1 = r0; - if (!checkSubtype(s.tmp_5.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_5.arg0); s.tmp_5.fn = s.tmp_5.arg0.vtable.methods.getTileImage; s.pc = 7; return s.tmp_5; case 7: @@ -86452,13 +75192,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTileImage__P298568.info = {"start":14993,"length":207,"line":479,"column":4,"endLine":483,"endColumn":5,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} -tiles_getTileImage__P298568.info = {"start":14993,"length":207,"line":479,"column":4,"endLine":483,"endColumn":5,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} +tiles_getTileImage__P1076.info = {"start":14993,"length":207,"line":479,"column":4,"endLine":483,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} +tiles_getTileImage__P1076.info = {"start":14993,"length":207,"line":479,"column":4,"endLine":483,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} -function tiles_getTileImage__P298568_mk(s) { +function tiles_getTileImage__P1076_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P298568, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P1076, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -86467,16 +75207,16 @@ function tiles_getTileImage__P298568_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___327843: undefined, + scene___27098: undefined, arg0: undefined, } } -const _hex327853 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex27108 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_TileMap_getTileImage__P298560(s) { +function tiles_TileMap_getTileImage__P1068(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -86492,11 +75232,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C298537_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P298532_mk(s); - s.tmp_1 = tiles_TileMap__C298537_v0_1_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C1045_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P1040_mk(s); + s.tmp_1 = tiles_TileMap__C1045_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.data; s.pc = 2; return s.tmp_1; case 2: @@ -86509,13 +75249,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileImage__P298560.info = {"start":12149,"length":96,"line":398,"column":8,"endLine":400,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -tiles_TileMap_getTileImage__P298560.info = {"start":12149,"length":96,"line":398,"column":8,"endLine":400,"endColumn":9,"fileName":"pxt_modules/game---hw/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMap_getTileImage__P1068.info = {"start":12149,"length":96,"line":398,"column":8,"endLine":400,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMap_getTileImage__P1068.info = {"start":12149,"length":96,"line":398,"column":8,"endLine":400,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMap_getTileImage__P298560_mk(s) { +function tiles_TileMap_getTileImage__P1068_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P298560, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P1068, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -86527,7 +75267,7 @@ function tiles_TileMap_getTileImage__P298560_mk(s) { -function Sprite_registerObstacle__P298272(s) { +function Sprite_registerObstacle__P780(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -86537,8 +75277,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.collisionHandlers___327872 = undefined; - s.wallCollisionHandlers___327880 = undefined; + s.collisionHandlers___27127 = undefined; + s.wallCollisionHandlers___27135 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -86546,11 +75286,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_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__P298414_mk(s); + s.tmp_1 = game_currentScene__P922_mk(s); s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; @@ -86570,24 +75310,24 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___327872 = (r0); - s.tmp_0 = game_currentScene__P298414_mk(s); + s.collisionHandlers___27127 = (r0); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___327880 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___327872); + s.wallCollisionHandlers___27135 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___27127); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P327888); + r0 = pxsim_pxtcore_mkAction(1, inline__P27143); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P327894); + r0 = pxsim_pxtcore_mkAction(1, inline__P27149); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P297630_mk(s); - s.tmp_3 = helpers_arrayFilter__P297631_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___327872; + s.tmp_2 = helpers_arrayForEach__P59_mk(s); + s.tmp_3 = helpers_arrayFilter__P60_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___27127; s.tmp_3.arg1 = s.tmp_0; s.pc = 9; return s.tmp_3; case 9: @@ -86599,17 +75339,17 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___327880); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___27135); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P327902); + r0 = pxsim_pxtcore_mkAction(1, inline__P27157); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P327908); + r0 = pxsim_pxtcore_mkAction(1, inline__P27163); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P297630_mk(s); - s.tmp_3 = helpers_arrayFilter__P297631_mk(s); - s.tmp_3.arg0 = s.wallCollisionHandlers___327880; + s.tmp_2 = helpers_arrayForEach__P59_mk(s); + s.tmp_3 = helpers_arrayFilter__P60_mk(s); + s.tmp_3.arg0 = s.wallCollisionHandlers___27135; s.tmp_3.arg1 = s.tmp_0; s.pc = 11; return s.tmp_3; case 11: @@ -86625,20 +75365,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle__P298272.info = {"start":25913,"length":650,"line":783,"column":4,"endLine":798,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other"]} -Sprite_registerObstacle__P298272.info = {"start":25913,"length":650,"line":783,"column":4,"endLine":798,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other"]} +Sprite_registerObstacle__P780.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__P780.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__P298272_mk(s) { +function Sprite_registerObstacle__P780_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P298272, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P780, 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___327872: undefined, - wallCollisionHandlers___327880: undefined, + collisionHandlers___27127: undefined, + wallCollisionHandlers___27135: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -86648,7 +75388,7 @@ function Sprite_registerObstacle__P298272_mk(s) { -function inline__P327888(s) { +function inline__P27143(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -86670,13 +75410,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P327888.info = {"start":26291,"length":26,"line":790,"column":24,"endLine":790,"endColumn":50,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"inline","argumentNames":["h"]} -inline__P327888.info = {"start":26291,"length":26,"line":790,"column":24,"endLine":790,"endColumn":50,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P27143.info = {"start":26291,"length":26,"line":790,"column":24,"endLine":790,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P27143.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__P327888_mk(s) { +function inline__P27143_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P327888, depth: s.depth + 1, + parent: s, fn: inline__P27143, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -86687,7 +75427,7 @@ function inline__P327888_mk(s) { -function inline__P327894(s) { +function inline__P27149(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -86719,13 +75459,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P327894.info = {"start":26344,"length":20,"line":791,"column":25,"endLine":791,"endColumn":45,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"inline","argumentNames":["h"]} -inline__P327894.info = {"start":26344,"length":20,"line":791,"column":25,"endLine":791,"endColumn":45,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P27149.info = {"start":26344,"length":20,"line":791,"column":25,"endLine":791,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P27149.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__P327894_mk(s) { +function inline__P27149_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P327894, depth: s.depth + 1, + parent: s, fn: inline__P27149, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -86735,7 +75475,7 @@ function inline__P327894_mk(s) { -function inline__P327902(s) { +function inline__P27157(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -86757,13 +75497,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P327902.info = {"start":26472,"length":26,"line":795,"column":24,"endLine":795,"endColumn":50,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"inline","argumentNames":["h"]} -inline__P327902.info = {"start":26472,"length":26,"line":795,"column":24,"endLine":795,"endColumn":50,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P27157.info = {"start":26472,"length":26,"line":795,"column":24,"endLine":795,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P27157.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__P327902_mk(s) { +function inline__P27157_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P327902, depth: s.depth + 1, + parent: s, fn: inline__P27157, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -86774,7 +75514,7 @@ function inline__P327902_mk(s) { -function inline__P327908(s) { +function inline__P27163(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -86806,13 +75546,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P327908.info = {"start":26525,"length":20,"line":796,"column":25,"endLine":796,"endColumn":45,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"inline","argumentNames":["h"]} -inline__P327908.info = {"start":26525,"length":20,"line":796,"column":25,"endLine":796,"endColumn":45,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P27163.info = {"start":26525,"length":20,"line":796,"column":25,"endLine":796,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P27163.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__P327908_mk(s) { +function inline__P27163_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P327908, depth: s.depth + 1, + parent: s, fn: inline__P27163, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -86822,7 +75562,7 @@ function inline__P327908_mk(s) { -function Fx_min__P297691(s) { +function Fx_min__P120(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -86853,13 +75593,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_min__P297691.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__P297691.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__P120.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__P120.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__P297691_mk(s) { +function Fx_min__P120_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P297691, depth: s.depth + 1, + parent: s, fn: Fx_min__P120, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -86870,7 +75610,7 @@ function Fx_min__P297691_mk(s) { -function Fx_iadd__P297683(s) { +function Fx_iadd__P112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -86891,13 +75631,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_iadd__P297683.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__P297683.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__P112.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__P112.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__P297683_mk(s) { +function Fx_iadd__P112_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P297683, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -86908,7 +75648,7 @@ function Fx_iadd__P297683_mk(s) { -function helpers_arraySome__P297628(s) { +function helpers_arraySome__P57(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -86918,26 +75658,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.len___327914 = undefined; - s.i___327917 = undefined; + s.len___27169 = undefined; + s.i___27172 = 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___327914 = (r0); - s.i___327917 = (0); + s.len___27169 = (r0); + s.i___27172 = (0); case 1: - r0 = (s.i___327917 < s.len___327914); + r0 = (s.i___27172 < s.len___27169); 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___327917); + r0 = pxsim_Array__getAt(s.arg0, s.i___27172); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___327917; + s.tmp_2.arg1 = s.i___27172; setupLambda(s.tmp_2, s.tmp_2.argL); s.pc = 6; return s.tmp_2; case 6: @@ -86949,8 +75689,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___327917 + 1); - s.i___327917 = (r0); + r0 = (s.i___27172 + 1); + s.i___27172 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -86958,19 +75698,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySome__P297628.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__P297628.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__P57.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__P57.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__P297628_mk(s) { +function helpers_arraySome__P57_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P297628, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P57, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___327914: undefined, - i___327917: undefined, + len___27169: undefined, + i___27172: undefined, arg0: undefined, arg1: undefined, } } @@ -86979,7 +75719,7 @@ function helpers_arraySome__P297628_mk(s) { -function MovingSprite_constructor__P298360(s) { +function MovingSprite_constructor__P868(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -87001,7 +75741,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C298359_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C867_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["cachedVx"] = (s.arg2); r0 = (s.arg0).fields["cachedVy"] = (s.arg3); @@ -87013,13 +75753,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -MovingSprite_constructor__P298360.info = {"start":678,"length":313,"line":30,"column":4,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["this","sprite","cachedVx","cachedVy","dx","dy","xStep","yStep"]} -MovingSprite_constructor__P298360.info = {"start":678,"length":313,"line":30,"column":4,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["this","sprite","cachedVx","cachedVy","dx","dy","xStep","yStep"]} +MovingSprite_constructor__P868.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__P868.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__P298360_mk(s) { +function MovingSprite_constructor__P868_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P298360, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P868, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -87035,7 +75775,7 @@ function MovingSprite_constructor__P298360_mk(s) { -function ArcadePhysicsEngine_move__P298373(s) { +function ArcadePhysicsEngine_move__P881(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -87045,34 +75785,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.dtf___328007 = undefined; - s.dtSec___328014 = undefined; - s.dt2___328018 = undefined; - s.scene___328022 = undefined; - s.tileMap___328025 = undefined; - s.movingSprites___328028 = undefined; - s.MAX_STEP_COUNT___328059 = undefined; - s.overlapHandlers___328070 = undefined; - s.selected___328077 = undefined; - s.buffers___328078 = undefined; - s.count___328082 = undefined; - s.currMovers___328092 = undefined; - s.remainingMovers___328099 = undefined; - s.ms___328104 = undefined; - s.unnamed2884___U14 = undefined; - s.unnamed2885___U15 = undefined; - s.s___328106 = undefined; - s.stepX___328199 = undefined; - s.stepY___328213 = undefined; + s.dtf___27262 = undefined; + s.dtSec___27269 = undefined; + s.dt2___27273 = undefined; + s.scene___27277 = undefined; + s.tileMap___27280 = undefined; + s.movingSprites___27283 = undefined; + s.MAX_STEP_COUNT___27314 = undefined; + s.overlapHandlers___27325 = undefined; + s.selected___27332 = undefined; + s.buffers___27333 = undefined; + s.count___27337 = undefined; + s.currMovers___27347 = undefined; + s.remainingMovers___27354 = undefined; + s.ms___27359 = undefined; + s.unnamed62___U14 = undefined; + s.unnamed63___U15 = undefined; + s.s___27361 = undefined; + s.stepX___27454 = undefined; + s.stepY___27468 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); - s.tmp_0 = Fx_min__P297691_mk(s); - s.tmp_0.arg0 = globals.MAX_TIME_STEP___298344; + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_VT)) failedCast(r0); + s.tmp_0 = Fx_min__P120_mk(s); + s.tmp_0.arg0 = globals.MAX_TIME_STEP___852; r0 = (s.arg1 * 1000); s.tmp_1 = r0; r0 = (s.tmp_1 * 256); @@ -87082,45 +75822,45 @@ switch (step) { s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.dtf___328007 = (r0); - r0 = pxsim.Math_.idiv(s.dtf___328007, 1000); - s.dtSec___328014 = (r0); - r0 = pxsim.Math_.idiv(s.dtf___328007, 2); - s.dt2___328018 = (r0); - s.tmp_0 = game_currentScene__P298414_mk(s); + s.dtf___27262 = (r0); + r0 = pxsim.Math_.idiv(s.dtf___27262, 1000); + s.dtSec___27269 = (r0); + r0 = pxsim.Math_.idiv(s.dtf___27262, 2); + s.dt2___27273 = (r0); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.scene___328022 = (r0); - r0 = s.scene___328022.fields["tileMap"]; - s.tileMap___328025 = (r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P328030); + s.scene___27277 = (r0); + r0 = s.scene___27277.fields["tileMap"]; + s.tileMap___27280 = (r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P27285); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtSec___328014); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___328018); - s.tmp_1 = helpers_arrayMap__P297627_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtSec___27269); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___27273); + s.tmp_1 = helpers_arrayMap__P56_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___328028 = (r0); - s.tmp_0 = helpers_arrayForEach__P297630_mk(s); + s.movingSprites___27283 = (r0); + s.tmp_0 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P328042; + s.tmp_0.arg1 = inline__P27297; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P298285_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P793_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__P298284_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P792_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; @@ -87136,41 +75876,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___328014); + r0 = pxsim.Math_.imul(s.tmp_1, s.dtSec___27269); 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___328059 = (r0); - s.tmp_0 = helpers_arraySlice__P297635_mk(s); - r0 = s.scene___328022.fields["overlapHandlers"]; + s.MAX_STEP_COUNT___27314 = (r0); + s.tmp_0 = helpers_arraySlice__P64_mk(s); + r0 = s.scene___27277.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___328070 = (r0); - s.selected___328077 = (0); + s.overlapHandlers___27325 = (r0); + s.selected___27332 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___328028); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___27283); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___328078 = (s.tmp_0); - s.count___328082 = (0); + s.buffers___27333 = (s.tmp_0); + s.count___27337 = (0); case 1: - r0 = (s.count___328082 < s.MAX_STEP_COUNT___328059); + r0 = (s.count___27337 < s.MAX_STEP_COUNT___27314); 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___328078, s.selected___328077); + r0 = pxsim_Array__getAt(s.buffers___27333, s.selected___27332); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -87180,43 +75920,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___328078, s.selected___328077); - s.currMovers___328092 = (r0); - r0 = (s.selected___328077 ^ 1); - s.selected___328077 = (r0); - r0 = pxsim_Array__getAt(s.buffers___328078, s.selected___328077); - s.remainingMovers___328099 = (r0); - s.ms___328104 = (undefined); - s.unnamed2884___U14 = (s.currMovers___328092); - s.unnamed2885___U15 = (0); + r0 = pxsim_Array__getAt(s.buffers___27333, s.selected___27332); + s.currMovers___27347 = (r0); + r0 = (s.selected___27332 ^ 1); + s.selected___27332 = (r0); + r0 = pxsim_Array__getAt(s.buffers___27333, s.selected___27332); + s.remainingMovers___27354 = (r0); + s.ms___27359 = (undefined); + s.unnamed62___U14 = (s.currMovers___27347); + s.unnamed63___U15 = (0); case 4: - s.tmp_0 = r0 = s.unnamed2885___U15; - r0 = pxsim_Array__length(s.unnamed2884___U14); + s.tmp_0 = r0 = s.unnamed63___U15; + r0 = pxsim_Array__length(s.unnamed62___U14); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 43; continue; } - r0 = pxsim_Array__getAt(s.unnamed2884___U14, s.unnamed2885___U15); - s.ms___328104 = (r0); - r0 = s.ms___328104.fields["sprite"]; - s.s___328106 = (r0); - r0 = s.ms___328104.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed62___U14, s.unnamed63___U15); + s.ms___27359 = (r0); + r0 = s.ms___27359.fields["sprite"]; + s.s___27361 = (r0); + r0 = s.ms___27359.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___328106.fields["_vx"]; + r0 = s.s___27361.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___328106.fields["_vx"]; + r0 = s.s___27361.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___328104).fields["dx"] = (0); + r0 = (s.ms___27359).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___328106.fields["_vx"]; + r0 = s.s___27361.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -87225,7 +75965,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___328104.fields["cachedVx"]; + r0 = s.ms___27359.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -87236,7 +75976,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___328106.fields["_vx"]; + r0 = s.s___27361.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -87245,7 +75985,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___328104.fields["cachedVx"]; + r0 = s.ms___27359.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -87257,14 +75997,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___328104; - r0 = s.ms___328104.fields["dx"]; + s.tmp_9 = r0 = s.ms___27359; + r0 = s.ms___27359.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___328104; - r0 = s.ms___328104.fields["xStep"]; + s.tmp_0 = r0 = s.ms___27359; + r0 = s.ms___27359.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -87272,29 +76012,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___328106.fields["_vx"]; + r0 = s.s___27361.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___328104).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___27359).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___328104.fields["cachedVy"]; + r0 = s.ms___27359.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___328106.fields["_vy"]; + r0 = s.s___27361.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___328106.fields["_vy"]; + r0 = s.s___27361.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___328104).fields["dy"] = (0); + r0 = (s.ms___27359).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___328106.fields["_vy"]; + r0 = s.s___27361.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -87303,7 +76043,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___328104.fields["cachedVy"]; + r0 = s.ms___27359.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -87314,7 +76054,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___328106.fields["_vy"]; + r0 = s.s___27361.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -87323,7 +76063,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___328104.fields["cachedVy"]; + r0 = s.ms___27359.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -87335,14 +76075,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___328104; - r0 = s.ms___328104.fields["dy"]; + s.tmp_9 = r0 = s.ms___27359; + r0 = s.ms___27359.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___328104; - r0 = s.ms___328104.fields["yStep"]; + s.tmp_0 = r0 = s.ms___27359; + r0 = s.ms___27359.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -87350,20 +76090,20 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___328106.fields["_vy"]; + r0 = s.s___27361.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___328104).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___27359).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P297690_mk(s); - r0 = s.ms___328104.fields["xStep"]; + s.tmp_2 = Fx_abs__P119_mk(s); + r0 = s.ms___27359.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__P297690_mk(s); - r0 = s.ms___328104.fields["dx"]; + s.tmp_4 = Fx_abs__P119_mk(s); + r0 = s.ms___27359.fields["dx"]; s.tmp_4.arg0 = r0; s.pc = 55; return s.tmp_4; case 55: @@ -87373,23 +76113,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___328104.fields["dx"]; + r0 = s.ms___27359.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___328104.fields["xStep"]; + r0 = s.ms___27359.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___328199 = (s.tmp_5); - s.tmp_2 = Fx_abs__P297690_mk(s); - r0 = s.ms___328104.fields["yStep"]; + s.stepX___27454 = (s.tmp_5); + s.tmp_2 = Fx_abs__P119_mk(s); + r0 = s.ms___27359.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__P297690_mk(s); - r0 = s.ms___328104.fields["dy"]; + s.tmp_4 = Fx_abs__P119_mk(s); + r0 = s.ms___27359.fields["dy"]; s.tmp_4.arg0 = r0; s.pc = 57; return s.tmp_4; case 57: @@ -87399,45 +76139,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___328104.fields["dy"]; + r0 = s.ms___27359.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___328104.fields["yStep"]; + r0 = s.ms___27359.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___328213 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___328104; - r0 = s.ms___328104.fields["dx"]; + s.stepY___27468 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___27359; + r0 = s.ms___27359.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___328199); + r0 = (s.tmp_2 - s.stepX___27454); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___328104; - r0 = s.ms___328104.fields["dy"]; + s.tmp_0 = r0 = s.ms___27359; + r0 = s.ms___27359.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___328213); + r0 = (s.tmp_2 - s.stepY___27468); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___328106.fields["_x"]; + r0 = s.s___27361.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___328106).fields["_lastX"] = (s.tmp_0); - r0 = s.s___328106.fields["_y"]; + r0 = (s.s___27361).fields["_lastX"] = (s.tmp_0); + r0 = s.s___27361.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___328106).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___328106; - r0 = s.s___328106.fields["_x"]; + r0 = (s.s___27361).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___27361; + r0 = s.s___27361.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___328199); + r0 = (s.tmp_2 + s.stepX___27454); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___328106; - r0 = s.s___328106.fields["_y"]; + s.tmp_0 = r0 = s.s___27361; + r0 = s.s___27361.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___328213); + r0 = (s.tmp_2 + s.stepY___27468); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___328106.fields["flags"]; + r0 = s.s___27361.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 515); s.tmp_2 = r0; @@ -87447,22 +76187,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 37; continue; } - s.tmp_4 = sprites_SpriteMap_insertAABB__P298288_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P796_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___328106; + s.tmp_4.arg1 = s.s___27361; s.pc = 58; return s.tmp_4; case 58: r0 = s.retval; - s.tmp_0 = r0 = s.tileMap___328025; + s.tmp_0 = r0 = s.tileMap___27280; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 33; continue; } r0 = s.tmp_0; { step = 34; continue; } case 33: - s.tmp_1 = tiles_TileMap__C298537_v6_1_mk(s); - s.tmp_1.arg0 = s.tileMap___328025; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = tiles_TileMap__C1045_v6_1_mk(s); + s.tmp_1.arg0 = s.tileMap___27280; + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.enabled; s.pc = 59; return s.tmp_1; case 59: @@ -87472,10 +76212,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 35; continue; } - s.tmp_3 = ArcadePhysicsEngine_tilemapCollisions__P298376_mk(s); + s.tmp_3 = ArcadePhysicsEngine_tilemapCollisions__P884_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.ms___328104; - s.tmp_3.arg2 = s.tileMap___328025; + s.tmp_3.arg1 = s.ms___27359; + s.tmp_3.arg2 = s.tileMap___27280; s.pc = 60; return s.tmp_3; case 60: r0 = s.retval; @@ -87483,71 +76223,71 @@ switch (step) { case 36: case 37: case 38: - s.tmp_2 = Fx_abs__P297690_mk(s); - r0 = s.ms___328104.fields["dx"]; + s.tmp_2 = Fx_abs__P119_mk(s); + r0 = s.ms___27359.fields["dx"]; s.tmp_2.arg0 = r0; s.pc = 61; return s.tmp_2; case 61: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___298357); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___865); 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__P297690_mk(s); - r0 = s.ms___328104.fields["dy"]; + s.tmp_4 = Fx_abs__P119_mk(s); + r0 = s.ms___27359.fields["dy"]; s.tmp_4.arg0 = r0; s.pc = 62; return s.tmp_4; case 62: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___298357); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___865); 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___328099, s.ms___328104); + r0 = pxsim_Array__push(s.remainingMovers___27354, s.ms___27359); case 41: case 42: - r0 = (s.unnamed2885___U15 + 1); - s.unnamed2885___U15 = (r0); + r0 = (s.unnamed63___U15 + 1); + s.unnamed63___U15 = (r0); { step = 4; continue; } case 43: - s.unnamed2884___U14 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P298375_mk(s); + s.unnamed62___U14 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P883_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___328092; - s.tmp_0.arg2 = s.overlapHandlers___328070; + s.tmp_0.arg1 = s.currMovers___27347; + s.tmp_0.arg2 = s.overlapHandlers___27325; s.pc = 63; return s.tmp_0; case 63: r0 = s.retval; case 44: - r0 = pxsim_Array__length(s.currMovers___328092); + r0 = pxsim_Array__length(s.currMovers___27347); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 45; continue; } - r0 = pxsim_Array_.pop(s.currMovers___328092); + r0 = pxsim_Array_.pop(s.currMovers___27347); { step = 44; continue; } case 45: - r0 = (s.count___328082 + 1); - s.count___328082 = (r0); + r0 = (s.count___27337 + 1); + s.count___27337 = (r0); { step = 1; continue; } case 46: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move__P298373.info = {"start":2551,"length":3940,"line":109,"column":4,"endLine":209,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"move","argumentNames":["this","dt"]} -ArcadePhysicsEngine_move__P298373.info = {"start":2551,"length":3940,"line":109,"column":4,"endLine":209,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"move","argumentNames":["this","dt"]} +ArcadePhysicsEngine_move__P881.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__P881.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__P298373_mk(s) { +function ArcadePhysicsEngine_move__P881_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P298373, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P881, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -87561,25 +76301,25 @@ function ArcadePhysicsEngine_move__P298373_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtf___328007: undefined, - dtSec___328014: undefined, - dt2___328018: undefined, - scene___328022: undefined, - tileMap___328025: undefined, - movingSprites___328028: undefined, - MAX_STEP_COUNT___328059: undefined, - overlapHandlers___328070: undefined, - selected___328077: undefined, - buffers___328078: undefined, - count___328082: undefined, - currMovers___328092: undefined, - remainingMovers___328099: undefined, - ms___328104: undefined, - unnamed2884___U14: undefined, - unnamed2885___U15: undefined, - s___328106: undefined, - stepX___328199: undefined, - stepY___328213: undefined, + dtf___27262: undefined, + dtSec___27269: undefined, + dt2___27273: undefined, + scene___27277: undefined, + tileMap___27280: undefined, + movingSprites___27283: undefined, + MAX_STEP_COUNT___27314: undefined, + overlapHandlers___27325: undefined, + selected___27332: undefined, + buffers___27333: undefined, + count___27337: undefined, + currMovers___27347: undefined, + remainingMovers___27354: undefined, + ms___27359: undefined, + unnamed62___U14: undefined, + unnamed63___U15: undefined, + s___27361: undefined, + stepX___27454: undefined, + stepY___27468: undefined, arg0: undefined, arg1: undefined, } } @@ -87588,7 +76328,7 @@ function ArcadePhysicsEngine_move__P298373_mk(s) { -function inline__P328030(s) { +function inline__P27285(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -87602,7 +76342,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P298374_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P882_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; @@ -87613,13 +76353,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P328030.info = {"start":2985,"length":53,"line":122,"column":17,"endLine":122,"endColumn":70,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["sprite"]} -inline__P328030.info = {"start":2985,"length":53,"line":122,"column":17,"endLine":122,"endColumn":70,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P27285.info = {"start":2985,"length":53,"line":122,"column":17,"endLine":122,"endColumn":70,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P27285.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__P328030_mk(s) { +function inline__P27285_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P328030, depth: s.depth + 1, + parent: s, fn: inline__P27285, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -87629,7 +76369,7 @@ function inline__P328030_mk(s) { -function inline__P328042(s) { +function inline__P27297(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -87643,7 +76383,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P298233_mk(s); + s.tmp_1 = Sprite_vx__P741_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 5; return s.tmp_1; case 5: @@ -87654,7 +76394,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P298235_mk(s); + s.tmp_2 = Sprite_vy__P743_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 6; return s.tmp_2; case 6: @@ -87664,7 +76404,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P298271_mk(s); + s.tmp_4 = Sprite_clearObstacles__P779_mk(s); s.tmp_4.arg0 = s.arg0; s.pc = 7; return s.tmp_4; case 7: @@ -87675,13 +76415,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P328042.info = {"start":3121,"length":66,"line":125,"column":29,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["s"]} -inline__P328042.info = {"start":3121,"length":66,"line":125,"column":29,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["s"]} +inline__P27297.info = {"start":3121,"length":66,"line":125,"column":29,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} +inline__P27297.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__P328042_mk(s) { +function inline__P27297_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P328042, depth: s.depth + 1, + parent: s, fn: inline__P27297, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -87695,7 +76435,7 @@ function inline__P328042_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P298375(s) { +function ArcadePhysicsEngine_spriteCollisions__P883(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -87705,18 +76445,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ms___328314 = undefined; - s.unnamed2886___U1 = undefined; - s.unnamed2887___U2 = undefined; - s.sprite___328316 = undefined; - s.overSprites___328323 = undefined; - s.overlapper___328331 = undefined; - s.unnamed2888___U6 = undefined; - s.unnamed2889___U7 = undefined; - s.thisKind___328337 = undefined; - s.otherKind___328341 = undefined; - s.higher___328354 = undefined; - s.lower___328363 = undefined; + s.ms___27569 = undefined; + s.unnamed64___U1 = undefined; + s.unnamed65___U2 = undefined; + s.sprite___27571 = undefined; + s.overSprites___27578 = undefined; + s.overlapper___27586 = undefined; + s.unnamed66___U6 = undefined; + s.unnamed67___U7 = undefined; + s.thisKind___27592 = undefined; + s.otherKind___27596 = undefined; + s.higher___27609 = undefined; + s.lower___27618 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -87724,7 +76464,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -87736,20 +76476,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___328314 = (undefined); - s.unnamed2886___U1 = (s.arg1); - s.unnamed2887___U2 = (0); + s.ms___27569 = (undefined); + s.unnamed64___U1 = (s.arg1); + s.unnamed65___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed2887___U2; - r0 = pxsim_Array__length(s.unnamed2886___U1); + s.tmp_0 = r0 = s.unnamed65___U2; + r0 = pxsim_Array__length(s.unnamed64___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed2886___U1, s.unnamed2887___U2); - s.ms___328314 = (r0); - r0 = s.ms___328314.fields["sprite"]; - s.sprite___328316 = (r0); - r0 = s.sprite___328316.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed64___U1, s.unnamed65___U2); + s.ms___27569 = (r0); + r0 = s.ms___27569.fields["sprite"]; + s.sprite___27571 = (r0); + r0 = s.sprite___27571.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 515); s.tmp_0 = r0; @@ -87758,27 +76498,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P298282_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P790_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___328314.fields["sprite"]; + r0 = s.ms___27569.fields["sprite"]; s.tmp_2.arg1 = r0; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___328323 = (r0); - s.overlapper___328331 = (undefined); - s.unnamed2888___U6 = (s.overSprites___328323); - s.unnamed2889___U7 = (0); + s.overSprites___27578 = (r0); + s.overlapper___27586 = (undefined); + s.unnamed66___U6 = (s.overSprites___27578); + s.unnamed67___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed2889___U7; - r0 = pxsim_Array__length(s.unnamed2888___U6); + s.tmp_0 = r0 = s.unnamed67___U7; + r0 = pxsim_Array__length(s.unnamed66___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed2888___U6, s.unnamed2889___U7); - s.overlapper___328331 = (r0); - r0 = s.overlapper___328331.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed66___U6, s.unnamed67___U7); + s.overlapper___27586 = (r0); + r0 = s.overlapper___27586.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 515); s.tmp_2 = r0; @@ -87787,13 +76527,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___328316.fields["_kind"]; - s.thisKind___328337 = (r0); - r0 = s.overlapper___328331.fields["_kind"]; - s.otherKind___328341 = (r0); - r0 = s.sprite___328316.fields["_kindsOverlappedWith"]; + r0 = s.sprite___27571.fields["_kind"]; + s.thisKind___27592 = (r0); + r0 = s.overlapper___27586.fields["_kind"]; + s.otherKind___27596 = (r0); + r0 = s.sprite___27571.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___328341, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___27596, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -87802,37 +76542,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___328316.fields["id"]; + r0 = s.sprite___27571.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___328331.fields["id"]; + r0 = s.overlapper___27586.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___328316; + r0 = s.sprite___27571; { step = 12; continue; } case 11: - r0 = s.overlapper___328331; + r0 = s.overlapper___27586; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___328354 = (s.tmp_6); - r0 = (s.higher___328354 === s.sprite___328316); + s.higher___27609 = (s.tmp_6); + r0 = (s.higher___27609 === s.sprite___27571); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___328331; + r0 = s.overlapper___27586; { step = 14; continue; } case 13: - r0 = s.sprite___328316; + r0 = s.sprite___27571; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___328363 = (s.tmp_1); - r0 = s.higher___328354.fields["_overlappers"]; + s.lower___27618 = (s.tmp_1); + r0 = s.higher___27609.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___328363.fields["id"]; + r0 = s.lower___27618.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -87840,19 +76580,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__P328383); + r0 = pxsim_pxtcore_mkAction(2, inline__P27638); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___328337); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___328341); - r0 = pxsim_pxtcore_mkAction(5, inline__P328407); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___27592); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___27596); + r0 = pxsim_pxtcore_mkAction(5, inline__P27662); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___328354); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___328363); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.thisKind___328337); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.sprite___328316); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.overlapper___328331); - s.tmp_6 = helpers_arrayForEach__P297630_mk(s); - s.tmp_7 = helpers_arrayFilter__P297631_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___27609); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___27618); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.thisKind___27592); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.sprite___27571); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.overlapper___27586); + s.tmp_6 = helpers_arrayForEach__P59_mk(s); + s.tmp_7 = helpers_arrayFilter__P60_mk(s); s.tmp_7.arg0 = s.arg2; s.tmp_7.arg1 = s.tmp_4; s.pc = 24; return s.tmp_7; @@ -87866,29 +76606,29 @@ switch (step) { case 15: case 16: case 17: - r0 = (s.unnamed2889___U7 + 1); - s.unnamed2889___U7 = (r0); + r0 = (s.unnamed67___U7 + 1); + s.unnamed67___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed2888___U6 = (undefined); + s.unnamed66___U6 = (undefined); case 19: - r0 = (s.unnamed2887___U2 + 1); - s.unnamed2887___U2 = (r0); + r0 = (s.unnamed65___U2 + 1); + s.unnamed65___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed2886___U1 = (undefined); + s.unnamed64___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P298375.info = {"start":8219,"length":2112,"line":282,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} -ArcadePhysicsEngine_spriteCollisions__P298375.info = {"start":8219,"length":2112,"line":282,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} +ArcadePhysicsEngine_spriteCollisions__P883.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__P883.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__P298375_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P883_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P298375, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P883, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -87898,18 +76638,18 @@ function ArcadePhysicsEngine_spriteCollisions__P298375_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___328314: undefined, - unnamed2886___U1: undefined, - unnamed2887___U2: undefined, - sprite___328316: undefined, - overSprites___328323: undefined, - overlapper___328331: undefined, - unnamed2888___U6: undefined, - unnamed2889___U7: undefined, - thisKind___328337: undefined, - otherKind___328341: undefined, - higher___328354: undefined, - lower___328363: undefined, + ms___27569: undefined, + unnamed64___U1: undefined, + unnamed65___U2: undefined, + sprite___27571: undefined, + overSprites___27578: undefined, + overlapper___27586: undefined, + unnamed66___U6: undefined, + unnamed67___U7: undefined, + thisKind___27592: undefined, + otherKind___27596: undefined, + higher___27609: undefined, + lower___27618: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -87919,7 +76659,7 @@ function ArcadePhysicsEngine_spriteCollisions__P298375_mk(s) { -function inline__P328383(s) { +function inline__P27638(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -87976,13 +76716,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P328383.info = {"start":9578,"length":145,"line":308,"column":32,"endLine":309,"endColumn":89,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["h"]} -inline__P328383.info = {"start":9578,"length":145,"line":308,"column":32,"endLine":309,"endColumn":89,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P27638.info = {"start":9578,"length":145,"line":308,"column":32,"endLine":309,"endColumn":89,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P27638.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__P328383_mk(s) { +function inline__P27638_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P328383, depth: s.depth + 1, + parent: s, fn: inline__P27638, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -88000,7 +76740,7 @@ function inline__P328383_mk(s) { -function inline__P328407(s) { +function inline__P27662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -88019,7 +76759,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__P328417); + r0 = pxsim_pxtcore_mkAction(6, inline__P27672); 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]); @@ -88032,13 +76772,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P328407.info = {"start":9783,"length":498,"line":311,"column":33,"endLine":320,"endColumn":25,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["h"]} -inline__P328407.info = {"start":9783,"length":498,"line":311,"column":33,"endLine":320,"endColumn":25,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P27662.info = {"start":9783,"length":498,"line":311,"column":33,"endLine":320,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P27662.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__P328407_mk(s) { +function inline__P27662_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P328407, depth: s.depth + 1, + parent: s, fn: inline__P27662, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -88049,7 +76789,7 @@ function inline__P328407_mk(s) { -function inline__P328417(s) { +function inline__P27672(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -88109,13 +76849,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P328417.info = {"start":9904,"length":349,"line":313,"column":50,"endLine":319,"endColumn":29,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":[]} -inline__P328417.info = {"start":9904,"length":349,"line":313,"column":50,"endLine":319,"endColumn":29,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"inline","argumentNames":[]} +inline__P27672.info = {"start":9904,"length":349,"line":313,"column":50,"endLine":319,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +inline__P27672.info = {"start":9904,"length":349,"line":313,"column":50,"endLine":319,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -function inline__P328417_mk(s) { +function inline__P27672_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P328417, depth: s.depth + 1, + parent: s, fn: inline__P27672, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -88130,7 +76870,7 @@ function inline__P328417_mk(s) { -function sprites_SpriteMap_overlaps__P298282(s) { +function sprites_SpriteMap_overlaps__P790(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -88140,48 +76880,48 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.n___328441 = undefined; - s.o___328445 = undefined; + s.n___27696 = undefined; + s.o___27700 = 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__C298280_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P298281_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C788_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P789_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___328441 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P328447); + s.n___27696 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P27702); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P297631_mk(s); - s.tmp_1.arg0 = s.n___328441; + s.tmp_1 = helpers_arrayFilter__P60_mk(s); + s.tmp_1.arg0 = s.n___27696; s.tmp_1.arg1 = s.tmp_0; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___328445 = (r0); - r0 = s.o___328445; + s.o___27700 = (r0); + r0 = s.o___27700; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_overlaps__P298282.info = {"start":923,"length":189,"line":30,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"overlaps","argumentNames":["this","sprite"]} -sprites_SpriteMap_overlaps__P298282.info = {"start":923,"length":189,"line":30,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"overlaps","argumentNames":["this","sprite"]} +sprites_SpriteMap_overlaps__P790.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__P790.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__P298282_mk(s) { +function sprites_SpriteMap_overlaps__P790_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P298282, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P790, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___328441: undefined, - o___328445: undefined, + n___27696: undefined, + o___27700: undefined, arg0: undefined, arg1: undefined, } } @@ -88190,7 +76930,7 @@ function sprites_SpriteMap_overlaps__P298282_mk(s) { -function inline__P328447(s) { +function inline__P27702(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -88204,7 +76944,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P298267_mk(s); + s.tmp_0 = Sprite_overlapsWith__P775_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.pc = 1; return s.tmp_0; @@ -88213,13 +76953,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P328447.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} -inline__P328447.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} +inline__P27702.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} +inline__P27702.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__P328447_mk(s) { +function inline__P27702_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P328447, depth: s.depth + 1, + parent: s, fn: inline__P27702, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -88229,7 +76969,7 @@ function inline__P328447_mk(s) { -function sprites_SpriteMap_neighbors__P298281(s) { +function sprites_SpriteMap_neighbors__P789(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -88239,113 +76979,113 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.n___328490 = undefined; - s.layer___328492 = undefined; + s.n___27745 = undefined; + s.layer___27747 = 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__C298280_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C788_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___328490 = (r0); + s.n___27745 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___328492 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P298289_mk(s); + s.layer___27747 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P797_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P298249_mk(s); + s.tmp_1 = Sprite_left__P757_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__P298253_mk(s); + s.tmp_2 = Sprite_top__P761_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___328492; - s.tmp_0.arg4 = s.n___328490; + s.tmp_0.arg3 = s.layer___27747; + s.tmp_0.arg4 = s.n___27745; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P298289_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P797_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P298249_mk(s); + s.tmp_1 = Sprite_left__P757_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__P298255_mk(s); + s.tmp_2 = Sprite_bottom__P763_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___328492; - s.tmp_0.arg4 = s.n___328490; + s.tmp_0.arg3 = s.layer___27747; + s.tmp_0.arg4 = s.n___27745; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P298289_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P797_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P298251_mk(s); + s.tmp_1 = Sprite_right__P759_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__P298253_mk(s); + s.tmp_2 = Sprite_top__P761_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___328492; - s.tmp_0.arg4 = s.n___328490; + s.tmp_0.arg3 = s.layer___27747; + s.tmp_0.arg4 = s.n___27745; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P298289_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P797_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P298251_mk(s); + s.tmp_1 = Sprite_right__P759_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__P298255_mk(s); + s.tmp_2 = Sprite_bottom__P763_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___328492; - s.tmp_0.arg4 = s.n___328490; + s.tmp_0.arg3 = s.layer___27747; + s.tmp_0.arg4 = s.n___27745; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___328490, s.arg1); - r0 = s.n___328490; + r0 = pxsim_Array_.removeElement(s.n___27745, s.arg1); + r0 = s.n___27745; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_neighbors__P298281.info = {"start":376,"length":442,"line":15,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"neighbors","argumentNames":["this","sprite"]} -sprites_SpriteMap_neighbors__P298281.info = {"start":376,"length":442,"line":15,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"neighbors","argumentNames":["this","sprite"]} +sprites_SpriteMap_neighbors__P789.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__P789.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__P298281_mk(s) { +function sprites_SpriteMap_neighbors__P789_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P298281, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P789, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___328490: undefined, - layer___328492: undefined, + n___27745: undefined, + layer___27747: undefined, arg0: undefined, arg1: undefined, } } @@ -88354,7 +77094,7 @@ function sprites_SpriteMap_neighbors__P298281_mk(s) { -function sprites_SpriteMap_mergeAtKey__P298289(s) { +function sprites_SpriteMap_mergeAtKey__P797(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -88364,11 +77104,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.k___328533 = undefined; - s.bucket___328538 = undefined; - s.sprite___328545 = undefined; - s.unnamed2882___U3 = undefined; - s.unnamed2883___U4 = undefined; + s.k___27788 = undefined; + s.bucket___27793 = undefined; + s.sprite___27800 = undefined; + s.unnamed60___U3 = undefined; + s.unnamed61___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -88378,33 +77118,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C298280_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P298286_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C788_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P794_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___328533 = (r0); + s.k___27788 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___328533); - s.bucket___328538 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___328538); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___27788); + s.bucket___27793 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___27793); if (!r0) { step = 7; continue; } - s.sprite___328545 = (undefined); - s.unnamed2882___U3 = (s.bucket___328538); - s.unnamed2883___U4 = (0); + s.sprite___27800 = (undefined); + s.unnamed60___U3 = (s.bucket___27793); + s.unnamed61___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed2883___U4; - r0 = pxsim_Array__length(s.unnamed2882___U3); + s.tmp_0 = r0 = s.unnamed61___U4; + r0 = pxsim_Array__length(s.unnamed60___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed2882___U3, s.unnamed2883___U4); - s.sprite___328545 = (r0); - r0 = s.sprite___328545.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed60___U3, s.unnamed61___U4); + s.sprite___27800 = (r0); + r0 = s.sprite___27800.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -88413,7 +77153,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___328545, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___27800, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -88421,27 +77161,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___328545); + r0 = pxsim_Array__push(s.arg4, s.sprite___27800); case 4: case 5: - r0 = (s.unnamed2883___U4 + 1); - s.unnamed2883___U4 = (r0); + r0 = (s.unnamed61___U4 + 1); + s.unnamed61___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed2882___U3 = (undefined); + s.unnamed60___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P298289.info = {"start":3715,"length":384,"line":101,"column":8,"endLine":110,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"mergeAtKey","argumentNames":["this","x","y","layer","n"]} -sprites_SpriteMap_mergeAtKey__P298289.info = {"start":3715,"length":384,"line":101,"column":8,"endLine":110,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"mergeAtKey","argumentNames":["this","x","y","layer","n"]} +sprites_SpriteMap_mergeAtKey__P797.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__P797.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__P298289_mk(s) { +function sprites_SpriteMap_mergeAtKey__P797_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P298289, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P797, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -88449,11 +77189,11 @@ function sprites_SpriteMap_mergeAtKey__P298289_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___328533: undefined, - bucket___328538: undefined, - sprite___328545: undefined, - unnamed2882___U3: undefined, - unnamed2883___U4: undefined, + k___27788: undefined, + bucket___27793: undefined, + sprite___27800: undefined, + unnamed60___U3: undefined, + unnamed61___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -88465,7 +77205,7 @@ function sprites_SpriteMap_mergeAtKey__P298289_mk(s) { -function sprites_SpriteMap_key__P298286(s) { +function sprites_SpriteMap_key__P794(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -88475,8 +77215,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.xi___328566 = undefined; - s.yi___328578 = undefined; + s.xi___27821 = undefined; + s.yi___27833 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -88484,8 +77224,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C298280_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P297643_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C788_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P72_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -88496,8 +77236,8 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___328566 = (r0); - s.tmp_0 = Math_clamp__P297643_mk(s); + s.xi___27821 = (r0); + s.tmp_0 = Math_clamp__P72_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -88508,29 +77248,29 @@ switch (step) { s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___328578 = (r0); - s.tmp_0 = r0 = s.xi___328566; + s.yi___27833 = (r0); + s.tmp_0 = r0 = s.xi___27821; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___328578 * s.tmp_2); + r0 = (s.yi___27833 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P298286.info = {"start":2592,"length":270,"line":76,"column":8,"endLine":80,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"key","argumentNames":["this","x","y"]} -sprites_SpriteMap_key__P298286.info = {"start":2592,"length":270,"line":76,"column":8,"endLine":80,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"key","argumentNames":["this","x","y"]} +sprites_SpriteMap_key__P794.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__P794.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__P298286_mk(s) { +function sprites_SpriteMap_key__P794_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P298286, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P794, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___328566: undefined, - yi___328578: undefined, + xi___27821: undefined, + yi___27833: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -88540,7 +77280,7 @@ function sprites_SpriteMap_key__P298286_mk(s) { -function Sprite_overlapsWith__P298267(s) { +function Sprite_overlapsWith__P775(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -88556,7 +77296,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -88589,13 +77329,13 @@ switch (step) { s.tmp_5 = r0; r0 = s.arg0.fields["_image"]; s.tmp_6 = r0; - s.tmp_9 = Sprite_left__P298249_mk(s); + s.tmp_9 = Sprite_left__P757_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__P298249_mk(s); + s.tmp_11 = Sprite_left__P757_mk(s); s.tmp_11.arg0 = s.arg1; s.pc = 9; return s.tmp_11; case 9: @@ -88603,13 +77343,13 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_8 - s.tmp_10); s.tmp_7 = r0; - s.tmp_14 = Sprite_top__P298253_mk(s); + s.tmp_14 = Sprite_top__P761_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__P298253_mk(s); + s.tmp_16 = Sprite_top__P761_mk(s); s.tmp_16.arg0 = s.arg1; s.pc = 11; return s.tmp_16; case 11: @@ -88622,13 +77362,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_overlapsWith__P298267.info = {"start":23457,"length":434,"line":714,"column":4,"endLine":722,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -Sprite_overlapsWith__P298267.info = {"start":23457,"length":434,"line":714,"column":4,"endLine":722,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +Sprite_overlapsWith__P775.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__P775.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__P298267_mk(s) { +function Sprite_overlapsWith__P775_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P298267, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P775, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -88655,7 +77395,7 @@ function Sprite_overlapsWith__P298267_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P298374(s) { +function ArcadePhysicsEngine_createMovingSprite__P882(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -88665,12 +77405,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ovx___328780 = undefined; - s.ovy___328785 = undefined; - s.dx___328818 = undefined; - s.dy___328827 = undefined; - s.xStep___328836 = undefined; - s.yStep___328838 = undefined; + s.ovx___28035 = undefined; + s.ovy___28040 = undefined; + s.dx___28073 = undefined; + s.dy___28082 = undefined; + s.xStep___28091 = undefined; + s.yStep___28093 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -88679,23 +77419,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P298381_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P889_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___328780 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P298381_mk(s); + s.ovx___28035 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P889_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___328785 = (r0); + s.ovy___28040 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -88703,7 +77443,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__P298381_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P889_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_3 = r0; @@ -88721,7 +77461,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__P298381_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P889_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_3 = r0; @@ -88740,29 +77480,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___328780); + r0 = (s.tmp_2 + s.ovx___28035); 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___328818 = (r0); + s.dx___28073 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.ovy___328785); + r0 = (s.tmp_2 + s.ovy___28040); 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___328827 = (r0); - s.xStep___328836 = (s.dx___328818); - s.yStep___328838 = (s.dy___328827); + s.dy___28082 = (r0); + s.xStep___28091 = (s.dx___28073); + s.yStep___28093 = (s.dy___28082); case 1: - s.tmp_2 = Fx_abs__P297690_mk(s); - s.tmp_2.arg0 = s.xStep___328836; + s.tmp_2 = Fx_abs__P119_mk(s); + s.tmp_2.arg0 = s.xStep___28091; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -88776,8 +77516,8 @@ switch (step) { r0 = s.tmp_0; { step = 3; continue; } case 2: - s.tmp_5 = Fx_abs__P297690_mk(s); - s.tmp_5.arg0 = s.yStep___328838; + s.tmp_5 = Fx_abs__P119_mk(s); + s.tmp_5.arg0 = s.yStep___28093; s.pc = 14; return s.tmp_5; case 14: r0 = s.retval; @@ -88790,8 +77530,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 8; continue; } - s.tmp_10 = Fx_abs__P297690_mk(s); - s.tmp_10.arg0 = s.xStep___328836; + s.tmp_10 = Fx_abs__P119_mk(s); + s.tmp_10.arg0 = s.xStep___28091; s.pc = 15; return s.tmp_10; case 15: r0 = s.retval; @@ -88802,12 +77542,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___328836, 2); - s.xStep___328836 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___28091, 2); + s.xStep___28091 = (r0); case 4: case 5: - s.tmp_2 = Fx_abs__P297690_mk(s); - s.tmp_2.arg0 = s.yStep___328838; + s.tmp_2 = Fx_abs__P119_mk(s); + s.tmp_2.arg0 = s.yStep___28093; s.pc = 16; return s.tmp_2; case 16: r0 = s.retval; @@ -88818,25 +77558,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___328838, 2); - s.yStep___328838 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___28093, 2); + s.yStep___28093 = (r0); case 6: case 7: { step = 1; continue; } case 8: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C298359_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C867_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P298360_mk(s); + s.tmp_1 = MovingSprite_constructor__P868_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___328818; - s.tmp_1.arg5 = s.dy___328827; - s.tmp_1.arg6 = s.xStep___328836; - s.tmp_1.arg7 = s.yStep___328838; + s.tmp_1.arg4 = s.dx___28073; + s.tmp_1.arg5 = s.dy___28082; + s.tmp_1.arg6 = s.xStep___28091; + s.tmp_1.arg7 = s.yStep___28093; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; @@ -88844,13 +77584,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P298374.info = {"start":6497,"length":1716,"line":211,"column":4,"endLine":280,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtSec","dt2"]} -ArcadePhysicsEngine_createMovingSprite__P298374.info = {"start":6497,"length":1716,"line":211,"column":4,"endLine":280,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtSec","dt2"]} +ArcadePhysicsEngine_createMovingSprite__P882.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__P882.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__P298374_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P882_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P298374, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P882, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -88864,12 +77604,12 @@ function ArcadePhysicsEngine_createMovingSprite__P298374_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___328780: undefined, - ovy___328785: undefined, - dx___328818: undefined, - dy___328827: undefined, - xStep___328836: undefined, - yStep___328838: undefined, + ovx___28035: undefined, + ovy___28040: undefined, + dx___28073: undefined, + dy___28082: undefined, + xStep___28091: undefined, + yStep___28093: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -88880,7 +77620,7 @@ function ArcadePhysicsEngine_createMovingSprite__P298374_mk(s) { -function ArcadePhysicsEngine_constrain__P298381(s) { +function ArcadePhysicsEngine_constrain__P889(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -88896,9 +77636,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P297692_mk(s); - s.tmp_1 = Fx_min__P297691_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P121_mk(s); + s.tmp_1 = Fx_min__P120_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -88914,13 +77654,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P298381.info = {"start":22424,"length":191,"line":658,"column":4,"endLine":666,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"constrain","argumentNames":["this","v"]} -ArcadePhysicsEngine_constrain__P298381.info = {"start":22424,"length":191,"line":658,"column":4,"endLine":666,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"constrain","argumentNames":["this","v"]} +ArcadePhysicsEngine_constrain__P889.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__P889.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__P298381_mk(s) { +function ArcadePhysicsEngine_constrain__P889_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P298381, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P889, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -88932,7 +77672,7 @@ function ArcadePhysicsEngine_constrain__P298381_mk(s) { -function Fx_max__P297692(s) { +function Fx_max__P121(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -88963,13 +77703,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_max__P297692.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__P297692.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__P121.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__P121.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__P297692_mk(s) { +function Fx_max__P121_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P297692, depth: s.depth + 1, + parent: s, fn: Fx_max__P121, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -88980,7 +77720,7 @@ function Fx_max__P297692_mk(s) { -function sprites_SpriteMap_insertAABB__P298288(s) { +function sprites_SpriteMap_insertAABB__P796(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -88990,31 +77730,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.left___328598 = undefined; - s.top___328601 = undefined; - s.xn___328604 = undefined; - s.yn___328615 = undefined; - s.x___328626 = undefined; - s.y___328631 = undefined; + s.left___27853 = undefined; + s.top___27856 = undefined; + s.xn___27859 = undefined; + s.yn___27870 = undefined; + s.x___27881 = undefined; + s.y___27886 = 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__C298280_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P298249_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C788_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P757_mk(s); s.tmp_0.arg0 = s.arg1; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___328598 = (r0); - s.tmp_0 = Sprite_top__P298253_mk(s); + s.left___27853 = (r0); + s.tmp_0 = Sprite_top__P761_mk(s); s.tmp_0.arg0 = s.arg1; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___328601 = (r0); + s.top___27856 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); @@ -89028,7 +77768,7 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___328604 = (r0); + s.xn___27859 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -89042,30 +77782,30 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___328615 = (r0); - s.x___328626 = (0); + s.yn___27870 = (r0); + s.x___27881 = (0); case 1: - r0 = (s.x___328626 <= s.xn___328604); + r0 = (s.x___27881 <= s.xn___27859); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___328631 = (0); + s.y___27886 = (0); case 2: - r0 = (s.y___328631 <= s.yn___328615); + r0 = (s.y___27886 <= s.yn___27870); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P298287_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P795_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___328598; - s.tmp_4 = Math_min__P297647_mk(s); + s.tmp_2 = r0 = s.left___27853; + s.tmp_4 = Math_min__P76_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___328626 * s.tmp_6); + r0 = (s.x___27881 * s.tmp_6); s.tmp_4.arg1 = r0; s.pc = 8; return s.tmp_4; case 8: @@ -89073,15 +77813,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___328601; - s.tmp_9 = Math_min__P297647_mk(s); + s.tmp_7 = r0 = s.top___27856; + s.tmp_9 = Math_min__P76_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___328631 * s.tmp_11); + r0 = (s.y___27886 * s.tmp_11); s.tmp_9.arg1 = r0; s.pc = 9; return s.tmp_9; case 9: @@ -89093,25 +77833,25 @@ switch (step) { s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = (s.y___328631 + 1); - s.y___328631 = (r0); + r0 = (s.y___27886 + 1); + s.y___27886 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___328626 + 1); - s.x___328626 = (r0); + r0 = (s.x___27881 + 1); + s.x___27881 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAABB__P298288.info = {"start":3184,"length":521,"line":91,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"insertAABB","argumentNames":["this","sprite"]} -sprites_SpriteMap_insertAABB__P298288.info = {"start":3184,"length":521,"line":91,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"insertAABB","argumentNames":["this","sprite"]} +sprites_SpriteMap_insertAABB__P796.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__P796.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__P298288_mk(s) { +function sprites_SpriteMap_insertAABB__P796_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P298288, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P796, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -89125,12 +77865,12 @@ function sprites_SpriteMap_insertAABB__P298288_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___328598: undefined, - top___328601: undefined, - xn___328604: undefined, - yn___328615: undefined, - x___328626: undefined, - y___328631: undefined, + left___27853: undefined, + top___27856: undefined, + xn___27859: undefined, + yn___27870: undefined, + x___27881: undefined, + y___27886: undefined, arg0: undefined, arg1: undefined, } } @@ -89139,7 +77879,7 @@ function sprites_SpriteMap_insertAABB__P298288_mk(s) { -function sprites_SpriteMap_insertAtKey__P298287(s) { +function sprites_SpriteMap_insertAtKey__P795(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -89149,8 +77889,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.k___328666 = undefined; - s.bucket___328671 = undefined; + s.k___27921 = undefined; + s.bucket___27926 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -89159,20 +77899,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C298280_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P298286_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C788_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P794_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___328666 = (r0); + s.k___27921 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___328666); - s.bucket___328671 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___328671); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___27921); + s.bucket___27926 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___27926); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -89180,41 +77920,41 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___328666; + s.tmp_3 = r0 = s.k___27921; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___328671 = (s.tmp_4); + s.bucket___27926 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___328671, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___27926, 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___328671, s.arg3); + r0 = pxsim_Array__push(s.bucket___27926, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P298287.info = {"start":2872,"length":302,"line":82,"column":8,"endLine":89,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"insertAtKey","argumentNames":["this","x","y","sprite"]} -sprites_SpriteMap_insertAtKey__P298287.info = {"start":2872,"length":302,"line":82,"column":8,"endLine":89,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"insertAtKey","argumentNames":["this","x","y","sprite"]} +sprites_SpriteMap_insertAtKey__P795.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__P795.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__P298287_mk(s) { +function sprites_SpriteMap_insertAtKey__P795_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P298287, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P795, 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___328666: undefined, - bucket___328671: undefined, + k___27921: undefined, + bucket___27926: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -89225,7 +77965,7 @@ function sprites_SpriteMap_insertAtKey__P298287_mk(s) { -function sprites_SpriteMap_clear__P298285(s) { +function sprites_SpriteMap_clear__P793(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -89240,7 +77980,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C298280_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C788_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -89249,13 +77989,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_clear__P298285.info = {"start":2532,"length":50,"line":72,"column":8,"endLine":74,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"clear","argumentNames":["this"]} -sprites_SpriteMap_clear__P298285.info = {"start":2532,"length":50,"line":72,"column":8,"endLine":74,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"clear","argumentNames":["this"]} +sprites_SpriteMap_clear__P793.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__P793.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__P298285_mk(s) { +function sprites_SpriteMap_clear__P793_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P298285, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P793, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -89266,7 +78006,7 @@ function sprites_SpriteMap_clear__P298285_mk(s) { -function sprites_SpriteMap_resizeBuckets__P298284(s) { +function sprites_SpriteMap_resizeBuckets__P792(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -89276,111 +78016,111 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.maxWidth___328703 = undefined; - s.maxHeight___328704 = undefined; - s.sprite___328706 = undefined; - s.unnamed2880___U3 = undefined; - s.unnamed2881___U4 = undefined; - s.tMap___328722 = undefined; - s.areaWidth___328726 = undefined; - s.areaHeight___328733 = undefined; + s.maxWidth___27958 = undefined; + s.maxHeight___27959 = undefined; + s.sprite___27961 = undefined; + s.unnamed58___U3 = undefined; + s.unnamed59___U4 = undefined; + s.tMap___27977 = undefined; + s.areaWidth___27981 = undefined; + s.areaHeight___27988 = 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__C298280_VT)) failedCast(r0); - s.maxWidth___328703 = (0); - s.maxHeight___328704 = (0); - s.sprite___328706 = (undefined); - s.unnamed2880___U3 = (s.arg1); - s.unnamed2881___U4 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C788_VT)) failedCast(r0); + s.maxWidth___27958 = (0); + s.maxHeight___27959 = (0); + s.sprite___27961 = (undefined); + s.unnamed58___U3 = (s.arg1); + s.unnamed59___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed2881___U4; - r0 = pxsim_Array__length(s.unnamed2880___U3); + s.tmp_0 = r0 = s.unnamed59___U4; + r0 = pxsim_Array__length(s.unnamed58___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed2880___U3, s.unnamed2881___U4); - s.sprite___328706 = (r0); - r0 = s.sprite___328706.fields["_image"]; + r0 = pxsim_Array__getAt(s.unnamed58___U3, s.unnamed59___U4); + s.sprite___27961 = (r0); + r0 = s.sprite___27961.fields["_image"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___328703); + r0 = (s.tmp_3 > s.maxWidth___27958); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.sprite___328706.fields["_image"]; + r0 = s.sprite___27961.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); - s.maxWidth___328703 = (r0); + s.maxWidth___27958 = (r0); case 2: case 3: - r0 = s.sprite___328706.fields["_image"]; + r0 = s.sprite___27961.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___328704); + r0 = (s.tmp_1 > s.maxHeight___27959); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = s.sprite___328706.fields["_image"]; + r0 = s.sprite___27961.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); - s.maxHeight___328704 = (r0); + s.maxHeight___27959 = (r0); case 4: case 5: - r0 = (s.unnamed2881___U4 + 1); - s.unnamed2881___U4 = (r0); + r0 = (s.unnamed59___U4 + 1); + s.unnamed59___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed2880___U3 = (undefined); - s.tmp_0 = game_currentScene__P298414_mk(s); + s.unnamed58___U3 = (undefined); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___328722 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___328722); + s.tMap___27977 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___27977); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap__C298537_v3_1_mk(s); - s.tmp_0.arg0 = s.tMap___328722; - if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0 = tiles_TileMap__C1045_v3_1_mk(s); + s.tmp_0.arg0 = s.tMap___27977; + if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.areaWidth; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 8; continue; } case 7: - r0 = pxsim_ImageMethods.width(globals.screen___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___328726 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___328722); + s.areaWidth___27981 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___27977); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap__C298537_v4_1_mk(s); - s.tmp_0.arg0 = s.tMap___328722; - if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0 = tiles_TileMap__C1045_v4_1_mk(s); + s.tmp_0.arg0 = s.tMap___27977; + if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.areaHeight; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim_ImageMethods.height(globals.screen___298046); + r0 = pxsim_ImageMethods.height(globals.screen___545); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___328733 = (s.tmp_1); + s.areaHeight___27988 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P297643_mk(s); + s.tmp_2 = Math_clamp__P72_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___328726 >> 2); + r0 = (s.areaWidth___27981 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___328703 * 2); + r0 = (s.maxWidth___27958 * 2); s.tmp_2.arg2 = r0; s.pc = 14; return s.tmp_2; case 14: @@ -89388,11 +78128,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__P297643_mk(s); + s.tmp_2 = Math_clamp__P72_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___328733 >> 2); + r0 = (s.areaHeight___27988 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___328704 * 2); + r0 = (s.maxHeight___27959 * 2); s.tmp_2.arg2 = r0; s.pc = 15; return s.tmp_2; case 15: @@ -89402,26 +78142,26 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___328733, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___27988, 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___328726, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___27981, 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__P298284.info = {"start":1696,"length":826,"line":52,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"resizeBuckets","argumentNames":["this","sprites"]} -sprites_SpriteMap_resizeBuckets__P298284.info = {"start":1696,"length":826,"line":52,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"resizeBuckets","argumentNames":["this","sprites"]} +sprites_SpriteMap_resizeBuckets__P792.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__P792.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__P298284_mk(s) { +function sprites_SpriteMap_resizeBuckets__P792_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P298284, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P792, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -89429,14 +78169,14 @@ function sprites_SpriteMap_resizeBuckets__P298284_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___328703: undefined, - maxHeight___328704: undefined, - sprite___328706: undefined, - unnamed2880___U3: undefined, - unnamed2881___U4: undefined, - tMap___328722: undefined, - areaWidth___328726: undefined, - areaHeight___328733: undefined, + maxWidth___27958: undefined, + maxHeight___27959: undefined, + sprite___27961: undefined, + unnamed58___U3: undefined, + unnamed59___U4: undefined, + tMap___27977: undefined, + areaWidth___27981: undefined, + areaHeight___27988: undefined, arg0: undefined, arg1: undefined, } } @@ -89445,7 +78185,7 @@ function sprites_SpriteMap_resizeBuckets__P298284_mk(s) { -function Sprite_clearObstacles__P298271(s) { +function Sprite_clearObstacles__P779(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -89460,7 +78200,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -89469,13 +78209,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_clearObstacles__P298271.info = {"start":25853,"length":54,"line":779,"column":4,"endLine":781,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} -Sprite_clearObstacles__P298271.info = {"start":25853,"length":54,"line":779,"column":4,"endLine":781,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} +Sprite_clearObstacles__P779.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__P779.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__P298271_mk(s) { +function Sprite_clearObstacles__P779_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P298271, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P779, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -89486,7 +78226,7 @@ function Sprite_clearObstacles__P298271_mk(s) { -function Fx_idiv__P297688(s) { +function Fx_idiv__P117(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -89505,13 +78245,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_idiv__P297688.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__P297688.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__P117.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__P117.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__P297688_mk(s) { +function Fx_idiv__P117_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P297688, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P117, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -89521,7 +78261,7 @@ function Fx_idiv__P297688_mk(s) { -function Fx_div__P297687(s) { +function Fx_div__P116(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -89542,13 +78282,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_div__P297687.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__P297687.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__P116.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__P116.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__P297687_mk(s) { +function Fx_div__P116_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P297687, depth: s.depth + 1, + parent: s, fn: Fx_div__P116, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -89559,7 +78299,7 @@ function Fx_div__P297687_mk(s) { -function ArcadePhysicsEngine_draw__P298372(s) { +function ArcadePhysicsEngine_draw__P880(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -89574,8 +78314,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P298283_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P791_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.pc = 1; return s.tmp_0; @@ -89585,13 +78325,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_draw__P298372.info = {"start":2506,"length":39,"line":105,"column":4,"endLine":107,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"draw","argumentNames":["this"]} -ArcadePhysicsEngine_draw__P298372.info = {"start":2506,"length":39,"line":105,"column":4,"endLine":107,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"draw","argumentNames":["this"]} +ArcadePhysicsEngine_draw__P880.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__P880.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__P298372_mk(s) { +function ArcadePhysicsEngine_draw__P880_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P298372, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P880, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -89601,7 +78341,7 @@ function ArcadePhysicsEngine_draw__P298372_mk(s) { -function sprites_SpriteMap_draw__P298283(s) { +function sprites_SpriteMap_draw__P791(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -89611,70 +78351,70 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.x___328910 = undefined; - s.y___328916 = undefined; - s.left___328922 = undefined; - s.top___328927 = undefined; - s.k___328932 = undefined; - s.b___328937 = undefined; + s.x___28165 = undefined; + s.y___28171 = undefined; + s.left___28177 = undefined; + s.top___28182 = undefined; + s.k___28187 = undefined; + s.b___28192 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C298280_VT)) failedCast(r0); - s.x___328910 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C788_VT)) failedCast(r0); + s.x___28165 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___328910 < s.tmp_1); + r0 = (s.x___28165 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___328916 = (0); + s.y___28171 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___328916 < s.tmp_1); + r0 = (s.y___28171 < 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___328910 * s.tmp_2); - s.left___328922 = (r0); + r0 = (s.x___28165 * s.tmp_2); + s.left___28177 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___328916 * s.tmp_0); - s.top___328927 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P298286_mk(s); + r0 = (s.y___28171 * s.tmp_0); + s.top___28182 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P794_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___328922; - s.tmp_0.arg2 = s.top___328927; + s.tmp_0.arg1 = s.left___28177; + s.tmp_0.arg2 = s.top___28182; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___328932 = (r0); + s.k___28187 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___328932); - s.b___328937 = (r0); - s.tmp_0 = r0 = s.b___328937; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___28187); + s.b___28192 = (r0); + s.tmp_0 = r0 = s.b___28192; 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___328937); + r0 = pxsim_Array__length(s.b___28192); 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__P297989_mk(s); - s.tmp_2.arg0 = globals.screen___298046; - s.tmp_2.arg1 = s.left___328922; - s.tmp_2.arg2 = s.top___328927; + s.tmp_2 = helpers_imageDrawRect__P487_mk(s); + s.tmp_2.arg0 = globals.screen___545; + s.tmp_2.arg1 = s.left___28177; + s.tmp_2.arg2 = s.top___28182; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; @@ -89685,35 +78425,35 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.y___328916 + 1); - s.y___328916 = (r0); + r0 = (s.y___28171 + 1); + s.y___28171 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___328910 + 1); - s.x___328910 = (r0); + r0 = (s.x___28165 + 1); + s.x___28165 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_draw__P298283.info = {"start":1122,"length":496,"line":36,"column":8,"endLine":47,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"draw","argumentNames":["this"]} -sprites_SpriteMap_draw__P298283.info = {"start":1122,"length":496,"line":36,"column":8,"endLine":47,"endColumn":9,"fileName":"pxt_modules/game---hw/spritemap.ts","functionName":"draw","argumentNames":["this"]} +sprites_SpriteMap_draw__P791.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__P791.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__P298283_mk(s) { +function sprites_SpriteMap_draw__P791_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P298283, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P791, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___328910: undefined, - y___328916: undefined, - left___328922: undefined, - top___328927: undefined, - k___328932: undefined, - b___328937: undefined, + x___28165: undefined, + y___28171: undefined, + left___28177: undefined, + top___28182: undefined, + k___28187: undefined, + b___28192: undefined, arg0: undefined, } } @@ -89721,7 +78461,7 @@ function sprites_SpriteMap_draw__P298283_mk(s) { -function ArcadePhysicsEngine_removeSprite__P298371(s) { +function ArcadePhysicsEngine_removeSprite__P879(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -89737,7 +78477,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -89745,13 +78485,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_removeSprite__P298371.info = {"start":2420,"length":80,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} -ArcadePhysicsEngine_removeSprite__P298371.info = {"start":2420,"length":80,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} +ArcadePhysicsEngine_removeSprite__P879.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__P879.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__P298371_mk(s) { +function ArcadePhysicsEngine_removeSprite__P879_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P298371, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P879, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -89762,7 +78502,7 @@ function ArcadePhysicsEngine_removeSprite__P298371_mk(s) { -function ArcadePhysicsEngine_addSprite__P298370(s) { +function ArcadePhysicsEngine_addSprite__P878(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -89772,33 +78512,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tm___328974 = undefined; + s.tm___28229 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C298361_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C869_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__P298414_mk(s); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___328974 = (r0); - s.tmp_0 = r0 = s.tm___328974; + s.tm___28229 = (r0); + s.tmp_0 = r0 = s.tm___28229; 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__C298537_v14_2_mk(s); - s.tmp_1.arg0 = s.tm___328974; + s.tmp_1 = tiles_TileMap__C1045_v14_2_mk(s); + s.tmp_1.arg0 = s.tm___28229; s.tmp_1.arg1 = s.arg1; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C298537_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1045_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isOnWall; s.pc = 6; return s.tmp_1; case 6: @@ -89820,13 +78560,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_addSprite__P298370.info = {"start":2194,"length":220,"line":93,"column":4,"endLine":99,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -ArcadePhysicsEngine_addSprite__P298370.info = {"start":2194,"length":220,"line":93,"column":4,"endLine":99,"endColumn":5,"fileName":"pxt_modules/game---hw/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +ArcadePhysicsEngine_addSprite__P878.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__P878.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__P298370_mk(s) { +function ArcadePhysicsEngine_addSprite__P878_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P298370, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P878, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -89834,7 +78574,7 @@ function ArcadePhysicsEngine_addSprite__P298370_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___328974: undefined, + tm___28229: undefined, arg0: undefined, arg1: undefined, } } @@ -89843,7 +78583,7 @@ function ArcadePhysicsEngine_addSprite__P298370_mk(s) { -function particles_ParticleSource___draw__P299153(s) { +function particles_ParticleSource___draw__P1661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -89853,18 +78593,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.current___329068 = undefined; - s.left___329071 = undefined; - s.top___329081 = undefined; + s.current___28323 = undefined; + s.left___28326 = undefined; + s.top___28336 = 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__C299151_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C1659_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___329068 = (r0); + s.current___28323 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -89882,7 +78622,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___329071 = (s.tmp_4); + s.left___28326 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -89900,50 +78640,50 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___329081 = (s.tmp_4); + s.top___28336 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___329068); + r0 = pxsim_numops_toBoolDecr(s.current___28323); if (!r0) { step = 8; continue; } - r0 = s.current___329068.fields["lifespan"]; + r0 = s.current___28323.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__P299168_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P1676_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___329068; - s.tmp_2.arg2 = s.left___329071; - s.tmp_2.arg3 = s.top___329081; + s.tmp_2.arg1 = s.current___28323; + s.tmp_2.arg2 = s.left___28326; + s.tmp_2.arg3 = s.top___28336; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___329068.fields["next"]; - s.current___329068 = (r0); + r0 = s.current___28323.fields["next"]; + s.current___28323 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource___draw__P299153.info = {"start":3199,"length":468,"line":111,"column":8,"endLine":121,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"__draw","argumentNames":["this","camera"]} -particles_ParticleSource___draw__P299153.info = {"start":3199,"length":468,"line":111,"column":8,"endLine":121,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"__draw","argumentNames":["this","camera"]} +particles_ParticleSource___draw__P1661.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__P1661.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__P299153_mk(s) { +function particles_ParticleSource___draw__P1661_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P299153, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P1661, 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___329068: undefined, - left___329071: undefined, - top___329081: undefined, + current___28323: undefined, + left___28326: undefined, + top___28336: undefined, arg0: undefined, arg1: undefined, } } @@ -89952,7 +78692,7 @@ function particles_ParticleSource___draw__P299153_mk(s) { -function particles_ParticleSource_drawParticle__P299168(s) { +function particles_ParticleSource_drawParticle__P1676(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -89970,8 +78710,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C299151_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C299211_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C1659_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C1719_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -89983,7 +78723,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__C299211_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C1719_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: @@ -89992,13 +78732,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P299168.info = {"start":8598,"length":174,"line":286,"column":8,"endLine":288,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"drawParticle","argumentNames":["this","p","screenLeft","screenTop"]} -particles_ParticleSource_drawParticle__P299168.info = {"start":8598,"length":174,"line":286,"column":8,"endLine":288,"endColumn":9,"fileName":"pxt_modules/game---hw/particles.ts","functionName":"drawParticle","argumentNames":["this","p","screenLeft","screenTop"]} +particles_ParticleSource_drawParticle__P1676.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__P1676.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__P299168_mk(s) { +function particles_ParticleSource_drawParticle__P1676_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P299168, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P1676, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -90013,7 +78753,7 @@ function particles_ParticleSource_drawParticle__P299168_mk(s) { -function particles_ParticleFactory_drawParticle__P299213(s) { +function particles_ParticleFactory_drawParticle__P1721(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -90031,8 +78771,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C299211_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___298046; + if (!checkSubtype(r0, particles_ParticleFactory__C1719_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___545; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -90046,13 +78786,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleFactory_drawParticle__P299213.info = {"start":2265,"length":118,"line":85,"column":8,"endLine":87,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","particle","x","y"]} -particles_ParticleFactory_drawParticle__P299213.info = {"start":2265,"length":118,"line":85,"column":8,"endLine":87,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","particle","x","y"]} +particles_ParticleFactory_drawParticle__P1721.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__P1721.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__P299213_mk(s) { +function particles_ParticleFactory_drawParticle__P1721_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P299213, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P1721, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -90069,7 +78809,7 @@ function particles_ParticleFactory_drawParticle__P299213_mk(s) { -function particles_ShapeFactory_createParticle__P299236(s) { +function particles_ShapeFactory_createParticle__P1744(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -90079,23 +78819,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.p___329132 = undefined; + s.p___28387 = 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__C299232_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P299224_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C1740_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P1732_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___329132 = (r0); - s.tmp_0 = r0 = s.p___329132; - s.tmp_2 = Math_FastRandom_randomRange__P299003_mk(s); + s.p___28387 = (r0); + s.tmp_0 = r0 = s.p___28387; + s.tmp_2 = Math_FastRandom_randomRange__P1511_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; @@ -90105,22 +78845,22 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___329132; + r0 = s.p___28387; return leave(s, r0) default: oops() } } } -particles_ShapeFactory_createParticle__P299236.info = {"start":7505,"length":178,"line":239,"column":8,"endLine":243,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} -particles_ShapeFactory_createParticle__P299236.info = {"start":7505,"length":178,"line":239,"column":8,"endLine":243,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} +particles_ShapeFactory_createParticle__P1744.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__P1744.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__P299236_mk(s) { +function particles_ShapeFactory_createParticle__P1744_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_createParticle__P299236, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_createParticle__P1744, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___329132: undefined, + p___28387: undefined, arg0: undefined, arg1: undefined, } } @@ -90129,7 +78869,7 @@ function particles_ShapeFactory_createParticle__P299236_mk(s) { -function particles_AreaFactory_createParticle__P299224(s) { +function particles_AreaFactory_createParticle__P1732(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -90139,23 +78879,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.p___329145 = undefined; + s.p___28400 = 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__C299222_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P299217_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C1730_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P1725_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___329145 = (r0); - s.tmp_0 = r0 = s.p___329145; - s.tmp_2 = Math_FastRandom_randomRange__P299003_mk(s); + s.p___28400 = (r0); + s.tmp_0 = r0 = s.p___28400; + s.tmp_2 = Math_FastRandom_randomRange__P1511_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["minLifespan"]; @@ -90167,8 +78907,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___329145; - s.tmp_4 = Math_FastRandom_randomRange__P299003_mk(s); + s.tmp_0 = r0 = s.p___28400; + s.tmp_4 = Math_FastRandom_randomRange__P1511_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; @@ -90184,7 +78924,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___329145.fields["_x"]; + r0 = s.p___28400.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -90226,8 +78966,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___329145; - s.tmp_9 = Math_FastRandom_randomRange__P299003_mk(s); + s.tmp_5 = r0 = s.p___28400; + s.tmp_9 = Math_FastRandom_randomRange__P1511_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = 0; @@ -90239,24 +78979,24 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 - s.tmp_4); s.tmp_7 = r0; - r0 = s.p___329145.fields["_y"]; + r0 = s.p___28400.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___329145; + r0 = s.p___28400; return leave(s, r0) default: oops() } } } -particles_AreaFactory_createParticle__P299224.info = {"start":4334,"length":426,"line":148,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} -particles_AreaFactory_createParticle__P299224.info = {"start":4334,"length":426,"line":148,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} +particles_AreaFactory_createParticle__P1732.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__P1732.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__P299224_mk(s) { +function particles_AreaFactory_createParticle__P1732_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P299224, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_createParticle__P1732, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -90270,7 +79010,7 @@ function particles_AreaFactory_createParticle__P299224_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___329145: undefined, + p___28400: undefined, arg0: undefined, arg1: undefined, } } @@ -90279,7 +79019,7 @@ function particles_AreaFactory_createParticle__P299224_mk(s) { -function particles_SprayFactory_createParticle__P299217(s) { +function particles_SprayFactory_createParticle__P1725(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -90289,26 +79029,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.p___329194 = undefined; - s.angle___329198 = undefined; + s.p___28449 = undefined; + s.angle___28453 = 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__C299215_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P299212_mk(s); + if (!checkSubtype(r0, particles_SprayFactory__C1723_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P1720_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___329194 = (r0); + s.p___28449 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P299003_mk(s); - s.tmp_3.arg0 = globals.galois___299194; + s.tmp_3 = Math_FastRandom_randomRange__P1511_mk(s); + s.tmp_3.arg0 = globals.galois___1702; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; @@ -90319,9 +79059,9 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 % 100); - s.angle___329198 = (r0); - s.tmp_0 = r0 = s.p___329194; - r0 = pxsim_Array__getAt(globals.cachedSin___299189, s.angle___329198); + s.angle___28453 = (r0); + s.tmp_0 = r0 = s.p___28449; + r0 = pxsim_Array__getAt(globals.cachedSin___1697, s.angle___28453); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -90330,8 +79070,8 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vx"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___329194; - r0 = pxsim_Array__getAt(globals.cachedCos___299190, s.angle___329198); + s.tmp_0 = r0 = s.p___28449; + r0 = pxsim_Array__getAt(globals.cachedCos___1698, s.angle___28453); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -90340,25 +79080,25 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___329194; + r0 = s.p___28449; return leave(s, r0) default: oops() } } } -particles_SprayFactory_createParticle__P299217.info = {"start":2851,"length":333,"line":105,"column":8,"endLine":113,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} -particles_SprayFactory_createParticle__P299217.info = {"start":2851,"length":333,"line":105,"column":8,"endLine":113,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} +particles_SprayFactory_createParticle__P1725.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__P1725.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__P299217_mk(s) { +function particles_SprayFactory_createParticle__P1725_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_createParticle__P299217, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_createParticle__P1725, 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___329194: undefined, - angle___329198: undefined, + p___28449: undefined, + angle___28453: undefined, arg0: undefined, arg1: undefined, } } @@ -90367,7 +79107,7 @@ function particles_SprayFactory_createParticle__P299217_mk(s) { -function effects_ScreenEffect_startScreenEffect__P299290(s) { +function effects_ScreenEffect_startScreenEffect__P1798(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -90384,7 +79124,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C299288_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ScreenEffect__C1796_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -90403,7 +79143,7 @@ switch (step) { r0 = s.tmp_3; { step = 4; continue; } case 3: - s.tmp_4 = particles_ParticleSource_enabled__P299159_mk(s); + s.tmp_4 = particles_ParticleSource_enabled__P1667_mk(s); r0 = s.arg0.fields["source"]; s.tmp_4.arg0 = r0; s.pc = 14; return s.tmp_4; @@ -90424,14 +79164,14 @@ switch (step) { { step = 13; continue; } case 7: case 8: - s.tmp_0 = effects_ScreenEffect_endScreenEffect__P299291_mk(s); + s.tmp_0 = effects_ScreenEffect_endScreenEffect__P1799_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(effects_SceneAnchor__C299282_VT); + r0 = pxsim_pxtcore_mkClassInstance(effects_SceneAnchor__C1790_VT); s.tmp_0 = r0; - s.tmp_1 = effects_SceneAnchor_constructor__P299287_mk(s); + s.tmp_1 = effects_SceneAnchor_constructor__P1795_mk(s); s.tmp_1.arg0 = s.tmp_0; s.pc = 16; return s.tmp_1; case 16: @@ -90478,13 +79218,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_startScreenEffect__P299290.info = {"start":3680,"length":601,"line":97,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"startScreenEffect","argumentNames":["this","duration","particlesPerSecond"]} -effects_ScreenEffect_startScreenEffect__P299290.info = {"start":3680,"length":601,"line":97,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"startScreenEffect","argumentNames":["this","duration","particlesPerSecond"]} +effects_ScreenEffect_startScreenEffect__P1798.info = {"start":3680,"length":601,"line":97,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"startScreenEffect","argumentNames":["this","duration","particlesPerSecond"]} +effects_ScreenEffect_startScreenEffect__P1798.info = {"start":3680,"length":601,"line":97,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"startScreenEffect","argumentNames":["this","duration","particlesPerSecond"]} -function effects_ScreenEffect_startScreenEffect__P299290_mk(s) { +function effects_ScreenEffect_startScreenEffect__P1798_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_startScreenEffect__P299290, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_startScreenEffect__P1798, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -90502,7 +79242,7 @@ function effects_ScreenEffect_startScreenEffect__P299290_mk(s) { -function effects_ScreenEffect_endScreenEffect__P299291(s) { +function effects_ScreenEffect_endScreenEffect__P1799(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -90517,12 +79257,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C299288_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ScreenEffect__C1796_VT)) failedCast(r0); r0 = s.arg0.fields["source"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = particles_ParticleSource_destroy__P299161_mk(s); + s.tmp_1 = particles_ParticleSource_destroy__P1669_mk(s); r0 = s.arg0.fields["source"]; s.tmp_1.arg0 = r0; s.pc = 3; return s.tmp_1; @@ -90535,13 +79275,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_endScreenEffect__P299291.info = {"start":4677,"length":160,"line":122,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"endScreenEffect","argumentNames":["this"]} -effects_ScreenEffect_endScreenEffect__P299291.info = {"start":4677,"length":160,"line":122,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"endScreenEffect","argumentNames":["this"]} +effects_ScreenEffect_endScreenEffect__P1799.info = {"start":4677,"length":160,"line":122,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"endScreenEffect","argumentNames":["this"]} +effects_ScreenEffect_endScreenEffect__P1799.info = {"start":4677,"length":160,"line":122,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"endScreenEffect","argumentNames":["this"]} -function effects_ScreenEffect_endScreenEffect__P299291_mk(s) { +function effects_ScreenEffect_endScreenEffect__P1799_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_endScreenEffect__P299291, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_endScreenEffect__P1799, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -90552,7 +79292,7 @@ function effects_ScreenEffect_endScreenEffect__P299291_mk(s) { -function effects_SceneAnchor_constructor__P299287(s) { +function effects_SceneAnchor_constructor__P1795(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -90567,9 +79307,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C299282_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_SceneAnchor__C1790_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = game_currentScene__P298414_mk(s); + s.tmp_2 = game_currentScene__P922_mk(s); s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; @@ -90580,13 +79320,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_SceneAnchor_constructor__P299287.info = {"start":2296,"length":79,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"inline","argumentNames":["this"]} -effects_SceneAnchor_constructor__P299287.info = {"start":2296,"length":79,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"inline","argumentNames":["this"]} +effects_SceneAnchor_constructor__P1795.info = {"start":2296,"length":79,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["this"]} +effects_SceneAnchor_constructor__P1795.info = {"start":2296,"length":79,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["this"]} -function effects_SceneAnchor_constructor__P299287_mk(s) { +function effects_SceneAnchor_constructor__P1795_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_constructor__P299287, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_constructor__P1795, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -90598,7 +79338,7 @@ function effects_SceneAnchor_constructor__P299287_mk(s) { -function effects_ImageEffect_startScreenEffect__P299332(s) { +function effects_ImageEffect_startScreenEffect__P1840(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -90608,7 +79348,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.wasRunning___329286 = undefined; + s.wasRunning___28541 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -90616,8 +79356,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C299329_VT)) failedCast(r0); - s.tmp_4 = game_currentScene__P298414_mk(s); + if (!checkSubtype(r0, effects_ImageEffect__C1837_VT)) failedCast(r0); + s.tmp_4 = game_currentScene__P922_mk(s); s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; @@ -90645,7 +79385,7 @@ switch (step) { r0 = s.arg0.fields["times"]; s.tmp_9 = r0; r0 = (s.tmp_9 != undefined); - s.wasRunning___329286 = (r0); + s.wasRunning___28541 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 3; continue; } r0 = s.arg1; @@ -90656,13 +79396,13 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (s.arg0).fields["times"] = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(s.wasRunning___329286); + r0 = pxsim_numops_toBoolDecr(s.wasRunning___28541); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P329299); + r0 = pxsim_pxtcore_mkAction(2, inline__P28554); s.tmp_2 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_2, 1, s.arg2); @@ -90674,13 +79414,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_startScreenEffect__P299332.info = {"start":1457,"length":637,"line":41,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game---hw/effects.ts","functionName":"startScreenEffect","argumentNames":["this","times","delay"]} -effects_ImageEffect_startScreenEffect__P299332.info = {"start":1457,"length":637,"line":41,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game---hw/effects.ts","functionName":"startScreenEffect","argumentNames":["this","times","delay"]} +effects_ImageEffect_startScreenEffect__P1840.info = {"start":1457,"length":637,"line":41,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/effects.ts","functionName":"startScreenEffect","argumentNames":["this","times","delay"]} +effects_ImageEffect_startScreenEffect__P1840.info = {"start":1457,"length":637,"line":41,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/effects.ts","functionName":"startScreenEffect","argumentNames":["this","times","delay"]} -function effects_ImageEffect_startScreenEffect__P299332_mk(s) { +function effects_ImageEffect_startScreenEffect__P1840_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_startScreenEffect__P299332, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_startScreenEffect__P1840, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -90692,7 +79432,7 @@ function effects_ImageEffect_startScreenEffect__P299332_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - wasRunning___329286: undefined, + wasRunning___28541: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -90702,7 +79442,7 @@ function effects_ImageEffect_startScreenEffect__P299332_mk(s) { -function inline__P329299(s) { +function inline__P28554(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -90719,9 +79459,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = effects_ImageEffect_change__P299331_mk(s); + s.tmp_2 = effects_ImageEffect_change__P1839_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.tmp_3 = scene_backgroundImage__P298647_mk(s); + s.tmp_3 = scene_backgroundImage__P1155_mk(s); s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; @@ -90738,7 +79478,7 @@ switch (step) { case 3: // jmp value (already in r0) s.tmp_0 = r0; - s.tmp_1 = pause__P297860_mk(s); + s.tmp_1 = pause__P289_mk(s); s.tmp_1.arg0 = s.tmp_0; s.pc = 7; return s.tmp_1; case 7: @@ -90756,13 +79496,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P329299.info = {"start":1764,"length":304,"line":47,"column":38,"endLine":54,"endColumn":17,"fileName":"pxt_modules/game---hw/effects.ts","functionName":"inline","argumentNames":[]} -inline__P329299.info = {"start":1764,"length":304,"line":47,"column":38,"endLine":54,"endColumn":17,"fileName":"pxt_modules/game---hw/effects.ts","functionName":"inline","argumentNames":[]} +inline__P28554.info = {"start":1764,"length":304,"line":47,"column":38,"endLine":54,"endColumn":17,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":[]} +inline__P28554.info = {"start":1764,"length":304,"line":47,"column":38,"endLine":54,"endColumn":17,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":[]} -function inline__P329299_mk(s) { +function inline__P28554_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P329299, depth: s.depth + 1, + parent: s, fn: inline__P28554, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -90774,7 +79514,7 @@ function inline__P329299_mk(s) { -function scene_backgroundImage__P298647(s) { +function scene_backgroundImage__P1155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -90784,14 +79524,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___329318 = undefined; - s.tmp_0 = game_currentScene__P298414_mk(s); + s.scene___28573 = undefined; + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___329318 = (r0); - s.tmp_0 = scene_Background_image__P298499_mk(s); - r0 = s.scene___329318.fields["background"]; + s.scene___28573 = (r0); + s.tmp_0 = scene_Background_image__P1007_mk(s); + r0 = s.scene___28573.fields["background"]; s.tmp_0.arg0 = r0; s.pc = 2; return s.tmp_0; case 2: @@ -90799,23 +79539,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_backgroundImage__P298647.info = {"start":2070,"length":130,"line":74,"column":4,"endLine":77,"endColumn":5,"fileName":"pxt_modules/game---hw/scenes.ts","functionName":"backgroundImage","argumentNames":[]} -scene_backgroundImage__P298647.info = {"start":2070,"length":130,"line":74,"column":4,"endLine":77,"endColumn":5,"fileName":"pxt_modules/game---hw/scenes.ts","functionName":"backgroundImage","argumentNames":[]} +scene_backgroundImage__P1155.info = {"start":2070,"length":130,"line":74,"column":4,"endLine":77,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"backgroundImage","argumentNames":[]} +scene_backgroundImage__P1155.info = {"start":2070,"length":130,"line":74,"column":4,"endLine":77,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"backgroundImage","argumentNames":[]} -function scene_backgroundImage__P298647_mk(s) { +function scene_backgroundImage__P1155_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_backgroundImage__P298647, depth: s.depth + 1, + parent: s, fn: scene_backgroundImage__P1155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___329318: undefined, + scene___28573: undefined, } } -function scene_Background_hasBackgroundImage__P298501(s) { +function scene_Background_hasBackgroundImage__P1009(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -90830,7 +79570,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C298497_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C1005_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -90843,13 +79583,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_hasBackgroundImage__P298501.info = {"start":1081,"length":75,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game---hw/background.ts","functionName":"hasBackgroundImage","argumentNames":["this"]} -scene_Background_hasBackgroundImage__P298501.info = {"start":1081,"length":75,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game---hw/background.ts","functionName":"hasBackgroundImage","argumentNames":["this"]} +scene_Background_hasBackgroundImage__P1009.info = {"start":1081,"length":75,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"hasBackgroundImage","argumentNames":["this"]} +scene_Background_hasBackgroundImage__P1009.info = {"start":1081,"length":75,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"hasBackgroundImage","argumentNames":["this"]} -function scene_Background_hasBackgroundImage__P298501_mk(s) { +function scene_Background_hasBackgroundImage__P1009_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_hasBackgroundImage__P298501, depth: s.depth + 1, + parent: s, fn: scene_Background_hasBackgroundImage__P1009, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -90862,42 +79602,7 @@ function scene_Background_hasBackgroundImage__P298501_mk(s) { -function music_Melody_toString__P300225(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, music_Melody__C300215_VT)) failedCast(r0); - r0 = s.arg0.fields["_text"]; - return leave(s, r0) - default: oops() -} } } -music_Melody_toString__P300225.info = {"start":9607,"length":53,"line":302,"column":8,"endLine":304,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"toString","argumentNames":["this"]} -music_Melody_toString__P300225.info = {"start":9607,"length":53,"line":302,"column":8,"endLine":304,"endColumn":9,"fileName":"pxt_modules/mixer---stm32/melody.ts","functionName":"toString","argumentNames":["this"]} - -function music_Melody_toString__P300225_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_Melody_toString__P300225, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function scene_Scene_data__P298635(s) { +function scene_Scene_data__P1143(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -90912,19 +79617,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C298633_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C1141_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Scene_data__P298635.info = {"start":6208,"length":53,"line":169,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"data","argumentNames":["this"]} -scene_Scene_data__P298635.isGetter = true; -scene_Scene_data__P298635.info = {"start":6208,"length":53,"line":169,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/game---hw/scene.ts","functionName":"data","argumentNames":["this"]} +scene_Scene_data__P1143.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__P1143.isGetter = true; +scene_Scene_data__P1143.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__P298635_mk(s) { +function scene_Scene_data__P1143_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_data__P298635, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P1143, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -90933,7 +79638,7 @@ function scene_Scene_data__P298635_mk(s) { -function Sprite_toString__P298277(s) { +function Sprite_toString__P785(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -90948,7 +79653,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -90966,7 +79671,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P298229_mk(s); + s.tmp_14 = Sprite_x__P737_mk(s); s.tmp_14.arg0 = s.arg0; s.pc = 2; return s.tmp_14; case 2: @@ -90985,7 +79690,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P298231_mk(s); + s.tmp_17 = Sprite_y__P739_mk(s); s.tmp_17.arg0 = s.arg0; s.pc = 4; return s.tmp_17; case 4: @@ -91004,7 +79709,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P298233_mk(s); + s.tmp_20 = Sprite_vx__P741_mk(s); s.tmp_20.arg0 = s.arg0; s.pc = 6; return s.tmp_20; case 6: @@ -91023,7 +79728,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P298235_mk(s); + s.tmp_23 = Sprite_vy__P743_mk(s); s.tmp_23.arg0 = s.arg0; s.pc = 8; return s.tmp_23; case 8: @@ -91044,13 +79749,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_toString__P298277.info = {"start":31729,"length":93,"line":937,"column":4,"endLine":939,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"toString","argumentNames":["this"]} -Sprite_toString__P298277.info = {"start":31729,"length":93,"line":937,"column":4,"endLine":939,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"toString","argumentNames":["this"]} +Sprite_toString__P785.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__P785.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__P298277_mk(s) { +function Sprite_toString__P785_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P298277, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P785, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -91083,7 +79788,7 @@ function Sprite_toString__P298277_mk(s) { -function Sprite___update__P298265(s) { +function Sprite___update__P773(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -91093,8 +79798,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.bounce___329437 = undefined; - s.tm___329442 = undefined; + s.bounce___28692 = undefined; + s.tm___28697 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -91102,7 +79807,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -91124,7 +79829,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__P298275_mk(s); + s.tmp_0 = Sprite__destroyCore__P783_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 33; return s.tmp_0; case 33: @@ -91142,7 +79847,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_isOutOfScreen__P298263_mk(s); + s.tmp_2 = Sprite_isOutOfScreen__P771_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.pc = 34; return s.tmp_2; @@ -91153,7 +79858,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P298274_mk(s); + s.tmp_4 = Sprite_destroy__P782_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; @@ -91165,13 +79870,13 @@ switch (step) { r0 = s.arg0.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___329437 = (r0); - s.tmp_0 = game_currentScene__P298414_mk(s); + s.bounce___28692 = (r0); + s.tmp_0 = game_currentScene__P922_mk(s); s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___329442 = (r0); + s.tm___28697 = (r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); @@ -91181,13 +79886,13 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 9: - s.tmp_2 = r0 = s.bounce___329437; + s.tmp_2 = r0 = s.bounce___28692; 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___329442); + r0 = pxsim_numops_toBoolDecr(s.tm___28697); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 11: @@ -91199,7 +79904,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 29; continue; } - s.tmp_8 = Sprite_left__P298249_mk(s); + s.tmp_8 = Sprite_left__P757_mk(s); s.tmp_8.arg0 = s.arg0; s.pc = 37; return s.tmp_8; case 37: @@ -91211,18 +79916,18 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 15; continue; } - s.tmp_10 = Sprite_left__P298250_mk(s); + s.tmp_10 = Sprite_left__P758_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___329437); + r0 = pxsim_numops_toBoolDecr(s.bounce___28692); if (!r0) { step = 13; continue; } - s.tmp_0 = Sprite_vx__P298234_mk(s); + s.tmp_0 = Sprite_vx__P742_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P298233_mk(s); + s.tmp_2 = Sprite_vx__P741_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 40; return s.tmp_2; case 40: @@ -91237,7 +79942,7 @@ switch (step) { case 14: { step = 20; continue; } case 15: - s.tmp_2 = Sprite_right__P298251_mk(s); + s.tmp_2 = Sprite_right__P759_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 41; return s.tmp_2; case 41: @@ -91245,7 +79950,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetX"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -91253,22 +79958,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.tmp_6 = Sprite_right__P298252_mk(s); + s.tmp_6 = Sprite_right__P760_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); + r0 = pxsim_ImageMethods.width(globals.screen___545); 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___329437); + r0 = pxsim_numops_toBoolDecr(s.bounce___28692); if (!r0) { step = 16; continue; } - s.tmp_0 = Sprite_vx__P298234_mk(s); + s.tmp_0 = Sprite_vx__P742_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P298233_mk(s); + s.tmp_2 = Sprite_vx__P741_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 44; return s.tmp_2; case 44: @@ -91284,7 +79989,7 @@ switch (step) { case 18: case 19: case 20: - s.tmp_2 = Sprite_top__P298253_mk(s); + s.tmp_2 = Sprite_top__P761_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 45; return s.tmp_2; case 45: @@ -91296,18 +80001,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_4 = Sprite_top__P298254_mk(s); + s.tmp_4 = Sprite_top__P762_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___329437); + r0 = pxsim_numops_toBoolDecr(s.bounce___28692); if (!r0) { step = 21; continue; } - s.tmp_0 = Sprite_vy__P298236_mk(s); + s.tmp_0 = Sprite_vy__P744_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P298235_mk(s); + s.tmp_2 = Sprite_vy__P743_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 48; return s.tmp_2; case 48: @@ -91322,7 +80027,7 @@ switch (step) { case 22: { step = 28; continue; } case 23: - s.tmp_2 = Sprite_bottom__P298255_mk(s); + s.tmp_2 = Sprite_bottom__P763_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 49; return s.tmp_2; case 49: @@ -91330,7 +80035,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___298046); + r0 = pxsim_ImageMethods.height(globals.screen___545); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -91338,22 +80043,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_6 = Sprite_bottom__P298256_mk(s); + s.tmp_6 = Sprite_bottom__P764_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___298046); + r0 = pxsim_ImageMethods.height(globals.screen___545); 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___329437); + r0 = pxsim_numops_toBoolDecr(s.bounce___28692); if (!r0) { step = 24; continue; } - s.tmp_0 = Sprite_vy__P298236_mk(s); + s.tmp_0 = Sprite_vy__P744_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P298235_mk(s); + s.tmp_2 = Sprite_vy__P743_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 52; return s.tmp_2; case 52: @@ -91396,13 +80101,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___update__P298265.info = {"start":21234,"length":1390,"line":648,"column":4,"endLine":687,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} -Sprite___update__P298265.info = {"start":21234,"length":1390,"line":648,"column":4,"endLine":687,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +Sprite___update__P773.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__P773.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__P298265_mk(s) { +function Sprite___update__P773_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P298265, depth: s.depth + 1, + parent: s, fn: Sprite___update__P773, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -91415,8 +80120,8 @@ function Sprite___update__P298265_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - bounce___329437: undefined, - tm___329442: undefined, + bounce___28692: undefined, + tm___28697: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -91426,7 +80131,7 @@ function Sprite___update__P298265_mk(s) { -function Sprite_bottom__P298256(s) { +function Sprite_bottom__P764(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -91442,8 +80147,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P298254_mk(s); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P762_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -91459,13 +80164,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_bottom__P298256.info = {"start":9342,"length":73,"line":341,"column":4,"endLine":343,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} -Sprite_bottom__P298256.info = {"start":9342,"length":73,"line":341,"column":4,"endLine":343,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} +Sprite_bottom__P764.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__P764.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__P298256_mk(s) { +function Sprite_bottom__P764_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P298256, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P764, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -91479,7 +80184,7 @@ function Sprite_bottom__P298256_mk(s) { -function Sprite_data__P298242(s) { +function Sprite_data__P750(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -91495,19 +80200,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_data__P298242.info = {"start":3555,"length":56,"line":142,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"data","argumentNames":["this","value"]} -Sprite_data__P298242.info = {"start":3555,"length":56,"line":142,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"data","argumentNames":["this","value"]} +Sprite_data__P750.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__P750.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__P298242_mk(s) { +function Sprite_data__P750_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P298242, depth: s.depth + 1, + parent: s, fn: Sprite_data__P750, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -91517,7 +80222,7 @@ function Sprite_data__P298242_mk(s) { -function sprites_BaseSprite___update__P298104(s) { +function sprites_BaseSprite___update__P612(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -91534,18 +80239,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C298098_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C606_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___update__P298104.info = {"start":1027,"length":46,"line":45,"column":8,"endLine":45,"endColumn":54,"fileName":"pxt_modules/game---hw/basesprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} -sprites_BaseSprite___update__P298104.info = {"start":1027,"length":46,"line":45,"column":8,"endLine":45,"endColumn":54,"fileName":"pxt_modules/game---hw/basesprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +sprites_BaseSprite___update__P612.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__P612.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__P298104_mk(s) { +function sprites_BaseSprite___update__P612_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P298104, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P612, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -91556,7 +80261,7 @@ function sprites_BaseSprite___update__P298104_mk(s) { -function sprites_BaseSprite___draw__P298102(s) { +function sprites_BaseSprite___draw__P610(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -91572,10 +80277,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C298098_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C298098_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C606_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C606_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C298098_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C606_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: @@ -91583,10 +80288,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C298098_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C606_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C298098_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C606_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: @@ -91597,13 +80302,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite___draw__P298102.info = {"start":840,"length":131,"line":37,"column":8,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game---hw/basesprite.ts","functionName":"__draw","argumentNames":["this","camera"]} -sprites_BaseSprite___draw__P298102.info = {"start":840,"length":131,"line":37,"column":8,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game---hw/basesprite.ts","functionName":"__draw","argumentNames":["this","camera"]} +sprites_BaseSprite___draw__P610.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__P610.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__P298102_mk(s) { +function sprites_BaseSprite___draw__P610_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P298102, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P610, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -91616,7 +80321,7 @@ function sprites_BaseSprite___draw__P298102_mk(s) { -function sprites_BaseSprite___drawCore__P298103(s) { +function sprites_BaseSprite___drawCore__P611(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -91632,18 +80337,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C298098_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C606_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___drawCore__P298103.info = {"start":981,"length":36,"line":43,"column":8,"endLine":43,"endColumn":44,"fileName":"pxt_modules/game---hw/basesprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -sprites_BaseSprite___drawCore__P298103.info = {"start":981,"length":36,"line":43,"column":8,"endLine":43,"endColumn":44,"fileName":"pxt_modules/game---hw/basesprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +sprites_BaseSprite___drawCore__P611.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__P611.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__P298103_mk(s) { +function sprites_BaseSprite___drawCore__P611_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P298103, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P611, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -91653,7 +80358,7 @@ function sprites_BaseSprite___drawCore__P298103_mk(s) { -function sprites_BaseSprite___visible__P298099(s) { +function sprites_BaseSprite___visible__P607(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -91668,18 +80373,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C298098_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C606_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___visible__P298099.info = {"start":524,"length":57,"line":22,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game---hw/basesprite.ts","functionName":"__visible","argumentNames":["this"]} -sprites_BaseSprite___visible__P298099.info = {"start":524,"length":57,"line":22,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game---hw/basesprite.ts","functionName":"__visible","argumentNames":["this"]} +sprites_BaseSprite___visible__P607.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__P607.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__P298099_mk(s) { +function sprites_BaseSprite___visible__P607_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P298099, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___visible__P607, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -91688,7 +80393,7 @@ function sprites_BaseSprite___visible__P298099_mk(s) { -function tileworld_GameHome_update__P311627(s) { +function tileworld_GameHome_update__P13812(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -91703,7 +80408,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_GameHome__C311623_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_GameHome__C13808_VT)) failedCast(r0); r0 = s.arg0.fields["p"]; r0 = r0.fields["help"]; s.tmp_2 = r0; @@ -91713,7 +80418,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Sprite_say__P298261_mk(s); + s.tmp_3 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = null; @@ -91725,29 +80430,29 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_ImageMethods.fill(globals.screen___298046, 0); + r0 = pxsim_ImageMethods.fill(globals.screen___545, 0); r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, 15); - r0 = pxsim_pxtcore_mkAction(1, inline__P312255); + r0 = pxsim_pxtcore_mkAction(1, inline__P14438); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); - s.tmp_1.arg0 = globals.commandImages___304679; + s.tmp_1 = helpers_arrayForEach__P59_mk(s); + s.tmp_1.arg0 = globals.commandImages___6527; s.tmp_1.arg1 = s.tmp_0; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 9; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.settingsIcon___304616; + s.tmp_0.arg3 = globals.settingsIcon___6464; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = "Tiles"; s.tmp_0.arg2 = 16; s.tmp_0.arg3 = 44; @@ -91757,10 +80462,10 @@ switch (step) { s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P312277); + r0 = pxsim_pxtcore_mkAction(1, inline__P14460); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["fixedImages"]; @@ -91769,8 +80474,8 @@ switch (step) { s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; s.tmp_0.arg1 = "Sprites"; s.tmp_0.arg2 = 16; s.tmp_0.arg3 = 76; @@ -91780,10 +80485,10 @@ switch (step) { s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P312311); + r0 = pxsim_pxtcore_mkAction(1, inline__P14494); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P297630_mk(s); + s.tmp_1 = helpers_arrayForEach__P59_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["movableImages"]; @@ -91796,13 +80501,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_GameHome_update__P311627.info = {"start":2846,"length":816,"line":74,"column":8,"endLine":95,"endColumn":9,"fileName":"home.ts","functionName":"update","argumentNames":["this"]} -tileworld_GameHome_update__P311627.info = {"start":2846,"length":816,"line":74,"column":8,"endLine":95,"endColumn":9,"fileName":"home.ts","functionName":"update","argumentNames":["this"]} +tileworld_GameHome_update__P13812.info = {"start":2846,"length":816,"line":74,"column":8,"endLine":95,"endColumn":9,"fileName":"home.ts","functionName":"update","argumentNames":["this"]} +tileworld_GameHome_update__P13812.info = {"start":2846,"length":816,"line":74,"column":8,"endLine":95,"endColumn":9,"fileName":"home.ts","functionName":"update","argumentNames":["this"]} -function tileworld_GameHome_update__P311627_mk(s) { +function tileworld_GameHome_update__P13812_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_GameHome_update__P311627, depth: s.depth + 1, + parent: s, fn: tileworld_GameHome_update__P13812, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -91815,7 +80520,7 @@ function tileworld_GameHome_update__P311627_mk(s) { -function inline__P312255(s) { +function inline__P14438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -91830,7 +80535,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = 0; @@ -91842,13 +80547,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P312255.info = {"start":3053,"length":69,"line":80,"column":34,"endLine":82,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} -inline__P312255.info = {"start":3053,"length":69,"line":80,"column":34,"endLine":82,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P14438.info = {"start":3053,"length":69,"line":80,"column":34,"endLine":82,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P14438.info = {"start":3053,"length":69,"line":80,"column":34,"endLine":82,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P312255_mk(s) { +function inline__P14438_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P312255, depth: s.depth + 1, + parent: s, fn: inline__P14438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -91859,7 +80564,7 @@ function inline__P312255_mk(s) { -function inline__P312277(s) { +function inline__P14460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -91874,7 +80579,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = (s.arg1 << 1); s.tmp_1 = r0; @@ -91896,13 +80601,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P312277.info = {"start":3263,"length":129,"line":86,"column":35,"endLine":89,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} -inline__P312277.info = {"start":3263,"length":129,"line":86,"column":35,"endLine":89,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P14460.info = {"start":3263,"length":129,"line":86,"column":35,"endLine":89,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P14460.info = {"start":3263,"length":129,"line":86,"column":35,"endLine":89,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P312277_mk(s) { +function inline__P14460_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P312277, depth: s.depth + 1, + parent: s, fn: inline__P14460, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -91915,7 +80620,7 @@ function inline__P312277_mk(s) { -function inline__P312311(s) { +function inline__P14494(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -91930,7 +80635,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P306469_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P8654_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = (s.arg1 << 1); s.tmp_1 = r0; @@ -91960,13 +80665,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P312311.info = {"start":3488,"length":162,"line":91,"column":37,"endLine":94,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} -inline__P312311.info = {"start":3488,"length":162,"line":91,"column":37,"endLine":94,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P14494.info = {"start":3488,"length":162,"line":91,"column":37,"endLine":94,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P14494.info = {"start":3488,"length":162,"line":91,"column":37,"endLine":94,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P312311_mk(s) { +function inline__P14494_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P312311, depth: s.depth + 1, + parent: s, fn: inline__P14494, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -91983,7 +80688,7 @@ function inline__P312311_mk(s) { -function tileworld_GameHome_cursorMove__P311626(s) { +function tileworld_GameHome_cursorMove__P13811(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -91993,8 +80698,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.index___312205 = undefined; - s.message___312215 = undefined; + s.index___14388 = undefined; + s.message___14398 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -92002,13 +80707,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_GameHome__C311623_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_GameHome__C13808_VT)) failedCast(r0); r0 = s.arg0.fields["p"]; r0 = r0.fields["help"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_3 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; s.pc = 9; return s.tmp_3; @@ -92019,7 +80724,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 1; continue; } - s.tmp_5 = Sprite_x__P298229_mk(s); + s.tmp_5 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_5.arg0 = r0; s.pc = 10; return s.tmp_5; @@ -92029,7 +80734,7 @@ switch (step) { r0 = (s.tmp_4 + 8); { step = 2; continue; } case 1: - s.tmp_7 = Sprite_x__P298229_mk(s); + s.tmp_7 = Sprite_x__P737_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_7.arg0 = r0; s.pc = 11; return s.tmp_7; @@ -92040,17 +80745,17 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_8 = r0; - s.tmp_9 = Sprite_x__P298230_mk(s); + s.tmp_9 = Sprite_x__P738_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.tmp_8; s.pc = 12; return s.tmp_9; case 12: r0 = s.retval; - s.tmp_0 = Sprite_y__P298232_mk(s); + s.tmp_0 = Sprite_y__P740_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; - s.tmp_2 = Sprite_y__P298231_mk(s); + s.tmp_2 = Sprite_y__P739_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_2.arg0 = r0; s.pc = 14; return s.tmp_2; @@ -92064,14 +80769,14 @@ switch (step) { r0 = s.retval; r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; s.pc = 16; return s.tmp_4; @@ -92079,8 +80784,8 @@ switch (step) { r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_3); - s.index___312205 = (r0); - s.tmp_2 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.index___14388 = (r0); + s.tmp_2 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; s.pc = 17; return s.tmp_2; @@ -92091,16 +80796,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_3 = tileworld_getHelp__P302000_mk(s); - s.tmp_3.arg0 = globals.helpString___312066; - s.tmp_4 = tileworld_RuleVisualsBase_col__P306467_mk(s); + s.tmp_3 = tileworld_getHelp__P3844_mk(s); + s.tmp_3.arg0 = globals.helpString___14249; + s.tmp_4 = tileworld_RuleVisualsBase_col__P8652_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; s.tmp_3.arg1 = r0; - s.tmp_5 = tileworld_RuleVisualsBase_row__P306468_mk(s); + s.tmp_5 = tileworld_RuleVisualsBase_row__P8653_mk(s); s.tmp_5.arg0 = s.arg0; s.tmp_5.arg1 = true; s.pc = 20; return s.tmp_5; @@ -92110,11 +80815,11 @@ switch (step) { s.pc = 18; return s.tmp_3; case 18: r0 = s.retval; - s.message___312215 = (r0); - s.tmp_0 = Sprite_say__P298261_mk(s); + s.message___14398 = (r0); + s.tmp_0 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.message___312215; + s.tmp_0.arg1 = s.message___14398; s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; @@ -92123,11 +80828,11 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 3: - r0 = (s.index___312205 != 15); + r0 = (s.index___14388 != 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Sprite_say__P298261_mk(s); + s.tmp_1 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = "A: gallery"; @@ -92139,7 +80844,7 @@ switch (step) { r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = Sprite_say__P298261_mk(s); + s.tmp_0 = Sprite_say__P769_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = null; @@ -92157,13 +80862,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_GameHome_cursorMove__P311626.info = {"start":2130,"length":698,"line":58,"column":8,"endLine":72,"endColumn":9,"fileName":"home.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -tileworld_GameHome_cursorMove__P311626.info = {"start":2130,"length":698,"line":58,"column":8,"endLine":72,"endColumn":9,"fileName":"home.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_GameHome_cursorMove__P13811.info = {"start":2130,"length":698,"line":58,"column":8,"endLine":72,"endColumn":9,"fileName":"home.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_GameHome_cursorMove__P13811.info = {"start":2130,"length":698,"line":58,"column":8,"endLine":72,"endColumn":9,"fileName":"home.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -function tileworld_GameHome_cursorMove__P311626_mk(s) { +function tileworld_GameHome_cursorMove__P13811_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_GameHome_cursorMove__P311626, depth: s.depth + 1, + parent: s, fn: tileworld_GameHome_cursorMove__P13811, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -92175,8 +80880,8 @@ function tileworld_GameHome_cursorMove__P311626_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - index___312205: undefined, - message___312215: undefined, + index___14388: undefined, + message___14398: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -92186,7 +80891,7 @@ function tileworld_GameHome_cursorMove__P311626_mk(s) { -function tileworld_LoadScreen_cursorMove__P311546(s) { +function tileworld_LoadScreen_cursorMove__P13731(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -92203,7 +80908,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_LoadScreen__C311544_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_LoadScreen__C13729_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } r0 = s.arg1; @@ -92218,13 +80923,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_LoadScreen_cursorMove__P311546.info = {"start":1454,"length":119,"line":33,"column":8,"endLine":35,"endColumn":9,"fileName":"loadScreen.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -tileworld_LoadScreen_cursorMove__P311546.info = {"start":1454,"length":119,"line":33,"column":8,"endLine":35,"endColumn":9,"fileName":"loadScreen.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_LoadScreen_cursorMove__P13731.info = {"start":1454,"length":119,"line":33,"column":8,"endLine":35,"endColumn":9,"fileName":"loadScreen.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_LoadScreen_cursorMove__P13731.info = {"start":1454,"length":119,"line":33,"column":8,"endLine":35,"endColumn":9,"fileName":"loadScreen.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -function tileworld_LoadScreen_cursorMove__P311546_mk(s) { +function tileworld_LoadScreen_cursorMove__P13731_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_LoadScreen_cursorMove__P311546, depth: s.depth + 1, + parent: s, fn: tileworld_LoadScreen_cursorMove__P13731, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -92236,7 +80941,7 @@ function tileworld_LoadScreen_cursorMove__P311546_mk(s) { -function tileworld_BackgroundBase_update__P306063(s) { +function tileworld_BackgroundBase_update__P8242(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -92251,18 +80956,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_BackgroundBase__C306062_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_BackgroundBase__C8241_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_BackgroundBase_update__P306063.info = {"start":212,"length":31,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"rulesBase.ts","functionName":"update","argumentNames":["this"]} -tileworld_BackgroundBase_update__P306063.info = {"start":212,"length":31,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"rulesBase.ts","functionName":"update","argumentNames":["this"]} +tileworld_BackgroundBase_update__P8242.info = {"start":212,"length":31,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"rulesBase.ts","functionName":"update","argumentNames":["this"]} +tileworld_BackgroundBase_update__P8242.info = {"start":212,"length":31,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"rulesBase.ts","functionName":"update","argumentNames":["this"]} -function tileworld_BackgroundBase_update__P306063_mk(s) { +function tileworld_BackgroundBase_update__P8242_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_BackgroundBase_update__P306063, depth: s.depth + 1, + parent: s, fn: tileworld_BackgroundBase_update__P8242, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -92271,7 +80976,7 @@ function tileworld_BackgroundBase_update__P306063_mk(s) { -function jacdac_JDConsoleService_addAdvertisementData__P299646(s) { +function controller_AnyButton_isPressed__P675(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -92281,659 +80986,81 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.buf___329540 = undefined; + s.ctrl___28795 = undefined; + s.b___28799 = undefined; + s.unnamed56___U2 = undefined; + s.unnamed57___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_JDConsoleService__C299642_VT)) failedCast(r0); - r0 = pxsim.control.createBuffer(2); - s.buf___329540 = (r0); - s.tmp_0 = r0 = s.buf___329540; - r0 = s.arg0.fields["_consoleMode"]; - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_0, 0, s.tmp_1); - s.tmp_0 = r0 = s.buf___329540; - r0 = s.arg0.fields["status"]; - s.tmp_3 = r0; - r0 = (s.tmp_3 & 240); - s.tmp_2 = r0; - r0 = (s.tmp_2 >> 4); - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.setUint8(s.tmp_0, 1, s.tmp_1); - r0 = s.buf___329540; - return leave(s, r0) - default: oops() -} } } -jacdac_JDConsoleService_addAdvertisementData__P299646.info = {"start":1930,"length":215,"line":58,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/jacdac/consoleservice.ts","functionName":"addAdvertisementData","argumentNames":["this"]} -jacdac_JDConsoleService_addAdvertisementData__P299646.info = {"start":1930,"length":215,"line":58,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/jacdac/consoleservice.ts","functionName":"addAdvertisementData","argumentNames":["this"]} - -function jacdac_JDConsoleService_addAdvertisementData__P299646_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JDConsoleService_addAdvertisementData__P299646, 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, - buf___329540: undefined, - arg0: undefined, -} } - - - - - -function jacdac_JDService_isConnected__P299602(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, jacdac_JDService__C299596_VT)) failedCast(r0); - r0 = s.arg0.fields["status"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 & 2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = true; - { step = 2; continue; } - case 1: - r0 = false; - case 2: - // jmp value (already in r0) - s.tmp_2 = r0; - r0 = s.tmp_2; - return leave(s, r0) - default: oops() -} } } -jacdac_JDService_isConnected__P299602.info = {"start":1577,"length":121,"line":64,"column":8,"endLine":66,"endColumn":9,"fileName":"pxt_modules/jacdac/service.ts","functionName":"isConnected","argumentNames":["this"]} -jacdac_JDService_isConnected__P299602.info = {"start":1577,"length":121,"line":64,"column":8,"endLine":66,"endColumn":9,"fileName":"pxt_modules/jacdac/service.ts","functionName":"isConnected","argumentNames":["this"]} - -function jacdac_JDService_isConnected__P299602_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: jacdac_JDService_isConnected__P299602, 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 controller_AnyButton_isPressed__P298167(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___329559 = undefined; - s.b___329563 = undefined; - s.unnamed2878___U2 = undefined; - s.unnamed2879___U3 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C298165_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P298171_mk(s); + if (!checkSubtype(r0, controller_AnyButton__C673_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P679_mk(s); s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___329559 = (r0); - s.b___329563 = (undefined); - r0 = s.ctrl___329559.fields["buttons"]; - s.unnamed2878___U2 = (r0); - s.unnamed2879___U3 = (0); + s.ctrl___28795 = (r0); + s.b___28799 = (undefined); + r0 = s.ctrl___28795.fields["buttons"]; + s.unnamed56___U2 = (r0); + s.unnamed57___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed2879___U3; - r0 = pxsim_Array__length(s.unnamed2878___U2); + s.tmp_0 = r0 = s.unnamed57___U3; + r0 = pxsim_Array__length(s.unnamed56___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); - if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed2878___U2, s.unnamed2879___U3); - s.b___329563 = (r0); - s.tmp_3 = controller_Button__C298153_v0_1_mk(s); - s.tmp_3.arg0 = s.b___329563; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C298153_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: - r0 = s.retval; - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 2; continue; } - r0 = true; - { step = 5; continue; } - case 2: - case 3: - r0 = (s.unnamed2879___U3 + 1); - s.unnamed2879___U3 = (r0); - { step = 1; continue; } - case 4: - s.unnamed2878___U2 = (undefined); - r0 = false; - case 5: - return leave(s, r0) - default: oops() -} } } -controller_AnyButton_isPressed__P298167.info = {"start":5874,"length":202,"line":185,"column":8,"endLine":192,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"isPressed","argumentNames":["this"]} -controller_AnyButton_isPressed__P298167.info = {"start":5874,"length":202,"line":185,"column":8,"endLine":192,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"isPressed","argumentNames":["this"]} - -function controller_AnyButton_isPressed__P298167_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: controller_AnyButton_isPressed__P298167, 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___329559: undefined, - b___329563: undefined, - unnamed2878___U2: undefined, - unnamed2879___U3: undefined, - arg0: undefined, -} } - - - - - -function controller_Button_toString__P298154(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, controller_Button__C298153_VT)) failedCast(r0); - r0 = s.arg0.fields["_pressed"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = "down"; - { step = 2; continue; } - case 1: - r0 = "up"; - case 2: - // jmp value (already in r0) - s.tmp_1 = r0; - r0 = s.arg0.fields["id"]; - s.tmp_5 = r0; - if ((s.tmp_5) && (s.tmp_5).vtable) { - setupResume(s, 3); - pxsim_String__stringConv(s.tmp_5); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_5) + ""; } - case 3: - r0 = s.retval; - s.tmp_4 = r0; - r0 = pxsim_String__concat("btn ", s.tmp_4); - s.tmp_3 = r0; - r0 = pxsim_String__concat(s.tmp_3, " "); - s.tmp_2 = r0; - if ((s.tmp_1) && (s.tmp_1).vtable) { - setupResume(s, 4); - pxsim_String__stringConv(s.tmp_1); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_1) + ""; } - case 4: - r0 = s.retval; - s.tmp_6 = r0; - r0 = pxsim_String__concat(s.tmp_2, s.tmp_6); - return leave(s, r0) - default: oops() -} } } -controller_Button_toString__P298154.info = {"start":1479,"length":100,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"toString","argumentNames":["this"]} -controller_Button_toString__P298154.info = {"start":1479,"length":100,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game---hw/controller.ts","functionName":"toString","argumentNames":["this"]} - -function controller_Button_toString__P298154_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: controller_Button_toString__P298154, 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, -} } - - - - - -function effects_SceneAnchor_height__P299286(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, effects_SceneAnchor__C299282_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.height(globals.screen___298046); - return leaveAccessor(s, r0) - default: oops() -} } } -effects_SceneAnchor_height__P299286.info = {"start":2634,"length":58,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"height","argumentNames":["this"]} -effects_SceneAnchor_height__P299286.isGetter = true; -effects_SceneAnchor_height__P299286.info = {"start":2634,"length":58,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"height","argumentNames":["this"]} - -function effects_SceneAnchor_height__P299286_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: effects_SceneAnchor_height__P299286, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function effects_SceneAnchor_width__P299285(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, effects_SceneAnchor__C299282_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___298046); - return leaveAccessor(s, r0) - default: oops() -} } } -effects_SceneAnchor_width__P299285.info = {"start":2568,"length":56,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"width","argumentNames":["this"]} -effects_SceneAnchor_width__P299285.isGetter = true; -effects_SceneAnchor_width__P299285.info = {"start":2568,"length":56,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"width","argumentNames":["this"]} - -function effects_SceneAnchor_width__P299285_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: effects_SceneAnchor_width__P299285, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function effects_SceneAnchor_y__P299284(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, effects_SceneAnchor__C299282_VT)) failedCast(r0); - r0 = s.arg0.fields["camera"]; - s.tmp_1 = r0; - r0 = s.tmp_1.fields["_offsetY"]; - s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___298046); - s.tmp_3 = r0; - r0 = (s.tmp_3 >> 1); - s.tmp_2 = r0; - r0 = (s.tmp_0 + s.tmp_2); - return leaveAccessor(s, r0) - default: oops() -} } } -effects_SceneAnchor_y__P299284.info = {"start":2476,"length":82,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"y","argumentNames":["this"]} -effects_SceneAnchor_y__P299284.isGetter = true; -effects_SceneAnchor_y__P299284.info = {"start":2476,"length":82,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"y","argumentNames":["this"]} - -function effects_SceneAnchor_y__P299284_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: effects_SceneAnchor_y__P299284, 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 effects_SceneAnchor_x__P299283(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, effects_SceneAnchor__C299282_VT)) failedCast(r0); - r0 = s.arg0.fields["camera"]; - s.tmp_1 = r0; - r0 = s.tmp_1.fields["_offsetX"]; - s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___298046); - s.tmp_3 = r0; - r0 = (s.tmp_3 >> 1); - s.tmp_2 = r0; - r0 = (s.tmp_0 + s.tmp_2); - return leaveAccessor(s, r0) - default: oops() -} } } -effects_SceneAnchor_x__P299283.info = {"start":2385,"length":81,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"x","argumentNames":["this"]} -effects_SceneAnchor_x__P299283.isGetter = true; -effects_SceneAnchor_x__P299283.info = {"start":2385,"length":81,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game---hw/particleeffects.ts","functionName":"x","argumentNames":["this"]} - -function effects_SceneAnchor_x__P299283_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: effects_SceneAnchor_x__P299283, 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 sprites_StaticObstacle_width__P298329(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, sprites_StaticObstacle__C298325_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__P298329.info = {"start":1084,"length":68,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/game---hw/obstacle.ts","functionName":"width","argumentNames":["this"]} -sprites_StaticObstacle_width__P298329.isGetter = true; -sprites_StaticObstacle_width__P298329.info = {"start":1084,"length":68,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/game---hw/obstacle.ts","functionName":"width","argumentNames":["this"]} - -function sprites_StaticObstacle_width__P298329_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: sprites_StaticObstacle_width__P298329, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function sprites_StaticObstacle_height__P298328(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, sprites_StaticObstacle__C298325_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__P298328.info = {"start":1004,"length":70,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game---hw/obstacle.ts","functionName":"height","argumentNames":["this"]} -sprites_StaticObstacle_height__P298328.isGetter = true; -sprites_StaticObstacle_height__P298328.info = {"start":1004,"length":70,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game---hw/obstacle.ts","functionName":"height","argumentNames":["this"]} - -function sprites_StaticObstacle_height__P298328_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: sprites_StaticObstacle_height__P298328, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function sprites_StaticObstacle_y__P298327(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, sprites_StaticObstacle__C298325_VT)) failedCast(r0); - r0 = s.arg0.fields["top"]; - s.tmp_1 = r0; - r0 = s.arg0.fields["image"]; - s.tmp_3 = r0; - r0 = pxsim_ImageMethods.height(s.tmp_3); - s.tmp_2 = r0; - r0 = (s.tmp_1 + s.tmp_2); - s.tmp_0 = r0; - r0 = (s.tmp_0 >> 1); - return leaveAccessor(s, r0) - default: oops() -} } } -sprites_StaticObstacle_y__P298327.info = {"start":919,"length":75,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game---hw/obstacle.ts","functionName":"y","argumentNames":["this"]} -sprites_StaticObstacle_y__P298327.isGetter = true; -sprites_StaticObstacle_y__P298327.info = {"start":919,"length":75,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game---hw/obstacle.ts","functionName":"y","argumentNames":["this"]} - -function sprites_StaticObstacle_y__P298327_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: sprites_StaticObstacle_y__P298327, 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 sprites_StaticObstacle_x__P298326(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, sprites_StaticObstacle__C298325_VT)) failedCast(r0); - r0 = s.arg0.fields["left"]; - s.tmp_1 = r0; - r0 = s.arg0.fields["image"]; - s.tmp_3 = r0; - r0 = pxsim_ImageMethods.width(s.tmp_3); - s.tmp_2 = r0; - r0 = (s.tmp_1 + s.tmp_2); - s.tmp_0 = r0; - r0 = (s.tmp_0 >> 1); - return leaveAccessor(s, r0) - default: oops() -} } } -sprites_StaticObstacle_x__P298326.info = {"start":834,"length":75,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game---hw/obstacle.ts","functionName":"x","argumentNames":["this"]} -sprites_StaticObstacle_x__P298326.isGetter = true; -sprites_StaticObstacle_x__P298326.info = {"start":834,"length":75,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game---hw/obstacle.ts","functionName":"x","argumentNames":["this"]} - -function sprites_StaticObstacle_x__P298326_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: sprites_StaticObstacle_x__P298326, 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 jacdac_TouchDebugView_renderState__P299805(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; - if (!checkSubtype(r0, jacdac_TouchDebugView__C299802_VT)) failedCast(r0); - r0 = pxsim_String_.mkEmpty(); - s.tmp_0 = r0; - r0 = pxsim.BufferMethods.getNumber(s.arg1, 4, 0); - s.tmp_2 = r0; - if ((s.tmp_2) && (s.tmp_2).vtable) { - setupResume(s, 1); - pxsim_String__stringConv(s.tmp_2); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_2) + ""; } - case 1: + if (!r0) { step = 4; continue; } + r0 = pxsim_Array__getAt(s.unnamed56___U2, s.unnamed57___U3); + s.b___28799 = (r0); + s.tmp_3 = controller_Button__C661_v0_1_mk(s); + s.tmp_3.arg0 = s.b___28799; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C661_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: r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); + s.tmp_2 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_2); + if (!r0) { step = 2; continue; } + r0 = true; + { step = 5; continue; } + case 2: + case 3: + r0 = (s.unnamed57___U3 + 1); + s.unnamed57___U3 = (r0); + { step = 1; continue; } + case 4: + s.unnamed56___U2 = (undefined); + r0 = false; + case 5: return leave(s, r0) default: oops() } } } -jacdac_TouchDebugView_renderState__P299805.info = {"start":7025,"length":111,"line":222,"column":8,"endLine":224,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderState","argumentNames":["this","data"]} -jacdac_TouchDebugView_renderState__P299805.info = {"start":7025,"length":111,"line":222,"column":8,"endLine":224,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderState","argumentNames":["this","data"]} +controller_AnyButton_isPressed__P675.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__P675.info = {"start":5874,"length":202,"line":185,"column":8,"endLine":192,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} -function jacdac_TouchDebugView_renderState__P299805_mk(s) { +function controller_AnyButton_isPressed__P675_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_TouchDebugView_renderState__P299805, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P675, 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___28795: undefined, + b___28799: undefined, + unnamed56___U2: undefined, + unnamed57___U3: undefined, arg0: undefined, - arg1: undefined, } } -function jacdac_TouchDebugView_renderEvent__P299804(s) { +function controller_Button_toString__P662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -92945,56 +81072,72 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_TouchDebugView__C299802_VT)) failedCast(r0); - s.tmp_0 = r0 = s.arg1; - r0 = pxsim_pxtcore.switch_eq(3, s.tmp_0); - if (r0) { step = 1; continue; } - r0 = pxsim_pxtcore.switch_eq(1, s.tmp_0); - if (r0) { step = 2; continue; } - r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); - if (r0) { step = 3; continue; } - r0 = pxsim_pxtcore.switch_eq(4, s.tmp_0); - if (r0) { step = 4; continue; } - r0 = s.tmp_0; - { step = 5; continue; } + if (!checkSubtype(r0, controller_Button__C661_VT)) failedCast(r0); + r0 = s.arg0.fields["_pressed"]; + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = "down"; + { step = 2; continue; } case 1: - r0 = "click"; - { step = 6; continue; } + r0 = "up"; case 2: + // jmp value (already in r0) + s.tmp_1 = r0; + r0 = s.arg0.fields["id"]; + s.tmp_5 = r0; + if ((s.tmp_5) && (s.tmp_5).vtable) { + setupResume(s, 3); + pxsim_String__stringConv(s.tmp_5); + checkResumeConsumed(); + return; + } else { s.retval = (s.tmp_5) + ""; } case 3: + r0 = s.retval; + s.tmp_4 = r0; + r0 = pxsim_String__concat("btn ", s.tmp_4); + s.tmp_3 = r0; + r0 = pxsim_String__concat(s.tmp_3, " "); + s.tmp_2 = r0; + if ((s.tmp_1) && (s.tmp_1).vtable) { + setupResume(s, 4); + pxsim_String__stringConv(s.tmp_1); + checkResumeConsumed(); + return; + } else { s.retval = (s.tmp_1) + ""; } case 4: - r0 = "lg click"; - { step = 6; continue; } - case 5: - r0 = pxsim_String_.mkEmpty(); - { step = 6; continue; } - r0 = undefined; - case 6: + r0 = s.retval; + s.tmp_6 = r0; + r0 = pxsim_String__concat(s.tmp_2, s.tmp_6); return leave(s, r0) default: oops() } } } -jacdac_TouchDebugView_renderEvent__P299804.info = {"start":6674,"length":341,"line":212,"column":8,"endLine":220,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderEvent","argumentNames":["this","value"]} -jacdac_TouchDebugView_renderEvent__P299804.info = {"start":6674,"length":341,"line":212,"column":8,"endLine":220,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderEvent","argumentNames":["this","value"]} +controller_Button_toString__P662.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__P662.info = {"start":1479,"length":100,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"toString","argumentNames":["this"]} -function jacdac_TouchDebugView_renderEvent__P299804_mk(s) { +function controller_Button_toString__P662_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_TouchDebugView_renderEvent__P299804, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P662, 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, - arg1: undefined, } } -function jacdac_SwitchDebugView_renderState__P299797(s) { +function effects_SceneAnchor_height__P1794(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -93006,57 +81149,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, jacdac_SwitchDebugView__C299794_VT)) failedCast(r0); - r0 = pxsim.BufferMethods.getByte(s.arg1, 0); - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); - s.tmp_3 = r0; - r0 = pxsim_Boolean__bang(s.tmp_3); - 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 = "right"; - { step = 2; continue; } - case 1: - r0 = "left"; - case 2: - // jmp value (already in r0) - s.tmp_5 = r0; - r0 = s.tmp_5; - return leave(s, r0) + if (!checkSubtype(r0, effects_SceneAnchor__C1790_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.height(globals.screen___545); + return leaveAccessor(s, r0) default: oops() } } } -jacdac_SwitchDebugView_renderState__P299797.info = {"start":6259,"length":94,"line":196,"column":8,"endLine":198,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderState","argumentNames":["this","data"]} -jacdac_SwitchDebugView_renderState__P299797.info = {"start":6259,"length":94,"line":196,"column":8,"endLine":198,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderState","argumentNames":["this","data"]} +effects_SceneAnchor_height__P1794.info = {"start":2634,"length":58,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"height","argumentNames":["this"]} +effects_SceneAnchor_height__P1794.isGetter = true; +effects_SceneAnchor_height__P1794.info = {"start":2634,"length":58,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"height","argumentNames":["this"]} -function jacdac_SwitchDebugView_renderState__P299797_mk(s) { +function effects_SceneAnchor_height__P1794_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_SwitchDebugView_renderState__P299797, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_height__P1794, 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 jacdac_SwitchDebugView_renderEvent__P299796(s) { +function effects_SceneAnchor_width__P1793(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -93068,48 +81185,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, jacdac_SwitchDebugView__C299794_VT)) failedCast(r0); - s.tmp_0 = r0 = s.arg1; - r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); - if (r0) { step = 1; continue; } - r0 = pxsim_pxtcore.switch_eq(1, s.tmp_0); - if (r0) { step = 2; continue; } - r0 = s.tmp_0; - { step = 3; continue; } - case 1: - r0 = "left"; - { step = 4; continue; } - case 2: - case 3: - r0 = pxsim_String_.mkEmpty(); - { step = 4; continue; } - r0 = undefined; - case 4: - return leave(s, r0) + if (!checkSubtype(r0, effects_SceneAnchor__C1790_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___545); + return leaveAccessor(s, r0) default: oops() } } } -jacdac_SwitchDebugView_renderEvent__P299796.info = {"start":6009,"length":240,"line":188,"column":8,"endLine":194,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderEvent","argumentNames":["this","value"]} -jacdac_SwitchDebugView_renderEvent__P299796.info = {"start":6009,"length":240,"line":188,"column":8,"endLine":194,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderEvent","argumentNames":["this","value"]} +effects_SceneAnchor_width__P1793.info = {"start":2568,"length":56,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"width","argumentNames":["this"]} +effects_SceneAnchor_width__P1793.isGetter = true; +effects_SceneAnchor_width__P1793.info = {"start":2568,"length":56,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"width","argumentNames":["this"]} -function jacdac_SwitchDebugView_renderEvent__P299796_mk(s) { +function effects_SceneAnchor_width__P1793_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_SwitchDebugView_renderEvent__P299796, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_width__P1793, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, arg0: undefined, - arg1: undefined, } } -function jacdac_MicrophoneDebugView_renderState__P299792(s) { +function effects_SceneAnchor_y__P1792(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -93121,45 +81221,43 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_MicrophoneDebugView__C299789_VT)) failedCast(r0); - r0 = pxsim.BufferMethods.getByte(s.arg1, 0); + if (!checkSubtype(r0, effects_SceneAnchor__C1790_VT)) failedCast(r0); + r0 = s.arg0.fields["camera"]; s.tmp_1 = r0; - if ((s.tmp_1) && (s.tmp_1).vtable) { - setupResume(s, 1); - pxsim_String__stringConv(s.tmp_1); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_1) + ""; } - case 1: - r0 = s.retval; + r0 = s.tmp_1.fields["_offsetY"]; s.tmp_0 = r0; - r0 = pxsim_String__concat("level ", s.tmp_0); - return leave(s, r0) + r0 = pxsim_ImageMethods.height(globals.screen___545); + s.tmp_3 = r0; + r0 = (s.tmp_3 >> 1); + s.tmp_2 = r0; + r0 = (s.tmp_0 + s.tmp_2); + return leaveAccessor(s, r0) default: oops() } } } -jacdac_MicrophoneDebugView_renderState__P299792.info = {"start":5765,"length":84,"line":178,"column":8,"endLine":180,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderState","argumentNames":["this","data"]} -jacdac_MicrophoneDebugView_renderState__P299792.info = {"start":5765,"length":84,"line":178,"column":8,"endLine":180,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderState","argumentNames":["this","data"]} +effects_SceneAnchor_y__P1792.info = {"start":2476,"length":82,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"y","argumentNames":["this"]} +effects_SceneAnchor_y__P1792.isGetter = true; +effects_SceneAnchor_y__P1792.info = {"start":2476,"length":82,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"y","argumentNames":["this"]} -function jacdac_MicrophoneDebugView_renderState__P299792_mk(s) { +function effects_SceneAnchor_y__P1792_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_MicrophoneDebugView_renderState__P299792, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_y__P1792, 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 jacdac_MicrophoneDebugView_renderEvent__P299791(s) { +function effects_SceneAnchor_x__P1791(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -93171,42 +81269,43 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_MicrophoneDebugView__C299789_VT)) failedCast(r0); - r0 = (s.arg1 == 2); + if (!checkSubtype(r0, effects_SceneAnchor__C1790_VT)) failedCast(r0); + r0 = s.arg0.fields["camera"]; + s.tmp_1 = r0; + r0 = s.tmp_1.fields["_offsetX"]; s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = "loud"; - { step = 3; continue; } - case 1: - case 2: - r0 = pxsim_String_.mkEmpty(); - case 3: - return leave(s, r0) + r0 = pxsim_ImageMethods.width(globals.screen___545); + s.tmp_3 = r0; + r0 = (s.tmp_3 >> 1); + s.tmp_2 = r0; + r0 = (s.tmp_0 + s.tmp_2); + return leaveAccessor(s, r0) default: oops() } } } -jacdac_MicrophoneDebugView_renderEvent__P299791.info = {"start":5603,"length":152,"line":172,"column":8,"endLine":176,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderEvent","argumentNames":["this","value"]} -jacdac_MicrophoneDebugView_renderEvent__P299791.info = {"start":5603,"length":152,"line":172,"column":8,"endLine":176,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderEvent","argumentNames":["this","value"]} +effects_SceneAnchor_x__P1791.info = {"start":2385,"length":81,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"x","argumentNames":["this"]} +effects_SceneAnchor_x__P1791.isGetter = true; +effects_SceneAnchor_x__P1791.info = {"start":2385,"length":81,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"x","argumentNames":["this"]} -function jacdac_MicrophoneDebugView_renderEvent__P299791_mk(s) { +function effects_SceneAnchor_x__P1791_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_MicrophoneDebugView_renderEvent__P299791, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_x__P1791, 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 jacdac_ButtonDebugView_renderState__P299784(s) { +function sprites_StaticObstacle_width__P837(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -93218,57 +81317,34 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_ButtonDebugView__C299781_VT)) failedCast(r0); - r0 = pxsim.BufferMethods.getByte(s.arg1, 0); - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); - s.tmp_3 = r0; - r0 = pxsim_Boolean__bang(s.tmp_3); - 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, sprites_StaticObstacle__C833_VT)) failedCast(r0); + r0 = s.arg0.fields["image"]; s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = "up"; - { step = 2; continue; } - case 1: - r0 = "down"; - case 2: - // jmp value (already in r0) - s.tmp_5 = r0; - r0 = s.tmp_5; - return leave(s, r0) + r0 = pxsim_ImageMethods.width(s.tmp_0); + return leaveAccessor(s, r0) default: oops() } } } -jacdac_ButtonDebugView_renderState__P299784.info = {"start":5189,"length":91,"line":156,"column":8,"endLine":158,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderState","argumentNames":["this","data"]} -jacdac_ButtonDebugView_renderState__P299784.info = {"start":5189,"length":91,"line":156,"column":8,"endLine":158,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderState","argumentNames":["this","data"]} +sprites_StaticObstacle_width__P837.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__P837.isGetter = true; +sprites_StaticObstacle_width__P837.info = {"start":1084,"length":68,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"width","argumentNames":["this"]} -function jacdac_ButtonDebugView_renderState__P299784_mk(s) { +function sprites_StaticObstacle_width__P837_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_ButtonDebugView_renderState__P299784, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P837, 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 jacdac_ButtonDebugView_renderEvent__P299783(s) { +function sprites_StaticObstacle_height__P836(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -93280,60 +81356,34 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_ButtonDebugView__C299781_VT)) failedCast(r0); - s.tmp_0 = r0 = s.arg1; - r0 = pxsim_pxtcore.switch_eq(3, s.tmp_0); - if (r0) { step = 1; continue; } - r0 = pxsim_pxtcore.switch_eq(1, s.tmp_0); - if (r0) { step = 2; continue; } - r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); - if (r0) { step = 3; continue; } - r0 = pxsim_pxtcore.switch_eq(4, s.tmp_0); - if (r0) { step = 4; continue; } - r0 = s.tmp_0; - { step = 5; continue; } - case 1: - r0 = "click"; - { step = 6; continue; } - case 2: - r0 = "down"; - { step = 6; continue; } - case 3: - r0 = "up"; - { step = 6; continue; } - case 4: - r0 = "lg click"; - { step = 6; continue; } - case 5: - r0 = pxsim_String_.mkEmpty(); - { step = 6; continue; } - r0 = undefined; - case 6: - return leave(s, r0) + if (!checkSubtype(r0, sprites_StaticObstacle__C833_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() } } } -jacdac_ButtonDebugView_renderEvent__P299783.info = {"start":4824,"length":355,"line":146,"column":8,"endLine":154,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderEvent","argumentNames":["this","value"]} -jacdac_ButtonDebugView_renderEvent__P299783.info = {"start":4824,"length":355,"line":146,"column":8,"endLine":154,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderEvent","argumentNames":["this","value"]} +sprites_StaticObstacle_height__P836.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__P836.isGetter = true; +sprites_StaticObstacle_height__P836.info = {"start":1004,"length":70,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"height","argumentNames":["this"]} -function jacdac_ButtonDebugView_renderEvent__P299783_mk(s) { +function sprites_StaticObstacle_height__P836_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_ButtonDebugView_renderEvent__P299783, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P836, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, - arg1: undefined, } } -function jacdac_AccelerometerDebugView_renderState__P299779(s) { +function sprites_StaticObstacle_y__P835(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -93343,91 +81393,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.x___329687 = undefined; - s.y___329692 = undefined; - s.z___329697 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_AccelerometerDebugView__C299776_VT)) failedCast(r0); - r0 = pxsim.BufferMethods.getNumber(s.arg1, 4, 0); - s.x___329687 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.arg1, 4, 2); - s.y___329692 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.arg1, 4, 4); - s.z___329697 = (r0); - r0 = pxsim_String_.mkEmpty(); - s.tmp_4 = r0; - if ((s.x___329687) && (s.x___329687).vtable) { - setupResume(s, 1); - pxsim_String__stringConv(s.x___329687); - checkResumeConsumed(); - return; - } else { s.retval = (s.x___329687) + ""; } - case 1: - r0 = s.retval; - s.tmp_5 = r0; - r0 = pxsim_String__concat(s.tmp_4, s.tmp_5); + if (!checkSubtype(r0, sprites_StaticObstacle__C833_VT)) failedCast(r0); + r0 = s.arg0.fields["top"]; + s.tmp_1 = r0; + r0 = s.arg0.fields["image"]; s.tmp_3 = r0; - r0 = pxsim_String__concat(s.tmp_3, " "); + r0 = pxsim_ImageMethods.height(s.tmp_3); s.tmp_2 = r0; - if ((s.y___329692) && (s.y___329692).vtable) { - setupResume(s, 2); - pxsim_String__stringConv(s.y___329692); - checkResumeConsumed(); - return; - } else { s.retval = (s.y___329692) + ""; } - case 2: - r0 = s.retval; - s.tmp_6 = r0; - r0 = pxsim_String__concat(s.tmp_2, s.tmp_6); - s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, " "); + r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; - if ((s.z___329697) && (s.z___329697).vtable) { - setupResume(s, 3); - pxsim_String__stringConv(s.z___329697); - checkResumeConsumed(); - return; - } else { s.retval = (s.z___329697) + ""; } - case 3: - r0 = s.retval; - s.tmp_7 = r0; - r0 = pxsim_String__concat(s.tmp_0, s.tmp_7); - return leave(s, r0) + r0 = (s.tmp_0 >> 1); + return leaveAccessor(s, r0) default: oops() } } } -jacdac_AccelerometerDebugView_renderState__P299779.info = {"start":4390,"length":274,"line":133,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderState","argumentNames":["this","data"]} -jacdac_AccelerometerDebugView_renderState__P299779.info = {"start":4390,"length":274,"line":133,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderState","argumentNames":["this","data"]} +sprites_StaticObstacle_y__P835.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__P835.isGetter = true; +sprites_StaticObstacle_y__P835.info = {"start":919,"length":75,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"y","argumentNames":["this"]} -function jacdac_AccelerometerDebugView_renderState__P299779_mk(s) { +function sprites_StaticObstacle_y__P835_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_AccelerometerDebugView_renderState__P299779, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P835, 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, - x___329687: undefined, - y___329692: undefined, - z___329697: undefined, arg0: undefined, - arg1: undefined, } } -function jacdac_AccelerometerDebugView_renderEvent__P299778(s) { +function sprites_StaticObstacle_x__P834(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -93439,48 +81443,43 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, jacdac_AccelerometerDebugView__C299776_VT)) failedCast(r0); - s.tmp_0 = r0 = s.arg1; - r0 = pxsim_pxtcore.switch_eq(11, s.tmp_0); - if (r0) { step = 1; continue; } - r0 = pxsim_pxtcore.switch_eq(7, s.tmp_0); - if (r0) { step = 2; continue; } - r0 = s.tmp_0; - { step = 3; continue; } - case 1: - r0 = "shake"; - { step = 4; continue; } - case 2: - r0 = "freefall"; - { step = 4; continue; } - case 3: - r0 = pxsim_String_.mkEmpty(); - case 4: - return leave(s, r0) + if (!checkSubtype(r0, sprites_StaticObstacle__C833_VT)) failedCast(r0); + r0 = s.arg0.fields["left"]; + s.tmp_1 = r0; + r0 = s.arg0.fields["image"]; + s.tmp_3 = r0; + r0 = pxsim_ImageMethods.width(s.tmp_3); + s.tmp_2 = r0; + r0 = (s.tmp_1 + s.tmp_2); + s.tmp_0 = r0; + r0 = (s.tmp_0 >> 1); + return leaveAccessor(s, r0) default: oops() } } } -jacdac_AccelerometerDebugView_renderEvent__P299778.info = {"start":4156,"length":224,"line":125,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderEvent","argumentNames":["this","data"]} -jacdac_AccelerometerDebugView_renderEvent__P299778.info = {"start":4156,"length":224,"line":125,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/jacdac/debugviews.ts","functionName":"renderEvent","argumentNames":["this","data"]} +sprites_StaticObstacle_x__P834.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__P834.isGetter = true; +sprites_StaticObstacle_x__P834.info = {"start":834,"length":75,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"x","argumentNames":["this"]} -function jacdac_AccelerometerDebugView_renderEvent__P299778_mk(s) { +function sprites_StaticObstacle_x__P834_mk(s) { checkStack(s.depth); return { - parent: s, fn: jacdac_AccelerometerDebugView_renderEvent__P299778, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P834, 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 tiles_legacy_LegacyTilemap_getTileImage__P299594(s) { +function tiles_legacy_LegacyTilemap_getTileImage__P2102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -93496,7 +81495,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); r0 = s.arg0.fields["_tileSets"]; s.tmp_3 = r0; r0 = pxsim_Array__getAt(s.tmp_3, s.arg1); @@ -93507,7 +81506,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = tiles_legacy_LegacyTilemap_generateTile__P299586_mk(s); + s.tmp_4 = tiles_legacy_LegacyTilemap_generateTile__P2094_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; s.pc = 3; return s.tmp_4; @@ -93515,7 +81514,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = tiles_legacy_TileSet_image__P299566_mk(s); + s.tmp_0 = tiles_legacy_TileSet_image__P2074_mk(s); r0 = s.arg0.fields["_tileSets"]; s.tmp_1 = r0; r0 = pxsim_Array__getAt(s.tmp_1, s.arg1); @@ -93526,13 +81525,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_getTileImage__P299594.info = {"start":14274,"length":160,"line":403,"column":8,"endLine":406,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -tiles_legacy_LegacyTilemap_getTileImage__P299594.info = {"start":14274,"length":160,"line":403,"column":8,"endLine":406,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_legacy_LegacyTilemap_getTileImage__P2102.info = {"start":14274,"length":160,"line":403,"column":8,"endLine":406,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_legacy_LegacyTilemap_getTileImage__P2102.info = {"start":14274,"length":160,"line":403,"column":8,"endLine":406,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_legacy_LegacyTilemap_getTileImage__P299594_mk(s) { +function tiles_legacy_LegacyTilemap_getTileImage__P2102_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_getTileImage__P299594, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_getTileImage__P2102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -93547,7 +81546,7 @@ function tiles_legacy_LegacyTilemap_getTileImage__P299594_mk(s) { -function tiles_legacy_LegacyTilemap_isOnWall__P299592(s) { +function tiles_legacy_LegacyTilemap_isOnWall__P2100(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -93557,24 +81556,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.hbox___329739 = undefined; - s.left___329742 = undefined; - s.right___329748 = undefined; - s.top___329754 = undefined; - s.bottom___329760 = undefined; - s.col___329766 = undefined; - s.row___329772 = undefined; + s.hbox___28875 = undefined; + s.left___28878 = undefined; + s.right___28884 = undefined; + s.top___28890 = undefined; + s.bottom___28896 = undefined; + s.col___28902 = undefined; + s.row___28908 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___329739 = (r0); - s.tmp_1 = game_Hitbox_left__P298214_mk(s); - s.tmp_1.arg0 = s.hbox___329739; + s.hbox___28875 = (r0); + s.tmp_1 = game_Hitbox_left__P722_mk(s); + s.tmp_1.arg0 = s.hbox___28875; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; @@ -93584,9 +81583,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___329742 = (r0); - s.tmp_1 = game_Hitbox_right__P298216_mk(s); - s.tmp_1.arg0 = s.hbox___329739; + s.left___28878 = (r0); + s.tmp_1 = game_Hitbox_right__P724_mk(s); + s.tmp_1.arg0 = s.hbox___28875; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -93596,9 +81595,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___329748 = (r0); - s.tmp_1 = game_Hitbox_top__P298215_mk(s); - s.tmp_1.arg0 = s.hbox___329739; + s.right___28884 = (r0); + s.tmp_1 = game_Hitbox_top__P723_mk(s); + s.tmp_1.arg0 = s.hbox___28875; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; @@ -93608,9 +81607,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___329754 = (r0); - s.tmp_1 = game_Hitbox_bottom__P298217_mk(s); - s.tmp_1.arg0 = s.hbox___329739; + s.top___28890 = (r0); + s.tmp_1 = game_Hitbox_bottom__P725_mk(s); + s.tmp_1.arg0 = s.hbox___28875; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -93620,24 +81619,24 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___329760 = (r0); - s.col___329766 = (s.left___329742); + s.bottom___28896 = (r0); + s.col___28902 = (s.left___28878); case 1: - r0 = (s.col___329766 <= s.right___329748); + r0 = (s.col___28902 <= s.right___28884); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___329772 = (s.top___329754); + s.row___28908 = (s.top___28890); case 2: - r0 = (s.row___329772 <= s.bottom___329760); + r0 = (s.row___28908 <= s.bottom___28896); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_legacy_LegacyTilemap__C299568_v12_3_mk(s); + s.tmp_2 = tiles_legacy_LegacyTilemap__C2076_v12_3_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___329766; - s.tmp_2.arg2 = s.row___329772; - if (!checkSubtype(s.tmp_2.arg0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(s.tmp_2.arg0); + s.tmp_2.arg1 = s.col___28902; + s.tmp_2.arg2 = s.row___28908; + if (!checkSubtype(s.tmp_2.arg0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.isObstacle; s.pc = 12; return s.tmp_2; case 12: @@ -93649,12 +81648,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___329772 + 1); - s.row___329772 = (r0); + r0 = (s.row___28908 + 1); + s.row___28908 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___329766 + 1); - s.col___329766 = (r0); + r0 = (s.col___28902 + 1); + s.col___28902 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -93662,25 +81661,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_isOnWall__P299592.info = {"start":13517,"length":626,"line":380,"column":8,"endLine":397,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} -tiles_legacy_LegacyTilemap_isOnWall__P299592.info = {"start":13517,"length":626,"line":380,"column":8,"endLine":397,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} +tiles_legacy_LegacyTilemap_isOnWall__P2100.info = {"start":13517,"length":626,"line":380,"column":8,"endLine":397,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} +tiles_legacy_LegacyTilemap_isOnWall__P2100.info = {"start":13517,"length":626,"line":380,"column":8,"endLine":397,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} -function tiles_legacy_LegacyTilemap_isOnWall__P299592_mk(s) { +function tiles_legacy_LegacyTilemap_isOnWall__P2100_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_isOnWall__P299592, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_isOnWall__P2100, 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___329739: undefined, - left___329742: undefined, - right___329748: undefined, - top___329754: undefined, - bottom___329760: undefined, - col___329766: undefined, - row___329772: undefined, + hbox___28875: undefined, + left___28878: undefined, + right___28884: undefined, + top___28890: undefined, + bottom___28896: undefined, + col___28902: undefined, + row___28908: undefined, arg0: undefined, arg1: undefined, } } @@ -93689,7 +81688,7 @@ function tiles_legacy_LegacyTilemap_isOnWall__P299592_mk(s) { -function tiles_legacy_LegacyTilemap_getObstacle__P299591(s) { +function tiles_legacy_LegacyTilemap_getObstacle__P2099(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -93699,8 +81698,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.index___329790 = undefined; - s.tile___329801 = undefined; + s.index___28926 = undefined; + s.tile___28937 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -93708,8 +81707,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); - s.tmp_1 = tiles_legacy_LegacyTilemap_isOutsideMap__P299587_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); + s.tmp_1 = tiles_legacy_LegacyTilemap_isOutsideMap__P2095_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -93728,32 +81727,32 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___329790 = (s.tmp_3); + s.index___28926 = (s.tmp_3); r0 = s.arg0.fields["_tileSets"]; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.index___329790); + r0 = pxsim_Array__getAt(s.tmp_1, s.index___28926); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_2 = tiles_legacy_LegacyTilemap_generateTile__P299586_mk(s); + s.tmp_2 = tiles_legacy_LegacyTilemap_generateTile__P2094_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.index___329790; + s.tmp_2.arg1 = s.index___28926; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; case 4: // jmp value (already in r0) s.tmp_3 = r0; - s.tile___329801 = (s.tmp_3); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C298325_VT); + s.tile___28937 = (s.tmp_3); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C833_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P298332_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P840_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_2 = tiles_legacy_TileSet_image__P299566_mk(s); - s.tmp_2.arg0 = s.tile___329801; + s.tmp_2 = tiles_legacy_TileSet_image__P2074_mk(s); + s.tmp_2.arg0 = s.tile___28937; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; @@ -93768,15 +81767,15 @@ switch (step) { s.tmp_6 = r0; r0 = (s.tmp_5 << s.tmp_6); s.tmp_1.arg3 = r0; - s.tmp_7 = tiles_legacy_LegacyTilemap__C299568_v5_1_mk(s); + s.tmp_7 = tiles_legacy_LegacyTilemap__C2076_v5_1_mk(s); s.tmp_7.arg0 = s.arg0; - if (!checkSubtype(s.tmp_7.arg0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(s.tmp_7.arg0); + if (!checkSubtype(s.tmp_7.arg0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(s.tmp_7.arg0); s.tmp_7.fn = s.tmp_7.arg0.vtable.methods.layer; s.pc = 9; return s.tmp_7; case 9: r0 = s.retval; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___329790; + s.tmp_1.arg5 = s.index___28926; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -93784,13 +81783,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_getObstacle__P299591.info = {"start":13070,"length":437,"line":368,"column":8,"endLine":378,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} -tiles_legacy_LegacyTilemap_getObstacle__P299591.info = {"start":13070,"length":437,"line":368,"column":8,"endLine":378,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} +tiles_legacy_LegacyTilemap_getObstacle__P2099.info = {"start":13070,"length":437,"line":368,"column":8,"endLine":378,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} +tiles_legacy_LegacyTilemap_getObstacle__P2099.info = {"start":13070,"length":437,"line":368,"column":8,"endLine":378,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} -function tiles_legacy_LegacyTilemap_getObstacle__P299591_mk(s) { +function tiles_legacy_LegacyTilemap_getObstacle__P2099_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_getObstacle__P299591, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_getObstacle__P2099, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -93800,8 +81799,8 @@ function tiles_legacy_LegacyTilemap_getObstacle__P299591_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - index___329790: undefined, - tile___329801: undefined, + index___28926: undefined, + tile___28937: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -93811,7 +81810,7 @@ function tiles_legacy_LegacyTilemap_getObstacle__P299591_mk(s) { -function tiles_legacy_LegacyTilemap_isObstacle__P299590(s) { +function tiles_legacy_LegacyTilemap_isObstacle__P2098(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -93821,7 +81820,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.t___329829 = undefined; + s.t___28965 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -93829,10 +81828,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); - s.tmp_3 = tiles_legacy_LegacyTilemap__C299568_v6_1_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); + s.tmp_3 = tiles_legacy_LegacyTilemap__C2076_v6_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.enabled; s.pc = 8; return s.tmp_3; case 8: @@ -93848,7 +81847,7 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.tmp_5 = tiles_legacy_LegacyTilemap_isOutsideMap__P299587_mk(s); + s.tmp_5 = tiles_legacy_LegacyTilemap_isOutsideMap__P2095_mk(s); s.tmp_5.arg0 = s.arg0; s.tmp_5.arg1 = s.arg1; s.tmp_5.arg2 = s.arg2; @@ -93869,14 +81868,14 @@ switch (step) { r0 = pxsim_ImageMethods.getPixel(s.tmp_8, s.arg1, s.arg2); s.tmp_7 = r0; r0 = pxsim_Array__getAt(s.tmp_6, s.tmp_7); - s.t___329829 = (r0); - s.tmp_0 = r0 = s.t___329829; + s.t___28965 = (r0); + s.tmp_0 = r0 = s.t___28965; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } r0 = s.tmp_0; { step = 6; continue; } case 5: - r0 = s.t___329829.fields["obstacle"]; + r0 = s.t___28965.fields["obstacle"]; case 6: // jmp value (already in r0) s.tmp_1 = r0; @@ -93885,13 +81884,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_isObstacle__P299590.info = {"start":12794,"length":266,"line":360,"column":8,"endLine":366,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} -tiles_legacy_LegacyTilemap_isObstacle__P299590.info = {"start":12794,"length":266,"line":360,"column":8,"endLine":366,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} +tiles_legacy_LegacyTilemap_isObstacle__P2098.info = {"start":12794,"length":266,"line":360,"column":8,"endLine":366,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} +tiles_legacy_LegacyTilemap_isObstacle__P2098.info = {"start":12794,"length":266,"line":360,"column":8,"endLine":366,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} -function tiles_legacy_LegacyTilemap_isObstacle__P299590_mk(s) { +function tiles_legacy_LegacyTilemap_isObstacle__P2098_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_isObstacle__P299590, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_isObstacle__P2098, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -93902,7 +81901,7 @@ function tiles_legacy_LegacyTilemap_isObstacle__P299590_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - t___329829: undefined, + t___28965: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -93912,7 +81911,7 @@ function tiles_legacy_LegacyTilemap_isObstacle__P299590_mk(s) { -function tiles_legacy_LegacyTilemap_layer__P299576(s) { +function tiles_legacy_LegacyTilemap_layer__P2084(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -93927,19 +81926,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C299568_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C2076_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_layer__P299576.info = {"start":7741,"length":63,"line":220,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"layer","argumentNames":["this"]} -tiles_legacy_LegacyTilemap_layer__P299576.isGetter = true; -tiles_legacy_LegacyTilemap_layer__P299576.info = {"start":7741,"length":63,"line":220,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"layer","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_layer__P2084.info = {"start":7741,"length":63,"line":220,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"layer","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_layer__P2084.isGetter = true; +tiles_legacy_LegacyTilemap_layer__P2084.info = {"start":7741,"length":63,"line":220,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/color-coded-tilemap/tilemap.ts","functionName":"layer","argumentNames":["this"]} -function tiles_legacy_LegacyTilemap_layer__P299576_mk(s) { +function tiles_legacy_LegacyTilemap_layer__P2084_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_layer__P299576, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_layer__P2084, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -93948,7 +81947,7 @@ function tiles_legacy_LegacyTilemap_layer__P299576_mk(s) { -function scene_Renderable___drawCore__P298584(s) { +function scene_Renderable___drawCore__P1092(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -93964,10 +81963,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C298581_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C1089_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___298046; + s.tmp_0.arg1 = globals.screen___545; 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); @@ -93984,13 +81983,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___drawCore__P298584.info = {"start":390,"length":86,"line":14,"column":8,"endLine":16,"endColumn":9,"fileName":"pxt_modules/game---hw/renderable.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -scene_Renderable___drawCore__P298584.info = {"start":390,"length":86,"line":14,"column":8,"endLine":16,"endColumn":9,"fileName":"pxt_modules/game---hw/renderable.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +scene_Renderable___drawCore__P1092.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__P1092.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__P298584_mk(s) { +function scene_Renderable___drawCore__P1092_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P298584, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P1092, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -94001,7 +82000,7 @@ function scene_Renderable___drawCore__P298584_mk(s) { -function scene_Renderable___visible__P298583(s) { +function scene_Renderable___visible__P1091(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -94016,7 +82015,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C298581_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C1089_VT)) failedCast(r0); s.tmp_0 = if_shouldBeVisible_1_mk(s); s.tmp_0.arg0 = s.arg0; if (!s.tmp_0.arg0.vtable.iface) { @@ -94033,13 +82032,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___visible__P298583.info = {"start":305,"length":75,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"pxt_modules/game---hw/renderable.ts","functionName":"__visible","argumentNames":["this"]} -scene_Renderable___visible__P298583.info = {"start":305,"length":75,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"pxt_modules/game---hw/renderable.ts","functionName":"__visible","argumentNames":["this"]} +scene_Renderable___visible__P1091.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__P1091.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__P298583_mk(s) { +function scene_Renderable___visible__P1091_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P298583, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P1091, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -94049,7 +82048,7 @@ function scene_Renderable___visible__P298583_mk(s) { -function particles_ShapeFactory_drawParticle__P299235(s) { +function particles_ShapeFactory_drawParticle__P1743(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -94059,7 +82058,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.pImage___329856 = undefined; + s.pImage___28992 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -94068,8 +82067,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C299232_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P299004_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C1740_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P1512_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; @@ -94079,12 +82078,12 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___329856 = (r0); + s.pImage___28992 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___329856, 15, s.tmp_0); - s.tmp_0 = r0 = globals.screen___298046; - s.tmp_1 = r0 = s.pImage___329856; + r0 = pxsim_ImageMethods.replace(s.pImage___28992, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___545; + s.tmp_1 = r0 = s.pImage___28992; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -94106,13 +82105,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_drawParticle__P299235.info = {"start":7172,"length":323,"line":229,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} -particles_ShapeFactory_drawParticle__P299235.info = {"start":7172,"length":323,"line":229,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} +particles_ShapeFactory_drawParticle__P1743.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__P1743.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__P299235_mk(s) { +function particles_ShapeFactory_drawParticle__P1743_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P299235, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P1743, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -94124,7 +82123,7 @@ function particles_ShapeFactory_drawParticle__P299235_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___329856: undefined, + pImage___28992: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -94135,7 +82134,7 @@ function particles_ShapeFactory_drawParticle__P299235_mk(s) { -function Math_FastRandom_pickRandom__P299004(s) { +function Math_FastRandom_pickRandom__P1512(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -94151,7 +82150,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C299001_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C1509_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -94174,7 +82173,7 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P299003_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P1511_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 0; r0 = pxsim_Array__length(s.arg1); @@ -94190,13 +82189,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_pickRandom__P299004.info = {"start":2325,"length":192,"line":69,"column":8,"endLine":74,"endColumn":9,"fileName":"pxt_modules/game---hw/mathUtil.ts","functionName":"pickRandom","argumentNames":["this","list"]} -Math_FastRandom_pickRandom__P299004.info = {"start":2325,"length":192,"line":69,"column":8,"endLine":74,"endColumn":9,"fileName":"pxt_modules/game---hw/mathUtil.ts","functionName":"pickRandom","argumentNames":["this","list"]} +Math_FastRandom_pickRandom__P1512.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__P1512.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__P299004_mk(s) { +function Math_FastRandom_pickRandom__P1512_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P299004, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P1512, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -94214,7 +82213,7 @@ function Math_FastRandom_pickRandom__P299004_mk(s) { -function particles_AreaFactory_drawParticle__P299225(s) { +function particles_AreaFactory_drawParticle__P1733(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -94224,7 +82223,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.col___329902 = undefined; + s.col___29038 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -94233,7 +82232,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C299222_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C1730_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -94260,8 +82259,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___329902 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___298046; + s.col___29038 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___545; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -94270,18 +82269,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___329902); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___29038); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_AreaFactory_drawParticle__P299225.info = {"start":4770,"length":222,"line":158,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} -particles_AreaFactory_drawParticle__P299225.info = {"start":4770,"length":222,"line":158,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} +particles_AreaFactory_drawParticle__P1733.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__P1733.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__P299225_mk(s) { +function particles_AreaFactory_drawParticle__P1733_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P299225, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P1733, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -94289,7 +82288,7 @@ function particles_AreaFactory_drawParticle__P299225_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___329902: undefined, + col___29038: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -94300,7 +82299,7 @@ function particles_AreaFactory_drawParticle__P299225_mk(s) { -function particles_SprayFactory_drawParticle__P299218(s) { +function particles_SprayFactory_drawParticle__P1726(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -94318,8 +82317,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C299215_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___298046; + if (!checkSubtype(r0, particles_SprayFactory__C1723_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___545; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -94333,13 +82332,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_drawParticle__P299218.info = {"start":3194,"length":118,"line":115,"column":8,"endLine":117,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","particle","x","y"]} -particles_SprayFactory_drawParticle__P299218.info = {"start":3194,"length":118,"line":115,"column":8,"endLine":117,"endColumn":9,"fileName":"pxt_modules/game---hw/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","particle","x","y"]} +particles_SprayFactory_drawParticle__P1726.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__P1726.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__P299218_mk(s) { +function particles_SprayFactory_drawParticle__P1726_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P299218, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P1726, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -94356,7 +82355,7 @@ function particles_SprayFactory_drawParticle__P299218_mk(s) { -function Sprite___drawCore__P298264(s) { +function Sprite___drawCore__P772(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -94366,21 +82365,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ox___329933 = undefined; - s.oy___329941 = undefined; - s.l___329949 = undefined; - s.t___329953 = undefined; - s.font___329969 = undefined; - s.tx___329973 = undefined; - s.ty___329975 = undefined; + s.ox___29069 = undefined; + s.oy___29077 = undefined; + s.l___29085 = undefined; + s.t___29089 = undefined; + s.font___29105 = undefined; + s.tx___29109 = undefined; + s.ty___29111 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); - s.tmp_1 = Sprite_isOutOfScreen__P298263_mk(s); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); + s.tmp_1 = Sprite_isOutOfScreen__P771_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.pc = 20; return s.tmp_1; @@ -94405,7 +82404,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___329933 = (s.tmp_4); + s.ox___29069 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -94419,35 +82418,35 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___329941 = (s.tmp_2); - s.tmp_1 = Sprite_left__P298249_mk(s); + s.oy___29077 = (s.tmp_2); + s.tmp_1 = Sprite_left__P757_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___329933); - s.l___329949 = (r0); - s.tmp_1 = Sprite_top__P298253_mk(s); + r0 = (s.tmp_0 - s.ox___29069); + s.l___29085 = (r0); + s.tmp_1 = Sprite_top__P761_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___329941); - s.t___329953 = (r0); + r0 = (s.tmp_0 - s.oy___29077); + s.t___29089 = (r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___298046, s.tmp_0, s.l___329949, s.t___329953); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___545, s.tmp_0, s.l___29085, s.t___29089); 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___329969 = (globals.font5___298006); - s.tx___329973 = (s.l___329949); - s.tmp_1 = r0 = s.t___329953; + s.font___29105 = (globals.font5___504); + s.tx___29109 = (s.l___29085); + s.tmp_1 = r0 = s.t___29089; r0 = s.arg0.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -94455,12 +82454,12 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___329975 = (r0); - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; + s.ty___29111 = (r0); + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P298229_mk(s); + s.tmp_7 = Sprite_x__P737_mk(s); s.tmp_7.arg0 = s.arg0; s.pc = 24; return s.tmp_7; case 24: @@ -94481,7 +82480,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P298231_mk(s); + s.tmp_11 = Sprite_y__P739_mk(s); s.tmp_11.arg0 = s.arg0; s.pc = 26; return s.tmp_11; case 26: @@ -94500,17 +82499,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___329973; - s.tmp_0.arg3 = s.ty___329975; + s.tmp_0.arg2 = s.tx___29109; + s.tmp_0.arg3 = s.ty___29111; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___329969; + s.tmp_0.arg5 = s.font___29105; s.tmp_0.arg6 = undefined; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = r0 = s.tx___329973; + s.tmp_0 = r0 = s.tx___29109; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___329969; + s.tmp_2.arg0 = s.font___29105; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -94523,8 +82522,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___329973 = (r0); - s.tmp_1 = Sprite_vx__P298233_mk(s); + s.tx___29109 = (r0); + s.tmp_1 = Sprite_vx__P741_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 29; return s.tmp_1; case 29: @@ -94535,7 +82534,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - s.tmp_2 = Sprite_vy__P298235_mk(s); + s.tmp_2 = Sprite_vy__P743_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 30; return s.tmp_2; case 30: @@ -94545,9 +82544,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___329975; + s.tmp_4 = r0 = s.ty___29111; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___329969; + s.tmp_7.arg0 = s.font___29105; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -94562,10 +82561,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___329975 = (r0); - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_6 = Sprite_vx__P298233_mk(s); + s.ty___29111 = (r0); + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_6 = Sprite_vx__P741_mk(s); s.tmp_6.arg0 = s.arg0; s.pc = 33; return s.tmp_6; case 33: @@ -94586,7 +82585,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P298235_mk(s); + s.tmp_10 = Sprite_vy__P743_mk(s); s.tmp_10.arg0 = s.arg0; s.pc = 35; return s.tmp_10; case 35: @@ -94605,17 +82604,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___329973; - s.tmp_0.arg3 = s.ty___329975; + s.tmp_0.arg2 = s.tx___29109; + s.tmp_0.arg3 = s.ty___29111; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___329969; + s.tmp_0.arg5 = s.font___29105; 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__P298237_mk(s); + s.tmp_1 = Sprite_ax__P745_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 37; return s.tmp_1; case 37: @@ -94626,7 +82625,7 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 11: - s.tmp_2 = Sprite_ay__P298239_mk(s); + s.tmp_2 = Sprite_ay__P747_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 38; return s.tmp_2; case 38: @@ -94636,9 +82635,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___329975; + s.tmp_4 = r0 = s.ty___29111; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___329969; + s.tmp_7.arg0 = s.font___29105; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -94653,10 +82652,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___329975 = (r0); - s.tmp_0 = helpers_imagePrint__P298010_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_6 = Sprite_ax__P298237_mk(s); + s.ty___29111 = (r0); + s.tmp_0 = helpers_imagePrint__P508_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_6 = Sprite_ax__P745_mk(s); s.tmp_6.arg0 = s.arg0; s.pc = 41; return s.tmp_6; case 41: @@ -94677,7 +82676,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P298239_mk(s); + s.tmp_10 = Sprite_ay__P747_mk(s); s.tmp_10.arg0 = s.arg0; s.pc = 43; return s.tmp_10; case 43: @@ -94696,10 +82695,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___329973; - s.tmp_0.arg3 = s.ty___329975; + s.tmp_0.arg2 = s.tx___29109; + s.tmp_0.arg3 = s.ty___29111; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___329969; + s.tmp_0.arg5 = s.font___29105; s.tmp_0.arg6 = undefined; s.pc = 40; return s.tmp_0; case 40: @@ -94708,11 +82707,11 @@ switch (step) { case 14: case 15: case 16: - r0 = pxsim_numops_toBoolDecr(globals.debug___298705); + r0 = pxsim_numops_toBoolDecr(globals.debug___1213); if (!r0) { step = 17; continue; } - s.tmp_0 = helpers_imageDrawRect__P297989_mk(s); - s.tmp_0.arg0 = globals.screen___298046; - s.tmp_3 = game_Hitbox_left__P298214_mk(s); + s.tmp_0 = helpers_imageDrawRect__P487_mk(s); + s.tmp_0.arg0 = globals.screen___545; + s.tmp_3 = game_Hitbox_left__P722_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.pc = 46; return s.tmp_3; @@ -94723,9 +82722,9 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___329933); + r0 = (s.tmp_1 - s.ox___29069); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P298215_mk(s); + s.tmp_7 = game_Hitbox_top__P723_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; s.pc = 47; return s.tmp_7; @@ -94736,7 +82735,7 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___329941); + r0 = (s.tmp_5 - s.oy___29077); s.tmp_0.arg2 = r0; r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; @@ -94763,13 +82762,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___drawCore__P298264.info = {"start":19845,"length":1383,"line":608,"column":4,"endLine":646,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -Sprite___drawCore__P298264.info = {"start":19845,"length":1383,"line":608,"column":4,"endLine":646,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +Sprite___drawCore__P772.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__P772.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__P298264_mk(s) { +function Sprite___drawCore__P772_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P298264, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P772, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -94784,13 +82783,13 @@ function Sprite___drawCore__P298264_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - ox___329933: undefined, - oy___329941: undefined, - l___329949: undefined, - t___329953: undefined, - font___329969: undefined, - tx___329973: undefined, - ty___329975: undefined, + ox___29069: undefined, + oy___29077: undefined, + l___29085: undefined, + t___29089: undefined, + font___29105: undefined, + tx___29109: undefined, + ty___29111: undefined, arg0: undefined, arg1: undefined, } } @@ -94799,7 +82798,7 @@ function Sprite___drawCore__P298264_mk(s) { -function Sprite___visible__P298246(s) { +function Sprite___visible__P754(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -94814,7 +82813,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C298227_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C735_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -94825,13 +82824,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___visible__P298246.info = {"start":7440,"length":72,"line":270,"column":4,"endLine":272,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"__visible","argumentNames":["this"]} -Sprite___visible__P298246.info = {"start":7440,"length":72,"line":270,"column":4,"endLine":272,"endColumn":5,"fileName":"pxt_modules/game---hw/sprite.ts","functionName":"__visible","argumentNames":["this"]} +Sprite___visible__P754.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__P754.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__P298246_mk(s) { +function Sprite___visible__P754_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P298246, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P754, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -94900,7 +82899,7 @@ function if_flags_1_mk(s) { } } -function particles_ParticleFactory__C299211_v0_2_mk(s) { +function particles_ParticleFactory__C1719_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -94915,7 +82914,7 @@ function particles_ParticleFactory__C299211_v0_2_mk(s) { } } -function particles_ParticleSource__C299151_v4_3_mk(s) { +function particles_ParticleSource__C1659_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95016,7 +83015,7 @@ function if_id_2_mk(s) { } } -function PhysicsEngine__C298333_v4_2_mk(s) { +function PhysicsEngine__C841_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95062,7 +83061,7 @@ function lambda_2_mk(s) { } } -function PhysicsEngine__C298333_v3_1_mk(s) { +function PhysicsEngine__C841_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95119,7 +83118,7 @@ function if_id_1_mk(s) { } } -function tiles_TileMap__C298537_v6_1_mk(s) { +function tiles_TileMap__C1045_v6_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95133,7 +83132,7 @@ function tiles_TileMap__C298537_v6_1_mk(s) { } } -function tiles_TileMap__C298537_v2_2_mk(s) { +function tiles_TileMap__C1045_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95148,7 +83147,7 @@ function tiles_TileMap__C298537_v2_2_mk(s) { } } -function tiles_TileMap__C298537_v4_1_mk(s) { +function tiles_TileMap__C1045_v4_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95162,7 +83161,7 @@ function tiles_TileMap__C298537_v4_1_mk(s) { } } -function tiles_TileMap__C298537_v1_2_mk(s) { +function tiles_TileMap__C1045_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95177,7 +83176,7 @@ function tiles_TileMap__C298537_v1_2_mk(s) { } } -function tiles_TileMap__C298537_v3_1_mk(s) { +function tiles_TileMap__C1045_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95191,7 +83190,7 @@ function tiles_TileMap__C298537_v3_1_mk(s) { } } -function controller_Button__C298153_v0_1_mk(s) { +function controller_Button__C661_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95303,7 +83302,7 @@ function if_yOffset_1_mk(s) { } } -function PhysicsEngine__C298333_v2_4_mk(s) { +function PhysicsEngine__C841_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95385,229 +83384,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C298333_v1_2_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - arg0: undefined, - arg1: undefined, -} } - - -function if_destroyHandler_1_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - arg0: undefined, -} } - - -function if_handler_2_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - arg0: undefined, - arg1: undefined, -} } - - -function PhysicsEngine__C298333_v0_2_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - arg0: undefined, - arg1: undefined, -} } - - -function game_GameOverDialog__C298689_v1_1_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - arg0: undefined, -} } - - -function if_countdownEndHandler_1_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - arg0: undefined, -} } - - -function if_startScreenEffect_1_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - arg0: undefined, -} } - - -function game_GameOverDialog__C298689_v0_1_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - arg0: undefined, -} } - - -function if_onPlayFinished_1_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - arg0: undefined, -} } - - -function lambda_5_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, - arg3: undefined, - arg4: undefined, -} } - - -function if_lifeZeroHandler_1_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - arg0: undefined, -} } - - -function tiles_TileMap__C298537_v10_2_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - arg0: undefined, - arg1: undefined, -} } - - -function tiles_TileMap__C298537_v8_3_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, -} } - - -function tiles_TileMap__C298537_v0_1_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - arg0: undefined, -} } - - -function tiles_TileMap__C298537_v11_3_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, -} } - - -function tiles_legacy_LegacyTilemap__C299568_v10_2_mk(s) { +function PhysicsEngine__C841_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95622,7 +83399,7 @@ function tiles_legacy_LegacyTilemap__C299568_v10_2_mk(s) { } } -function if_isConnected_1_mk(s) { +function if_destroyHandler_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95636,7 +83413,7 @@ function if_isConnected_1_mk(s) { } } -function jacdac_JDControlService__C299713_v1_2_mk(s) { +function if_handler_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95651,7 +83428,7 @@ function jacdac_JDControlService__C299713_v1_2_mk(s) { } } -function jacdac_JDService__C299596_v0_1_mk(s) { +function PhysicsEngine__C841_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95662,10 +83439,11 @@ function jacdac_JDService__C299596_v0_1_mk(s) { tmp_3: undefined, tmp_4: undefined, arg0: undefined, + arg1: undefined, } } -function if_onConnected_1_mk(s) { +function game_GameOverDialog__C1197_v1_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95679,7 +83457,7 @@ function if_onConnected_1_mk(s) { } } -function if_onDisconnected_1_mk(s) { +function if_countdownEndHandler_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95693,7 +83471,7 @@ function if_onDisconnected_1_mk(s) { } } -function if_writeBuffer_2_mk(s) { +function if_startScreenEffect_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95704,11 +83482,10 @@ function if_writeBuffer_2_mk(s) { tmp_3: undefined, tmp_4: undefined, arg0: undefined, - arg1: undefined, } } -function if_func_1_mk(s) { +function game_GameOverDialog__C1197_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95722,7 +83499,7 @@ function if_func_1_mk(s) { } } -function if_pkt_1_mk(s) { +function if_onPlayFinished_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95736,7 +83513,7 @@ function if_pkt_1_mk(s) { } } -function if_view_1_mk(s) { +function lambda_5_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95747,10 +83524,28 @@ function if_view_1_mk(s) { tmp_3: undefined, tmp_4: undefined, arg0: undefined, + arg1: undefined, + arg2: undefined, + arg3: undefined, + arg4: undefined, } } -function jacdac_DebugView__C299731_v0_2_mk(s) { +function if_lifeZeroHandler_1_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: null, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + tmp_3: undefined, + tmp_4: undefined, + arg0: undefined, +} } + + +function tiles_TileMap__C1045_v10_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95765,7 +83560,7 @@ function jacdac_DebugView__C299731_v0_2_mk(s) { } } -function if_paintDevices_2_mk(s) { +function tiles_TileMap__C1045_v8_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95777,10 +83572,11 @@ function if_paintDevices_2_mk(s) { tmp_4: undefined, arg0: undefined, arg1: undefined, + arg2: undefined, } } -function if_generator_1_mk(s) { +function tiles_TileMap__C1045_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95794,7 +83590,7 @@ function if_generator_1_mk(s) { } } -function if_padding_1_mk(s) { +function tiles_TileMap__C1045_v11_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95805,10 +83601,12 @@ function if_padding_1_mk(s) { tmp_3: undefined, tmp_4: undefined, arg0: undefined, + arg1: undefined, + arg2: undefined, } } -function if_cardsPerRow_1_mk(s) { +function tiles_legacy_LegacyTilemap__C2076_v10_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95819,10 +83617,11 @@ function if_cardsPerRow_1_mk(s) { tmp_3: undefined, tmp_4: undefined, arg0: undefined, + arg1: undefined, } } -function if_cardWidth_1_mk(s) { +function if_generator_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95836,7 +83635,7 @@ function if_cardWidth_1_mk(s) { } } -function if_cardSpacing_1_mk(s) { +function if_padding_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95850,7 +83649,7 @@ function if_cardSpacing_1_mk(s) { } } -function if_cardsTop_1_mk(s) { +function if_cardsPerRow_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95864,7 +83663,7 @@ function if_cardsTop_1_mk(s) { } } -function if_headerText_1_mk(s) { +function if_cardWidth_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95878,7 +83677,7 @@ function if_headerText_1_mk(s) { } } -function if_headerFont_1_mk(s) { +function if_cardSpacing_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95892,7 +83691,7 @@ function if_headerFont_1_mk(s) { } } -function if_infoTop_1_mk(s) { +function if_cardsTop_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95906,7 +83705,7 @@ function if_infoTop_1_mk(s) { } } -function if_infoFont_1_mk(s) { +function if_headerText_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95920,7 +83719,7 @@ function if_infoFont_1_mk(s) { } } -function if_getText_1_mk(s) { +function if_headerFont_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95934,7 +83733,7 @@ function if_getText_1_mk(s) { } } -function if_basicCard_1_mk(s) { +function if_infoTop_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95948,7 +83747,7 @@ function if_basicCard_1_mk(s) { } } -function if_selectedCard_1_mk(s) { +function if_infoFont_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95962,7 +83761,7 @@ function if_selectedCard_1_mk(s) { } } -function if_activeCard_1_mk(s) { +function if_getText_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95976,7 +83775,7 @@ function if_activeCard_1_mk(s) { } } -function if_z_2_mk(s) { +function if_basicCard_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -95987,11 +83786,10 @@ function if_z_2_mk(s) { tmp_3: undefined, tmp_4: undefined, arg0: undefined, - arg1: undefined, } } -function jacdac_SensorDebugView__C299751_v1_2_mk(s) { +function if_selectedCard_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96002,11 +83800,24 @@ function jacdac_SensorDebugView__C299751_v1_2_mk(s) { tmp_3: undefined, tmp_4: undefined, arg0: undefined, - arg1: undefined, } } -function jacdac_SensorDebugView__C299751_v2_2_mk(s) { +function if_activeCard_1_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: null, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + tmp_3: undefined, + tmp_4: undefined, + arg0: undefined, +} } + + +function if_z_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96021,7 +83832,7 @@ function jacdac_SensorDebugView__C299751_v2_2_mk(s) { } } -function tiles_legacy_LegacyTilemap__C299568_v6_1_mk(s) { +function tiles_legacy_LegacyTilemap__C2076_v6_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96035,7 +83846,7 @@ function tiles_legacy_LegacyTilemap__C299568_v6_1_mk(s) { } } -function tiles_legacy_LegacyTilemap__C299568_v4_1_mk(s) { +function tiles_legacy_LegacyTilemap__C2076_v4_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96049,7 +83860,7 @@ function tiles_legacy_LegacyTilemap__C299568_v4_1_mk(s) { } } -function tiles_legacy_LegacyTilemap__C299568_v3_1_mk(s) { +function tiles_legacy_LegacyTilemap__C2076_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96063,7 +83874,7 @@ function tiles_legacy_LegacyTilemap__C299568_v3_1_mk(s) { } } -function game_BaseDialog__C298658_v1_1_mk(s) { +function game_BaseDialog__C1166_v1_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96077,7 +83888,7 @@ function game_BaseDialog__C298658_v1_1_mk(s) { } } -function tiles_TileMap__C298537_v14_2_mk(s) { +function tiles_TileMap__C1045_v14_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96092,7 +83903,7 @@ function tiles_TileMap__C298537_v14_2_mk(s) { } } -function tiles_TileMap__C298537_v12_3_mk(s) { +function tiles_TileMap__C1045_v12_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96108,7 +83919,7 @@ function tiles_TileMap__C298537_v12_3_mk(s) { } } -function tiles_TileMap__C298537_v13_3_mk(s) { +function tiles_TileMap__C1045_v13_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96124,7 +83935,7 @@ function tiles_TileMap__C298537_v13_3_mk(s) { } } -function tiles_TileMap__C298537_v7_3_mk(s) { +function tiles_TileMap__C1045_v7_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96140,7 +83951,7 @@ function tiles_TileMap__C298537_v7_3_mk(s) { } } -function tiles_TileMap__C298537_v5_1_mk(s) { +function tiles_TileMap__C1045_v5_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96170,7 +83981,7 @@ function if_handler_3_mk(s) { } } -function tiles_TileMap__C298537_v15_2_mk(s) { +function tiles_TileMap__C1045_v15_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96199,7 +84010,7 @@ function if_tileIndex_1_mk(s) { } } -function particles_ParticleFactory__C299211_v1_4_mk(s) { +function particles_ParticleFactory__C1719_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96230,7 +84041,7 @@ function if_height_1_mk(s) { } } -function sprites_BaseSprite__C298098_v0_1_mk(s) { +function sprites_BaseSprite__C606_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96244,7 +84055,7 @@ function sprites_BaseSprite__C298098_v0_1_mk(s) { } } -function sprites_BaseSprite__C298098_v2_2_mk(s) { +function sprites_BaseSprite__C606_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96259,7 +84070,7 @@ function sprites_BaseSprite__C298098_v2_2_mk(s) { } } -function tiles_legacy_LegacyTilemap__C299568_v12_3_mk(s) { +function tiles_legacy_LegacyTilemap__C2076_v12_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96275,7 +84086,7 @@ function tiles_legacy_LegacyTilemap__C299568_v12_3_mk(s) { } } -function tiles_legacy_LegacyTilemap__C299568_v5_1_mk(s) { +function tiles_legacy_LegacyTilemap__C2076_v5_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96375,7 +84186,7 @@ function if_up_2_mk(s) { } } -function tileworld_LoadScreen__C311544_v0_1_mk(s) { +function tileworld_LoadScreen__C13729_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96389,7 +84200,7 @@ function tileworld_LoadScreen__C311544_v0_1_mk(s) { } } -function tileworld_ProjectSettings__C311640_v0_1_mk(s) { +function tileworld_ProjectSettings__C13825_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96417,7 +84228,7 @@ function if_width_1_mk(s) { } } -function tileworld_RuleRoom__C307843_v0_1_mk(s) { +function tileworld_RuleRoom__C10028_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96431,7 +84242,7 @@ function tileworld_RuleRoom__C307843_v0_1_mk(s) { } } -function tileworld_RuleEditor__C307920_v0_1_mk(s) { +function tileworld_RuleEditor__C10105_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96445,7 +84256,7 @@ function tileworld_RuleEditor__C307920_v0_1_mk(s) { } } -function tileworld_RuleEditor__C307920_v3_1_mk(s) { +function tileworld_RuleEditor__C10105_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96459,7 +84270,7 @@ function tileworld_RuleEditor__C307920_v3_1_mk(s) { } } -function tileworld_RuleVisualsBase__C306458_v3_1_mk(s) { +function tileworld_RuleVisualsBase__C8643_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96473,7 +84284,7 @@ function tileworld_RuleVisualsBase__C306458_v3_1_mk(s) { } } -function tileworld_RuleVisualsBase__C306458_v4_6_mk(s) { +function tileworld_RuleVisualsBase__C8643_v4_6_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96492,7 +84303,7 @@ function tileworld_RuleVisualsBase__C306458_v4_6_mk(s) { } } -function tileworld_ImageEditor__C306563_v0_1_mk(s) { +function tileworld_ImageEditor__C8748_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96520,7 +84331,7 @@ function if_update_1_mk(s) { } } -function tileworld_MapEditor__C310873_v0_1_mk(s) { +function tileworld_MapEditor__C13058_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96534,7 +84345,7 @@ function tileworld_MapEditor__C310873_v0_1_mk(s) { } } -function tiles_TileMap__C298537_v9_4_mk(s) { +function tiles_TileMap__C1045_v9_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96551,7 +84362,7 @@ function tiles_TileMap__C298537_v9_4_mk(s) { } } -function tileworld_RuleVisualsBase__C306458_v1_1_mk(s) { +function tileworld_RuleVisualsBase__C8643_v1_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96565,7 +84376,7 @@ function tileworld_RuleVisualsBase__C306458_v1_1_mk(s) { } } -function tileworld_RuleVisualsBase__C306458_v2_3_mk(s) { +function tileworld_RuleVisualsBase__C8643_v2_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -96580,14 +84391,14 @@ function tileworld_RuleVisualsBase__C306458_v2_3_mk(s) { arg2: undefined, } } -const controller_Button__C298153_VT = mkVTable({ +const controller_Button__C661_VT = mkVTable({ name: "Button", numFields: 7, classNo: 16, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P298160, + "isPressed": controller_Button_isPressed__P668, }, iface: { "_owner": null, @@ -96604,26 +84415,26 @@ const controller_Button__C298153_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "toString": controller_Button_toString__P298154, - "raiseButtonUp": controller_Button_raiseButtonUp__P298155, - "raiseButtonDown": controller_Button_raiseButtonDown__P298156, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P298157, - "onEvent": controller_Button_onEvent__P298158, - "isPressed": controller_Button_isPressed__P298160, - "pressureLevel": controller_Button_pressureLevel__P298161, - "setPressed": controller_Button_setPressed__P298162, - "__update": controller_Button___update__P298163, + "toString": controller_Button_toString__P662, + "raiseButtonUp": controller_Button_raiseButtonUp__P663, + "raiseButtonDown": controller_Button_raiseButtonDown__P664, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P665, + "onEvent": controller_Button_onEvent__P666, + "isPressed": controller_Button_isPressed__P668, + "pressureLevel": controller_Button_pressureLevel__P669, + "setPressed": controller_Button_setPressed__P670, + "__update": controller_Button___update__P671, }, - toStringMethod: controller_Button_toString__P298154, + toStringMethod: controller_Button_toString__P662, }); -const controller_AnyButton__C298165_VT = mkVTable({ +const controller_AnyButton__C673_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 17, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P298167, + "isPressed": controller_AnyButton_isPressed__P675, }, iface: { "_owner": null, @@ -96640,18 +84451,18 @@ const controller_AnyButton__C298165_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P298167, - "toString": controller_Button_toString__P298154, - "raiseButtonUp": controller_Button_raiseButtonUp__P298155, - "raiseButtonDown": controller_Button_raiseButtonDown__P298156, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P298157, - "onEvent": controller_Button_onEvent__P298158, - "pressureLevel": controller_Button_pressureLevel__P298161, - "setPressed": controller_Button_setPressed__P298162, - "__update": controller_Button___update__P298163, + "isPressed": controller_AnyButton_isPressed__P675, + "toString": controller_Button_toString__P662, + "raiseButtonUp": controller_Button_raiseButtonUp__P663, + "raiseButtonDown": controller_Button_raiseButtonDown__P664, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P665, + "onEvent": controller_Button_onEvent__P666, + "pressureLevel": controller_Button_pressureLevel__P669, + "setPressed": controller_Button_setPressed__P670, + "__update": controller_Button___update__P671, }, }); -const Math_FastRandom__C299001_VT = mkVTable({ +const Math_FastRandom__C1509_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 18, @@ -96664,12 +84475,12 @@ const Math_FastRandom__C299001_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P299002, - "randomRange": Math_FastRandom_randomRange__P299003, - "pickRandom": Math_FastRandom_pickRandom__P299004, + "next": Math_FastRandom_next__P1510, + "randomRange": Math_FastRandom_randomRange__P1511, + "pickRandom": Math_FastRandom_pickRandom__P1512, }, }); -const texteffects_TextEffect__C299343_VT = mkVTable({ +const texteffects_TextEffect__C1851_VT = mkVTable({ name: "TextEffect", numFields: 1, classNo: 19, @@ -96682,97 +84493,11 @@ const texteffects_TextEffect__C299343_VT = mkVTable({ "set/getState": null, }, }); -const jacdac_JDService__C299596_VT = mkVTable({ - name: "JDService", - numFields: 9, - classNo: 20, - lastSubtypeNo: 25, - maxBgInstances: null, - methods: { - "addAdvertisementData": jacdac_JDService_addAdvertisementData__P299599, - "send": jacdac_JDService_send__P299603, - }, - iface: { - "device": null, - "set/device": null, - "_service_class": null, - "set/_service_class": null, - "service_number": null, - "set/service_number": null, - "_mode": null, - "set/_mode": null, - "status": null, - "set/status": null, - "service_flags": null, - "set/service_flags": null, - "requiredDevice": null, - "set/requiredDevice": null, - "onConnected": null, - "set/onConnected": null, - "onDisconnected": null, - "set/onDisconnected": null, - "service_class": jacdac_JDService_service_class__P299597, - "mode": jacdac_JDService_mode__P299598, - "addAdvertisementData": jacdac_JDService_addAdvertisementData__P299599, - "isConnected": jacdac_JDService_isConnected__P299602, - "send": jacdac_JDService_send__P299603, - "_hostConnected": jacdac_JDService__hostConnected__P299604, - "_hostDisconnected": jacdac_JDService__hostDisconnected__P299605, - }, -}); -const jacdac_JDConsoleService__C299642_VT = mkVTable({ - name: "JDConsoleService", - numFields: 12, - classNo: 21, - lastSubtypeNo: 21, - maxBgInstances: null, - methods: { - "addAdvertisementData": jacdac_JDConsoleService_addAdvertisementData__P299646, - "send": jacdac_JDService_send__P299603, - }, - iface: { - "device": null, - "set/device": null, - "_service_class": null, - "set/_service_class": null, - "service_number": null, - "set/service_number": null, - "_mode": null, - "set/_mode": null, - "status": null, - "set/status": null, - "service_flags": null, - "set/service_flags": null, - "requiredDevice": null, - "set/requiredDevice": null, - "onConnected": null, - "set/onConnected": null, - "onDisconnected": null, - "set/onDisconnected": null, - "_consoleMode": null, - "set/_consoleMode": null, - "_lastListenerTime": null, - "set/_lastListenerTime": null, - "onMessageReceived": null, - "set/onMessageReceived": null, - "consoleMode": jacdac_JDConsoleService_consoleMode__P299644, - "set/consoleMode": jacdac_JDConsoleService_consoleMode__P299645, - "addAdvertisementData": jacdac_JDConsoleService_addAdvertisementData__P299646, - "minPriority": jacdac_JDConsoleService_minPriority__P299649, - "set/minPriority": jacdac_JDConsoleService_minPriority__P299650, - "service_class": jacdac_JDService_service_class__P299597, - "mode": jacdac_JDService_mode__P299598, - "isConnected": jacdac_JDService_isConnected__P299602, - "send": jacdac_JDService_send__P299603, - "_hostConnected": jacdac_JDService__hostConnected__P299604, - "_hostDisconnected": jacdac_JDService__hostDisconnected__P299605, - }, -}); -const Command__C302316_VT = mkVTable({ +const Command__C4160_VT = mkVTable({ name: "Command", numFields: 2, - classNo: 26, - lastSubtypeNo: 26, + classNo: 20, + lastSubtypeNo: 20, maxBgInstances: null, methods: { }, @@ -96783,11 +84508,11 @@ const Command__C302316_VT = mkVTable({ "set/arg": null, }, }); -const Rule__C302328_VT = mkVTable({ +const Rule__C4172_VT = mkVTable({ name: "Rule", numFields: 4, - classNo: 27, - lastSubtypeNo: 27, + classNo: 21, + lastSubtypeNo: 21, maxBgInstances: null, methods: { }, @@ -96802,11 +84527,11 @@ const Rule__C302328_VT = mkVTable({ "set/whenDo": null, }, }); -const WhenDo__C302321_VT = mkVTable({ +const WhenDo__C4165_VT = mkVTable({ name: "WhenDo", numFields: 4, - classNo: 28, - lastSubtypeNo: 28, + classNo: 22, + lastSubtypeNo: 22, maxBgInstances: null, methods: { }, @@ -96821,11 +84546,11 @@ const WhenDo__C302321_VT = mkVTable({ "set/commands": null, }, }); -const tileworld_Project__C303119_VT = mkVTable({ +const tileworld_Project__C4967_VT = mkVTable({ name: "Project", numFields: 12, - classNo: 29, - lastSubtypeNo: 29, + classNo: 23, + lastSubtypeNo: 23, maxBgInstances: null, methods: { }, @@ -96854,67 +84579,67 @@ const tileworld_Project__C303119_VT = mkVTable({ "set/movableImages": null, "rules": null, "set/rules": null, - "setPlayer": tileworld_Project_setPlayer__P303120, - "getPlayer": tileworld_Project_getPlayer__P303121, - "setWorld": tileworld_Project_setWorld__P303122, - "getWorld": tileworld_Project_getWorld__P303123, - "setSprites": tileworld_Project_setSprites__P303124, - "getSprites": tileworld_Project_getSprites__P303125, - "fixed": tileworld_Project_fixed__P303126, - "movable": tileworld_Project_movable__P303127, - "all": tileworld_Project_all__P303128, - "getImage": tileworld_Project_getImage__P303129, - "saveImage": tileworld_Project_saveImage__P303131, - "saveRule": tileworld_Project_saveRule__P303132, - "makeRule": tileworld_Project_makeRule__P303133, - "removeRule": tileworld_Project_removeRule__P303134, - "saveWorldSprites": tileworld_Project_saveWorldSprites__P303135, - "saveHelp": tileworld_Project_saveHelp__P303136, - "getRules": tileworld_Project_getRules__P303137, - "getRule": tileworld_Project_getRule__P303138, - "wrapRule": tileworld_Project_wrapRule__P303139, - "getRuleIds": tileworld_Project_getRuleIds__P303140, - "getRulesForKind": tileworld_Project_getRulesForKind__P303141, - "getKinds": tileworld_Project_getKinds__P303142, - "setKinds": tileworld_Project_setKinds__P303143, - "getType": tileworld_Project_getType__P303144, - "getDir": tileworld_Project_getDir__P303146, - "getWhenDo": tileworld_Project_getWhenDo__P303148, - "makeWhenDo": tileworld_Project_makeWhenDo__P303149, - "getAttr": tileworld_Project_getAttr__P303150, - "setAttr": tileworld_Project_setAttr__P303151, - "getInst": tileworld_Project_getInst__P303152, - "getArg": tileworld_Project_getArg__P303153, - "setInst": tileworld_Project_setInst__P303154, - "setArg": tileworld_Project_setArg__P303155, - "removeCommand": tileworld_Project_removeCommand__P303156, + "setPlayer": tileworld_Project_setPlayer__P4968, + "getPlayer": tileworld_Project_getPlayer__P4969, + "setWorld": tileworld_Project_setWorld__P4970, + "getWorld": tileworld_Project_getWorld__P4971, + "setSprites": tileworld_Project_setSprites__P4972, + "getSprites": tileworld_Project_getSprites__P4973, + "fixed": tileworld_Project_fixed__P4974, + "movable": tileworld_Project_movable__P4975, + "all": tileworld_Project_all__P4976, + "getImage": tileworld_Project_getImage__P4977, + "saveImage": tileworld_Project_saveImage__P4979, + "saveRule": tileworld_Project_saveRule__P4980, + "makeRule": tileworld_Project_makeRule__P4981, + "removeRule": tileworld_Project_removeRule__P4982, + "saveWorldSprites": tileworld_Project_saveWorldSprites__P4983, + "saveHelp": tileworld_Project_saveHelp__P4984, + "getRules": tileworld_Project_getRules__P4985, + "getRule": tileworld_Project_getRule__P4986, + "wrapRule": tileworld_Project_wrapRule__P4987, + "getRuleIds": tileworld_Project_getRuleIds__P4988, + "getRulesForKind": tileworld_Project_getRulesForKind__P4989, + "getKinds": tileworld_Project_getKinds__P4990, + "setKinds": tileworld_Project_setKinds__P4991, + "getType": tileworld_Project_getType__P4992, + "getDir": tileworld_Project_getDir__P4994, + "getWhenDo": tileworld_Project_getWhenDo__P4996, + "makeWhenDo": tileworld_Project_makeWhenDo__P4997, + "getAttr": tileworld_Project_getAttr__P4998, + "setAttr": tileworld_Project_setAttr__P4999, + "getInst": tileworld_Project_getInst__P5000, + "getArg": tileworld_Project_getArg__P5001, + "setInst": tileworld_Project_setInst__P5002, + "setArg": tileworld_Project_setArg__P5003, + "removeCommand": tileworld_Project_removeCommand__P5004, }, }); -const tileworld_BackgroundBase__C306062_VT = mkVTable({ +const tileworld_BackgroundBase__C8241_VT = mkVTable({ name: "BackgroundBase", numFields: 0, - classNo: 30, - lastSubtypeNo: 40, + classNo: 24, + lastSubtypeNo: 34, maxBgInstances: null, methods: { - "update": tileworld_BackgroundBase_update__P306063, + "update": tileworld_BackgroundBase_update__P8242, }, iface: { - "update": tileworld_BackgroundBase_update__P306063, + "update": tileworld_BackgroundBase_update__P8242, }, }); -const tileworld_RuleVisualsBase__C306458_VT = mkVTable({ +const tileworld_RuleVisualsBase__C8643_VT = mkVTable({ name: "RuleVisualsBase", numFields: 6, - classNo: 31, - lastSubtypeNo: 37, + classNo: 25, + lastSubtypeNo: 31, maxBgInstances: null, methods: { - "update": tileworld_BackgroundBase_update__P306063, - "okToMove": tileworld_RuleVisualsBase_okToMove__P306463, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P306474, - "centerImage": tileworld_RuleVisualsBase_centerImage__P306475, - "showCollision": tileworld_RuleVisualsBase_showCollision__P306477, + "update": tileworld_BackgroundBase_update__P8242, + "okToMove": tileworld_RuleVisualsBase_okToMove__P8648, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P8659, + "centerImage": tileworld_RuleVisualsBase_centerImage__P8660, + "showCollision": tileworld_RuleVisualsBase_showCollision__P8662, }, iface: { "cursor": null, @@ -96929,39 +84654,39 @@ const tileworld_RuleVisualsBase__C306458_VT = mkVTable({ "set/dirMap": null, "p": null, "set/p": null, - "moveInX": tileworld_RuleVisualsBase_moveInX__P306460, - "moveUp": tileworld_RuleVisualsBase_moveUp__P306461, - "moveDown": tileworld_RuleVisualsBase_moveDown__P306462, - "okToMove": tileworld_RuleVisualsBase_okToMove__P306463, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P306464, - "setCol": tileworld_RuleVisualsBase_setCol__P306465, - "setRow": tileworld_RuleVisualsBase_setRow__P306466, - "col": tileworld_RuleVisualsBase_col__P306467, - "row": tileworld_RuleVisualsBase_row__P306468, - "drawImage": tileworld_RuleVisualsBase_drawImage__P306469, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P306470, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P306471, - "fillTile": tileworld_RuleVisualsBase_fillTile__P306472, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P306473, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P306474, - "centerImage": tileworld_RuleVisualsBase_centerImage__P306475, - "showRuleType": tileworld_RuleVisualsBase_showRuleType__P306476, - "showCollision": tileworld_RuleVisualsBase_showCollision__P306477, - "update": tileworld_BackgroundBase_update__P306063, + "moveInX": tileworld_RuleVisualsBase_moveInX__P8645, + "moveUp": tileworld_RuleVisualsBase_moveUp__P8646, + "moveDown": tileworld_RuleVisualsBase_moveDown__P8647, + "okToMove": tileworld_RuleVisualsBase_okToMove__P8648, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P8649, + "setCol": tileworld_RuleVisualsBase_setCol__P8650, + "setRow": tileworld_RuleVisualsBase_setRow__P8651, + "col": tileworld_RuleVisualsBase_col__P8652, + "row": tileworld_RuleVisualsBase_row__P8653, + "drawImage": tileworld_RuleVisualsBase_drawImage__P8654, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P8655, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P8656, + "fillTile": tileworld_RuleVisualsBase_fillTile__P8657, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P8658, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P8659, + "centerImage": tileworld_RuleVisualsBase_centerImage__P8660, + "showRuleType": tileworld_RuleVisualsBase_showRuleType__P8661, + "showCollision": tileworld_RuleVisualsBase_showCollision__P8662, + "update": tileworld_BackgroundBase_update__P8242, }, }); -const tileworld_LoadScreen__C311544_VT = mkVTable({ +const tileworld_LoadScreen__C13729_VT = mkVTable({ name: "LoadScreen", numFields: 8, - classNo: 32, - lastSubtypeNo: 32, + classNo: 26, + lastSubtypeNo: 26, maxBgInstances: null, methods: { - "update": tileworld_LoadScreen_update__P311548, - "okToMove": tileworld_RuleVisualsBase_okToMove__P306463, - "cursorMove": tileworld_LoadScreen_cursorMove__P311546, - "centerImage": tileworld_RuleVisualsBase_centerImage__P306475, - "showCollision": tileworld_RuleVisualsBase_showCollision__P306477, + "update": tileworld_LoadScreen_update__P13733, + "okToMove": tileworld_RuleVisualsBase_okToMove__P8648, + "cursorMove": tileworld_LoadScreen_cursorMove__P13731, + "centerImage": tileworld_RuleVisualsBase_centerImage__P8660, + "showCollision": tileworld_RuleVisualsBase_showCollision__P8662, }, iface: { "cursor": null, @@ -96980,40 +84705,40 @@ const tileworld_LoadScreen__C311544_VT = mkVTable({ "set/bootstrap": null, "lastDir": null, "set/lastDir": null, - "cursorMove": tileworld_LoadScreen_cursorMove__P311546, - "makeIt": tileworld_LoadScreen_makeIt__P311547, - "update": tileworld_LoadScreen_update__P311548, - "moveInX": tileworld_RuleVisualsBase_moveInX__P306460, - "moveUp": tileworld_RuleVisualsBase_moveUp__P306461, - "moveDown": tileworld_RuleVisualsBase_moveDown__P306462, - "okToMove": tileworld_RuleVisualsBase_okToMove__P306463, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P306464, - "setCol": tileworld_RuleVisualsBase_setCol__P306465, - "setRow": tileworld_RuleVisualsBase_setRow__P306466, - "col": tileworld_RuleVisualsBase_col__P306467, - "row": tileworld_RuleVisualsBase_row__P306468, - "drawImage": tileworld_RuleVisualsBase_drawImage__P306469, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P306470, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P306471, - "fillTile": tileworld_RuleVisualsBase_fillTile__P306472, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P306473, - "centerImage": tileworld_RuleVisualsBase_centerImage__P306475, - "showRuleType": tileworld_RuleVisualsBase_showRuleType__P306476, - "showCollision": tileworld_RuleVisualsBase_showCollision__P306477, + "cursorMove": tileworld_LoadScreen_cursorMove__P13731, + "makeIt": tileworld_LoadScreen_makeIt__P13732, + "update": tileworld_LoadScreen_update__P13733, + "moveInX": tileworld_RuleVisualsBase_moveInX__P8645, + "moveUp": tileworld_RuleVisualsBase_moveUp__P8646, + "moveDown": tileworld_RuleVisualsBase_moveDown__P8647, + "okToMove": tileworld_RuleVisualsBase_okToMove__P8648, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P8649, + "setCol": tileworld_RuleVisualsBase_setCol__P8650, + "setRow": tileworld_RuleVisualsBase_setRow__P8651, + "col": tileworld_RuleVisualsBase_col__P8652, + "row": tileworld_RuleVisualsBase_row__P8653, + "drawImage": tileworld_RuleVisualsBase_drawImage__P8654, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P8655, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P8656, + "fillTile": tileworld_RuleVisualsBase_fillTile__P8657, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P8658, + "centerImage": tileworld_RuleVisualsBase_centerImage__P8660, + "showRuleType": tileworld_RuleVisualsBase_showRuleType__P8661, + "showCollision": tileworld_RuleVisualsBase_showCollision__P8662, }, }); -const tileworld_GameHome__C311623_VT = mkVTable({ +const tileworld_GameHome__C13808_VT = mkVTable({ name: "GameHome", numFields: 6, - classNo: 33, - lastSubtypeNo: 33, + classNo: 27, + lastSubtypeNo: 27, maxBgInstances: null, methods: { - "update": tileworld_GameHome_update__P311627, - "okToMove": tileworld_RuleVisualsBase_okToMove__P306463, - "cursorMove": tileworld_GameHome_cursorMove__P311626, - "centerImage": tileworld_RuleVisualsBase_centerImage__P306475, - "showCollision": tileworld_RuleVisualsBase_showCollision__P306477, + "update": tileworld_GameHome_update__P13812, + "okToMove": tileworld_RuleVisualsBase_okToMove__P8648, + "cursorMove": tileworld_GameHome_cursorMove__P13811, + "centerImage": tileworld_RuleVisualsBase_centerImage__P8660, + "showCollision": tileworld_RuleVisualsBase_showCollision__P8662, }, iface: { "cursor": null, @@ -97028,39 +84753,39 @@ const tileworld_GameHome__C311623_VT = mkVTable({ "set/dirMap": null, "p": null, "set/p": null, - "cursorMove": tileworld_GameHome_cursorMove__P311626, - "update": tileworld_GameHome_update__P311627, - "moveInX": tileworld_RuleVisualsBase_moveInX__P306460, - "moveUp": tileworld_RuleVisualsBase_moveUp__P306461, - "moveDown": tileworld_RuleVisualsBase_moveDown__P306462, - "okToMove": tileworld_RuleVisualsBase_okToMove__P306463, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P306464, - "setCol": tileworld_RuleVisualsBase_setCol__P306465, - "setRow": tileworld_RuleVisualsBase_setRow__P306466, - "col": tileworld_RuleVisualsBase_col__P306467, - "row": tileworld_RuleVisualsBase_row__P306468, - "drawImage": tileworld_RuleVisualsBase_drawImage__P306469, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P306470, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P306471, - "fillTile": tileworld_RuleVisualsBase_fillTile__P306472, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P306473, - "centerImage": tileworld_RuleVisualsBase_centerImage__P306475, - "showRuleType": tileworld_RuleVisualsBase_showRuleType__P306476, - "showCollision": tileworld_RuleVisualsBase_showCollision__P306477, + "cursorMove": tileworld_GameHome_cursorMove__P13811, + "update": tileworld_GameHome_update__P13812, + "moveInX": tileworld_RuleVisualsBase_moveInX__P8645, + "moveUp": tileworld_RuleVisualsBase_moveUp__P8646, + "moveDown": tileworld_RuleVisualsBase_moveDown__P8647, + "okToMove": tileworld_RuleVisualsBase_okToMove__P8648, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P8649, + "setCol": tileworld_RuleVisualsBase_setCol__P8650, + "setRow": tileworld_RuleVisualsBase_setRow__P8651, + "col": tileworld_RuleVisualsBase_col__P8652, + "row": tileworld_RuleVisualsBase_row__P8653, + "drawImage": tileworld_RuleVisualsBase_drawImage__P8654, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P8655, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P8656, + "fillTile": tileworld_RuleVisualsBase_fillTile__P8657, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P8658, + "centerImage": tileworld_RuleVisualsBase_centerImage__P8660, + "showRuleType": tileworld_RuleVisualsBase_showRuleType__P8661, + "showCollision": tileworld_RuleVisualsBase_showCollision__P8662, }, }); -const tileworld_ProjectSettings__C311640_VT = mkVTable({ +const tileworld_ProjectSettings__C13825_VT = mkVTable({ name: "ProjectSettings", numFields: 7, - classNo: 34, - lastSubtypeNo: 34, + classNo: 28, + lastSubtypeNo: 28, maxBgInstances: null, methods: { - "update": tileworld_ProjectSettings_update__P311643, - "okToMove": tileworld_RuleVisualsBase_okToMove__P306463, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P306474, - "centerImage": tileworld_RuleVisualsBase_centerImage__P306475, - "showCollision": tileworld_RuleVisualsBase_showCollision__P306477, + "update": tileworld_ProjectSettings_update__P13828, + "okToMove": tileworld_RuleVisualsBase_okToMove__P8648, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P8659, + "centerImage": tileworld_RuleVisualsBase_centerImage__P8660, + "showCollision": tileworld_RuleVisualsBase_showCollision__P8662, }, iface: { "cursor": null, @@ -97077,63 +84802,63 @@ const tileworld_ProjectSettings__C311640_VT = mkVTable({ "set/p": null, "askDeleteRule": null, "set/askDeleteRule": null, - "update": tileworld_ProjectSettings_update__P311643, - "moveInX": tileworld_RuleVisualsBase_moveInX__P306460, - "moveUp": tileworld_RuleVisualsBase_moveUp__P306461, - "moveDown": tileworld_RuleVisualsBase_moveDown__P306462, - "okToMove": tileworld_RuleVisualsBase_okToMove__P306463, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P306464, - "setCol": tileworld_RuleVisualsBase_setCol__P306465, - "setRow": tileworld_RuleVisualsBase_setRow__P306466, - "col": tileworld_RuleVisualsBase_col__P306467, - "row": tileworld_RuleVisualsBase_row__P306468, - "drawImage": tileworld_RuleVisualsBase_drawImage__P306469, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P306470, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P306471, - "fillTile": tileworld_RuleVisualsBase_fillTile__P306472, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P306473, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P306474, - "centerImage": tileworld_RuleVisualsBase_centerImage__P306475, - "showRuleType": tileworld_RuleVisualsBase_showRuleType__P306476, - "showCollision": tileworld_RuleVisualsBase_showCollision__P306477, + "update": tileworld_ProjectSettings_update__P13828, + "moveInX": tileworld_RuleVisualsBase_moveInX__P8645, + "moveUp": tileworld_RuleVisualsBase_moveUp__P8646, + "moveDown": tileworld_RuleVisualsBase_moveDown__P8647, + "okToMove": tileworld_RuleVisualsBase_okToMove__P8648, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P8649, + "setCol": tileworld_RuleVisualsBase_setCol__P8650, + "setRow": tileworld_RuleVisualsBase_setRow__P8651, + "col": tileworld_RuleVisualsBase_col__P8652, + "row": tileworld_RuleVisualsBase_row__P8653, + "drawImage": tileworld_RuleVisualsBase_drawImage__P8654, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P8655, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P8656, + "fillTile": tileworld_RuleVisualsBase_fillTile__P8657, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P8658, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P8659, + "centerImage": tileworld_RuleVisualsBase_centerImage__P8660, + "showRuleType": tileworld_RuleVisualsBase_showRuleType__P8661, + "showCollision": tileworld_RuleVisualsBase_showCollision__P8662, }, }); -const sprites_BaseSprite__C298098_VT = mkVTable({ +const sprites_BaseSprite__C606_VT = mkVTable({ name: "BaseSprite", numFields: 2, - classNo: 41, - lastSubtypeNo: 45, + classNo: 35, + lastSubtypeNo: 39, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P298099, - "__draw": sprites_BaseSprite___draw__P298102, - "__drawCore": sprites_BaseSprite___drawCore__P298103, - "__update": sprites_BaseSprite___update__P298104, + "__visible": sprites_BaseSprite___visible__P607, + "__draw": sprites_BaseSprite___draw__P610, + "__drawCore": sprites_BaseSprite___drawCore__P611, + "__update": sprites_BaseSprite___update__P612, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__visible": sprites_BaseSprite___visible__P298099, - "z": sprites_BaseSprite_z__P298100, - "set/z": sprites_BaseSprite_z__P298101, - "__draw": sprites_BaseSprite___draw__P298102, - "__drawCore": sprites_BaseSprite___drawCore__P298103, - "__update": sprites_BaseSprite___update__P298104, + "__visible": sprites_BaseSprite___visible__P607, + "z": sprites_BaseSprite_z__P608, + "set/z": sprites_BaseSprite_z__P609, + "__draw": sprites_BaseSprite___draw__P610, + "__drawCore": sprites_BaseSprite___drawCore__P611, + "__update": sprites_BaseSprite___update__P612, }, }); -const Sprite__C298227_VT = mkVTable({ +const Sprite__C735_VT = mkVTable({ name: "Sprite", numFields: 24, - classNo: 42, - lastSubtypeNo: 43, + classNo: 36, + lastSubtypeNo: 37, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P298246, - "__draw": sprites_BaseSprite___draw__P298102, - "__drawCore": Sprite___drawCore__P298264, - "__update": Sprite___update__P298265, + "__visible": Sprite___visible__P754, + "__draw": sprites_BaseSprite___draw__P610, + "__drawCore": Sprite___drawCore__P772, + "__update": Sprite___update__P773, }, iface: { "_z": null, @@ -97184,57 +84909,57 @@ const Sprite__C298227_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "x": Sprite_x__P298229, - "set/x": Sprite_x__P298230, - "y": Sprite_y__P298231, - "set/y": Sprite_y__P298232, - "vx": Sprite_vx__P298233, - "set/vx": Sprite_vx__P298234, - "vy": Sprite_vy__P298235, - "set/vy": Sprite_vy__P298236, - "ax": Sprite_ax__P298237, - "set/ax": Sprite_ax__P298238, - "ay": Sprite_ay__P298239, - "set/ay": Sprite_ay__P298240, - "data": Sprite_data__P298241, - "set/data": Sprite_data__P298242, - "image": Sprite_image__P298244, - "setImage": Sprite_setImage__P298245, - "__visible": Sprite___visible__P298246, - "width": Sprite_width__P298247, - "height": Sprite_height__P298248, - "left": Sprite_left__P298249, - "set/left": Sprite_left__P298250, - "right": Sprite_right__P298251, - "set/right": Sprite_right__P298252, - "top": Sprite_top__P298253, - "set/top": Sprite_top__P298254, - "bottom": Sprite_bottom__P298255, - "set/bottom": Sprite_bottom__P298256, - "kind": Sprite_kind__P298257, - "setKind": Sprite_setKind__P298258, - "say": Sprite_say__P298261, - "isOutOfScreen": Sprite_isOutOfScreen__P298263, - "__drawCore": Sprite___drawCore__P298264, - "__update": Sprite___update__P298265, - "setFlag": Sprite_setFlag__P298266, - "overlapsWith": Sprite_overlapsWith__P298267, - "clearObstacles": Sprite_clearObstacles__P298271, - "registerObstacle": Sprite_registerObstacle__P298272, - "destroy": Sprite_destroy__P298274, - "_destroyCore": Sprite__destroyCore__P298275, - "toString": Sprite_toString__P298277, - "z": sprites_BaseSprite_z__P298100, - "set/z": sprites_BaseSprite_z__P298101, - "__draw": sprites_BaseSprite___draw__P298102, + "x": Sprite_x__P737, + "set/x": Sprite_x__P738, + "y": Sprite_y__P739, + "set/y": Sprite_y__P740, + "vx": Sprite_vx__P741, + "set/vx": Sprite_vx__P742, + "vy": Sprite_vy__P743, + "set/vy": Sprite_vy__P744, + "ax": Sprite_ax__P745, + "set/ax": Sprite_ax__P746, + "ay": Sprite_ay__P747, + "set/ay": Sprite_ay__P748, + "data": Sprite_data__P749, + "set/data": Sprite_data__P750, + "image": Sprite_image__P752, + "setImage": Sprite_setImage__P753, + "__visible": Sprite___visible__P754, + "width": Sprite_width__P755, + "height": Sprite_height__P756, + "left": Sprite_left__P757, + "set/left": Sprite_left__P758, + "right": Sprite_right__P759, + "set/right": Sprite_right__P760, + "top": Sprite_top__P761, + "set/top": Sprite_top__P762, + "bottom": Sprite_bottom__P763, + "set/bottom": Sprite_bottom__P764, + "kind": Sprite_kind__P765, + "setKind": Sprite_setKind__P766, + "say": Sprite_say__P769, + "isOutOfScreen": Sprite_isOutOfScreen__P771, + "__drawCore": Sprite___drawCore__P772, + "__update": Sprite___update__P773, + "setFlag": Sprite_setFlag__P774, + "overlapsWith": Sprite_overlapsWith__P775, + "clearObstacles": Sprite_clearObstacles__P779, + "registerObstacle": Sprite_registerObstacle__P780, + "destroy": Sprite_destroy__P782, + "_destroyCore": Sprite__destroyCore__P783, + "toString": Sprite_toString__P785, + "z": sprites_BaseSprite_z__P608, + "set/z": sprites_BaseSprite_z__P609, + "__draw": sprites_BaseSprite___draw__P610, }, - toStringMethod: Sprite_toString__P298277, + toStringMethod: Sprite_toString__P785, }); -const scene_Scene__C298633_VT = mkVTable({ +const scene_Scene__C1141_VT = mkVTable({ name: "Scene", numFields: 23, - classNo: 46, - lastSubtypeNo: 46, + classNo: 40, + lastSubtypeNo: 40, maxBgInstances: null, methods: { }, @@ -97285,41 +85010,19 @@ const scene_Scene__C298633_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "init": scene_Scene_init__P298634, - "data": scene_Scene_data__P298635, - "millis": scene_Scene_millis__P298636, - "addSprite": scene_Scene_addSprite__P298637, - "destroy": scene_Scene_destroy__P298638, - "render": scene_Scene_render__P298639, + "init": scene_Scene_init__P1142, + "data": scene_Scene_data__P1143, + "millis": scene_Scene_millis__P1144, + "addSprite": scene_Scene_addSprite__P1145, + "destroy": scene_Scene_destroy__P1146, + "render": scene_Scene_render__P1147, }, }); -const music_Melody__C300215_VT = mkVTable({ - name: "Melody", - numFields: 2, - classNo: 47, - lastSubtypeNo: 47, - maxBgInstances: null, - methods: { - }, - iface: { - "_text": null, - "set/_text": null, - "_player": null, - "set/_player": null, - "stop": music_Melody_stop__P300218, - "registerMelody": music_Melody_registerMelody__P300219, - "unregisterMelody": music_Melody_unregisterMelody__P300220, - "playCore": music_Melody_playCore__P300221, - "play": music_Melody_play__P300223, - "toString": music_Melody_toString__P300225, - }, - toStringMethod: music_Melody_toString__P300225, -}); -const effects_ImageEffect__C299329_VT = mkVTable({ +const effects_ImageEffect__C1837_VT = mkVTable({ name: "ImageEffect", numFields: 4, - classNo: 48, - lastSubtypeNo: 48, + classNo: 41, + lastSubtypeNo: 41, maxBgInstances: null, methods: { }, @@ -97332,16 +85035,16 @@ const effects_ImageEffect__C299329_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P299330, - "change": effects_ImageEffect_change__P299331, - "startScreenEffect": effects_ImageEffect_startScreenEffect__P299332, + "applyTo": effects_ImageEffect_applyTo__P1838, + "change": effects_ImageEffect_change__P1839, + "startScreenEffect": effects_ImageEffect_startScreenEffect__P1840, }, }); -const effects_ParticleEffect__C299278_VT = mkVTable({ +const effects_ParticleEffect__C1786_VT = mkVTable({ name: "ParticleEffect", numFields: 3, - classNo: 49, - lastSubtypeNo: 50, + classNo: 42, + lastSubtypeNo: 43, maxBgInstances: null, methods: { }, @@ -97352,15 +85055,15 @@ const effects_ParticleEffect__C299278_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P299279, - "destroy": effects_ParticleEffect_destroy__P299280, + "start": effects_ParticleEffect_start__P1787, + "destroy": effects_ParticleEffect_destroy__P1788, }, }); -const effects_ScreenEffect__C299288_VT = mkVTable({ +const effects_ScreenEffect__C1796_VT = mkVTable({ name: "ScreenEffect", numFields: 5, - classNo: 50, - lastSubtypeNo: 50, + classNo: 43, + lastSubtypeNo: 43, maxBgInstances: null, methods: { }, @@ -97375,36 +85078,36 @@ const effects_ScreenEffect__C299288_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "startScreenEffect": effects_ScreenEffect_startScreenEffect__P299290, - "endScreenEffect": effects_ScreenEffect_endScreenEffect__P299291, - "start": effects_ParticleEffect_start__P299279, - "destroy": effects_ParticleEffect_destroy__P299280, + "startScreenEffect": effects_ScreenEffect_startScreenEffect__P1798, + "endScreenEffect": effects_ScreenEffect_endScreenEffect__P1799, + "start": effects_ParticleEffect_start__P1787, + "destroy": effects_ParticleEffect_destroy__P1788, }, }); -const particles_ParticleFactory__C299211_VT = mkVTable({ +const particles_ParticleFactory__C1719_VT = mkVTable({ name: "ParticleFactory", numFields: 0, - classNo: 51, - lastSubtypeNo: 55, + classNo: 44, + lastSubtypeNo: 48, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P299212, - "drawParticle": particles_ParticleFactory_drawParticle__P299213, + "createParticle": particles_ParticleFactory_createParticle__P1720, + "drawParticle": particles_ParticleFactory_drawParticle__P1721, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P299212, - "drawParticle": particles_ParticleFactory_drawParticle__P299213, + "createParticle": particles_ParticleFactory_createParticle__P1720, + "drawParticle": particles_ParticleFactory_drawParticle__P1721, }, }); -const particles_SprayFactory__C299215_VT = mkVTable({ +const particles_SprayFactory__C1723_VT = mkVTable({ name: "SprayFactory", numFields: 3, - classNo: 52, - lastSubtypeNo: 55, + classNo: 45, + lastSubtypeNo: 48, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P299217, - "drawParticle": particles_SprayFactory_drawParticle__P299218, + "createParticle": particles_SprayFactory_createParticle__P1725, + "drawParticle": particles_SprayFactory_drawParticle__P1726, }, iface: { "speed": null, @@ -97413,21 +85116,21 @@ const particles_SprayFactory__C299215_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P299217, - "drawParticle": particles_SprayFactory_drawParticle__P299218, - "setSpeed": particles_SprayFactory_setSpeed__P299219, - "setDirection": particles_SprayFactory_setDirection__P299220, + "createParticle": particles_SprayFactory_createParticle__P1725, + "drawParticle": particles_SprayFactory_drawParticle__P1726, + "setSpeed": particles_SprayFactory_setSpeed__P1727, + "setDirection": particles_SprayFactory_setDirection__P1728, }, }); -const particles_AreaFactory__C299222_VT = mkVTable({ +const particles_AreaFactory__C1730_VT = mkVTable({ name: "AreaFactory", numFields: 8, - classNo: 53, - lastSubtypeNo: 55, + classNo: 46, + lastSubtypeNo: 48, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P299224, - "drawParticle": particles_AreaFactory_drawParticle__P299225, + "createParticle": particles_AreaFactory_createParticle__P1732, + "drawParticle": particles_AreaFactory_drawParticle__P1733, }, iface: { "speed": null, @@ -97446,21 +85149,21 @@ const particles_AreaFactory__C299222_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P299224, - "drawParticle": particles_AreaFactory_drawParticle__P299225, - "setSpeed": particles_SprayFactory_setSpeed__P299219, - "setDirection": particles_SprayFactory_setDirection__P299220, + "createParticle": particles_AreaFactory_createParticle__P1732, + "drawParticle": particles_AreaFactory_drawParticle__P1733, + "setSpeed": particles_SprayFactory_setSpeed__P1727, + "setDirection": particles_SprayFactory_setDirection__P1728, }, }); -const particles_ShapeFactory__C299232_VT = mkVTable({ +const particles_ShapeFactory__C1740_VT = mkVTable({ name: "ShapeFactory", numFields: 11, - classNo: 54, - lastSubtypeNo: 55, + classNo: 47, + lastSubtypeNo: 48, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P299236, - "drawParticle": particles_ShapeFactory_drawParticle__P299235, + "createParticle": particles_ShapeFactory_createParticle__P1744, + "drawParticle": particles_ShapeFactory_drawParticle__P1743, }, iface: { "speed": null, @@ -97485,22 +85188,22 @@ const particles_ShapeFactory__C299232_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P299234, - "drawParticle": particles_ShapeFactory_drawParticle__P299235, - "createParticle": particles_ShapeFactory_createParticle__P299236, - "setSpeed": particles_SprayFactory_setSpeed__P299219, - "setDirection": particles_SprayFactory_setDirection__P299220, + "addShape": particles_ShapeFactory_addShape__P1742, + "drawParticle": particles_ShapeFactory_drawParticle__P1743, + "createParticle": particles_ShapeFactory_createParticle__P1744, + "setSpeed": particles_SprayFactory_setSpeed__P1727, + "setDirection": particles_SprayFactory_setDirection__P1728, }, }); -const particles_ConfettiFactory__C299238_VT = mkVTable({ +const particles_ConfettiFactory__C1746_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, - classNo: 55, - lastSubtypeNo: 55, + classNo: 48, + lastSubtypeNo: 48, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P299236, - "drawParticle": particles_ShapeFactory_drawParticle__P299235, + "createParticle": particles_ShapeFactory_createParticle__P1744, + "drawParticle": particles_ShapeFactory_drawParticle__P1743, }, iface: { "speed": null, @@ -97525,25 +85228,25 @@ const particles_ConfettiFactory__C299238_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P299234, - "drawParticle": particles_ShapeFactory_drawParticle__P299235, - "createParticle": particles_ShapeFactory_createParticle__P299236, - "setSpeed": particles_SprayFactory_setSpeed__P299219, - "setDirection": particles_SprayFactory_setDirection__P299220, + "addShape": particles_ShapeFactory_addShape__P1742, + "drawParticle": particles_ShapeFactory_drawParticle__P1743, + "createParticle": particles_ShapeFactory_createParticle__P1744, + "setSpeed": particles_SprayFactory_setSpeed__P1727, + "setDirection": particles_SprayFactory_setDirection__P1728, }, }); -const particles_ParticleSource__C299151_VT = mkVTable({ +const particles_ParticleSource__C1659_VT = mkVTable({ name: "ParticleSource", numFields: 13, - classNo: 44, - lastSubtypeNo: 44, + classNo: 38, + lastSubtypeNo: 38, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P298099, - "__draw": particles_ParticleSource___draw__P299153, - "__drawCore": sprites_BaseSprite___drawCore__P298103, - "__update": sprites_BaseSprite___update__P298104, - "updateParticle": particles_ParticleSource_updateParticle__P299167, + "__visible": sprites_BaseSprite___visible__P607, + "__draw": particles_ParticleSource___draw__P1661, + "__drawCore": sprites_BaseSprite___drawCore__P611, + "__update": sprites_BaseSprite___update__P612, + "updateParticle": particles_ParticleSource_updateParticle__P1675, }, iface: { "_z": null, @@ -97572,32 +85275,32 @@ const particles_ParticleSource__C299151_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__draw": particles_ParticleSource___draw__P299153, - "_update": particles_ParticleSource__update__P299154, - "_prune": particles_ParticleSource__prune__P299155, - "setAcceleration": particles_ParticleSource_setAcceleration__P299156, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P299158, - "enabled": particles_ParticleSource_enabled__P299159, - "set/enabled": particles_ParticleSource_enabled__P299160, - "destroy": particles_ParticleSource_destroy__P299161, - "clear": particles_ParticleSource_clear__P299162, - "setAnchor": particles_ParticleSource_setAnchor__P299163, - "setRate": particles_ParticleSource_setRate__P299164, - "setFactory": particles_ParticleSource_setFactory__P299166, - "updateParticle": particles_ParticleSource_updateParticle__P299167, - "drawParticle": particles_ParticleSource_drawParticle__P299168, - "__visible": sprites_BaseSprite___visible__P298099, - "z": sprites_BaseSprite_z__P298100, - "set/z": sprites_BaseSprite_z__P298101, - "__drawCore": sprites_BaseSprite___drawCore__P298103, - "__update": sprites_BaseSprite___update__P298104, + "__draw": particles_ParticleSource___draw__P1661, + "_update": particles_ParticleSource__update__P1662, + "_prune": particles_ParticleSource__prune__P1663, + "setAcceleration": particles_ParticleSource_setAcceleration__P1664, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P1666, + "enabled": particles_ParticleSource_enabled__P1667, + "set/enabled": particles_ParticleSource_enabled__P1668, + "destroy": particles_ParticleSource_destroy__P1669, + "clear": particles_ParticleSource_clear__P1670, + "setAnchor": particles_ParticleSource_setAnchor__P1671, + "setRate": particles_ParticleSource_setRate__P1672, + "setFactory": particles_ParticleSource_setFactory__P1674, + "updateParticle": particles_ParticleSource_updateParticle__P1675, + "drawParticle": particles_ParticleSource_drawParticle__P1676, + "__visible": sprites_BaseSprite___visible__P607, + "z": sprites_BaseSprite_z__P608, + "set/z": sprites_BaseSprite_z__P609, + "__drawCore": sprites_BaseSprite___drawCore__P611, + "__update": sprites_BaseSprite___update__P612, }, }); -const particles_Particle__C299149_VT = mkVTable({ +const particles_Particle__C1657_VT = mkVTable({ name: "Particle", numFields: 8, - classNo: 56, - lastSubtypeNo: 56, + classNo: 49, + lastSubtypeNo: 49, maxBgInstances: 200, methods: { }, @@ -97620,11 +85323,11 @@ const particles_Particle__C299149_VT = mkVTable({ "set/color": null, }, }); -const control_EventContext__C297839_VT = mkVTable({ +const control_EventContext__C268_VT = mkVTable({ name: "EventContext", numFields: 9, - classNo: 57, - lastSubtypeNo: 57, + classNo: 50, + lastSubtypeNo: 50, maxBgInstances: null, methods: { }, @@ -97647,20 +85350,20 @@ const control_EventContext__C297839_VT = mkVTable({ "set/idleCallbacks": null, "runningCallbacks": null, "set/runningCallbacks": null, - "deltaTime": control_EventContext_deltaTime__P297840, - "runCallbacks": control_EventContext_runCallbacks__P297841, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P297842, - "register": control_EventContext_register__P297843, - "unregister": control_EventContext_unregister__P297844, - "registerFrameHandler": control_EventContext_registerFrameHandler__P297845, - "registerHandler": control_EventContext_registerHandler__P297846, + "deltaTime": control_EventContext_deltaTime__P269, + "runCallbacks": control_EventContext_runCallbacks__P270, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P271, + "register": control_EventContext_register__P272, + "unregister": control_EventContext_unregister__P273, + "registerFrameHandler": control_EventContext_registerFrameHandler__P274, + "registerHandler": control_EventContext_registerHandler__P275, }, }); -const control_FrameCallback__C297833_VT = mkVTable({ +const control_FrameCallback__C262_VT = mkVTable({ name: "FrameCallback", numFields: 2, - classNo: 58, - lastSubtypeNo: 58, + classNo: 51, + lastSubtypeNo: 51, maxBgInstances: null, methods: { }, @@ -97671,11 +85374,11 @@ const control_FrameCallback__C297833_VT = mkVTable({ "set/handler": null, }, }); -const control_PollEvent__C297776_VT = mkVTable({ +const control_PollEvent__C205_VT = mkVTable({ name: "PollEvent", numFields: 6, - classNo: 59, - lastSubtypeNo: 59, + classNo: 52, + lastSubtypeNo: 52, maxBgInstances: null, methods: { }, @@ -97694,11 +85397,11 @@ const control_PollEvent__C297776_VT = mkVTable({ "set/once": null, }, }); -const control_EventHandler__C297834_VT = mkVTable({ +const control_EventHandler__C263_VT = mkVTable({ name: "EventHandler", numFields: 4, - classNo: 60, - lastSubtypeNo: 60, + classNo: 53, + lastSubtypeNo: 53, maxBgInstances: null, methods: { }, @@ -97711,43 +85414,43 @@ const control_EventHandler__C297834_VT = mkVTable({ "set/handler": null, "flags": null, "set/flags": null, - "register": control_EventHandler_register__P297835, - "unregister": control_EventHandler_unregister__P297836, + "register": control_EventHandler_register__P264, + "unregister": control_EventHandler_unregister__P265, }, }); -const PhysicsEngine__C298333_VT = mkVTable({ +const PhysicsEngine__C841_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, - classNo: 61, - lastSubtypeNo: 62, + classNo: 54, + lastSubtypeNo: 55, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P298334, - "removeSprite": PhysicsEngine_removeSprite__P298335, - "moveSprite": PhysicsEngine_moveSprite__P298336, - "draw": PhysicsEngine_draw__P298337, - "move": PhysicsEngine_move__P298338, + "addSprite": PhysicsEngine_addSprite__P842, + "removeSprite": PhysicsEngine_removeSprite__P843, + "moveSprite": PhysicsEngine_moveSprite__P844, + "draw": PhysicsEngine_draw__P845, + "move": PhysicsEngine_move__P846, }, iface: { - "addSprite": PhysicsEngine_addSprite__P298334, - "removeSprite": PhysicsEngine_removeSprite__P298335, - "moveSprite": PhysicsEngine_moveSprite__P298336, - "draw": PhysicsEngine_draw__P298337, - "move": PhysicsEngine_move__P298338, + "addSprite": PhysicsEngine_addSprite__P842, + "removeSprite": PhysicsEngine_removeSprite__P843, + "moveSprite": PhysicsEngine_moveSprite__P844, + "draw": PhysicsEngine_draw__P845, + "move": PhysicsEngine_move__P846, }, }); -const ArcadePhysicsEngine__C298361_VT = mkVTable({ +const ArcadePhysicsEngine__C869_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, - classNo: 62, - lastSubtypeNo: 62, + classNo: 55, + lastSubtypeNo: 55, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P298370, - "removeSprite": ArcadePhysicsEngine_removeSprite__P298371, - "moveSprite": ArcadePhysicsEngine_moveSprite__P298379, - "draw": ArcadePhysicsEngine_draw__P298372, - "move": ArcadePhysicsEngine_move__P298373, + "addSprite": ArcadePhysicsEngine_addSprite__P878, + "removeSprite": ArcadePhysicsEngine_removeSprite__P879, + "moveSprite": ArcadePhysicsEngine_moveSprite__P887, + "draw": ArcadePhysicsEngine_draw__P880, + "move": ArcadePhysicsEngine_move__P881, }, iface: { "sprites": null, @@ -97762,30 +85465,30 @@ const ArcadePhysicsEngine__C298361_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "maxSpeed": ArcadePhysicsEngine_maxSpeed__P298363, - "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P298364, - "minStep": ArcadePhysicsEngine_minStep__P298365, - "set/minStep": ArcadePhysicsEngine_minStep__P298366, - "maxStep": ArcadePhysicsEngine_maxStep__P298367, - "set/maxStep": ArcadePhysicsEngine_maxStep__P298368, - "addSprite": ArcadePhysicsEngine_addSprite__P298370, - "removeSprite": ArcadePhysicsEngine_removeSprite__P298371, - "draw": ArcadePhysicsEngine_draw__P298372, - "move": ArcadePhysicsEngine_move__P298373, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P298374, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P298375, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P298376, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P298377, - "moveSprite": ArcadePhysicsEngine_moveSprite__P298379, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P298380, - "constrain": ArcadePhysicsEngine_constrain__P298381, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P871, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P872, + "minStep": ArcadePhysicsEngine_minStep__P873, + "set/minStep": ArcadePhysicsEngine_minStep__P874, + "maxStep": ArcadePhysicsEngine_maxStep__P875, + "set/maxStep": ArcadePhysicsEngine_maxStep__P876, + "addSprite": ArcadePhysicsEngine_addSprite__P878, + "removeSprite": ArcadePhysicsEngine_removeSprite__P879, + "draw": ArcadePhysicsEngine_draw__P880, + "move": ArcadePhysicsEngine_move__P881, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P882, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P883, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P884, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P885, + "moveSprite": ArcadePhysicsEngine_moveSprite__P887, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P888, + "constrain": ArcadePhysicsEngine_constrain__P889, }, }); -const scene_Background__C298497_VT = mkVTable({ +const scene_Background__C1005_VT = mkVTable({ name: "Background", numFields: 4, - classNo: 63, - lastSubtypeNo: 63, + classNo: 56, + lastSubtypeNo: 56, maxBgInstances: null, methods: { }, @@ -97798,17 +85501,17 @@ const scene_Background__C298497_VT = mkVTable({ "set/camera": null, "_layers": null, "set/_layers": null, - "image": scene_Background_image__P298499, - "set/image": scene_Background_image__P298500, - "hasBackgroundImage": scene_Background_hasBackgroundImage__P298501, - "draw": scene_Background_draw__P298502, + "image": scene_Background_image__P1007, + "set/image": scene_Background_image__P1008, + "hasBackgroundImage": scene_Background_hasBackgroundImage__P1009, + "draw": scene_Background_draw__P1010, }, }); -const scene_Camera__C298573_VT = mkVTable({ +const scene_Camera__C1081_VT = mkVTable({ name: "Camera", numFields: 8, - classNo: 64, - lastSubtypeNo: 64, + classNo: 57, + lastSubtypeNo: 57, maxBgInstances: null, methods: { }, @@ -97829,18 +85532,18 @@ const scene_Camera__C298573_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "offsetX": scene_Camera_offsetX__P298574, - "set/offsetX": scene_Camera_offsetX__P298575, - "offsetY": scene_Camera_offsetY__P298576, - "set/offsetY": scene_Camera_offsetY__P298577, - "update": scene_Camera_update__P298579, + "offsetX": scene_Camera_offsetX__P1082, + "set/offsetX": scene_Camera_offsetX__P1083, + "offsetY": scene_Camera_offsetY__P1084, + "set/offsetY": scene_Camera_offsetY__P1085, + "update": scene_Camera_update__P1087, }, }); -const sprites_SpriteMap__C298280_VT = mkVTable({ +const sprites_SpriteMap__C788_VT = mkVTable({ name: "SpriteMap", numFields: 5, - classNo: 65, - lastSubtypeNo: 65, + classNo: 58, + lastSubtypeNo: 58, maxBgInstances: null, methods: { }, @@ -97855,24 +85558,24 @@ const sprites_SpriteMap__C298280_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "neighbors": sprites_SpriteMap_neighbors__P298281, - "overlaps": sprites_SpriteMap_overlaps__P298282, - "draw": sprites_SpriteMap_draw__P298283, - "resizeBuckets": sprites_SpriteMap_resizeBuckets__P298284, - "clear": sprites_SpriteMap_clear__P298285, - "key": sprites_SpriteMap_key__P298286, - "insertAtKey": sprites_SpriteMap_insertAtKey__P298287, - "insertAABB": sprites_SpriteMap_insertAABB__P298288, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P298289, - "toString": sprites_SpriteMap_toString__P298290, + "neighbors": sprites_SpriteMap_neighbors__P789, + "overlaps": sprites_SpriteMap_overlaps__P790, + "draw": sprites_SpriteMap_draw__P791, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P792, + "clear": sprites_SpriteMap_clear__P793, + "key": sprites_SpriteMap_key__P794, + "insertAtKey": sprites_SpriteMap_insertAtKey__P795, + "insertAABB": sprites_SpriteMap_insertAABB__P796, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P797, + "toString": sprites_SpriteMap_toString__P798, }, - toStringMethod: sprites_SpriteMap_toString__P298290, + toStringMethod: sprites_SpriteMap_toString__P798, }); -const scene_BackgroundLayer__C298504_VT = mkVTable({ +const scene_BackgroundLayer__C1012_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, - classNo: 66, - lastSubtypeNo: 66, + classNo: 59, + lastSubtypeNo: 59, maxBgInstances: null, methods: { }, @@ -97889,32 +85592,32 @@ const scene_BackgroundLayer__C298504_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P298505, + "draw": scene_BackgroundLayer_draw__P1013, }, }); -const tiles_TileMap__C298537_VT = mkVTable({ +const tiles_TileMap__C1045_VT = mkVTable({ name: "TileMap", numFields: 3, - classNo: 67, - lastSubtypeNo: 68, + classNo: 60, + lastSubtypeNo: 61, maxBgInstances: null, methods: { - "data": tiles_TileMap_data__P298540, - "offsetX": tiles_TileMap_offsetX__P298541, - "offsetY": tiles_TileMap_offsetY__P298542, - "areaWidth": tiles_TileMap_areaWidth__P298543, - "areaHeight": tiles_TileMap_areaHeight__P298544, - "layer": tiles_TileMap_layer__P298545, - "enabled": tiles_TileMap_enabled__P298547, - "getTile": tiles_TileMap_getTile__P298549, - "getTileIndex": tiles_TileMap_getTileIndex__P298550, - "setTileAt": tiles_TileMap_setTileAt__P298551, - "isInvalidIndex": tiles_TileMap_isInvalidIndex__P298555, - "draw": tiles_TileMap_draw__P298556, - "isObstacle": tiles_TileMap_isObstacle__P298557, - "getObstacle": tiles_TileMap_getObstacle__P298558, - "isOnWall": tiles_TileMap_isOnWall__P298559, - "getTileImage": tiles_TileMap_getTileImage__P298560, + "data": tiles_TileMap_data__P1048, + "offsetX": tiles_TileMap_offsetX__P1049, + "offsetY": tiles_TileMap_offsetY__P1050, + "areaWidth": tiles_TileMap_areaWidth__P1051, + "areaHeight": tiles_TileMap_areaHeight__P1052, + "layer": tiles_TileMap_layer__P1053, + "enabled": tiles_TileMap_enabled__P1055, + "getTile": tiles_TileMap_getTile__P1057, + "getTileIndex": tiles_TileMap_getTileIndex__P1058, + "setTileAt": tiles_TileMap_setTileAt__P1059, + "isInvalidIndex": tiles_TileMap_isInvalidIndex__P1063, + "draw": tiles_TileMap_draw__P1064, + "isObstacle": tiles_TileMap_isObstacle__P1065, + "getObstacle": tiles_TileMap_getObstacle__P1066, + "isOnWall": tiles_TileMap_isOnWall__P1067, + "getTileImage": tiles_TileMap_getTileImage__P1068, }, iface: { "_scale": null, @@ -97923,31 +85626,31 @@ const tiles_TileMap__C298537_VT = mkVTable({ "set/_layer": null, "_map": null, "set/_map": null, - "scale": tiles_TileMap_scale__P298538, - "set/scale": tiles_TileMap_scale__P298539, - "data": tiles_TileMap_data__P298540, - "offsetX": tiles_TileMap_offsetX__P298541, - "offsetY": tiles_TileMap_offsetY__P298542, - "areaWidth": tiles_TileMap_areaWidth__P298543, - "areaHeight": tiles_TileMap_areaHeight__P298544, - "layer": tiles_TileMap_layer__P298545, - "enabled": tiles_TileMap_enabled__P298547, - "getTile": tiles_TileMap_getTile__P298549, - "getTileIndex": tiles_TileMap_getTileIndex__P298550, - "setTileAt": tiles_TileMap_setTileAt__P298551, - "isInvalidIndex": tiles_TileMap_isInvalidIndex__P298555, - "draw": tiles_TileMap_draw__P298556, - "isObstacle": tiles_TileMap_isObstacle__P298557, - "getObstacle": tiles_TileMap_getObstacle__P298558, - "isOnWall": tiles_TileMap_isOnWall__P298559, - "getTileImage": tiles_TileMap_getTileImage__P298560, + "scale": tiles_TileMap_scale__P1046, + "set/scale": tiles_TileMap_scale__P1047, + "data": tiles_TileMap_data__P1048, + "offsetX": tiles_TileMap_offsetX__P1049, + "offsetY": tiles_TileMap_offsetY__P1050, + "areaWidth": tiles_TileMap_areaWidth__P1051, + "areaHeight": tiles_TileMap_areaHeight__P1052, + "layer": tiles_TileMap_layer__P1053, + "enabled": tiles_TileMap_enabled__P1055, + "getTile": tiles_TileMap_getTile__P1057, + "getTileIndex": tiles_TileMap_getTileIndex__P1058, + "setTileAt": tiles_TileMap_setTileAt__P1059, + "isInvalidIndex": tiles_TileMap_isInvalidIndex__P1063, + "draw": tiles_TileMap_draw__P1064, + "isObstacle": tiles_TileMap_isObstacle__P1065, + "getObstacle": tiles_TileMap_getObstacle__P1066, + "isOnWall": tiles_TileMap_isOnWall__P1067, + "getTileImage": tiles_TileMap_getTileImage__P1068, }, }); -const tiles_TileMapData__C298524_VT = mkVTable({ +const tiles_TileMapData__C1032_VT = mkVTable({ name: "TileMapData", numFields: 7, - classNo: 69, - lastSubtypeNo: 69, + classNo: 62, + lastSubtypeNo: 62, maxBgInstances: null, methods: { }, @@ -97966,22 +85669,22 @@ const tiles_TileMapData__C298524_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "width": tiles_TileMapData_width__P298525, - "height": tiles_TileMapData_height__P298526, - "scale": tiles_TileMapData_scale__P298527, - "set/scale": tiles_TileMapData_scale__P298528, - "getTile": tiles_TileMapData_getTile__P298529, - "setTile": tiles_TileMapData_setTile__P298530, - "getTileImage": tiles_TileMapData_getTileImage__P298532, - "isWall": tiles_TileMapData_isWall__P298534, - "isOutsideMap": tiles_TileMapData_isOutsideMap__P298535, + "width": tiles_TileMapData_width__P1033, + "height": tiles_TileMapData_height__P1034, + "scale": tiles_TileMapData_scale__P1035, + "set/scale": tiles_TileMapData_scale__P1036, + "getTile": tiles_TileMapData_getTile__P1037, + "setTile": tiles_TileMapData_setTile__P1038, + "getTileImage": tiles_TileMapData_getTileImage__P1040, + "isWall": tiles_TileMapData_isWall__P1042, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P1043, }, }); -const controller_Controller__C298176_VT = mkVTable({ +const controller_Controller__C684_VT = mkVTable({ name: "Controller", numFields: 5, - classNo: 70, - lastSubtypeNo: 70, + classNo: 63, + lastSubtypeNo: 63, maxBgInstances: null, methods: { }, @@ -97996,32 +85699,54 @@ const controller_Controller__C298176_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_controlledSprites": controller_Controller__controlledSprites__P298177, - "set/_controlledSprites": controller_Controller__controlledSprites__P298178, - "id": controller_Controller_id__P298179, - "left": controller_Controller_left__P298181, - "right": controller_Controller_right__P298182, - "up": controller_Controller_up__P298183, - "down": controller_Controller_down__P298184, - "button": controller_Controller_button__P298189, - "connected": controller_Controller_connected__P298192, - "set/connected": controller_Controller_connected__P298193, - "__preUpdate": controller_Controller___preUpdate__P298197, - "__update": controller_Controller___update__P298198, + "_controlledSprites": controller_Controller__controlledSprites__P685, + "set/_controlledSprites": controller_Controller__controlledSprites__P686, + "id": controller_Controller_id__P687, + "left": controller_Controller_left__P689, + "right": controller_Controller_right__P690, + "up": controller_Controller_up__P691, + "down": controller_Controller_down__P692, + "button": controller_Controller_button__P697, + "connected": controller_Controller_connected__P700, + "set/connected": controller_Controller_connected__P701, + "__preUpdate": controller_Controller___preUpdate__P705, + "__update": controller_Controller___update__P706, + }, +}); +const music_Melody__C412_VT = mkVTable({ + name: "Melody", + numFields: 2, + classNo: 64, + lastSubtypeNo: 64, + maxBgInstances: null, + methods: { + }, + iface: { + "_text": null, + "set/_text": null, + "_player": null, + "set/_player": null, + "stop": music_Melody_stop__P415, + "registerMelody": music_Melody_registerMelody__P416, + "unregisterMelody": music_Melody_unregisterMelody__P417, + "playCore": music_Melody_playCore__P418, + "play": music_Melody_play__P420, + "toString": music_Melody_toString__P422, }, + toStringMethod: music_Melody_toString__P422, }); -const tileworld_Gallery__C311927_VT = mkVTable({ +const tileworld_Gallery__C14112_VT = mkVTable({ name: "Gallery", numFields: 10, - classNo: 35, - lastSubtypeNo: 35, + classNo: 29, + lastSubtypeNo: 29, maxBgInstances: null, methods: { - "update": tileworld_Gallery_update__P311929, - "okToMove": tileworld_RuleVisualsBase_okToMove__P306463, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P306474, - "centerImage": tileworld_RuleVisualsBase_centerImage__P306475, - "showCollision": tileworld_RuleVisualsBase_showCollision__P306477, + "update": tileworld_Gallery_update__P14114, + "okToMove": tileworld_RuleVisualsBase_okToMove__P8648, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P8659, + "centerImage": tileworld_RuleVisualsBase_centerImage__P8660, + "showCollision": tileworld_RuleVisualsBase_showCollision__P8662, }, iface: { "cursor": null, @@ -98044,35 +85769,35 @@ const tileworld_Gallery__C311927_VT = mkVTable({ "set/kind": null, "gallery": null, "set/gallery": null, - "update": tileworld_Gallery_update__P311929, - "moveInX": tileworld_RuleVisualsBase_moveInX__P306460, - "moveUp": tileworld_RuleVisualsBase_moveUp__P306461, - "moveDown": tileworld_RuleVisualsBase_moveDown__P306462, - "okToMove": tileworld_RuleVisualsBase_okToMove__P306463, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P306464, - "setCol": tileworld_RuleVisualsBase_setCol__P306465, - "setRow": tileworld_RuleVisualsBase_setRow__P306466, - "col": tileworld_RuleVisualsBase_col__P306467, - "row": tileworld_RuleVisualsBase_row__P306468, - "drawImage": tileworld_RuleVisualsBase_drawImage__P306469, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P306470, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P306471, - "fillTile": tileworld_RuleVisualsBase_fillTile__P306472, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P306473, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P306474, - "centerImage": tileworld_RuleVisualsBase_centerImage__P306475, - "showRuleType": tileworld_RuleVisualsBase_showRuleType__P306476, - "showCollision": tileworld_RuleVisualsBase_showCollision__P306477, + "update": tileworld_Gallery_update__P14114, + "moveInX": tileworld_RuleVisualsBase_moveInX__P8645, + "moveUp": tileworld_RuleVisualsBase_moveUp__P8646, + "moveDown": tileworld_RuleVisualsBase_moveDown__P8647, + "okToMove": tileworld_RuleVisualsBase_okToMove__P8648, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P8649, + "setCol": tileworld_RuleVisualsBase_setCol__P8650, + "setRow": tileworld_RuleVisualsBase_setRow__P8651, + "col": tileworld_RuleVisualsBase_col__P8652, + "row": tileworld_RuleVisualsBase_row__P8653, + "drawImage": tileworld_RuleVisualsBase_drawImage__P8654, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P8655, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P8656, + "fillTile": tileworld_RuleVisualsBase_fillTile__P8657, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P8658, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P8659, + "centerImage": tileworld_RuleVisualsBase_centerImage__P8660, + "showRuleType": tileworld_RuleVisualsBase_showRuleType__P8661, + "showCollision": tileworld_RuleVisualsBase_showCollision__P8662, }, }); -const tileworld_RunGame__C1086049_VT = mkVTable({ +const tileworld_RunGame__C8239_VT = mkVTable({ name: "RunGame", numFields: 5, - classNo: 38, - lastSubtypeNo: 38, + classNo: 32, + lastSubtypeNo: 32, maxBgInstances: null, methods: { - "update": tileworld_BackgroundBase_update__P306063, + "update": tileworld_BackgroundBase_update__P8242, }, iface: { "vm": null, @@ -98085,21 +85810,21 @@ const tileworld_RunGame__C1086049_VT = mkVTable({ "set/p": null, "currentDirection": null, "set/currentDirection": null, - "setWorld": tileworld_RunGame_setWorld__P1086051, - "start": tileworld_RunGame_start__P1086052, - "registerController": tileworld_RunGame_registerController__P1086053, - "requestMove": tileworld_RunGame_requestMove__P1086054, - "update": tileworld_BackgroundBase_update__P306063, + "setWorld": tileworld_RunGame_setWorld__P8243, + "start": tileworld_RunGame_start__P8244, + "registerController": tileworld_RunGame_registerController__P8245, + "requestMove": tileworld_RunGame_requestMove__P8246, + "update": tileworld_BackgroundBase_update__P8242, }, }); -const tileworld_MapEditor__C310873_VT = mkVTable({ +const tileworld_MapEditor__C13058_VT = mkVTable({ name: "MapEditor", numFields: 11, - classNo: 39, - lastSubtypeNo: 39, + classNo: 33, + lastSubtypeNo: 33, maxBgInstances: null, methods: { - "update": tileworld_MapEditor_update__P310886, + "update": tileworld_MapEditor_update__P13071, }, iface: { "world": null, @@ -98124,28 +85849,28 @@ const tileworld_MapEditor__C310873_VT = mkVTable({ "set/aDown": null, "p": null, "set/p": null, - "paintHome": tileworld_MapEditor_paintHome__P310875, - "setCursor": tileworld_MapEditor_setCursor__P310876, - "moveLeft": tileworld_MapEditor_moveLeft__P310877, - "moveRight": tileworld_MapEditor_moveRight__P310878, - "moveUp": tileworld_MapEditor_moveUp__P310879, - "moveDown": tileworld_MapEditor_moveDown__P310880, - "updateSelection": tileworld_MapEditor_updateSelection__P310881, - "cursorAction": tileworld_MapEditor_cursorAction__P310882, - "col": tileworld_MapEditor_col__P310883, - "row": tileworld_MapEditor_row__P310884, - "drawImage": tileworld_MapEditor_drawImage__P310885, - "update": tileworld_MapEditor_update__P310886, + "paintHome": tileworld_MapEditor_paintHome__P13060, + "setCursor": tileworld_MapEditor_setCursor__P13061, + "moveLeft": tileworld_MapEditor_moveLeft__P13062, + "moveRight": tileworld_MapEditor_moveRight__P13063, + "moveUp": tileworld_MapEditor_moveUp__P13064, + "moveDown": tileworld_MapEditor_moveDown__P13065, + "updateSelection": tileworld_MapEditor_updateSelection__P13066, + "cursorAction": tileworld_MapEditor_cursorAction__P13067, + "col": tileworld_MapEditor_col__P13068, + "row": tileworld_MapEditor_row__P13069, + "drawImage": tileworld_MapEditor_drawImage__P13070, + "update": tileworld_MapEditor_update__P13071, }, }); -const tileworld_ImageEditor__C306563_VT = mkVTable({ +const tileworld_ImageEditor__C8748_VT = mkVTable({ name: "ImageEditor", numFields: 10, - classNo: 40, - lastSubtypeNo: 40, + classNo: 34, + lastSubtypeNo: 34, maxBgInstances: null, methods: { - "update": tileworld_ImageEditor_update__P306572, + "update": tileworld_ImageEditor_update__P8757, }, iface: { "cursorType": null, @@ -98168,28 +85893,28 @@ const tileworld_ImageEditor__C306563_VT = mkVTable({ "set/dirty": null, "p": null, "set/p": null, - "paintPixel": tileworld_ImageEditor_paintPixel__P306565, - "moveLeft": tileworld_ImageEditor_moveLeft__P306566, - "moveRight": tileworld_ImageEditor_moveRight__P306567, - "moveUp": tileworld_ImageEditor_moveUp__P306568, - "moveDown": tileworld_ImageEditor_moveDown__P306569, - "saveAndPop": tileworld_ImageEditor_saveAndPop__P306570, - "setCursor": tileworld_ImageEditor_setCursor__P306571, - "update": tileworld_ImageEditor_update__P306572, + "paintPixel": tileworld_ImageEditor_paintPixel__P8750, + "moveLeft": tileworld_ImageEditor_moveLeft__P8751, + "moveRight": tileworld_ImageEditor_moveRight__P8752, + "moveUp": tileworld_ImageEditor_moveUp__P8753, + "moveDown": tileworld_ImageEditor_moveDown__P8754, + "saveAndPop": tileworld_ImageEditor_saveAndPop__P8755, + "setCursor": tileworld_ImageEditor_setCursor__P8756, + "update": tileworld_ImageEditor_update__P8757, }, }); -const tileworld_RuleRoom__C307843_VT = mkVTable({ +const tileworld_RuleRoom__C10028_VT = mkVTable({ name: "RuleRoom", numFields: 9, - classNo: 36, - lastSubtypeNo: 36, + classNo: 30, + lastSubtypeNo: 30, maxBgInstances: null, methods: { - "update": tileworld_RuleRoom_update__P307846, - "okToMove": tileworld_RuleVisualsBase_okToMove__P306463, - "cursorMove": tileworld_RuleRoom_cursorMove__P307845, - "centerImage": tileworld_RuleRoom_centerImage__P307847, - "showCollision": tileworld_RuleVisualsBase_showCollision__P306477, + "update": tileworld_RuleRoom_update__P10031, + "okToMove": tileworld_RuleVisualsBase_okToMove__P8648, + "cursorMove": tileworld_RuleRoom_cursorMove__P10030, + "centerImage": tileworld_RuleRoom_centerImage__P10032, + "showCollision": tileworld_RuleVisualsBase_showCollision__P8662, }, iface: { "cursor": null, @@ -98210,43 +85935,43 @@ const tileworld_RuleRoom__C307843_VT = mkVTable({ "set/moreHelp": null, "rules": null, "set/rules": null, - "cursorMove": tileworld_RuleRoom_cursorMove__P307845, - "update": tileworld_RuleRoom_update__P307846, - "centerImage": tileworld_RuleRoom_centerImage__P307847, - "makeContext": tileworld_RuleRoom_makeContext__P307848, - "setRuleType": tileworld_RuleRoom_setRuleType__P307849, - "doBoth": tileworld_RuleRoom_doBoth__P307850, - "showRuleMenu": tileworld_RuleRoom_showRuleMenu__P307851, - "moveInX": tileworld_RuleVisualsBase_moveInX__P306460, - "moveUp": tileworld_RuleVisualsBase_moveUp__P306461, - "moveDown": tileworld_RuleVisualsBase_moveDown__P306462, - "okToMove": tileworld_RuleVisualsBase_okToMove__P306463, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P306464, - "setCol": tileworld_RuleVisualsBase_setCol__P306465, - "setRow": tileworld_RuleVisualsBase_setRow__P306466, - "col": tileworld_RuleVisualsBase_col__P306467, - "row": tileworld_RuleVisualsBase_row__P306468, - "drawImage": tileworld_RuleVisualsBase_drawImage__P306469, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P306470, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P306471, - "fillTile": tileworld_RuleVisualsBase_fillTile__P306472, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P306473, - "showRuleType": tileworld_RuleVisualsBase_showRuleType__P306476, - "showCollision": tileworld_RuleVisualsBase_showCollision__P306477, + "cursorMove": tileworld_RuleRoom_cursorMove__P10030, + "update": tileworld_RuleRoom_update__P10031, + "centerImage": tileworld_RuleRoom_centerImage__P10032, + "makeContext": tileworld_RuleRoom_makeContext__P10033, + "setRuleType": tileworld_RuleRoom_setRuleType__P10034, + "doBoth": tileworld_RuleRoom_doBoth__P10035, + "showRuleMenu": tileworld_RuleRoom_showRuleMenu__P10036, + "moveInX": tileworld_RuleVisualsBase_moveInX__P8645, + "moveUp": tileworld_RuleVisualsBase_moveUp__P8646, + "moveDown": tileworld_RuleVisualsBase_moveDown__P8647, + "okToMove": tileworld_RuleVisualsBase_okToMove__P8648, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P8649, + "setCol": tileworld_RuleVisualsBase_setCol__P8650, + "setRow": tileworld_RuleVisualsBase_setRow__P8651, + "col": tileworld_RuleVisualsBase_col__P8652, + "row": tileworld_RuleVisualsBase_row__P8653, + "drawImage": tileworld_RuleVisualsBase_drawImage__P8654, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P8655, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P8656, + "fillTile": tileworld_RuleVisualsBase_fillTile__P8657, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P8658, + "showRuleType": tileworld_RuleVisualsBase_showRuleType__P8661, + "showCollision": tileworld_RuleVisualsBase_showCollision__P8662, }, }); -const tileworld_RuleEditor__C307920_VT = mkVTable({ +const tileworld_RuleEditor__C10105_VT = mkVTable({ name: "RuleEditor", numFields: 20, - classNo: 37, - lastSubtypeNo: 37, + classNo: 31, + lastSubtypeNo: 31, maxBgInstances: null, methods: { - "update": tileworld_RuleEditor_update__P307933, - "okToMove": tileworld_RuleEditor_okToMove__P307924, - "cursorMove": tileworld_RuleEditor_cursorMove__P307930, - "centerImage": tileworld_RuleEditor_centerImage__P307935, - "showCollision": tileworld_RuleEditor_showCollision__P307934, + "update": tileworld_RuleEditor_update__P10118, + "okToMove": tileworld_RuleEditor_okToMove__P10109, + "cursorMove": tileworld_RuleEditor_cursorMove__P10115, + "centerImage": tileworld_RuleEditor_centerImage__P10120, + "showCollision": tileworld_RuleEditor_showCollision__P10119, }, iface: { "cursor": null, @@ -98289,91 +86014,91 @@ const tileworld_RuleEditor__C307920_VT = mkVTable({ "set/collideRow": null, "tokens": null, "set/tokens": null, - "noMenu": tileworld_RuleEditor_noMenu__P307923, - "okToMove": tileworld_RuleEditor_okToMove__P307924, - "getType": tileworld_RuleEditor_getType__P307925, - "changeRule": tileworld_RuleEditor_changeRule__P307927, - "saveAndPop": tileworld_RuleEditor_saveAndPop__P307928, - "currentRules": tileworld_RuleEditor_currentRules__P307929, - "cursorMove": tileworld_RuleEditor_cursorMove__P307930, - "otherCursorMove": tileworld_RuleEditor_otherCursorMove__P307931, - "manhattanDistance2": tileworld_RuleEditor_manhattanDistance2__P307932, - "update": tileworld_RuleEditor_update__P307933, - "showCollision": tileworld_RuleEditor_showCollision__P307934, - "centerImage": tileworld_RuleEditor_centerImage__P307935, - "showMainMenu": tileworld_RuleEditor_showMainMenu__P307936, - "active": tileworld_RuleEditor_active__P307937, - "makeContext": tileworld_RuleEditor_makeContext__P307938, - "rowToColCoord": tileworld_RuleEditor_rowToColCoord__P307939, - "rowToRowCoord": tileworld_RuleEditor_rowToRowCoord__P307940, - "showCommands": tileworld_RuleEditor_showCommands__P307941, - "showCommandsAt": tileworld_RuleEditor_showCommandsAt__P307942, - "showCommand": tileworld_RuleEditor_showCommand__P307943, - "tryEditCommand": tileworld_RuleEditor_tryEditCommand__P307944, - "makeCommandMenu": tileworld_RuleEditor_makeCommandMenu__P307945, - "makeArgMenu": tileworld_RuleEditor_makeArgMenu__P307946, - "modifyCommandMenu": tileworld_RuleEditor_modifyCommandMenu__P307947, - "getTokens": tileworld_RuleEditor_getTokens__P307948, - "instToStartArg": tileworld_RuleEditor_instToStartArg__P307949, - "instToArgText": tileworld_RuleEditor_instToArgText__P307950, - "instToNumArgs": tileworld_RuleEditor_instToNumArgs__P307951, - "instToImage": tileworld_RuleEditor_instToImage__P307952, - "checkCommand": tileworld_RuleEditor_checkCommand__P307953, - "commandUpdate": tileworld_RuleEditor_commandUpdate__P307954, - "setCommand": tileworld_RuleEditor_setCommand__P307955, - "posSpritePosition": tileworld_RuleEditor_posSpritePosition__P307956, - "findWitnessWhenDo": tileworld_RuleEditor_findWitnessWhenDo__P307957, - "findWitnessColRow": tileworld_RuleEditor_findWitnessColRow__P307958, - "attrMenu": tileworld_RuleEditor_attrMenu__P307959, - "selectAttr": tileworld_RuleEditor_selectAttr__P307960, - "attrUpdate": tileworld_RuleEditor_attrUpdate__P307961, - "getWhenDo": tileworld_RuleEditor_getWhenDo__P307962, - "setFixedOther": tileworld_RuleEditor_setFixedOther__P307963, - "setMovableOther": tileworld_RuleEditor_setMovableOther__P307964, - "setAttr": tileworld_RuleEditor_setAttr__P307965, - "attrIndex": tileworld_RuleEditor_attrIndex__P307966, - "showAttributes": tileworld_RuleEditor_showAttributes__P307968, - "projectAttrs": tileworld_RuleEditor_projectAttrs__P307969, - "moveInX": tileworld_RuleVisualsBase_moveInX__P306460, - "moveUp": tileworld_RuleVisualsBase_moveUp__P306461, - "moveDown": tileworld_RuleVisualsBase_moveDown__P306462, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P306464, - "setCol": tileworld_RuleVisualsBase_setCol__P306465, - "setRow": tileworld_RuleVisualsBase_setRow__P306466, - "col": tileworld_RuleVisualsBase_col__P306467, - "row": tileworld_RuleVisualsBase_row__P306468, - "drawImage": tileworld_RuleVisualsBase_drawImage__P306469, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P306470, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P306471, - "fillTile": tileworld_RuleVisualsBase_fillTile__P306472, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P306473, - "showRuleType": tileworld_RuleVisualsBase_showRuleType__P306476, + "noMenu": tileworld_RuleEditor_noMenu__P10108, + "okToMove": tileworld_RuleEditor_okToMove__P10109, + "getType": tileworld_RuleEditor_getType__P10110, + "changeRule": tileworld_RuleEditor_changeRule__P10112, + "saveAndPop": tileworld_RuleEditor_saveAndPop__P10113, + "currentRules": tileworld_RuleEditor_currentRules__P10114, + "cursorMove": tileworld_RuleEditor_cursorMove__P10115, + "otherCursorMove": tileworld_RuleEditor_otherCursorMove__P10116, + "manhattanDistance2": tileworld_RuleEditor_manhattanDistance2__P10117, + "update": tileworld_RuleEditor_update__P10118, + "showCollision": tileworld_RuleEditor_showCollision__P10119, + "centerImage": tileworld_RuleEditor_centerImage__P10120, + "showMainMenu": tileworld_RuleEditor_showMainMenu__P10121, + "active": tileworld_RuleEditor_active__P10122, + "makeContext": tileworld_RuleEditor_makeContext__P10123, + "rowToColCoord": tileworld_RuleEditor_rowToColCoord__P10124, + "rowToRowCoord": tileworld_RuleEditor_rowToRowCoord__P10125, + "showCommands": tileworld_RuleEditor_showCommands__P10126, + "showCommandsAt": tileworld_RuleEditor_showCommandsAt__P10127, + "showCommand": tileworld_RuleEditor_showCommand__P10128, + "tryEditCommand": tileworld_RuleEditor_tryEditCommand__P10129, + "makeCommandMenu": tileworld_RuleEditor_makeCommandMenu__P10130, + "makeArgMenu": tileworld_RuleEditor_makeArgMenu__P10131, + "modifyCommandMenu": tileworld_RuleEditor_modifyCommandMenu__P10132, + "getTokens": tileworld_RuleEditor_getTokens__P10133, + "instToStartArg": tileworld_RuleEditor_instToStartArg__P10134, + "instToArgText": tileworld_RuleEditor_instToArgText__P10135, + "instToNumArgs": tileworld_RuleEditor_instToNumArgs__P10136, + "instToImage": tileworld_RuleEditor_instToImage__P10137, + "checkCommand": tileworld_RuleEditor_checkCommand__P10138, + "commandUpdate": tileworld_RuleEditor_commandUpdate__P10139, + "setCommand": tileworld_RuleEditor_setCommand__P10140, + "posSpritePosition": tileworld_RuleEditor_posSpritePosition__P10141, + "findWitnessWhenDo": tileworld_RuleEditor_findWitnessWhenDo__P10142, + "findWitnessColRow": tileworld_RuleEditor_findWitnessColRow__P10143, + "attrMenu": tileworld_RuleEditor_attrMenu__P10144, + "selectAttr": tileworld_RuleEditor_selectAttr__P10145, + "attrUpdate": tileworld_RuleEditor_attrUpdate__P10146, + "getWhenDo": tileworld_RuleEditor_getWhenDo__P10147, + "setFixedOther": tileworld_RuleEditor_setFixedOther__P10148, + "setMovableOther": tileworld_RuleEditor_setMovableOther__P10149, + "setAttr": tileworld_RuleEditor_setAttr__P10150, + "attrIndex": tileworld_RuleEditor_attrIndex__P10151, + "showAttributes": tileworld_RuleEditor_showAttributes__P10153, + "projectAttrs": tileworld_RuleEditor_projectAttrs__P10154, + "moveInX": tileworld_RuleVisualsBase_moveInX__P8645, + "moveUp": tileworld_RuleVisualsBase_moveUp__P8646, + "moveDown": tileworld_RuleVisualsBase_moveDown__P8647, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P8649, + "setCol": tileworld_RuleVisualsBase_setCol__P8650, + "setRow": tileworld_RuleVisualsBase_setRow__P8651, + "col": tileworld_RuleVisualsBase_col__P8652, + "row": tileworld_RuleVisualsBase_row__P8653, + "drawImage": tileworld_RuleVisualsBase_drawImage__P8654, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P8655, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P8656, + "fillTile": tileworld_RuleVisualsBase_fillTile__P8657, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P8658, + "showRuleType": tileworld_RuleVisualsBase_showRuleType__P8661, }, }); -const sprites_SpriteSet__C298297_VT = mkVTable({ +const sprites_SpriteSet__C805_VT = mkVTable({ name: "SpriteSet", numFields: 1, - classNo: 71, - lastSubtypeNo: 71, + classNo: 65, + lastSubtypeNo: 65, maxBgInstances: null, methods: { }, iface: { "_sprites": null, "set/_sprites": null, - "length": sprites_SpriteSet_length__P298299, - "add": sprites_SpriteSet_add__P298301, - "remove": sprites_SpriteSet_remove__P298303, - "contains": sprites_SpriteSet_contains__P298304, - "toString": sprites_SpriteSet_toString__P298307, + "length": sprites_SpriteSet_length__P807, + "add": sprites_SpriteSet_add__P809, + "remove": sprites_SpriteSet_remove__P811, + "contains": sprites_SpriteSet_contains__P812, + "toString": sprites_SpriteSet_toString__P815, }, - toStringMethod: sprites_SpriteSet_toString__P298307, + toStringMethod: sprites_SpriteSet_toString__P815, }); -const game_Hitbox__C298213_VT = mkVTable({ +const game_Hitbox__C721_VT = mkVTable({ name: "Hitbox", numFields: 5, - classNo: 72, - lastSubtypeNo: 72, + classNo: 66, + lastSubtypeNo: 66, maxBgInstances: null, methods: { }, @@ -98388,17 +86113,17 @@ const game_Hitbox__C298213_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P298214, - "top": game_Hitbox_top__P298215, - "right": game_Hitbox_right__P298216, - "bottom": game_Hitbox_bottom__P298217, + "left": game_Hitbox_left__P722, + "top": game_Hitbox_top__P723, + "right": game_Hitbox_right__P724, + "bottom": game_Hitbox_bottom__P725, }, }); -const JSON_Stringifier__C297826_VT = mkVTable({ +const JSON_Stringifier__C255_VT = mkVTable({ name: "Stringifier", numFields: 3, - classNo: 73, - lastSubtypeNo: 73, + classNo: 67, + lastSubtypeNo: 67, maxBgInstances: null, methods: { }, @@ -98409,15 +86134,15 @@ const JSON_Stringifier__C297826_VT = mkVTable({ "set/indentStep": null, "indent": null, "set/indent": null, - "doString": JSON_Stringifier_doString__P297827, - "go": JSON_Stringifier_go__P297828, + "doString": JSON_Stringifier_doString__P256, + "go": JSON_Stringifier_go__P257, }, }); -const IdRule__C302335_VT = mkVTable({ +const IdRule__C4179_VT = mkVTable({ name: "IdRule", numFields: 2, - classNo: 74, - lastSubtypeNo: 74, + classNo: 68, + lastSubtypeNo: 68, maxBgInstances: null, methods: { }, @@ -98428,11 +86153,11 @@ const IdRule__C302335_VT = mkVTable({ "set/rule": null, }, }); -const animation_Animation__C299542_VT = mkVTable({ +const animation_Animation__C2050_VT = mkVTable({ name: "Animation", numFields: 6, - classNo: 75, - lastSubtypeNo: 75, + classNo: 69, + lastSubtypeNo: 69, maxBgInstances: null, methods: { }, @@ -98449,24 +86174,24 @@ const animation_Animation__C299542_VT = mkVTable({ "set/action": null, "lastTime": null, "set/lastTime": null, - "_init": animation_Animation__init__P299543, - "update": animation_Animation_update__P299544, - "getImage": animation_Animation_getImage__P299545, - "addAnimationFrame": animation_Animation_addAnimationFrame__P299549, - "registerSprite": animation_Animation_registerSprite__P299550, + "_init": animation_Animation__init__P2051, + "update": animation_Animation_update__P2052, + "getImage": animation_Animation_getImage__P2053, + "addAnimationFrame": animation_Animation_addAnimationFrame__P2057, + "registerSprite": animation_Animation_registerSprite__P2058, }, }); -const scene_Renderable__C298581_VT = mkVTable({ +const scene_Renderable__C1089_VT = mkVTable({ name: "Renderable", numFields: 4, - classNo: 45, - lastSubtypeNo: 45, + classNo: 39, + lastSubtypeNo: 39, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P298583, - "__draw": sprites_BaseSprite___draw__P298102, - "__drawCore": scene_Renderable___drawCore__P298584, - "__update": sprites_BaseSprite___update__P298104, + "__visible": scene_Renderable___visible__P1091, + "__draw": sprites_BaseSprite___draw__P610, + "__drawCore": scene_Renderable___drawCore__P1092, + "__update": sprites_BaseSprite___update__P612, }, iface: { "_z": null, @@ -98477,25 +86202,25 @@ const scene_Renderable__C298581_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__visible": scene_Renderable___visible__P298583, - "__drawCore": scene_Renderable___drawCore__P298584, - "z": sprites_BaseSprite_z__P298100, - "set/z": sprites_BaseSprite_z__P298101, - "__draw": sprites_BaseSprite___draw__P298102, - "__update": sprites_BaseSprite___update__P298104, + "__visible": scene_Renderable___visible__P1091, + "__drawCore": scene_Renderable___drawCore__P1092, + "z": sprites_BaseSprite_z__P608, + "set/z": sprites_BaseSprite_z__P609, + "__draw": sprites_BaseSprite___draw__P610, + "__update": sprites_BaseSprite___update__P612, }, }); -const tileworld_TileSprite__C1084379_VT = mkVTable({ +const tileworld_TileSprite__C6554_VT = mkVTable({ name: "TileSprite", numFields: 29, - classNo: 43, - lastSubtypeNo: 43, + classNo: 37, + lastSubtypeNo: 37, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P298246, - "__draw": sprites_BaseSprite___draw__P298102, - "__drawCore": Sprite___drawCore__P298264, - "__update": Sprite___update__P298265, + "__visible": Sprite___visible__P754, + "__draw": sprites_BaseSprite___draw__P610, + "__drawCore": Sprite___drawCore__P772, + "__update": Sprite___update__P773, }, iface: { "_z": null, @@ -98556,59 +86281,59 @@ const tileworld_TileSprite__C1084379_VT = mkVTable({ "set/arg": null, "cnt": null, "set/cnt": null, - "col": tileworld_TileSprite_col__P1084381, - "row": tileworld_TileSprite_row__P1084382, - "update": tileworld_TileSprite_update__P1084383, - "x": Sprite_x__P298229, - "set/x": Sprite_x__P298230, - "y": Sprite_y__P298231, - "set/y": Sprite_y__P298232, - "vx": Sprite_vx__P298233, - "set/vx": Sprite_vx__P298234, - "vy": Sprite_vy__P298235, - "set/vy": Sprite_vy__P298236, - "ax": Sprite_ax__P298237, - "set/ax": Sprite_ax__P298238, - "ay": Sprite_ay__P298239, - "set/ay": Sprite_ay__P298240, - "data": Sprite_data__P298241, - "set/data": Sprite_data__P298242, - "image": Sprite_image__P298244, - "setImage": Sprite_setImage__P298245, - "__visible": Sprite___visible__P298246, - "width": Sprite_width__P298247, - "height": Sprite_height__P298248, - "left": Sprite_left__P298249, - "set/left": Sprite_left__P298250, - "right": Sprite_right__P298251, - "set/right": Sprite_right__P298252, - "top": Sprite_top__P298253, - "set/top": Sprite_top__P298254, - "bottom": Sprite_bottom__P298255, - "set/bottom": Sprite_bottom__P298256, - "kind": Sprite_kind__P298257, - "setKind": Sprite_setKind__P298258, - "say": Sprite_say__P298261, - "isOutOfScreen": Sprite_isOutOfScreen__P298263, - "__drawCore": Sprite___drawCore__P298264, - "__update": Sprite___update__P298265, - "setFlag": Sprite_setFlag__P298266, - "overlapsWith": Sprite_overlapsWith__P298267, - "clearObstacles": Sprite_clearObstacles__P298271, - "registerObstacle": Sprite_registerObstacle__P298272, - "destroy": Sprite_destroy__P298274, - "_destroyCore": Sprite__destroyCore__P298275, - "toString": Sprite_toString__P298277, - "z": sprites_BaseSprite_z__P298100, - "set/z": sprites_BaseSprite_z__P298101, - "__draw": sprites_BaseSprite___draw__P298102, + "col": tileworld_TileSprite_col__P6556, + "row": tileworld_TileSprite_row__P6557, + "update": tileworld_TileSprite_update__P6558, + "x": Sprite_x__P737, + "set/x": Sprite_x__P738, + "y": Sprite_y__P739, + "set/y": Sprite_y__P740, + "vx": Sprite_vx__P741, + "set/vx": Sprite_vx__P742, + "vy": Sprite_vy__P743, + "set/vy": Sprite_vy__P744, + "ax": Sprite_ax__P745, + "set/ax": Sprite_ax__P746, + "ay": Sprite_ay__P747, + "set/ay": Sprite_ay__P748, + "data": Sprite_data__P749, + "set/data": Sprite_data__P750, + "image": Sprite_image__P752, + "setImage": Sprite_setImage__P753, + "__visible": Sprite___visible__P754, + "width": Sprite_width__P755, + "height": Sprite_height__P756, + "left": Sprite_left__P757, + "set/left": Sprite_left__P758, + "right": Sprite_right__P759, + "set/right": Sprite_right__P760, + "top": Sprite_top__P761, + "set/top": Sprite_top__P762, + "bottom": Sprite_bottom__P763, + "set/bottom": Sprite_bottom__P764, + "kind": Sprite_kind__P765, + "setKind": Sprite_setKind__P766, + "say": Sprite_say__P769, + "isOutOfScreen": Sprite_isOutOfScreen__P771, + "__drawCore": Sprite___drawCore__P772, + "__update": Sprite___update__P773, + "setFlag": Sprite_setFlag__P774, + "overlapsWith": Sprite_overlapsWith__P775, + "clearObstacles": Sprite_clearObstacles__P779, + "registerObstacle": Sprite_registerObstacle__P780, + "destroy": Sprite_destroy__P782, + "_destroyCore": Sprite__destroyCore__P783, + "toString": Sprite_toString__P785, + "z": sprites_BaseSprite_z__P608, + "set/z": sprites_BaseSprite_z__P609, + "__draw": sprites_BaseSprite___draw__P610, }, }); -const tileworld_TileWorldVM__C1084478_VT = mkVTable({ +const tileworld_TileWorldVM__C6655_VT = mkVTable({ name: "TileWorldVM", numFields: 8, - classNo: 76, - lastSubtypeNo: 76, + classNo: 70, + lastSubtypeNo: 70, maxBgInstances: null, methods: { }, @@ -98629,32 +86354,32 @@ const tileworld_TileWorldVM__C1084478_VT = mkVTable({ "set/p": null, "rules": null, "set/rules": null, - "setState": tileworld_TileWorldVM_setState__P1084479, - "round": tileworld_TileWorldVM_round__P1084480, - "updateWorld": tileworld_TileWorldVM_updateWorld__P1084481, - "moving": tileworld_TileWorldVM_moving__P1084482, - "allSprites": tileworld_TileWorldVM_allSprites__P1084483, - "restingWithChange": tileworld_TileWorldVM_restingWithChange__P1084484, - "matchingRules": tileworld_TileWorldVM_matchingRules__P1084485, - "applyRules": tileworld_TileWorldVM_applyRules__P1084486, - "collidingRules": tileworld_TileWorldVM_collidingRules__P1084487, - "collisionDetection": tileworld_TileWorldVM_collisionDetection__P1084488, - "collide": tileworld_TileWorldVM_collide__P1084489, - "evaluateRule": tileworld_TileWorldVM_evaluateRule__P1084490, - "getWitness": tileworld_TileWorldVM_getWitness__P1084491, - "inBounds": tileworld_TileWorldVM_inBounds__P1084492, - "allTrue": tileworld_TileWorldVM_allTrue__P1084493, - "whendoTrue": tileworld_TileWorldVM_whendoTrue__P1084494, - "evaluateWhenDo": tileworld_TileWorldVM_evaluateWhenDo__P1084495, - "evaluateRuleClosure": tileworld_TileWorldVM_evaluateRuleClosure__P1084496, - "evaluateWhenDoCommands": tileworld_TileWorldVM_evaluateWhenDoCommands__P1084497, + "setState": tileworld_TileWorldVM_setState__P6656, + "round": tileworld_TileWorldVM_round__P6657, + "updateWorld": tileworld_TileWorldVM_updateWorld__P6658, + "moving": tileworld_TileWorldVM_moving__P6659, + "allSprites": tileworld_TileWorldVM_allSprites__P6660, + "restingWithChange": tileworld_TileWorldVM_restingWithChange__P6661, + "matchingRules": tileworld_TileWorldVM_matchingRules__P6662, + "applyRules": tileworld_TileWorldVM_applyRules__P6663, + "collidingRules": tileworld_TileWorldVM_collidingRules__P6664, + "collisionDetection": tileworld_TileWorldVM_collisionDetection__P6665, + "collide": tileworld_TileWorldVM_collide__P6666, + "evaluateRule": tileworld_TileWorldVM_evaluateRule__P6667, + "getWitness": tileworld_TileWorldVM_getWitness__P6668, + "inBounds": tileworld_TileWorldVM_inBounds__P6669, + "allTrue": tileworld_TileWorldVM_allTrue__P6670, + "whendoTrue": tileworld_TileWorldVM_whendoTrue__P6671, + "evaluateWhenDo": tileworld_TileWorldVM_evaluateWhenDo__P6672, + "evaluateRuleClosure": tileworld_TileWorldVM_evaluateRuleClosure__P6673, + "evaluateWhenDoCommands": tileworld_TileWorldVM_evaluateWhenDoCommands__P6674, }, }); -const info_PlayerInfo__C298470_VT = mkVTable({ +const info_PlayerInfo__C978_VT = mkVTable({ name: "PlayerInfo", numFields: 12, - classNo: 77, - lastSubtypeNo: 77, + classNo: 71, + lastSubtypeNo: 71, maxBgInstances: null, methods: { }, @@ -98683,27 +86408,27 @@ const info_PlayerInfo__C298470_VT = mkVTable({ "set/left": null, "up": null, "set/up": null, - "init": info_PlayerInfo_init__P298471, - "getState": info_PlayerInfo_getState__P298472, - "id": info_PlayerInfo_id__P298473, - "score": info_PlayerInfo_score__P298474, - "hasScore": info_PlayerInfo_hasScore__P298477, - "hasLife": info_PlayerInfo_hasLife__P298481, - "raiseLifeZero": info_PlayerInfo_raiseLifeZero__P298483, - "drawPlayer": info_PlayerInfo_drawPlayer__P298484, - "drawScore": info_PlayerInfo_drawScore__P298485, - "drawLives": info_PlayerInfo_drawLives__P298486, + "init": info_PlayerInfo_init__P979, + "getState": info_PlayerInfo_getState__P980, + "id": info_PlayerInfo_id__P981, + "score": info_PlayerInfo_score__P982, + "hasScore": info_PlayerInfo_hasScore__P985, + "hasLife": info_PlayerInfo_hasLife__P989, + "raiseLifeZero": info_PlayerInfo_raiseLifeZero__P991, + "drawPlayer": info_PlayerInfo_drawPlayer__P992, + "drawScore": info_PlayerInfo_drawScore__P993, + "drawLives": info_PlayerInfo_drawLives__P994, }, }); -const game_BaseDialog__C298658_VT = mkVTable({ +const game_BaseDialog__C1166_VT = mkVTable({ name: "BaseDialog", numFields: 11, - classNo: 78, - lastSubtypeNo: 79, + classNo: 72, + lastSubtypeNo: 73, maxBgInstances: null, methods: { - "update": game_BaseDialog_update__P298659, - "drawTextCore": game_BaseDialog_drawTextCore__P298661, + "update": game_BaseDialog_update__P1167, + "drawTextCore": game_BaseDialog_drawTextCore__P1169, }, iface: { "image": null, @@ -98728,26 +86453,26 @@ const game_BaseDialog__C298658_VT = mkVTable({ "set/font": null, "textColor": null, "set/textColor": null, - "update": game_BaseDialog_update__P298659, - "drawTextCore": game_BaseDialog_drawTextCore__P298661, - "drawCursorRow": game_BaseDialog_drawCursorRow__P298662, - "drawBorder": game_BaseDialog_drawBorder__P298663, - "clearInterior": game_BaseDialog_clearInterior__P298664, - "drawPartial": game_BaseDialog_drawPartial__P298665, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P298666, - "textAreaWidth": game_BaseDialog_textAreaWidth__P298668, - "textAreaHeight": game_BaseDialog_textAreaHeight__P298669, + "update": game_BaseDialog_update__P1167, + "drawTextCore": game_BaseDialog_drawTextCore__P1169, + "drawCursorRow": game_BaseDialog_drawCursorRow__P1170, + "drawBorder": game_BaseDialog_drawBorder__P1171, + "clearInterior": game_BaseDialog_clearInterior__P1172, + "drawPartial": game_BaseDialog_drawPartial__P1173, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P1174, + "textAreaWidth": game_BaseDialog_textAreaWidth__P1176, + "textAreaHeight": game_BaseDialog_textAreaHeight__P1177, }, }); -const game_GameOverDialog__C298689_VT = mkVTable({ +const game_GameOverDialog__C1197_VT = mkVTable({ name: "GameOverDialog", numFields: 16, - classNo: 79, - lastSubtypeNo: 79, + classNo: 73, + lastSubtypeNo: 73, maxBgInstances: null, methods: { - "update": game_GameOverDialog_update__P298692, - "drawTextCore": game_GameOverDialog_drawTextCore__P298693, + "update": game_GameOverDialog_update__P1200, + "drawTextCore": game_GameOverDialog_drawTextCore__P1201, }, iface: { "image": null, @@ -98782,23 +86507,23 @@ const game_GameOverDialog__C298689_VT = mkVTable({ "set/score": null, "highScore": null, "set/highScore": null, - "displayCursor": game_GameOverDialog_displayCursor__P298691, - "update": game_GameOverDialog_update__P298692, - "drawTextCore": game_GameOverDialog_drawTextCore__P298693, - "drawCursorRow": game_BaseDialog_drawCursorRow__P298662, - "drawBorder": game_BaseDialog_drawBorder__P298663, - "clearInterior": game_BaseDialog_clearInterior__P298664, - "drawPartial": game_BaseDialog_drawPartial__P298665, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P298666, - "textAreaWidth": game_BaseDialog_textAreaWidth__P298668, - "textAreaHeight": game_BaseDialog_textAreaHeight__P298669, + "displayCursor": game_GameOverDialog_displayCursor__P1199, + "update": game_GameOverDialog_update__P1200, + "drawTextCore": game_GameOverDialog_drawTextCore__P1201, + "drawCursorRow": game_BaseDialog_drawCursorRow__P1170, + "drawBorder": game_BaseDialog_drawBorder__P1171, + "clearInterior": game_BaseDialog_clearInterior__P1172, + "drawPartial": game_BaseDialog_drawPartial__P1173, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P1174, + "textAreaWidth": game_BaseDialog_textAreaWidth__P1176, + "textAreaHeight": game_BaseDialog_textAreaHeight__P1177, }, }); -const info_PlayerState__C298383_VT = mkVTable({ +const info_PlayerState__C891_VT = mkVTable({ name: "PlayerState", numFields: 3, - classNo: 80, - lastSubtypeNo: 80, + classNo: 74, + lastSubtypeNo: 74, maxBgInstances: null, methods: { }, @@ -98811,11 +86536,11 @@ const info_PlayerState__C298383_VT = mkVTable({ "set/lifeZeroHandler": null, }, }); -const info_InfoState__C298385_VT = mkVTable({ +const info_InfoState__C893_VT = mkVTable({ name: "InfoState", numFields: 10, - classNo: 81, - lastSubtypeNo: 81, + classNo: 75, + lastSubtypeNo: 75, maxBgInstances: null, methods: { }, @@ -98842,11 +86567,11 @@ const info_InfoState__C298385_VT = mkVTable({ "set/countdownEndHandler": null, }, }); -const music_MelodyPlayer__C300229_VT = mkVTable({ +const music_MelodyPlayer__C426_VT = mkVTable({ name: "MelodyPlayer", numFields: 2, - classNo: 82, - lastSubtypeNo: 82, + classNo: 76, + lastSubtypeNo: 76, maxBgInstances: null, methods: { }, @@ -98855,15 +86580,15 @@ const music_MelodyPlayer__C300229_VT = mkVTable({ "set/melody": null, "onPlayFinished": null, "set/onPlayFinished": null, - "stop": music_MelodyPlayer_stop__P300230, - "play": music_MelodyPlayer_play__P300231, + "stop": music_MelodyPlayer_stop__P427, + "play": music_MelodyPlayer_play__P428, }, }); -const tileworld_RuleClosure__C1084472_VT = mkVTable({ +const tileworld_RuleClosure__C6649_VT = mkVTable({ name: "RuleClosure", numFields: 3, - classNo: 83, - lastSubtypeNo: 83, + classNo: 77, + lastSubtypeNo: 77, maxBgInstances: null, methods: { }, @@ -98876,11 +86601,11 @@ const tileworld_RuleClosure__C1084472_VT = mkVTable({ "set/witnesses": null, }, }); -const tiles_Location__C298507_VT = mkVTable({ +const tiles_Location__C1015_VT = mkVTable({ name: "Location", numFields: 3, - classNo: 84, - lastSubtypeNo: 84, + classNo: 78, + lastSubtypeNo: 78, maxBgInstances: null, methods: { }, @@ -98891,16 +86616,16 @@ const tiles_Location__C298507_VT = mkVTable({ "set/_col": null, "tileMap": null, "set/tileMap": null, - "x": tiles_Location_x__P298508, - "y": tiles_Location_y__P298509, - "tileSet": tiles_Location_tileSet__P298510, + "x": tiles_Location_x__P1016, + "y": tiles_Location_y__P1017, + "tileSet": tiles_Location_tileSet__P1018, }, }); -const tileworld_PaintTile__C1084463_VT = mkVTable({ +const tileworld_PaintTile__C6640_VT = mkVTable({ name: "PaintTile", numFields: 3, - classNo: 85, - lastSubtypeNo: 85, + classNo: 79, + lastSubtypeNo: 79, maxBgInstances: null, methods: { }, @@ -98913,11 +86638,11 @@ const tileworld_PaintTile__C1084463_VT = mkVTable({ "set/tile": null, }, }); -const tileworld_VMState__C1084469_VT = mkVTable({ +const tileworld_VMState__C6646_VT = mkVTable({ name: "VMState", numFields: 8, - classNo: 86, - lastSubtypeNo: 86, + classNo: 80, + lastSubtypeNo: 80, maxBgInstances: null, methods: { }, @@ -98940,29 +86665,29 @@ const tileworld_VMState__C1084469_VT = mkVTable({ "set/deadSprites": null, }, }); -const tiles_legacy_LegacyTilemap__C299568_VT = mkVTable({ +const tiles_legacy_LegacyTilemap__C2076_VT = mkVTable({ name: "LegacyTilemap", numFields: 6, - classNo: 68, - lastSubtypeNo: 68, + classNo: 61, + lastSubtypeNo: 61, maxBgInstances: null, methods: { - "data": tiles_legacy_LegacyTilemap_data__P299570, - "offsetX": tiles_legacy_LegacyTilemap_offsetX__P299572, - "offsetY": tiles_legacy_LegacyTilemap_offsetY__P299573, - "areaWidth": tiles_legacy_LegacyTilemap_areaWidth__P299574, - "areaHeight": tiles_legacy_LegacyTilemap_areaHeight__P299575, - "layer": tiles_legacy_LegacyTilemap_layer__P299576, - "enabled": tiles_legacy_LegacyTilemap_enabled__P299578, - "getTile": tiles_legacy_LegacyTilemap_getTile__P299582, - "getTileIndex": tiles_legacy_LegacyTilemap_getTileIndex__P299593, - "setTileAt": tiles_legacy_LegacyTilemap_setTileAt__P299583, - "isInvalidIndex": tiles_legacy_LegacyTilemap_isInvalidIndex__P299588, - "draw": tiles_legacy_LegacyTilemap_draw__P299589, - "isObstacle": tiles_legacy_LegacyTilemap_isObstacle__P299590, - "getObstacle": tiles_legacy_LegacyTilemap_getObstacle__P299591, - "isOnWall": tiles_legacy_LegacyTilemap_isOnWall__P299592, - "getTileImage": tiles_legacy_LegacyTilemap_getTileImage__P299594, + "data": tiles_legacy_LegacyTilemap_data__P2078, + "offsetX": tiles_legacy_LegacyTilemap_offsetX__P2080, + "offsetY": tiles_legacy_LegacyTilemap_offsetY__P2081, + "areaWidth": tiles_legacy_LegacyTilemap_areaWidth__P2082, + "areaHeight": tiles_legacy_LegacyTilemap_areaHeight__P2083, + "layer": tiles_legacy_LegacyTilemap_layer__P2084, + "enabled": tiles_legacy_LegacyTilemap_enabled__P2086, + "getTile": tiles_legacy_LegacyTilemap_getTile__P2090, + "getTileIndex": tiles_legacy_LegacyTilemap_getTileIndex__P2101, + "setTileAt": tiles_legacy_LegacyTilemap_setTileAt__P2091, + "isInvalidIndex": tiles_legacy_LegacyTilemap_isInvalidIndex__P2096, + "draw": tiles_legacy_LegacyTilemap_draw__P2097, + "isObstacle": tiles_legacy_LegacyTilemap_isObstacle__P2098, + "getObstacle": tiles_legacy_LegacyTilemap_getObstacle__P2099, + "isOnWall": tiles_legacy_LegacyTilemap_isOnWall__P2100, + "getTileImage": tiles_legacy_LegacyTilemap_getTileImage__P2102, }, iface: { "_scale": null, @@ -98977,35 +86702,35 @@ const tiles_legacy_LegacyTilemap__C299568_VT = mkVTable({ "set/_tileSets": null, "isLegacy": null, "set/isLegacy": null, - "data": tiles_legacy_LegacyTilemap_data__P299570, - "offsetX": tiles_legacy_LegacyTilemap_offsetX__P299572, - "offsetY": tiles_legacy_LegacyTilemap_offsetY__P299573, - "areaWidth": tiles_legacy_LegacyTilemap_areaWidth__P299574, - "areaHeight": tiles_legacy_LegacyTilemap_areaHeight__P299575, - "layer": tiles_legacy_LegacyTilemap_layer__P299576, - "enabled": tiles_legacy_LegacyTilemap_enabled__P299578, - "setTile": tiles_legacy_LegacyTilemap_setTile__P299579, - "setMap": tiles_legacy_LegacyTilemap_setMap__P299580, - "getTile": tiles_legacy_LegacyTilemap_getTile__P299582, - "setTileAt": tiles_legacy_LegacyTilemap_setTileAt__P299583, - "generateTile": tiles_legacy_LegacyTilemap_generateTile__P299586, - "isOutsideMap": tiles_legacy_LegacyTilemap_isOutsideMap__P299587, - "isInvalidIndex": tiles_legacy_LegacyTilemap_isInvalidIndex__P299588, - "draw": tiles_legacy_LegacyTilemap_draw__P299589, - "isObstacle": tiles_legacy_LegacyTilemap_isObstacle__P299590, - "getObstacle": tiles_legacy_LegacyTilemap_getObstacle__P299591, - "isOnWall": tiles_legacy_LegacyTilemap_isOnWall__P299592, - "getTileIndex": tiles_legacy_LegacyTilemap_getTileIndex__P299593, - "getTileImage": tiles_legacy_LegacyTilemap_getTileImage__P299594, - "scale": tiles_TileMap_scale__P298538, - "set/scale": tiles_TileMap_scale__P298539, + "data": tiles_legacy_LegacyTilemap_data__P2078, + "offsetX": tiles_legacy_LegacyTilemap_offsetX__P2080, + "offsetY": tiles_legacy_LegacyTilemap_offsetY__P2081, + "areaWidth": tiles_legacy_LegacyTilemap_areaWidth__P2082, + "areaHeight": tiles_legacy_LegacyTilemap_areaHeight__P2083, + "layer": tiles_legacy_LegacyTilemap_layer__P2084, + "enabled": tiles_legacy_LegacyTilemap_enabled__P2086, + "setTile": tiles_legacy_LegacyTilemap_setTile__P2087, + "setMap": tiles_legacy_LegacyTilemap_setMap__P2088, + "getTile": tiles_legacy_LegacyTilemap_getTile__P2090, + "setTileAt": tiles_legacy_LegacyTilemap_setTileAt__P2091, + "generateTile": tiles_legacy_LegacyTilemap_generateTile__P2094, + "isOutsideMap": tiles_legacy_LegacyTilemap_isOutsideMap__P2095, + "isInvalidIndex": tiles_legacy_LegacyTilemap_isInvalidIndex__P2096, + "draw": tiles_legacy_LegacyTilemap_draw__P2097, + "isObstacle": tiles_legacy_LegacyTilemap_isObstacle__P2098, + "getObstacle": tiles_legacy_LegacyTilemap_getObstacle__P2099, + "isOnWall": tiles_legacy_LegacyTilemap_isOnWall__P2100, + "getTileIndex": tiles_legacy_LegacyTilemap_getTileIndex__P2101, + "getTileImage": tiles_legacy_LegacyTilemap_getTileImage__P2102, + "scale": tiles_TileMap_scale__P1046, + "set/scale": tiles_TileMap_scale__P1047, }, }); -const tiles_legacy_TileSet__C299565_VT = mkVTable({ +const tiles_legacy_TileSet__C2073_VT = mkVTable({ name: "TileSet", numFields: 4, - classNo: 87, - lastSubtypeNo: 87, + classNo: 81, + lastSubtypeNo: 81, maxBgInstances: null, methods: { }, @@ -99018,789 +86743,45 @@ const tiles_legacy_TileSet__C299565_VT = mkVTable({ "set/originalImage": null, "cachedImage": null, "set/cachedImage": null, - "image": tiles_legacy_TileSet_image__P299566, - }, -}); -const jacdac_JACDAC__C299830_VT = mkVTable({ - name: "JACDAC", - numFields: 8, - classNo: 88, - lastSubtypeNo: 88, - maxBgInstances: null, - methods: { - }, - iface: { - "_controlService": null, - "set/_controlService": null, - "_consoleService": null, - "set/_consoleService": null, - "_bridge": null, - "set/_bridge": null, - "_services": null, - "set/_services": null, - "_bus": null, - "set/_bus": null, - "state": null, - "set/state": null, - "onIdentificationRequest": null, - "set/onIdentificationRequest": null, - "onNameRemotelyChanged": null, - "set/onNameRemotelyChanged": null, - "bus": jacdac_JACDAC_bus__P299831, - "services": jacdac_JACDAC_services__P299833, - "bridge": jacdac_JACDAC_bridge__P299834, - "set/bridge": jacdac_JACDAC_bridge__P299835, - "consoleService": jacdac_JACDAC_consoleService__P299838, - "add": jacdac_JACDAC_add__P299849, - "instance": jacdac_JACDAC_instance__P299852, - "write": jacdac_JACDAC_write__P299853, - "writePacket": jacdac_JACDAC_writePacket__P299854, - }, -}); -const jacdac_JDControlService__C299713_VT = mkVTable({ - name: "JDControlService", - numFields: 16, - classNo: 22, - lastSubtypeNo: 22, - maxBgInstances: null, - methods: { - "addAdvertisementData": jacdac_JDService_addAdvertisementData__P299599, - "send": jacdac_JDControlService_send__P299715, - }, - iface: { - "device": null, - "set/device": null, - "_service_class": null, - "set/_service_class": null, - "service_number": null, - "set/service_number": null, - "_mode": null, - "set/_mode": null, - "status": null, - "set/status": null, - "service_flags": null, - "set/service_flags": null, - "requiredDevice": null, - "set/requiredDevice": null, - "onConnected": null, - "set/onConnected": null, - "onDisconnected": null, - "set/onDisconnected": null, - "name": null, - "set/name": null, - "deviceManager": null, - "set/deviceManager": null, - "rngService": null, - "set/rngService": null, - "configurationService": null, - "set/configurationService": null, - "_intervalId": null, - "set/_intervalId": null, - "nextAddress": null, - "set/nextAddress": null, - "onChange": null, - "set/onChange": null, - "send": jacdac_JDControlService_send__P299715, - "deviceDisconnected": jacdac_JDControlService_deviceDisconnected__P299716, - "deviceEnumerated": jacdac_JDControlService_deviceEnumerated__P299717, - "formControlPacket": jacdac_JDControlService_formControlPacket__P299718, - "startDeviceTimer": jacdac_JDControlService_startDeviceTimer__P299719, - "initialise": jacdac_JDControlService_initialise__P299720, - "enumerate": jacdac_JDControlService_enumerate__P299721, - "service_class": jacdac_JDService_service_class__P299597, - "mode": jacdac_JDService_mode__P299598, - "addAdvertisementData": jacdac_JDService_addAdvertisementData__P299599, - "isConnected": jacdac_JDService_isConnected__P299602, - "_hostConnected": jacdac_JDService__hostConnected__P299604, - "_hostDisconnected": jacdac_JDService__hostDisconnected__P299605, - }, -}); -const jacdac_JDDummyBus__C299827_VT = mkVTable({ - name: "JDDummyBus", - numFields: 0, - classNo: 89, - lastSubtypeNo: 89, - maxBgInstances: null, - methods: { - }, - iface: { - "writeBuffer": jacdac_JDDummyBus_writeBuffer__P299828, - "isConnected": jacdac_JDDummyBus_isConnected__P299829, - }, -}); -const jacdac_JDConfigurationService__C299615_VT = mkVTable({ - name: "JDConfigurationService", - numFields: 10, - classNo: 23, - lastSubtypeNo: 23, - maxBgInstances: null, - methods: { - "addAdvertisementData": jacdac_JDService_addAdvertisementData__P299599, - "send": jacdac_JDConfigurationService_send__P299617, - }, - iface: { - "device": null, - "set/device": null, - "_service_class": null, - "set/_service_class": null, - "service_number": null, - "set/service_number": null, - "_mode": null, - "set/_mode": null, - "status": null, - "set/status": null, - "service_flags": null, - "set/service_flags": null, - "requiredDevice": null, - "set/requiredDevice": null, - "onConnected": null, - "set/onConnected": null, - "onDisconnected": null, - "set/onDisconnected": null, - "name": null, - "set/name": null, - "send": jacdac_JDConfigurationService_send__P299617, - "service_class": jacdac_JDService_service_class__P299597, - "mode": jacdac_JDService_mode__P299598, - "addAdvertisementData": jacdac_JDService_addAdvertisementData__P299599, - "isConnected": jacdac_JDService_isConnected__P299602, - "_hostConnected": jacdac_JDService__hostConnected__P299604, - "_hostDisconnected": jacdac_JDService__hostDisconnected__P299605, - }, -}); -const jacdac_JDDeviceManager__C299814_VT = mkVTable({ - name: "JDDeviceManager", - numFields: 1, - classNo: 90, - lastSubtypeNo: 90, - maxBgInstances: null, - methods: { - }, - iface: { - "devices": null, - "set/devices": null, - "getDeviceList": jacdac_JDDeviceManager_getDeviceList__P299815, - "removeDevice": jacdac_JDDeviceManager_removeDevice__P299820, - }, -}); -const jacdac_JDRNGService__C299870_VT = mkVTable({ - name: "JDRNGService", - numFields: 9, - classNo: 24, - lastSubtypeNo: 24, - maxBgInstances: null, - methods: { - "addAdvertisementData": jacdac_JDService_addAdvertisementData__P299599, - "send": jacdac_JDRNGService_send__P299872, - }, - iface: { - "device": null, - "set/device": null, - "_service_class": null, - "set/_service_class": null, - "service_number": null, - "set/service_number": null, - "_mode": null, - "set/_mode": null, - "status": null, - "set/status": null, - "service_flags": null, - "set/service_flags": null, - "requiredDevice": null, - "set/requiredDevice": null, - "onConnected": null, - "set/onConnected": null, - "onDisconnected": null, - "set/onDisconnected": null, - "send": jacdac_JDRNGService_send__P299872, - "service_class": jacdac_JDService_service_class__P299597, - "mode": jacdac_JDService_mode__P299598, - "addAdvertisementData": jacdac_JDService_addAdvertisementData__P299599, - "isConnected": jacdac_JDService_isConnected__P299602, - "_hostConnected": jacdac_JDService__hostConnected__P299604, - "_hostDisconnected": jacdac_JDService__hostDisconnected__P299605, + "image": tiles_legacy_TileSet_image__P2074, }, }); -const jacdac_JDDevice__C299904_VT = mkVTable({ - name: "JDDevice", - numFields: 9, - classNo: 91, - lastSubtypeNo: 91, - maxBgInstances: null, - methods: { - }, - iface: { - "unique_device_identifier": null, - "set/unique_device_identifier": null, - "device_address": null, - "set/device_address": null, - "device_flags": null, - "set/device_flags": null, - "device_name": null, - "set/device_name": null, - "_services": null, - "set/_services": null, - "rolling_counter": null, - "set/rolling_counter": null, - "broadcast_servicemap": null, - "set/broadcast_servicemap": null, - "servicemap_bitmsk": null, - "set/servicemap_bitmsk": null, - "communication_rate": null, - "set/communication_rate": null, - "services": jacdac_JDDevice_services__P299905, - "update": jacdac_JDDevice_update__P299906, - "udidh": jacdac_JDDevice_udidh__P299907, - "udidl": jacdac_JDDevice_udidl__P299908, - "udid": jacdac_JDDevice_udid__P299909, - "toString": jacdac_JDDevice_toString__P299910, - }, - toStringMethod: jacdac_JDDevice_toString__P299910, -}); -const jacdac_JDControlPacket__C299892_VT = mkVTable({ - name: "JDControlPacket", - numFields: 5, - classNo: 92, - lastSubtypeNo: 92, - maxBgInstances: null, - methods: { - }, - iface: { - "unique_device_identifier": null, - "set/unique_device_identifier": null, - "device_address": null, - "set/device_address": null, - "device_flags": null, - "set/device_flags": null, - "_device_name": null, - "set/_device_name": null, - "data": null, - "set/data": null, - "getBuffer": jacdac_JDControlPacket_getBuffer__P299893, - "device_name": jacdac_JDControlPacket_device_name__P299897, - "set/device_name": jacdac_JDControlPacket_device_name__P299898, - "append": jacdac_JDControlPacket_append__P299899, - }, -}); -const jacdac_JDServiceInformation__C299912_VT = mkVTable({ - name: "JDServiceInformation", - numFields: 4, - classNo: 93, - lastSubtypeNo: 93, - maxBgInstances: null, - methods: { - }, - iface: { - "service_class": null, - "set/service_class": null, - "service_flags": null, - "set/service_flags": null, - "advertisement_size": null, - "set/advertisement_size": null, - "data": null, - "set/data": null, - "getBuffer": jacdac_JDServiceInformation_getBuffer__P299913, - }, -}); -const jacdac_JDPacket__C299874_VT = mkVTable({ - name: "JDPacket", - numFields: 1, - classNo: 94, - lastSubtypeNo: 94, - maxBgInstances: null, - methods: { - }, - iface: { - "_buffer": null, - "set/_buffer": null, - "crc": jacdac_JDPacket_crc__P299875, - "set/crc": jacdac_JDPacket_crc__P299876, - "device_address": jacdac_JDPacket_device_address__P299877, - "set/device_address": jacdac_JDPacket_device_address__P299878, - "size": jacdac_JDPacket_size__P299881, - "set/size": jacdac_JDPacket_size__P299882, - "service_number": jacdac_JDPacket_service_number__P299883, - "set/service_number": jacdac_JDPacket_service_number__P299884, - "data": jacdac_JDPacket_data__P299885, - "set/data": jacdac_JDPacket_data__P299886, - "communication_rate": jacdac_JDPacket_communication_rate__P299887, - "set/communication_rate": jacdac_JDPacket_communication_rate__P299888, - "getBuffer": jacdac_JDPacket_getBuffer__P299889, - "toString": jacdac_JDPacket_toString__P299890, - }, - toStringMethod: jacdac_JDPacket_toString__P299890, -}); -const control_Interval__C297787_VT = mkVTable({ - name: "Interval", - numFields: 4, - classNo: 95, - lastSubtypeNo: 95, - maxBgInstances: null, - methods: { - }, - iface: { - "id": null, - "set/id": null, - "func": null, - "set/func": null, - "delay": null, - "set/delay": null, - "mode": null, - "set/mode": null, - "work": control_Interval_work__P297788, - }, -}); -const jacdac_dbg_DebugMenu__C300141_VT = mkVTable({ - name: "DebugMenu", - numFields: 8, - classNo: 96, - lastSubtypeNo: 96, - maxBgInstances: null, - methods: { - }, - iface: { - "started": null, - "set/started": null, - "mode": null, - "set/mode": null, - "consoleVisible": null, - "set/consoleVisible": null, - "debugFont": null, - "set/debugFont": null, - "marginx": null, - "set/marginx": null, - "marginy": null, - "set/marginy": null, - "debuggerService": null, - "set/debuggerService": null, - "hideControl": null, - "set/hideControl": null, - "makeDiagnostic": jacdac_dbg_DebugMenu_makeDiagnostic__P300142, - "paintDiagnosticsBar": jacdac_dbg_DebugMenu_paintDiagnosticsBar__P300143, - "stop": jacdac_dbg_DebugMenu_stop__P300144, - "start": jacdac_dbg_DebugMenu_start__P300145, - }, -}); -const jacdac_DebugView__C299731_VT = mkVTable({ - name: "DebugView", - numFields: 2, - classNo: 97, - lastSubtypeNo: 111, - maxBgInstances: null, - methods: { - "renderPacket": jacdac_DebugView_renderPacket__P299735, - }, - iface: { - "serviceClass": null, - "set/serviceClass": null, - "name": null, - "set/name": null, - "find": jacdac_DebugView_find__P299732, - "registerDefaultViews": jacdac_DebugView_registerDefaultViews__P299733, - "renderPacket": jacdac_DebugView_renderPacket__P299735, - }, -}); -const jacdac_DebuggerService__C299746_VT = mkVTable({ - name: "DebuggerService", - numFields: 14, - classNo: 25, - lastSubtypeNo: 25, - maxBgInstances: null, - methods: { - "addAdvertisementData": jacdac_JDService_addAdvertisementData__P299599, - "send": jacdac_JDService_send__P299603, - }, - iface: { - "device": null, - "set/device": null, - "_service_class": null, - "set/_service_class": null, - "service_number": null, - "set/service_number": null, - "_mode": null, - "set/_mode": null, - "status": null, - "set/status": null, - "service_flags": null, - "set/service_flags": null, - "requiredDevice": null, - "set/requiredDevice": null, - "onConnected": null, - "set/onConnected": null, - "onDisconnected": null, - "set/onDisconnected": null, - "running": null, - "set/running": null, - "deviceManager": null, - "set/deviceManager": null, - "_intervalId": null, - "set/_intervalId": null, - "paintDevices": null, - "set/paintDevices": null, - "paintPacket": null, - "set/paintPacket": null, - "service_class": jacdac_JDService_service_class__P299597, - "mode": jacdac_JDService_mode__P299598, - "addAdvertisementData": jacdac_JDService_addAdvertisementData__P299599, - "isConnected": jacdac_JDService_isConnected__P299602, - "send": jacdac_JDService_send__P299603, - "_hostConnected": jacdac_JDService__hostConnected__P299604, - "_hostDisconnected": jacdac_JDService__hostDisconnected__P299605, - }, -}); -const jacdac_SensorDebugView__C299751_VT = mkVTable({ - name: "SensorDebugView", - numFields: 2, - classNo: 98, - lastSubtypeNo: 105, - maxBgInstances: null, - methods: { - "renderPacket": jacdac_SensorDebugView_renderPacket__P299754, - "renderEvent": jacdac_SensorDebugView_renderEvent__P299756, - "renderState": jacdac_SensorDebugView_renderState__P299757, - }, - iface: { - "serviceClass": null, - "set/serviceClass": null, - "name": null, - "set/name": null, - "renderPacket": jacdac_SensorDebugView_renderPacket__P299754, - "renderCustomPacket": jacdac_SensorDebugView_renderCustomPacket__P299755, - "renderEvent": jacdac_SensorDebugView_renderEvent__P299756, - "renderState": jacdac_SensorDebugView_renderState__P299757, - "find": jacdac_DebugView_find__P299732, - "registerDefaultViews": jacdac_DebugView_registerDefaultViews__P299733, - }, -}); -const jacdac_LightDebugView__C299759_VT = mkVTable({ - name: "LightDebugView", - numFields: 2, - classNo: 106, - lastSubtypeNo: 106, - maxBgInstances: null, - methods: { - "renderPacket": jacdac_LightDebugView_renderPacket__P299761, - }, - iface: { - "serviceClass": null, - "set/serviceClass": null, - "name": null, - "set/name": null, - "renderPacket": jacdac_LightDebugView_renderPacket__P299761, - "find": jacdac_DebugView_find__P299732, - "registerDefaultViews": jacdac_DebugView_registerDefaultViews__P299733, - }, -}); -const jacdac_MusicDebugView__C299763_VT = mkVTable({ - name: "MusicDebugView", - numFields: 2, - classNo: 107, - lastSubtypeNo: 107, - maxBgInstances: null, - methods: { - "renderPacket": jacdac_MusicDebugView_renderPacket__P299765, - }, - iface: { - "serviceClass": null, - "set/serviceClass": null, - "name": null, - "set/name": null, - "renderPacket": jacdac_MusicDebugView_renderPacket__P299765, - "find": jacdac_DebugView_find__P299732, - "registerDefaultViews": jacdac_DebugView_registerDefaultViews__P299733, - }, -}); -const jacdac_ConsoleDebugView__C299767_VT = mkVTable({ - name: "ConsoleDebugView", - numFields: 2, - classNo: 108, - lastSubtypeNo: 108, - maxBgInstances: null, - methods: { - "renderPacket": jacdac_ConsoleDebugView_renderPacket__P299770, - }, - iface: { - "serviceClass": null, - "set/serviceClass": null, - "name": null, - "set/name": null, - "renderPacket": jacdac_ConsoleDebugView_renderPacket__P299770, - "find": jacdac_DebugView_find__P299732, - "registerDefaultViews": jacdac_DebugView_registerDefaultViews__P299733, - }, -}); -const jacdac_MessageBusDebugView__C299772_VT = mkVTable({ - name: "MessageBusDebugView", - numFields: 2, - classNo: 109, - lastSubtypeNo: 109, - maxBgInstances: null, - methods: { - "renderPacket": jacdac_MessageBusDebugView_renderPacket__P299774, - }, - iface: { - "serviceClass": null, - "set/serviceClass": null, - "name": null, - "set/name": null, - "renderPacket": jacdac_MessageBusDebugView_renderPacket__P299774, - "find": jacdac_DebugView_find__P299732, - "registerDefaultViews": jacdac_DebugView_registerDefaultViews__P299733, - }, -}); -const jacdac_AccelerometerDebugView__C299776_VT = mkVTable({ - name: "AccelerometerDebugView", - numFields: 2, - classNo: 99, - lastSubtypeNo: 99, - maxBgInstances: null, - methods: { - "renderPacket": jacdac_SensorDebugView_renderPacket__P299754, - "renderEvent": jacdac_AccelerometerDebugView_renderEvent__P299778, - "renderState": jacdac_AccelerometerDebugView_renderState__P299779, - }, - iface: { - "serviceClass": null, - "set/serviceClass": null, - "name": null, - "set/name": null, - "renderEvent": jacdac_AccelerometerDebugView_renderEvent__P299778, - "renderState": jacdac_AccelerometerDebugView_renderState__P299779, - "renderPacket": jacdac_SensorDebugView_renderPacket__P299754, - "renderCustomPacket": jacdac_SensorDebugView_renderCustomPacket__P299755, - "find": jacdac_DebugView_find__P299732, - "registerDefaultViews": jacdac_DebugView_registerDefaultViews__P299733, - }, -}); -const jacdac_ButtonDebugView__C299781_VT = mkVTable({ - name: "ButtonDebugView", - numFields: 2, - classNo: 100, - lastSubtypeNo: 100, - maxBgInstances: null, - methods: { - "renderPacket": jacdac_SensorDebugView_renderPacket__P299754, - "renderEvent": jacdac_ButtonDebugView_renderEvent__P299783, - "renderState": jacdac_ButtonDebugView_renderState__P299784, - }, - iface: { - "serviceClass": null, - "set/serviceClass": null, - "name": null, - "set/name": null, - "renderEvent": jacdac_ButtonDebugView_renderEvent__P299783, - "renderState": jacdac_ButtonDebugView_renderState__P299784, - "renderPacket": jacdac_SensorDebugView_renderPacket__P299754, - "renderCustomPacket": jacdac_SensorDebugView_renderCustomPacket__P299755, - "find": jacdac_DebugView_find__P299732, - "registerDefaultViews": jacdac_DebugView_registerDefaultViews__P299733, - }, -}); -const jacdac_LightSensorDebugView__C299786_VT = mkVTable({ - name: "LightSensorDebugView", - numFields: 2, - classNo: 101, - lastSubtypeNo: 101, - maxBgInstances: null, - methods: { - "renderPacket": jacdac_SensorDebugView_renderPacket__P299754, - "renderEvent": jacdac_SensorDebugView_renderEvent__P299756, - "renderState": jacdac_SensorDebugView_renderState__P299757, - }, - iface: { - "serviceClass": null, - "set/serviceClass": null, - "name": null, - "set/name": null, - "renderPacket": jacdac_SensorDebugView_renderPacket__P299754, - "renderCustomPacket": jacdac_SensorDebugView_renderCustomPacket__P299755, - "renderEvent": jacdac_SensorDebugView_renderEvent__P299756, - "renderState": jacdac_SensorDebugView_renderState__P299757, - "find": jacdac_DebugView_find__P299732, - "registerDefaultViews": jacdac_DebugView_registerDefaultViews__P299733, - }, -}); -const jacdac_MicrophoneDebugView__C299789_VT = mkVTable({ - name: "MicrophoneDebugView", - numFields: 2, - classNo: 102, - lastSubtypeNo: 102, - maxBgInstances: null, - methods: { - "renderPacket": jacdac_SensorDebugView_renderPacket__P299754, - "renderEvent": jacdac_MicrophoneDebugView_renderEvent__P299791, - "renderState": jacdac_MicrophoneDebugView_renderState__P299792, - }, - iface: { - "serviceClass": null, - "set/serviceClass": null, - "name": null, - "set/name": null, - "renderEvent": jacdac_MicrophoneDebugView_renderEvent__P299791, - "renderState": jacdac_MicrophoneDebugView_renderState__P299792, - "renderPacket": jacdac_SensorDebugView_renderPacket__P299754, - "renderCustomPacket": jacdac_SensorDebugView_renderCustomPacket__P299755, - "find": jacdac_DebugView_find__P299732, - "registerDefaultViews": jacdac_DebugView_registerDefaultViews__P299733, - }, -}); -const jacdac_SwitchDebugView__C299794_VT = mkVTable({ - name: "SwitchDebugView", - numFields: 2, - classNo: 103, - lastSubtypeNo: 103, - maxBgInstances: null, - methods: { - "renderPacket": jacdac_SensorDebugView_renderPacket__P299754, - "renderEvent": jacdac_SwitchDebugView_renderEvent__P299796, - "renderState": jacdac_SwitchDebugView_renderState__P299797, - }, - iface: { - "serviceClass": null, - "set/serviceClass": null, - "name": null, - "set/name": null, - "renderEvent": jacdac_SwitchDebugView_renderEvent__P299796, - "renderState": jacdac_SwitchDebugView_renderState__P299797, - "renderPacket": jacdac_SensorDebugView_renderPacket__P299754, - "renderCustomPacket": jacdac_SensorDebugView_renderCustomPacket__P299755, - "find": jacdac_DebugView_find__P299732, - "registerDefaultViews": jacdac_DebugView_registerDefaultViews__P299733, - }, -}); -const jacdac_ThermometerDebugView__C299799_VT = mkVTable({ - name: "ThermometerDebugView", - numFields: 2, - classNo: 104, - lastSubtypeNo: 104, - maxBgInstances: null, - methods: { - "renderPacket": jacdac_SensorDebugView_renderPacket__P299754, - "renderEvent": jacdac_SensorDebugView_renderEvent__P299756, - "renderState": jacdac_SensorDebugView_renderState__P299757, - }, - iface: { - "serviceClass": null, - "set/serviceClass": null, - "name": null, - "set/name": null, - "renderPacket": jacdac_SensorDebugView_renderPacket__P299754, - "renderCustomPacket": jacdac_SensorDebugView_renderCustomPacket__P299755, - "renderEvent": jacdac_SensorDebugView_renderEvent__P299756, - "renderState": jacdac_SensorDebugView_renderState__P299757, - "find": jacdac_DebugView_find__P299732, - "registerDefaultViews": jacdac_DebugView_registerDefaultViews__P299733, - }, -}); -const jacdac_TouchDebugView__C299802_VT = mkVTable({ - name: "TouchDebugView", - numFields: 2, - classNo: 105, - lastSubtypeNo: 105, - maxBgInstances: null, - methods: { - "renderPacket": jacdac_SensorDebugView_renderPacket__P299754, - "renderEvent": jacdac_TouchDebugView_renderEvent__P299804, - "renderState": jacdac_TouchDebugView_renderState__P299805, - }, - iface: { - "serviceClass": null, - "set/serviceClass": null, - "name": null, - "set/name": null, - "renderEvent": jacdac_TouchDebugView_renderEvent__P299804, - "renderState": jacdac_TouchDebugView_renderState__P299805, - "renderPacket": jacdac_SensorDebugView_renderPacket__P299754, - "renderCustomPacket": jacdac_SensorDebugView_renderCustomPacket__P299755, - "find": jacdac_DebugView_find__P299732, - "registerDefaultViews": jacdac_DebugView_registerDefaultViews__P299733, - }, -}); -const jacdac_ControllerDebugView__C299807_VT = mkVTable({ - name: "ControllerDebugView", - numFields: 2, - classNo: 110, - lastSubtypeNo: 110, - maxBgInstances: null, - methods: { - "renderPacket": jacdac_ControllerDebugView_renderPacket__P299810, - }, - iface: { - "serviceClass": null, - "set/serviceClass": null, - "name": null, - "set/name": null, - "renderPacket": jacdac_ControllerDebugView_renderPacket__P299810, - "renderData": jacdac_ControllerDebugView_renderData__P299811, - "find": jacdac_DebugView_find__P299732, - "registerDefaultViews": jacdac_DebugView_registerDefaultViews__P299733, - }, -}); -const jacdac_ControlDebugView__C299738_VT = mkVTable({ - name: "ControlDebugView", - numFields: 2, - classNo: 111, - lastSubtypeNo: 111, - maxBgInstances: null, - methods: { - "renderPacket": jacdac_ControlDebugView_renderPacket__P299740, - }, - iface: { - "serviceClass": null, - "set/serviceClass": null, - "name": null, - "set/name": null, - "renderPacket": jacdac_ControlDebugView_renderPacket__P299740, - "find": jacdac_DebugView_find__P299732, - "registerDefaultViews": jacdac_DebugView_registerDefaultViews__P299733, - }, -}); -const jacdac_JDDiagnostics__C299822_VT = mkVTable({ - name: "JDDiagnostics", - numFields: 8, - classNo: 112, - lastSubtypeNo: 112, - maxBgInstances: null, - methods: { - }, - iface: { - "bus_state": null, - "set/bus_state": null, - "bus_lo_error": null, - "set/bus_lo_error": null, - "bus_uart_error": null, - "set/bus_uart_error": null, - "bus_timeout_error": null, - "set/bus_timeout_error": null, - "packets_sent": null, - "set/packets_sent": null, - "packets_received": null, - "set/packets_received": null, - "packets_dropped": null, - "set/packets_dropped": null, - "bus_status": null, - "set/bus_status": null, - }, -}); -const jacdac_JACDACBus__C299929_VT = mkVTable({ - name: "JACDACBus", - numFields: 0, - classNo: 113, - lastSubtypeNo: 113, +const scene_systemMenu_PauseMenu__C1529_VT = mkVTable({ + name: "PauseMenu", + numFields: 7, + classNo: 82, + lastSubtypeNo: 82, maxBgInstances: null, methods: { }, iface: { - "writeBuffer": jacdac_JACDACBus_writeBuffer__P299933, - "isConnected": jacdac_JACDACBus_isConnected__P299934, - "getDiagnostics": jacdac_JACDACBus_getDiagnostics__P299936, + "options": null, + "set/options": null, + "theme": null, + "set/theme": null, + "selection": null, + "set/selection": null, + "scrollRow": null, + "set/scrollRow": null, + "scrollTarget": null, + "set/scrollTarget": null, + "scrollOffset": null, + "set/scrollOffset": null, + "generator": null, + "set/generator": null, + "show": scene_systemMenu_PauseMenu_show__P1530, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P1531, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P1532, + "drawText": scene_systemMenu_PauseMenu_drawText__P1533, + "dispose": scene_systemMenu_PauseMenu_dispose__P1534, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P1535, }, }); -const scene_systemMenu_MenuOption__C299012_VT = mkVTable({ +const scene_systemMenu_MenuOption__C1520_VT = mkVTable({ name: "MenuOption", numFields: 8, - classNo: 114, - lastSubtypeNo: 114, + classNo: 83, + lastSubtypeNo: 83, maxBgInstances: null, methods: { }, @@ -99821,51 +86802,20 @@ const scene_systemMenu_MenuOption__C299012_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "show": scene_systemMenu_MenuOption_show__P299013, - "position": scene_systemMenu_MenuOption_position__P299014, - "setOffset": scene_systemMenu_MenuOption_setOffset__P299015, - "setTheme": scene_systemMenu_MenuOption_setTheme__P299016, - "setState": scene_systemMenu_MenuOption_setState__P299017, - "dispose": scene_systemMenu_MenuOption_dispose__P299018, - "updateCard": scene_systemMenu_MenuOption_updateCard__P299019, + "show": scene_systemMenu_MenuOption_show__P1521, + "position": scene_systemMenu_MenuOption_position__P1522, + "setOffset": scene_systemMenu_MenuOption_setOffset__P1523, + "setTheme": scene_systemMenu_MenuOption_setTheme__P1524, + "setState": scene_systemMenu_MenuOption_setState__P1525, + "dispose": scene_systemMenu_MenuOption_dispose__P1526, + "updateCard": scene_systemMenu_MenuOption_updateCard__P1527, }, }); -const scene_systemMenu_PauseMenu__C299021_VT = mkVTable({ - name: "PauseMenu", - numFields: 7, - classNo: 115, - lastSubtypeNo: 115, - maxBgInstances: null, - methods: { - }, - iface: { - "options": null, - "set/options": null, - "theme": null, - "set/theme": null, - "selection": null, - "set/selection": null, - "scrollRow": null, - "set/scrollRow": null, - "scrollTarget": null, - "set/scrollTarget": null, - "scrollOffset": null, - "set/scrollOffset": null, - "generator": null, - "set/generator": null, - "show": scene_systemMenu_PauseMenu_show__P299022, - "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P299023, - "setSelection": scene_systemMenu_PauseMenu_setSelection__P299024, - "drawText": scene_systemMenu_PauseMenu_drawText__P299025, - "dispose": scene_systemMenu_PauseMenu_dispose__P299026, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P299027, - }, -}); -const MovingSprite__C298359_VT = mkVTable({ +const MovingSprite__C867_VT = mkVTable({ name: "MovingSprite", numFields: 7, - classNo: 116, - lastSubtypeNo: 116, + classNo: 84, + lastSubtypeNo: 84, maxBgInstances: null, methods: { }, @@ -99886,11 +86836,11 @@ const MovingSprite__C298359_VT = mkVTable({ "set/yStep": null, }, }); -const sprites_StaticObstacle__C298325_VT = mkVTable({ +const sprites_StaticObstacle__C833_VT = mkVTable({ name: "StaticObstacle", numFields: 5, - classNo: 117, - lastSubtypeNo: 117, + classNo: 85, + lastSubtypeNo: 85, maxBgInstances: null, methods: { }, @@ -99905,31 +86855,31 @@ const sprites_StaticObstacle__C298325_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P298326, - "y": sprites_StaticObstacle_y__P298327, - "height": sprites_StaticObstacle_height__P298328, - "width": sprites_StaticObstacle_width__P298329, + "x": sprites_StaticObstacle_x__P834, + "y": sprites_StaticObstacle_y__P835, + "height": sprites_StaticObstacle_height__P836, + "width": sprites_StaticObstacle_width__P837, }, }); -const effects_SceneAnchor__C299282_VT = mkVTable({ +const effects_SceneAnchor__C1790_VT = mkVTable({ name: "SceneAnchor", numFields: 1, - classNo: 118, - lastSubtypeNo: 118, + classNo: 86, + lastSubtypeNo: 86, maxBgInstances: null, methods: { }, iface: { "camera": null, "set/camera": null, - "x": effects_SceneAnchor_x__P299283, - "y": effects_SceneAnchor_y__P299284, - "width": effects_SceneAnchor_width__P299285, - "height": effects_SceneAnchor_height__P299286, + "x": effects_SceneAnchor_x__P1791, + "y": effects_SceneAnchor_y__P1792, + "width": effects_SceneAnchor_width__P1793, + "height": effects_SceneAnchor_height__P1794, }, }); -const breakpoints = setupDebugger(1, ["zeroCode___301997","wall___304384","player___304422","map___304520","play___304523","debug___304526","code___304529","paint___304532","music___304535","emptyTile___304538","cursorIn___304541","cursorOut___304544","collisionRestingSprite___304547","collisionMovingSprite___304550","genericSprite___304553","exclude___304556","include___304559","oneof___304562","ok___304565","allFour___304568","downArrow___304571","downButton___304574","upArrow___304577","upButton___304580","rightArrow___304583","rightButton___304586","leftArrow___304589","leftButton___304592","Abutton___304595","eat___304598","stopSign___304601","uTurn___304604","addRule___304607","garbageCan___304610","diskIcon___304613","settingsIcon___304616","reset___304619","gameIcon___304622","trophyUp___304625","trophyDown___304628","equalZero___304631","moveImages___304634","buttonImages___304644","attrImages___304650","commandImages___304679","gameImages___304685","categoryImages___304691","spriteImages___304700","colorOut___306552","colorIn___306555","paintOut___306558","paintIn___306561","paintOut___310868","paintIn___310871","cat___311862","fish___304467","dog___311866","chimp___311869","player___311872","diamond___311875","boulder___311878","enemy___311881","brick___304443","grass___311885","water___311888","dirt2___311891","wall___311894","wall2___311897","dirt___311900","space___311903","galleryPlayers___311906","gallerySprites___304465","galleryTiles___304441","player___312578","diamond___312581","boulder___312584","enemy___312587","wall___312590","wall2___312593","dirt___312596","space___312599","movable___312602","fixed___312608","all___312615","wallId___312623","spaceId___312629","playerId___312635","enemyId___312641","boulderId___312647","diamondId___312653","tp___312693","playerMove___312707","moveRight___312717","moveLeft___312723","boulderRight___312729","boulderLeft___312736","playerPaint___312743","playerMoveBoulderRight___312794","playerMoveBoulderLeft___312809","boulderFallDown___312824","boulderFallingDown___312842","boulderFallLeft___312859","project___312881","world___312898","sprites___312909","tm___1098990","fs1___1098993","fs3___1098996","TileWorld___1099160","bitIndex___302641","ruleBuf___302639","categoryText___304697","moveText___304641","spriteText___304702","gameText___304688","attrValues___304661","attrXoffsets___304669","attrYoffsets___304676","spriteCount___1084378","projectVersion___303118","toHex___303743","menuHelpString___308497","attrHelpString___308499","helpStringTop___307839","helpStringBot___307841","helpString___312066"]) +const breakpoints = setupDebugger(1, ["zeroCode___3841","wall___6232","player___6270","map___6368","play___6371","debug___6374","code___6377","paint___6380","music___6383","emptyTile___6386","cursorIn___6389","cursorOut___6392","collisionRestingSprite___6395","collisionMovingSprite___6398","genericSprite___6401","exclude___6404","include___6407","oneof___6410","ok___6413","allFour___6416","downArrow___6419","downButton___6422","upArrow___6425","upButton___6428","rightArrow___6431","rightButton___6434","leftArrow___6437","leftButton___6440","Abutton___6443","eat___6446","stopSign___6449","uTurn___6452","addRule___6455","garbageCan___6458","diskIcon___6461","settingsIcon___6464","reset___6467","gameIcon___6470","trophyUp___6473","trophyDown___6476","equalZero___6479","moveImages___6482","buttonImages___6492","attrImages___6498","commandImages___6527","gameImages___6533","categoryImages___6539","spriteImages___6548","colorOut___8737","colorIn___8740","paintOut___8743","paintIn___8746","paintOut___13053","paintIn___13056","cat___14047","fish___6315","dog___14051","chimp___14054","player___14057","diamond___14060","boulder___14063","enemy___14066","brick___6291","grass___14070","water___14073","dirt2___14076","wall___14079","wall2___14082","dirt___14085","space___14088","galleryPlayers___14091","gallerySprites___6313","galleryTiles___6289","player___14761","diamond___14764","boulder___14767","enemy___14770","wall___14773","wall2___14776","dirt___14779","space___14782","movable___14785","fixed___14791","all___14798","wallId___14806","spaceId___14812","playerId___14818","enemyId___14824","boulderId___14830","diamondId___14836","tp___14876","playerMove___14890","moveRight___14900","moveLeft___14906","boulderRight___14912","boulderLeft___14919","playerPaint___14926","playerMoveBoulderRight___14977","playerMoveBoulderLeft___14992","boulderFallDown___15007","boulderFallingDown___15025","boulderFallLeft___15042","project___15064","world___15081","sprites___15092","tm___15107","fs1___15110","fs3___15113","TileWorld___15277","bitIndex___4485","ruleBuf___4483","categoryText___6545","moveText___6489","spriteText___6550","gameText___6536","attrValues___6509","attrXoffsets___6517","attrYoffsets___6524","spriteCount___6553","projectVersion___4966","toHex___5591","menuHelpString___10682","attrHelpString___10684","helpStringTop___10024","helpStringBot___10026","helpString___14249"]) -return _main___P1101319 +return _main___P32550 }) diff --git a/assets/version.txt b/assets/version.txt index e5b8203..3c8ff8c 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -3.5.0 \ No newline at end of file +3.5.1 \ No newline at end of file diff --git a/pxt.json b/pxt.json index d6fd43d..862b6da 100644 --- a/pxt.json +++ b/pxt.json @@ -1,6 +1,6 @@ { "name": "pxt-tileworld", - "version": "3.5.0", + "version": "3.5.1", "description": "", "dependencies": { "device": "*",