From e249a1f1553ac67711909bb4b95e90df9a967ca2 Mon Sep 17 00:00:00 2001 From: Tom Ball Date: Wed, 5 Aug 2020 10:29:08 -0700 Subject: [PATCH] 4.2.5 --- assets/js/binary.js | 34915 +++++++++++++++++++++--------------------- assets/js/loader.js | 2 +- assets/version.txt | 2 +- index.html | 96 +- pxt.json | 2 +- 5 files changed, 17615 insertions(+), 17402 deletions(-) diff --git a/assets/js/binary.js b/assets/js/binary.js index 72ef56b..8495c0f 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.0.16/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"4.2.4","target":"arcade","targetVersion":"1.0.16","repo":"microsoft/tileworld"} -// total=2569756 new=51.02% cached=43.73% other=5.25% +// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.0.16/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"4.2.5","target":"arcade","targetVersion":"1.0.16","repo":"microsoft/tilecode"} +// total=2569307 new=51.25% cached=43.52% other=5.23% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -145,6 +145,7 @@ pxtrt.mapKeyNames = [ "cachedVy", "camera", "canResolveClipping", + "captureSpawned", "card", "cardSpacing", "cardWidth", @@ -339,6 +340,7 @@ pxtrt.mapKeyNames = [ "isWall", "key", "kind", + "kindHasRule", "lastDir", "lastRule", "lastTime", @@ -381,15 +383,15 @@ pxtrt.mapKeyNames = [ "moveRight", "moveSprite", "moveUp", - "movedToStopped", "moving", - "movingToResting", + "moving2resting", "multiplier", "myLeft", "myWidth", "neighbors", "newHighScore", "newImage", + "newresting", "next", "nextBlockedSprites", "obstacle", @@ -653,7 +655,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P224137(s) { +function _main___P5986195(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -663,232 +665,232 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals._intervals___73811 = (undefined); - globals._pollEventQueue___73820 = (undefined); - globals.minPriority___70244 = (1); + globals._intervals___3931 = (undefined); + globals._pollEventQueue___3940 = (undefined); + globals.minPriority___364 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, inline__P73823); - globals.listeners___73824 = (s.tmp_0); - globals.globalVolume___73877 = (null); - globals.playToneID___73884 = (0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C71478_VT); + r0 = pxsim_Array__push(s.tmp_0, inline__P3943); + globals.listeners___3944 = (s.tmp_0); + globals.globalVolume___3997 = (null); + globals.playToneID___4004 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1598_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P71481_mk(s); + s.tmp_1 = music_Melody_constructor__P1601_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = "~15 e3:3 r:1 d#:3 r:1 d:4 r:1 c#:8"; s.callLocIdx = 0; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - globals.wawawawaa___71495 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C71478_VT); + globals.wawawawaa___1615 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1598_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P71481_mk(s); + s.tmp_1 = music_Melody_constructor__P1601_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = "g4:1 c5 e g:2 e:1 g:3"; s.callLocIdx = 1; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - globals.powerUp___71498 = (s.tmp_0); - globals.brightness___71604 = (100); + globals.powerUp___1618 = (s.tmp_0); + globals.brightness___1724 = (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", _hex91976); - globals.font8___71625 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex7088); + globals.font8___1745 = (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", _hex91978); - globals.font12___71626 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex7090); + globals.font12___1746 = (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", _hex97667); - globals.font5___71630 = (s.tmp_0); - globals.__updated___73921 = (false); - r0 = pxsim.control.runInParallel(inline__P73924); - r0 = pxsim_pxtcore.setPalette(_hex73935); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex25322); + globals.font5___1750 = (s.tmp_0); + globals.__updated___4041 = (false); + r0 = pxsim.control.runInParallel(inline__P4044); + r0 = pxsim_pxtcore.setPalette(_hex4055); r0 = pxsim.image.create(160, 120); - globals.screen___71682 = (r0); - s.tmp_0 = control___screen_setupUpdate__P71644_mk(s); - s.tmp_0.arg0 = inline__P73942; + globals.screen___1802 = (r0); + s.tmp_0 = control___screen_setupUpdate__P1764_mk(s); + s.tmp_0.arg0 = inline__P4062; s.callLocIdx = 4; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.control_EventContext_onStats___70267 = (inline__P73947); - globals.RUN_KEY___73952 = ("#run"); - globals.SCOPE_KEY___73953 = ("#scope"); - s.tmp_0 = settings_initScopes__P73964_mk(s); + globals.control_EventContext_onStats___387 = (inline__P4067); + globals.RUN_KEY___4072 = ("#run"); + globals.SCOPE_KEY___4073 = ("#scope"); + s.tmp_0 = settings_initScopes__P4084_mk(s); s.callLocIdx = 5; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C71783_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1903_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P71789_mk(s); + s.tmp_1 = controller_Button_constructor__P1909_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 5; s.tmp_1.arg2 = 4; s.callLocIdx = 6; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.A___71757 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C71783_VT); + globals.A___1877 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1903_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P71789_mk(s); + s.tmp_1 = controller_Button_constructor__P1909_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 6; s.tmp_1.arg2 = 5; s.callLocIdx = 7; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - globals.B___71758 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C71783_VT); + globals.B___1878 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1903_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P71789_mk(s); + s.tmp_1 = controller_Button_constructor__P1909_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1; s.tmp_1.arg2 = 47; s.callLocIdx = 8; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - globals.left___71759 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C71783_VT); + globals.left___1879 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1903_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P71789_mk(s); + s.tmp_1 = controller_Button_constructor__P1909_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = 49; s.callLocIdx = 9; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - globals.up___71760 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C71783_VT); + globals.up___1880 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1903_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P71789_mk(s); + s.tmp_1 = controller_Button_constructor__P1909_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = 48; s.callLocIdx = 10; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - globals.right___71761 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C71783_VT); + globals.right___1881 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1903_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P71789_mk(s); + s.tmp_1 = controller_Button_constructor__P1909_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = 50; s.callLocIdx = 11; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - globals.down___71762 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C71783_VT); + globals.down___1882 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1903_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P71789_mk(s); + s.tmp_1 = controller_Button_constructor__P1909_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 7; s.tmp_1.arg2 = 51; s.callLocIdx = 12; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - globals.menu___71763 = (s.tmp_0); - globals._userEventsEnabled___73991 = (true); - globals.defaultRepeatDelay___73993 = (500); - globals.defaultRepeatInterval___73995 = (30); - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C74001_VT); + globals.menu___1883 = (s.tmp_0); + globals._userEventsEnabled___4111 = (true); + globals.defaultRepeatDelay___4113 = (500); + globals.defaultRepeatInterval___4115 = (30); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C4121_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P71789_mk(s); + s.tmp_1 = controller_Button_constructor__P1909_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 0; s.tmp_1.arg2 = -1; s.callLocIdx = 13; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - globals.anyButton___71837 = (s.tmp_0); - s.tmp_0 = SpriteKind_create__P72007_mk(s); + globals.anyButton___1957 = (s.tmp_0); + s.tmp_0 = SpriteKind_create__P2127_mk(s); s.callLocIdx = 14; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals.Player___72008 = (r0); - s.tmp_0 = SpriteKind_create__P72007_mk(s); + globals.Player___2128 = (r0); + s.tmp_0 = SpriteKind_create__P2127_mk(s); s.callLocIdx = 15; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - globals.Food___72010 = (r0); - s.tmp_0 = SpriteKind_create__P72007_mk(s); + globals.Food___2130 = (r0); + s.tmp_0 = SpriteKind_create__P2127_mk(s); s.callLocIdx = 16; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - globals.Enemy___72011 = (r0); + globals.Enemy___2131 = (r0); r0 = (100 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MAX_TIME_STEP___72048 = (r0); + globals.MAX_TIME_STEP___2168 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___72050 = (r0); - globals.infoState___74044 = (undefined); - s.tmp_0 = game_addScenePushHandler__P72426_mk(s); - s.tmp_0.arg0 = inline__P74048; + globals.MIN_MOVE_GAP___2170 = (r0); + globals.infoState___4164 = (undefined); + s.tmp_0 = game_addScenePushHandler__P2546_mk(s); + s.tmp_0.arg0 = inline__P4168; s.callLocIdx = 19; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P72428_mk(s); - s.tmp_0.arg0 = inline__P74063; + s.tmp_0 = game_addScenePopHandler__P2548_mk(s); + s.tmp_0.arg0 = inline__P4183; s.callLocIdx = 23; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; r0 = pxsim_Array__mk(); - globals.scene_Scene_initializers___72316 = (r0); - globals.debug___72405 = (false); - globals.stats___72406 = (false); - globals.winEffect___72407 = (undefined); - globals.loseEffect___72408 = (undefined); - globals.loseSound___74159 = (undefined); - globals.winSound___74161 = (undefined); - s.tmp_0 = scene_systemMenu_initVolume__P74428_mk(s); + globals.scene_Scene_initializers___2436 = (r0); + globals.debug___2525 = (false); + globals.stats___2526 = (false); + globals.winEffect___2527 = (undefined); + globals.loseEffect___2528 = (undefined); + globals.loseSound___4279 = (undefined); + globals.winSound___4281 = (undefined); + s.tmp_0 = scene_systemMenu_initVolume__P4548_mk(s); s.callLocIdx = 24; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = scene_systemMenu_initScreen__P74429_mk(s); + s.tmp_0 = scene_systemMenu_initScreen__P4549_mk(s); s.callLocIdx = 25; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_Array__push(globals.scene_Scene_initializers___72316, scene_systemMenu_register__P72510); - r0 = pxsim.image.ofBuffer(_hex74436); - globals.CARD_NORMAL___72515 = (r0); - r0 = pxsim.image.ofBuffer(_hex74438); - globals.CARD_SELECTED___72516 = (r0); - r0 = pxsim.image.ofBuffer(_hex74440); - globals.CARD_ACTIVE___72517 = (r0); - r0 = pxsim.image.ofBuffer(_hex74442); - globals.VOLUME_UP_ICON___72518 = (r0); - r0 = pxsim.image.ofBuffer(_hex74444); - globals.BRIGHTNESS_DOWN_ICON___72519 = (r0); - r0 = pxsim.image.ofBuffer(_hex74446); - globals.CLOSE_MENU_ICON___72520 = (r0); - r0 = pxsim.image.ofBuffer(_hex74448); - globals.VOLUME_DOWN_ICON___72521 = (r0); - r0 = pxsim.image.ofBuffer(_hex74450); - globals.SLEEP_ICON___72522 = (r0); - r0 = pxsim.image.ofBuffer(_hex74452); - globals.CONSOLE_ICON___72523 = (r0); - r0 = pxsim.image.ofBuffer(_hex74454); - globals.BRIGHTNESS_UP_ICON___72524 = (r0); - r0 = pxsim.image.ofBuffer(_hex74456); - globals.STATS_ICON___72525 = (r0); - globals.consoleColor___74459 = (1); - globals.tabSize___74462 = (8); - globals.consoleFont___74468 = (globals.font5___71630); - r0 = pxsim_ImageMethods.height(globals.screen___71682); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___2436, scene_systemMenu_register__P2630); + r0 = pxsim.image.ofBuffer(_hex4556); + globals.CARD_NORMAL___2635 = (r0); + r0 = pxsim.image.ofBuffer(_hex4558); + globals.CARD_SELECTED___2636 = (r0); + r0 = pxsim.image.ofBuffer(_hex4560); + globals.CARD_ACTIVE___2637 = (r0); + r0 = pxsim.image.ofBuffer(_hex4562); + globals.VOLUME_UP_ICON___2638 = (r0); + r0 = pxsim.image.ofBuffer(_hex4564); + globals.BRIGHTNESS_DOWN_ICON___2639 = (r0); + r0 = pxsim.image.ofBuffer(_hex4566); + globals.CLOSE_MENU_ICON___2640 = (r0); + r0 = pxsim.image.ofBuffer(_hex4568); + globals.VOLUME_DOWN_ICON___2641 = (r0); + r0 = pxsim.image.ofBuffer(_hex4570); + globals.SLEEP_ICON___2642 = (r0); + r0 = pxsim.image.ofBuffer(_hex4572); + globals.CONSOLE_ICON___2643 = (r0); + r0 = pxsim.image.ofBuffer(_hex4574); + globals.BRIGHTNESS_UP_ICON___2644 = (r0); + r0 = pxsim.image.ofBuffer(_hex4576); + globals.STATS_ICON___2645 = (r0); + globals.consoleColor___4579 = (1); + globals.tabSize___4582 = (8); + globals.consoleFont___4588 = (globals.font5___1750); + r0 = pxsim_ImageMethods.height(globals.screen___1802); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___74468; + s.tmp_5.arg0 = globals.consoleFont___4588; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { @@ -907,13 +909,13 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___74473 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___71682); + globals.consoleLines___4593 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___1802); 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___74468; + s.tmp_4.arg0 = globals.consoleFont___4588; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -928,22 +930,22 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___74483 = (r0); - s.tmp_0 = console_addListener__P70252_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P74495; + globals.consoleColumns___4603 = (r0); + s.tmp_0 = console_addListener__P372_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P4615; s.callLocIdx = 28; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = inline__P74499; + s.tmp_0.argL = inline__P4619; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 30; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - globals.MAX_SOURCES___74497 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C72595_VT); + globals.MAX_SOURCES___4617 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C2715_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P72596_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P2716_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; @@ -951,308 +953,308 @@ switch (step) { s.callLocIdx = 31; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - globals.defaultFactory___72575 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C72463_VT); + globals.defaultFactory___2695 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C2583_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P72465_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P2585_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 32; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; - globals.galois___74532 = (s.tmp_0); - globals.angleSlice___74540 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C72670_VT); + globals.galois___4652 = (s.tmp_0); + globals.angleSlice___4660 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C2790_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P72671_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P2791_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__P92802; + s.tmp_1.arg4 = inline__P7235; s.callLocIdx = 38; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; - globals.confetti___72678 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C72693_VT); + globals.confetti___2798 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C2813_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P72694_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P2814_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = inline__P95673; + s.tmp_1.arg2 = inline__P16207; s.callLocIdx = 44; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; - globals.dissolve___72698 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C72693_VT); + globals.dissolve___2818 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C2813_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P72694_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P2814_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = inline__P92694; + s.tmp_1.arg2 = inline__P7127; s.callLocIdx = 47; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - globals.melt___72699 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C72708_VT); + globals.melt___2819 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C2828_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P72710_mk(s); + s.tmp_1 = texteffects_TextEffect_constructor__P2830_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P74591; + s.tmp_1.arg1 = inline__P4711; s.callLocIdx = 48; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; - globals.shake___72711 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C72708_VT); + globals.shake___2831 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C2828_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P72710_mk(s); + s.tmp_1 = texteffects_TextEffect_constructor__P2830_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P74604; + s.tmp_1.arg1 = inline__P4724; s.callLocIdx = 58; s.pc = 30; return s.tmp_1; case 30: r0 = s.retval; - globals.wave___72712 = (s.tmp_0); - s.tmp_0 = game_addScenePushHandler__P72426_mk(s); - s.tmp_0.arg0 = inline__P74672; + globals.wave___2832 = (s.tmp_0); + s.tmp_0 = game_addScenePushHandler__P2546_mk(s); + s.tmp_0.arg0 = inline__P4792; s.callLocIdx = 59; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P72428_mk(s); - s.tmp_0.arg0 = inline__P74687; + s.tmp_0 = game_addScenePopHandler__P2548_mk(s); + s.tmp_0.arg0 = inline__P4807; s.callLocIdx = 63; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - s.tmp_0 = game_setWaitAnyButton__P72410_mk(s); - s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P71833; + s.tmp_0 = game_setWaitAnyButton__P2530_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P1953; s.callLocIdx = 64; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = game_eventContext__P72412_mk(s); + s.tmp_0 = game_eventContext__P2532_mk(s); s.callLocIdx = 65; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; r0 = pxsim_String_.charCodeAt("0", 0); - globals.zeroCode___75857 = (r0); - globals.ruleBuf___76595 = (null); - globals.bitIndex___76597 = (0); - globals.TileWorldVersion___73550 = ("4.0.0"); - globals.toHex___78434 = ("0123456789abcdef"); - globals.VersionKey___78279 = ("VersionS"); - globals.HelpKey___78227 = ("HelpN"); - globals.BackImgCntKey___78297 = ("BackN"); - globals.SpriteImgCntKey___78306 = ("SpriteN"); - globals.PlayerIndexKey___78315 = ("PlayerN"); - globals.WorldBackgroundsKey___78202 = ("WBackM"); - globals.WorldSpritesKey___78216 = ("WSpriteM"); - globals.BackImageKey___78587 = ("BackI"); - globals.SpriteImageKey___78589 = ("SpriteI"); - globals.RuleKey___78184 = ("RuleB"); - globals.HighScoreKey___78243 = ("HighN"); - r0 = pxsim.image.ofBuffer(_hex79066); - globals.map___73597 = (r0); - r0 = pxsim.image.ofBuffer(_hex79068); - globals.play___73598 = (r0); - r0 = pxsim.image.ofBuffer(_hex79070); - globals.debug___73599 = (r0); - r0 = pxsim.image.ofBuffer(_hex79072); - globals.code___73600 = (r0); - r0 = pxsim.image.ofBuffer(_hex79074); - globals.paint___73601 = (r0); - r0 = pxsim.image.ofBuffer(_hex79076); - globals.music___73602 = (r0); - r0 = pxsim.image.ofBuffer(_hex79078); - globals.garbageCan___73603 = (r0); - r0 = pxsim.image.ofBuffer(_hex79080); - globals.settingsIcon___73604 = (r0); - r0 = pxsim.image.ofBuffer(_hex79082); - globals.addRule___73605 = (r0); - r0 = pxsim.image.ofBuffer(_hex79084); - globals.emptyTile___73606 = (r0); - r0 = pxsim.image.ofBuffer(_hex79086); - globals.emptyDiagTile___73607 = (r0); - r0 = pxsim.image.ofBuffer(_hex79088); - globals.cursorIn___73608 = (r0); - r0 = pxsim.image.ofBuffer(_hex79090); - globals.cursorOut___73609 = (r0); - r0 = pxsim.image.ofBuffer(_hex79092); - globals.collisionSprite___73610 = (r0); - r0 = pxsim.image.ofBuffer(_hex79094); - globals.genericSprite___73611 = (r0); - r0 = pxsim.image.ofBuffer(_hex79096); - globals.exclude___73612 = (r0); - r0 = pxsim.image.ofBuffer(_hex79098); - globals.include___73613 = (r0); - r0 = pxsim.image.ofBuffer(_hex79100); - globals.include2___73614 = (r0); - r0 = pxsim.image.ofBuffer(_hex79102); - globals.ok___73615 = (r0); - r0 = pxsim.image.ofBuffer(_hex79104); - globals.anyOutline___73616 = (r0); - r0 = pxsim.image.ofBuffer(_hex79106); - globals.allFourOutline___73617 = (r0); - r0 = pxsim.image.ofBuffer(_hex79108); - globals.restingOutline___73618 = (r0); - r0 = pxsim.image.ofBuffer(_hex79110); - globals.downArrowOutline___73619 = (r0); - r0 = pxsim.image.ofBuffer(_hex79112); - globals.upArrowOutline___73620 = (r0); - r0 = pxsim.image.ofBuffer(_hex79114); - globals.rightArrowOutline___73621 = (r0); - r0 = pxsim.image.ofBuffer(_hex79116); - globals.leftArrowOutline___73622 = (r0); - r0 = pxsim.image.ofBuffer(_hex79118); - globals.leftButton___73623 = (r0); - r0 = pxsim.image.ofBuffer(_hex79120); - globals.rightButton___73624 = (r0); - r0 = pxsim.image.ofBuffer(_hex79122); - globals.downButton___73625 = (r0); - r0 = pxsim.image.ofBuffer(_hex79124); - globals.upButton___73626 = (r0); - r0 = pxsim.image.ofBuffer(_hex79126); - globals.AButton___73627 = (r0); - r0 = pxsim.image.ofBuffer(_hex79128); - globals.flipHoriz___73628 = (r0); - r0 = pxsim.image.ofBuffer(_hex79130); - globals.flipVert___73629 = (r0); - r0 = pxsim.image.ofBuffer(_hex79132); - globals.rotate3way___73630 = (r0); - r0 = pxsim.image.ofBuffer(_hex79134); - globals.leftRotate___73631 = (r0); - r0 = pxsim.image.ofBuffer(_hex79136); - globals.rightRotate___73632 = (r0); - r0 = pxsim.image.ofBuffer(_hex79138); - globals.allFour___73633 = (r0); - r0 = pxsim.image.ofBuffer(_hex79140); - globals.downArrow___73634 = (r0); - r0 = pxsim.image.ofBuffer(_hex79142); - globals.upArrow___73635 = (r0); - r0 = pxsim.image.ofBuffer(_hex79144); - globals.rightArrow___73636 = (r0); - r0 = pxsim.image.ofBuffer(_hex79146); - globals.leftArrow___73637 = (r0); - r0 = pxsim.image.ofBuffer(_hex79148); - globals.eat___73638 = (r0); - r0 = pxsim.image.ofBuffer(_hex79150); - globals.stopSign___73639 = (r0); - r0 = pxsim.image.ofBuffer(_hex79152); - globals.uTurn___73640 = (r0); - r0 = pxsim.image.ofBuffer(_hex79154); - globals.spawn___73641 = (r0); - r0 = pxsim.image.ofBuffer(_hex79156); - globals.smallPaint___73642 = (r0); - r0 = pxsim.image.ofBuffer(_hex79158); - globals.portal___73643 = (r0); - r0 = pxsim.image.ofBuffer(_hex79160); - globals.gameIcon___73644 = (r0); - r0 = pxsim.image.ofBuffer(_hex79162); - globals.trophyUp___73645 = (r0); - r0 = pxsim.image.ofBuffer(_hex79164); - globals.trophyDown___73646 = (r0); - r0 = pxsim.image.ofBuffer(_hex79166); - globals.scoreUp10___73647 = (r0); - r0 = pxsim.image.ofBuffer(_hex79168); - globals.diskIcon___73648 = (r0); - r0 = pxsim.image.ofBuffer(_hex79170); - globals.reset___73649 = (r0); - r0 = pxsim.image.ofBuffer(_hex79172); - globals.negate___73650 = (r0); - r0 = pxsim.image.ofBuffer(_hex79174); - globals.twCursor___79175 = (r0); - r0 = pxsim.image.ofBuffer(_hex79177); - globals.apple___79178 = (r0); - r0 = pxsim.image.ofBuffer(_hex79180); - globals.snakeHead___73651 = (r0); - r0 = pxsim.image.ofBuffer(_hex79182); - globals.snakeBody___79183 = (r0); - r0 = pxsim.image.ofBuffer(_hex79185); - globals.ship___79186 = (r0); - r0 = pxsim.image.ofBuffer(_hex79188); - globals.alien___79189 = (r0); - r0 = pxsim.image.ofBuffer(_hex79191); - globals.missile___79192 = (r0); - r0 = pxsim.image.ofBuffer(_hex79194); - globals.cat___79195 = (r0); - r0 = pxsim.image.ofBuffer(_hex79197); - globals.fish___79198 = (r0); - r0 = pxsim.image.ofBuffer(_hex79200); - globals.dog___73652 = (r0); - r0 = pxsim.image.ofBuffer(_hex79202); - globals.chimp___79203 = (r0); - r0 = pxsim.image.ofBuffer(_hex79031); - globals.player___73653 = (r0); - r0 = pxsim.image.ofBuffer(_hex79206); - globals.diamond___79207 = (r0); - r0 = pxsim.image.ofBuffer(_hex79209); - globals.boulder___79210 = (r0); - r0 = pxsim.image.ofBuffer(_hex79212); - globals.enemy___73654 = (r0); - r0 = pxsim.image.ofBuffer(_hex79015); - globals.brick___79014 = (r0); - r0 = pxsim.image.ofBuffer(_hex79215); - globals.grass___79216 = (r0); - r0 = pxsim.image.ofBuffer(_hex79218); - globals.water___79219 = (r0); - r0 = pxsim.image.ofBuffer(_hex79221); - globals.dirt2___79222 = (r0); - r0 = pxsim.image.ofBuffer(_hex79224); - globals.wall___79225 = (r0); - r0 = pxsim.image.ofBuffer(_hex79227); - globals.wall2___79228 = (r0); - r0 = pxsim.image.ofBuffer(_hex79230); - globals.dirt___79231 = (r0); - r0 = pxsim.image.ofBuffer(_hex79233); - globals.space___79234 = (r0); + globals.zeroCode___5977 = (r0); + globals.ruleBuf___5984 = (null); + globals.bitIndex___5986 = (0); + globals.TileWorldVersion___3670 = ("4.0.0"); + globals.toHex___6001 = ("0123456789abcdef"); + globals.VersionKey___6006 = ("VersionS"); + globals.HelpKey___6007 = ("HelpN"); + globals.BackImgCntKey___6008 = ("BackN"); + globals.SpriteImgCntKey___6009 = ("SpriteN"); + globals.PlayerIndexKey___6010 = ("PlayerN"); + globals.WorldBackgroundsKey___6011 = ("WBackM"); + globals.WorldSpritesKey___6012 = ("WSpriteM"); + globals.BackImageKey___6013 = ("BackI"); + globals.SpriteImageKey___6014 = ("SpriteI"); + globals.RuleKey___6015 = ("RuleB"); + globals.HighScoreKey___6016 = ("HighN"); + r0 = pxsim.image.ofBuffer(_hex6019); + globals.map___3717 = (r0); + r0 = pxsim.image.ofBuffer(_hex6021); + globals.play___3718 = (r0); + r0 = pxsim.image.ofBuffer(_hex6023); + globals.debug___3719 = (r0); + r0 = pxsim.image.ofBuffer(_hex6025); + globals.code___3720 = (r0); + r0 = pxsim.image.ofBuffer(_hex6027); + globals.paint___3721 = (r0); + r0 = pxsim.image.ofBuffer(_hex6029); + globals.music___3722 = (r0); + r0 = pxsim.image.ofBuffer(_hex6031); + globals.garbageCan___3723 = (r0); + r0 = pxsim.image.ofBuffer(_hex6033); + globals.settingsIcon___3724 = (r0); + r0 = pxsim.image.ofBuffer(_hex6035); + globals.addRule___3725 = (r0); + r0 = pxsim.image.ofBuffer(_hex6037); + globals.emptyTile___3726 = (r0); + r0 = pxsim.image.ofBuffer(_hex6039); + globals.emptyDiagTile___3727 = (r0); + r0 = pxsim.image.ofBuffer(_hex6041); + globals.cursorIn___3728 = (r0); + r0 = pxsim.image.ofBuffer(_hex6043); + globals.cursorOut___3729 = (r0); + r0 = pxsim.image.ofBuffer(_hex6045); + globals.collisionSprite___3730 = (r0); + r0 = pxsim.image.ofBuffer(_hex6047); + globals.genericSprite___3731 = (r0); + r0 = pxsim.image.ofBuffer(_hex6049); + globals.exclude___3732 = (r0); + r0 = pxsim.image.ofBuffer(_hex6051); + globals.include___3733 = (r0); + r0 = pxsim.image.ofBuffer(_hex6053); + globals.include2___3734 = (r0); + r0 = pxsim.image.ofBuffer(_hex6055); + globals.ok___3735 = (r0); + r0 = pxsim.image.ofBuffer(_hex6057); + globals.anyOutline___3736 = (r0); + r0 = pxsim.image.ofBuffer(_hex6059); + globals.allFourOutline___3737 = (r0); + r0 = pxsim.image.ofBuffer(_hex6061); + globals.restingOutline___3738 = (r0); + r0 = pxsim.image.ofBuffer(_hex6063); + globals.downArrowOutline___3739 = (r0); + r0 = pxsim.image.ofBuffer(_hex6065); + globals.upArrowOutline___3740 = (r0); + r0 = pxsim.image.ofBuffer(_hex6067); + globals.rightArrowOutline___3741 = (r0); + r0 = pxsim.image.ofBuffer(_hex6069); + globals.leftArrowOutline___3742 = (r0); + r0 = pxsim.image.ofBuffer(_hex6071); + globals.leftButton___3743 = (r0); + r0 = pxsim.image.ofBuffer(_hex6073); + globals.rightButton___3744 = (r0); + r0 = pxsim.image.ofBuffer(_hex6075); + globals.downButton___3745 = (r0); + r0 = pxsim.image.ofBuffer(_hex6077); + globals.upButton___3746 = (r0); + r0 = pxsim.image.ofBuffer(_hex6079); + globals.AButton___3747 = (r0); + r0 = pxsim.image.ofBuffer(_hex6081); + globals.flipHoriz___3748 = (r0); + r0 = pxsim.image.ofBuffer(_hex6083); + globals.flipVert___3749 = (r0); + r0 = pxsim.image.ofBuffer(_hex6085); + globals.rotate3way___3750 = (r0); + r0 = pxsim.image.ofBuffer(_hex6087); + globals.leftRotate___3751 = (r0); + r0 = pxsim.image.ofBuffer(_hex6089); + globals.rightRotate___3752 = (r0); + r0 = pxsim.image.ofBuffer(_hex6091); + globals.allFour___3753 = (r0); + r0 = pxsim.image.ofBuffer(_hex6093); + globals.downArrow___3754 = (r0); + r0 = pxsim.image.ofBuffer(_hex6095); + globals.upArrow___3755 = (r0); + r0 = pxsim.image.ofBuffer(_hex6097); + globals.rightArrow___3756 = (r0); + r0 = pxsim.image.ofBuffer(_hex6099); + globals.leftArrow___3757 = (r0); + r0 = pxsim.image.ofBuffer(_hex6101); + globals.eat___3758 = (r0); + r0 = pxsim.image.ofBuffer(_hex6103); + globals.stopSign___3759 = (r0); + r0 = pxsim.image.ofBuffer(_hex6105); + globals.uTurn___3760 = (r0); + r0 = pxsim.image.ofBuffer(_hex6107); + globals.spawn___3761 = (r0); + r0 = pxsim.image.ofBuffer(_hex6109); + globals.smallPaint___3762 = (r0); + r0 = pxsim.image.ofBuffer(_hex6111); + globals.portal___3763 = (r0); + r0 = pxsim.image.ofBuffer(_hex6113); + globals.gameIcon___3764 = (r0); + r0 = pxsim.image.ofBuffer(_hex6115); + globals.trophyUp___3765 = (r0); + r0 = pxsim.image.ofBuffer(_hex6117); + globals.trophyDown___3766 = (r0); + r0 = pxsim.image.ofBuffer(_hex6119); + globals.scoreUp10___3767 = (r0); + r0 = pxsim.image.ofBuffer(_hex6121); + globals.diskIcon___3768 = (r0); + r0 = pxsim.image.ofBuffer(_hex6123); + globals.reset___3769 = (r0); + r0 = pxsim.image.ofBuffer(_hex6125); + globals.negate___3770 = (r0); + r0 = pxsim.image.ofBuffer(_hex6127); + globals.twCursor___6128 = (r0); + r0 = pxsim.image.ofBuffer(_hex6130); + globals.apple___6131 = (r0); + r0 = pxsim.image.ofBuffer(_hex6133); + globals.snakeHead___3771 = (r0); + r0 = pxsim.image.ofBuffer(_hex6135); + globals.snakeBody___6136 = (r0); + r0 = pxsim.image.ofBuffer(_hex6138); + globals.ship___6139 = (r0); + r0 = pxsim.image.ofBuffer(_hex6141); + globals.alien___6142 = (r0); + r0 = pxsim.image.ofBuffer(_hex6144); + globals.missile___6145 = (r0); + r0 = pxsim.image.ofBuffer(_hex6147); + globals.cat___6148 = (r0); + r0 = pxsim.image.ofBuffer(_hex6150); + globals.fish___6151 = (r0); + r0 = pxsim.image.ofBuffer(_hex6153); + globals.dog___3772 = (r0); + r0 = pxsim.image.ofBuffer(_hex6155); + globals.chimp___6156 = (r0); + r0 = pxsim.image.ofBuffer(_hex6158); + globals.player___3773 = (r0); + r0 = pxsim.image.ofBuffer(_hex6160); + globals.diamond___6161 = (r0); + r0 = pxsim.image.ofBuffer(_hex6163); + globals.boulder___6164 = (r0); + r0 = pxsim.image.ofBuffer(_hex6166); + globals.enemy___3774 = (r0); + r0 = pxsim.image.ofBuffer(_hex6168); + globals.brick___6169 = (r0); + r0 = pxsim.image.ofBuffer(_hex6171); + globals.grass___6172 = (r0); + r0 = pxsim.image.ofBuffer(_hex6174); + globals.water___6175 = (r0); + r0 = pxsim.image.ofBuffer(_hex6177); + globals.dirt2___6178 = (r0); + r0 = pxsim.image.ofBuffer(_hex6180); + globals.wall___6181 = (r0); + r0 = pxsim.image.ofBuffer(_hex6183); + globals.wall2___6184 = (r0); + r0 = pxsim.image.ofBuffer(_hex6186); + globals.dirt___6187 = (r0); + r0 = pxsim.image.ofBuffer(_hex6189); + globals.space___6190 = (r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.player___73653); - r0 = pxsim_Array__push(s.tmp_0, globals.ship___79186); - r0 = pxsim_Array__push(s.tmp_0, globals.snakeHead___73651); - r0 = pxsim_Array__push(s.tmp_0, globals.diamond___79207); - r0 = pxsim_Array__push(s.tmp_0, globals.alien___79189); - r0 = pxsim_Array__push(s.tmp_0, globals.missile___79192); - r0 = pxsim_Array__push(s.tmp_0, globals.twCursor___79175); - r0 = pxsim_Array__push(s.tmp_0, globals.boulder___79210); - r0 = pxsim_Array__push(s.tmp_0, globals.enemy___73654); - r0 = pxsim_Array__push(s.tmp_0, globals.apple___79178); - r0 = pxsim_Array__push(s.tmp_0, globals.snakeBody___79183); - globals.gallerySprites___73655 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.player___3773); + r0 = pxsim_Array__push(s.tmp_0, globals.ship___6139); + r0 = pxsim_Array__push(s.tmp_0, globals.snakeHead___3771); + r0 = pxsim_Array__push(s.tmp_0, globals.diamond___6161); + r0 = pxsim_Array__push(s.tmp_0, globals.alien___6142); + r0 = pxsim_Array__push(s.tmp_0, globals.missile___6145); + r0 = pxsim_Array__push(s.tmp_0, globals.twCursor___6128); + r0 = pxsim_Array__push(s.tmp_0, globals.boulder___6164); + r0 = pxsim_Array__push(s.tmp_0, globals.enemy___3774); + r0 = pxsim_Array__push(s.tmp_0, globals.apple___6131); + r0 = pxsim_Array__push(s.tmp_0, globals.snakeBody___6136); + globals.gallerySprites___3775 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.brick___79014); - r0 = pxsim_Array__push(s.tmp_0, globals.grass___79216); - r0 = pxsim_Array__push(s.tmp_0, globals.water___79219); - r0 = pxsim_Array__push(s.tmp_0, globals.dirt___79231); - r0 = pxsim_Array__push(s.tmp_0, globals.dirt2___79222); - r0 = pxsim_Array__push(s.tmp_0, globals.space___79234); - r0 = pxsim_Array__push(s.tmp_0, globals.wall___79225); - globals.galleryTiles___73656 = (s.tmp_0); - r0 = pxsim.image.ofBuffer(_hex81765); - globals.colorOut___81766 = (r0); - r0 = pxsim.image.ofBuffer(_hex81768); - globals.colorIn___81769 = (r0); - r0 = pxsim.image.ofBuffer(_hex81771); - globals.paintOut___81772 = (r0); - r0 = pxsim.image.ofBuffer(_hex81774); - globals.paintIn___81775 = (r0); + r0 = pxsim_Array__push(s.tmp_0, globals.brick___6169); + r0 = pxsim_Array__push(s.tmp_0, globals.grass___6172); + r0 = pxsim_Array__push(s.tmp_0, globals.water___6175); + r0 = pxsim_Array__push(s.tmp_0, globals.dirt___6187); + r0 = pxsim_Array__push(s.tmp_0, globals.dirt2___6178); + r0 = pxsim_Array__push(s.tmp_0, globals.space___6190); + r0 = pxsim_Array__push(s.tmp_0, globals.wall___6181); + globals.galleryTiles___3776 = (s.tmp_0); + r0 = pxsim.image.ofBuffer(_hex6271); + globals.colorOut___6272 = (r0); + r0 = pxsim.image.ofBuffer(_hex6274); + globals.colorIn___6275 = (r0); + r0 = pxsim.image.ofBuffer(_hex6277); + globals.paintOut___6278 = (r0); + r0 = pxsim.image.ofBuffer(_hex6280); + globals.paintIn___6281 = (r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.leftArrow___73637); - r0 = pxsim_Array__push(s.tmp_0, globals.upArrow___73635); - r0 = pxsim_Array__push(s.tmp_0, globals.rightArrow___73636); - r0 = pxsim_Array__push(s.tmp_0, globals.downArrow___73634); - r0 = pxsim_Array__push(s.tmp_0, globals.stopSign___73639); - r0 = pxsim_Array__push(s.tmp_0, globals.uTurn___73640); - globals.moveImages___73673 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.leftArrow___3757); + r0 = pxsim_Array__push(s.tmp_0, globals.upArrow___3755); + r0 = pxsim_Array__push(s.tmp_0, globals.rightArrow___3756); + r0 = pxsim_Array__push(s.tmp_0, globals.downArrow___3754); + r0 = pxsim_Array__push(s.tmp_0, globals.stopSign___3759); + r0 = pxsim_Array__push(s.tmp_0, globals.uTurn___3760); + globals.moveImages___3873413 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.leftArrowOutline___73622); - r0 = pxsim_Array__push(s.tmp_0, globals.upArrowOutline___73620); - r0 = pxsim_Array__push(s.tmp_0, globals.rightArrowOutline___73621); - r0 = pxsim_Array__push(s.tmp_0, globals.downArrowOutline___73619); - r0 = pxsim_Array__push(s.tmp_0, globals.restingOutline___73618); - r0 = pxsim_Array__push(s.tmp_0, globals.allFourOutline___73617); - r0 = pxsim_Array__push(s.tmp_0, globals.anyOutline___73616); - globals.movedImages___73674 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.leftArrowOutline___3742); + r0 = pxsim_Array__push(s.tmp_0, globals.upArrowOutline___3740); + r0 = pxsim_Array__push(s.tmp_0, globals.rightArrowOutline___3741); + r0 = pxsim_Array__push(s.tmp_0, globals.downArrowOutline___3739); + r0 = pxsim_Array__push(s.tmp_0, globals.restingOutline___3738); + r0 = pxsim_Array__push(s.tmp_0, globals.allFourOutline___3737); + r0 = pxsim_Array__push(s.tmp_0, globals.anyOutline___3736); + globals.movedImages___3873421 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, "left"); @@ -1261,41 +1263,41 @@ 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___73675 = (s.tmp_0); + globals.moveText___3873429 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.leftButton___73623); - r0 = pxsim_Array__push(s.tmp_0, globals.upButton___73626); - r0 = pxsim_Array__push(s.tmp_0, globals.rightButton___73624); - r0 = pxsim_Array__push(s.tmp_0, globals.downButton___73625); - r0 = pxsim_Array__push(s.tmp_0, globals.AButton___73627); - globals.buttonImages___73676 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.leftButton___3743); + r0 = pxsim_Array__push(s.tmp_0, globals.upButton___3746); + r0 = pxsim_Array__push(s.tmp_0, globals.rightButton___3744); + r0 = pxsim_Array__push(s.tmp_0, globals.downButton___3745); + r0 = pxsim_Array__push(s.tmp_0, globals.AButton___3747); + globals.buttonImages___3873431 = (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, 2); r0 = pxsim_Array__push(s.tmp_0, 3); r0 = pxsim_Array__push(s.tmp_0, 0); - globals.attrValues___73677 = (s.tmp_0); + globals.attrValues___3873441 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.include___73613); - r0 = pxsim_Array__push(s.tmp_0, globals.include2___73614); - r0 = pxsim_Array__push(s.tmp_0, globals.exclude___73612); - r0 = pxsim_Array__push(s.tmp_0, globals.ok___73615); - globals.attrImages___73678 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.include___3733); + r0 = pxsim_Array__push(s.tmp_0, globals.include2___3734); + r0 = pxsim_Array__push(s.tmp_0, globals.exclude___3732); + r0 = pxsim_Array__push(s.tmp_0, globals.ok___3735); + globals.attrImages___3873443 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.trophyUp___73645); - r0 = pxsim_Array__push(s.tmp_0, globals.trophyDown___73646); - r0 = pxsim_Array__push(s.tmp_0, globals.scoreUp10___73647); - globals.gameImages___73679 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.trophyUp___3765); + r0 = pxsim_Array__push(s.tmp_0, globals.trophyDown___3766); + r0 = pxsim_Array__push(s.tmp_0, globals.scoreUp10___3767); + globals.gameImages___3873449 = (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"); r0 = pxsim_Array__push(s.tmp_0, "score+10"); - globals.gameText___73680 = (s.tmp_0); + globals.gameText___3873453 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, 0); @@ -1304,28 +1306,28 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_0, 3); r0 = pxsim_Array__push(s.tmp_0, 5); r0 = pxsim_Array__push(s.tmp_0, 6); - globals.transformMap___84081 = (s.tmp_0); + globals.transformMap___6376 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.include2___73614); - r0 = pxsim_Array__push(s.tmp_0, globals.flipHoriz___73628); - r0 = pxsim_Array__push(s.tmp_0, globals.flipVert___73629); - r0 = pxsim_Array__push(s.tmp_0, globals.leftRotate___73631); - r0 = pxsim_Array__push(s.tmp_0, globals.rightRotate___73632); - r0 = pxsim_Array__push(s.tmp_0, globals.rotate3way___73630); - globals.transformImages___84084 = (s.tmp_0); - globals.helpStringTop___84253 = ("41any,31moved left,51moved right,40moved up,42moved down,32rested,52moved,71dpad left,91dpad right,80dpad up,82dpad down,81A button,"); - globals.helpStringBot___84255 = ("35smash left,44smash up,46smash down,55smash right,74never,"); + r0 = pxsim_Array__push(s.tmp_0, globals.include2___3734); + r0 = pxsim_Array__push(s.tmp_0, globals.flipHoriz___3748); + r0 = pxsim_Array__push(s.tmp_0, globals.flipVert___3749); + r0 = pxsim_Array__push(s.tmp_0, globals.leftRotate___3751); + r0 = pxsim_Array__push(s.tmp_0, globals.rightRotate___3752); + r0 = pxsim_Array__push(s.tmp_0, globals.rotate3way___3750); + globals.transformImages___6378 = (s.tmp_0); + globals.helpStringTop___6391 = ("41any,31moved left,51moved right,40moved up,42moved down,32rested,52moved,71dpad left,91dpad right,80dpad up,82dpad down,81A button,"); + globals.helpStringBot___6392 = ("35smash left,44smash up,46smash down,55smash right,74never,"); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.allFour___73633); - r0 = pxsim_Array__push(s.tmp_0, globals.paint___73601); - r0 = pxsim_Array__push(s.tmp_0, globals.spawn___73641); - r0 = pxsim_Array__push(s.tmp_0, globals.eat___73638); - r0 = pxsim_Array__push(s.tmp_0, globals.gameIcon___73644); - r0 = pxsim_Array__push(s.tmp_0, globals.portal___73643); - r0 = pxsim_Array__push(s.tmp_0, globals.exclude___73612); - globals.categoryImages___84977 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.allFour___3753); + r0 = pxsim_Array__push(s.tmp_0, globals.paint___3721); + r0 = pxsim_Array__push(s.tmp_0, globals.spawn___3761); + r0 = pxsim_Array__push(s.tmp_0, globals.eat___3758); + r0 = pxsim_Array__push(s.tmp_0, globals.gameIcon___3764); + r0 = pxsim_Array__push(s.tmp_0, globals.portal___3763); + r0 = pxsim_Array__push(s.tmp_0, globals.exclude___3732); + globals.categoryImages___6406 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, "move"); @@ -1335,70 +1337,70 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_0, "game"); r0 = pxsim_Array__push(s.tmp_0, "portal"); r0 = pxsim_Array__push(s.tmp_0, "block"); - globals.categoryText___84985 = (s.tmp_0); - globals.menuHelpString___84987 = ("10map,20play,50generalize rule,60delete rule,80add rule,90next rule,70previous rule,"); - globals.attrHelpString___84989 = ("00include,10exclude,90reset,"); - r0 = pxsim.image.ofBuffer(_hex86424); - globals.paintOut___86425 = (r0); - r0 = pxsim.image.ofBuffer(_hex86427); - globals.paintIn___86428 = (r0); - globals.helpString___87384 = ("00map,10paint,20code,30play,90settings,"); + globals.categoryText___6414 = (s.tmp_0); + globals.menuHelpString___6415 = ("10map,20play,50generalize rule,60delete rule,80add rule,90next rule,70previous rule,"); + globals.attrHelpString___6416 = ("00include,10exclude,90reset,"); + r0 = pxsim.image.ofBuffer(_hex6453); + globals.paintOut___6454 = (r0); + r0 = pxsim.image.ofBuffer(_hex6456); + globals.paintIn___6457 = (r0); + globals.helpString___6475 = ("00map,10paint,20code,30play,90settings,"); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.map___73597); - r0 = pxsim_Array__push(s.tmp_0, globals.paint___73601); - r0 = pxsim_Array__push(s.tmp_0, globals.code___73600); - r0 = pxsim_Array__push(s.tmp_0, globals.play___73598); - globals.commandImages___87387 = (s.tmp_0); - s.tmp_0 = createHelloWorld__P192877_mk(s); + r0 = pxsim_Array__push(s.tmp_0, globals.map___3717); + r0 = pxsim_Array__push(s.tmp_0, globals.paint___3721); + r0 = pxsim_Array__push(s.tmp_0, globals.code___3720); + r0 = pxsim_Array__push(s.tmp_0, globals.play___3718); + globals.commandImages___6477 = (s.tmp_0); + s.tmp_0 = createHelloWorld__P3848_mk(s); s.tmp_0.arg0 = "TW1-"; - s.callLocIdx = 1472; s.pc = 35; return s.tmp_0; + s.callLocIdx = 1484; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = createBejeweled__P192879_mk(s); + s.tmp_0 = createBejeweled__P3842_mk(s); s.tmp_0.arg0 = "TW4-"; - s.callLocIdx = 1473; s.pc = 36; return s.tmp_0; + s.callLocIdx = 1485; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_0 = createSnake__P192881_mk(s); + s.tmp_0 = createSnake__P3841_mk(s); s.tmp_0.arg0 = "TW5-"; - s.callLocIdx = 1474; s.pc = 37; return s.tmp_0; + s.callLocIdx = 1486; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = createBoulderDash__P192883_mk(s); + s.tmp_0 = createBoulderDash__P3840_mk(s); s.tmp_0.arg0 = "TW6-"; - s.callLocIdx = 1475; s.pc = 38; return s.tmp_0; + s.callLocIdx = 1487; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - s.tmp_0 = createSokoban__P192885_mk(s); + s.tmp_0 = createSokoban__P3847_mk(s); s.tmp_0.arg0 = "TW7-"; - s.callLocIdx = 1476; s.pc = 39; return s.tmp_0; + s.callLocIdx = 1488; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = createPacMan__P192887_mk(s); + s.tmp_0 = createPacMan__P3845_mk(s); s.tmp_0.arg0 = "TW8-"; - s.callLocIdx = 1477; s.pc = 40; return s.tmp_0; + s.callLocIdx = 1489; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_LoadScreen__C73717_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_LoadScreen__C3837_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_LoadScreen_constructor__P73718_mk(s); + s.tmp_1 = tileworld_LoadScreen_constructor__P3838_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 1701; s.pc = 41; return s.tmp_1; + s.callLocIdx = 1712; s.pc = 41; return s.tmp_1; case 41: r0 = s.retval; - globals.tw___73719 = (s.tmp_0); + globals.tw___3839 = (s.tmp_0); r0 = undefined; return leave(s, r0) default: oops() } } } -_main___P224137.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} -_main___P224137.continuations = [ ] +_main___P5986195.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} +_main___P5986195.continuations = [ ] -function _main___P224137_mk(s) { +function _main___P5986195_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P224137, depth: s.depth + 1, + parent: s, fn: _main___P5986195, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1408,109 +1410,109 @@ function _main___P224137_mk(s) { tmp_5: undefined, } } -const _hex91976 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex91978 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") -const _hex97667 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") -const _hex73935 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") -const _hex74436 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex74438 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex74440 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex74442 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex74444 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex74446 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex74448 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex74450 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex74452 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex74454 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex74456 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex79066 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000222202000000002022222202000000221221222202000022111122222200002211112222220000221111222222000022122122220200002022222202000000002222020000000000000000000000000000000000000000000000000000000000000000000000") -const _hex79068 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000070777777770000007077777777000000007777770700000000777777070000000070777700000000007077770000000000007707000000000000770700000000000070000000000000007000000000000000000000000000000000000000000000000000000000") -const _hex79070 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000002002200022000000000220000200000000e0eeee0e000000212e2222e2000010212e2f2f2f000022222e222222000022222e222222000010212e2f2f2f000000212e2222e200000000e0eeee0e000000000220000200000020022000220000000000000000000000000000000000") -const _hex79072 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000100000000000000001010000000000100010000000000001000001000000000000000000000000000090110000000000901100000000009011000000000090110000000000000000000000000000000100000100000000100010000000000000010100000000000010000000000000000000000000") -const _hex79074 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000004411d90d000000001111e90e000000004411e9dedddd00001111e9eeeeef00004411e9eeeeef00001111e9eeeeee00004411e90e000000001111e90e0000000000000000000000000000000000000000000000000000000000000000000000") -const _hex79076 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000900900000000000099990000000000009999000000000000999900000000000099990090999999999909000099000000000000009009000000000000009900000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex79078 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000b00000000000000bb00000000000000bbbbbbbb0b0000b0bbccccccbc0000bbbbbbbbbbbb00000bbbccccccbc00000bbbbbbbbbbb00000bbbccccccbc0000bbbbbbbbbbbb0000b0bbccccccbc000000bbbbbbbb0b000000bb000000000000000b00000000000000000000000000") -const _hex79080 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000010010000000000911001190000001011111111010000901191191109000000110990110000001191000019110000119100001911000000110990110000009011911911090000101111111101000000911001190000000000100100000000000000000000000000000000000000") -const _hex79082 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000007007000000000000700700000000000070070000000000007007000000007077777777070000707777777707000000007007000000000000700700000000000070070000000000007007000000000000000000000000000000000000000000000000000000") -const _hex79084 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bbbbbbbbbbbbbbcbfbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcfcccccccccccccccc") -const _hex79086 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bbbbbbbbbbbbbbcbfbffffffffffcfccfbffffffffffcccffbffffffffcffccffbffffffffccffcffbffffffcffcffcffbffffffccffffcffbffffcffcffffcffbffffccffffffcffbffcffcffffffcffbffccffffffffcffbcffcffffffffcffbccffffffffffcfcbfcffffffffffcfcbffffffffffffcfcccccccccccccccc") -const _hex79088 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000001111111111110010010000000010011000000000000001100000000000000110000000000000011000000000000001100000000000000110000000000000011000000000000001100000000000000110000000000000011000000000000001100100000000100100111111111111000000000000000000") -const _hex79090 = pxsim.BufferMethods.createBufferFromHex("87041000100000001011111111111101110000000000001101000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001011000000000000111011111111111101") -const _hex79092 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000ffff0000000000f022220f000000002f2222f2000000002f2222f2000000002f2222f2000000002f2222f200000000f022220f0000000000ffff0000000000000000000000000000000000000000000000000000000000000000000000") -const _hex79094 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000ffff0000000000f0bbbb0f00000000bffffffb00000000bffffffb00000000bffffffb00000000bffffffb00000000f0bbbb0f0000000000ffff0000000000000000000000000000000000000000000000000000000000000000000000") -const _hex79096 = pxsim.BufferMethods.createBufferFromHex("8704080008000000f022220f2ff22ff22222ff22f222f22ff22f222f22ff22222ff22ff2f022220f") -const _hex79098 = pxsim.BufferMethods.createBufferFromHex("8704080008000000007ff70000f0770f00007ff70000f07700f07ff7f07f770f7f77ff0077ff0000") -const _hex79100 = pxsim.BufferMethods.createBufferFromHex("870408000800000000ffff00f055550f5f5555f55f5555f55f5555f55f5555f5f055550f00ffff00") -const _hex79102 = pxsim.BufferMethods.createBufferFromHex("87040800080000000000000000000000000000000000000000000000000000000000000000000000") -const _hex79104 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000f000f00000000f0f1f0f100000000001f1fff0f0000001f1111110f000000001f1fff0f000000f0f1f0f100000000000f000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex79106 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f0000000000000009f0f0000000000f099f90000000000f0f9f900000000f0fff9f9ff0000009f990090990f00f099ff00f09ff900009f990090990f0000f0fff9f9ff00000000f0f9f90000000000f099f90000000000009f0f000000000000f00000000000000000000000000000000000000000") -const _hex79108 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000f00f0000000000009ff90000000000f0f99f0f000000009ffffff9000000009ffffff900000000f0f99f0f00000000009ff9000000000000f00f0000000000000000000000000000000000000000000000000000000000000000000000") -const _hex79110 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000000000000000000000000000ff0f0000000000009ff90000000000ff9f9f0f000000009f99fff9000000009fffff9f0f0000009fffff9f0f0000009f99fff900000000ff9f9f0f00000000009ff9000000000000ff0f0000000000000000000000000000000000000000000000000000") -const _hex79112 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000f0ff0000000000009ff90000000000f0f9f9ff000000009fff99f9000000f0f9fffff9000000f0f9fffff9000000009fff99f900000000f0f9f9ff00000000009ff9000000000000f0ff00000000000000000000000000000000000000000000000000000000") -const _hex79114 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f0ffff0f00000000f099990f000000f0fff99fff0f0000f099f99f990f0000f0f9ffff9f0f0000009ffffff900000000f0f99f0f00000000009ff9000000000000f00f0000000000000000000000") -const _hex79116 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f00f0000000000009ff90000000000f0f99f0f000000009ffffff9000000f0f9ffff9f0f0000f099f99f990f0000f0fff99fff0f000000f099990f00000000f0ffff0f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex79118 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066166166860000666671176666080066167777616608006671777717660800661671176166080066667117666608006666711766660800606611116686000060666666668600000060666686080000000000000000000000000000000000") -const _hex79120 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066111166860000666671176666080066667117666608006611711711660800667177771766080066167777616608006666711766660800606616616686000060666666668600000060666686080000000000000000000000000000000000") -const _hex79122 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066166166860000666616176666080066111177616608006671777717660800667177771766080066111177616608006666161766660800606616616686000060666666668600000060666686080000000000000000000000000000000000") -const _hex79124 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066166166860000666671616666080066167711116608006671777717660800667177771766080066167711116608006666716166660800606616616686000060666666668600000060666686080000000000000000000000000000000000") -const _hex79126 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066666666860000666611116166080066167777676608006671666766660800667766676666080066761117616608006666777767660800606666666686000060666666668600000060666686080000000000000000000000000000000000") -const _hex79128 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000bb0b00000000b0bbbb0b000000bbbb8bbb0b00b0bbbbbb88b80bb0bbbbbb8b88880bb0bbbbbbbb8bbb0b000000000080000000000000008000009099999999899909909999998988880900909999998898090000009999899909000000009099990900000000000099090000000000000000") -const _hex79130 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000000000000000009009b00b000000009009b00b000000009909b0bb000000009909b0bb000000009909b0bb000000909909b0bb0b0000909909b0bb0b0000909909b0bb0b0000998909b0b8bb0000998809b088bb00008988888888b80090998809b088bb0b90998909b0b8bb0b90999909b0bbbb0b0000000000000000") -const _hex79132 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000900000000000500099060000000050909969000000000000999606000000000090600900000000000000000000000000000000005500000000100100000000000000000090000000000000009909000090600990999900009996060096065090996900006069500099060000009600009000000000000000000000") -const _hex79134 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000900000000000090990000000000009999090060090000006900006009000000690000600900000090666696000000000099990900000000000000000000000000000000000000000000000000000000000000000000") -const _hex79136 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000909999000000000069666609000000900600009600000090000000960000909999000096000000990900000000000090000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex79138 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000900000000000000099090000000000909999000000000000990900000000900099099000000099999999990900909999999999990000999999999909000090009909900000000000990900000000009099990000000000009909000000000000900000000000000000000000000000000000000000") -const _hex79140 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000000000000000000000000000f00f000000000000f0f900000000ffffff990f0000009f999999f90000009f999999990f00009f999999f9000000ffffff990f0000000000f0f9000000000000f00f00000000000000000000000000000000000000000000000000000000000000000000") -const _hex79142 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000f00f0000000000009f0f0000000000f099ffffff0000009f999999f90000f099999999f90000009f999999f9000000f099ffffff000000009f0f000000000000f00f000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex79144 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000000000000000000000000000000000000000f0ffff0000000000f099f90000000000f099f90000000000f099f90000000000f099f900000000f0ff99f9ff000000f0999999f9000000009f99990f00000000f099f90000000000009f0f000000000000f0000000000000000000000000") -const _hex79146 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f0000000000000009f0f0000000000f099f900000000009f99990f000000f0999999f9000000f0ff99f9ff00000000f099f90000000000f099f90000000000f099f90000000000f099f90000000000f0ffff0000000000000000000000000000000000000000000000000000000000000000000000") -const _hex79148 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000f0000f0000000f0f500005f0f00005ff500005ff500f055550ff055550ff055550ff055550ff05555f55f55550ff05555555555550ff05555555555550ff05555555555550f005f55555555f50000f0555555550f0000005f5555f500000000f0ffff0f00000000000000000000") -const _hex79150 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000010111101000000002122221200000010222222220100002122222222120010221221222122011022211222122201102221122212220110222112221222011022211222122201102212221121220100212222222212000010222222220100000021222212000000001011110100000000000000000000") -const _hex79152 = pxsim.BufferMethods.createBufferFromHex("870410001000000000f0555555550f00005f5555f555f500f0555555f5ff550f5f55f5ffffff5ff55555ffffffff5f5555f5ff55f5ff555555ff5f55f555555555ff55555555555555ff55555555555555ff5f555555555555f5ff55555555555555ffffffff5f555f55f5ffffff5ff5f05555555555550f005f55555555f50000f0555555550f00") -const _hex79154 = pxsim.BufferMethods.createBufferFromHex("870410001000000000f0ff000000000000f0f7000000000000f0f70000000000fffff7ff0f0000007f7777770f000000fffff7ff0f00000000f0f7000000000000f0f7000000000000f0ff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex79156 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000f0ffff0f00000000f04491ff0f000000f01191ee0f000000f04491ee0f000000f01191ff0f000000f0ffff0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex79158 = pxsim.BufferMethods.createBufferFromHex("870410001000000000ffff0f00000000f05555f5000000005fffff5f0f0000005f5f555f0f0000005f5f5f5f0f0000005f5f555f0f0000005fff5f5f0f000000f05555ff0000000000ffff0f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex79160 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000007f77770f000000f0777777f70000007077ff7f7700000070f7ffff7700000070f77fff7700000070f77fff77000000f0f77f77f755000000ffff770f0005050000000055555505000000005555550500000000555555050000000055555505000000000500050500000000505500000000000000000000") -const _hex79162 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000055050000000000040550000000000045050005000000005544444400400000555555550454000055655556455500005555556545550000555555654555000055655556455500005555555501510000551511110010000015050005000000000105500000000000005505000000000000000000000000") -const _hex79164 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000005055000000000000055010000000005000505100000100111151550000151055555555000055542555255500005554555552550000555455555255000055542555255500004540555555550000040044444455000000005000505400000000000550400000000000505500000000000000000000") -const _hex79166 = pxsim.BufferMethods.createBufferFromHex("870410001000000000ff0f0000000000009f0f0000000000ff9fff1f111111019f99991f11111101ff9fff1ff111f101009f0f10ffffff0100ff0f101111f1010000001011111101000000101111110100000010f1ff1f01000000101f11f101000000101f11f10100000010f1ff1f01000000101111110100000010111111010000000000000000") -const _hex79168 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000111111111101000061666666661100001111616666160000616661161111000061666116661600006166611666160000616661166616000061666116661600006166611611110000111161666616000061666666661600001111111111110000000000000000000000000000000000") -const _hex79170 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000010000000000000019000000000000001901000000001011111100000000919919019001000091001900900100009100010090010000910000009001000091000000900100009100000090010000109999991900000000111111010000000000000000000000000000000000000000000000000000") -const _hex79172 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000002022222200000000222222220200002022111121220000221211112222020022111121222102002211112212210200221121221121020022112212112102002221221111210200222212111122020020221111212200000022222222020000002022222200000000000000000000") -const _hex79174 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000000000000000000000000000000000f0ffffff000000005f5555550f0000f055555555f50000f055f5ff55f50000f0550f005ff50000f0550f005ff50000f0550f005ff50000f0550f005ff50000f055f5ff55f50000f055555555f50000005f5555550f000000f0ffffff000000000000000000000000000000000000") -const _hex79177 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cccc0c000000c0eceeeeee020000eceeeeeeee2e0000eeee2222e2ee02e0ee2e222222e202e0ee22222222222ee0ee2e222222222ececc2c22222222e47c672c22222222e477ee2222222222e4e0e24422222242e2e02255242222420e002e54242222240e002e22222244e20000e02e2222e20e000000e0eeee0e0000") -const _hex79180 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000c0ff0000c0fc0f001c610f006c77f7c01711c6c0776c777f1711c16c77f6772c1211c17c7766777c7711c17c7766777c6716c17c77f6677cfc66c17c776cc767cf6cc16c777777c7cc66c6c0777777f66666c6006c77677f6766f600c0fcff7767c60f000000c077c6ff00000000007c0c000000000000c00c0000") -const _hex79182 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000ccff0000000000c07677cc000000007cc76cc1000000c07667fccc000000c0776766cf000000c0776766cf000000c07767fcc1000000c077c76ccc0000cccc767777c700c06c667c7777c600c07766cc7677cf007c776666ccffc6007cc7cc666666c6007c0cc06666660c006c0c00cc66660c00cc0000c0cccc00") -const _hex79185 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000000000cc000000000000c0cc000000000000cccc000000000000cfcc0000000000e0cfcc0000000000ecefcc00000000ee2cecee000000e02e2c2cee00000020442e2e2200000000ee4e2e220000000000ee2f220000000000e04f240000000000002e42000000000000ee22000000000000e0ee00000000000000ee00") -const _hex79188 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000c0b1000000ffff0f1ffb0000ffddbdfc1fb100f01b11ddbd1ffb00f01111bd1cccf1001f1111f11fbd0f001f1111d111fb00001f1111d111b100001f1111f11ffb0f00f01111bd1ccdb100f01b11ddbd1ffb0000ffddbdfc1fb1000000ffff0f1ffb000000000000cfb1000000000000000000") -const _hex79191 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500050000000000045054505000000500454045400000040004000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex79194 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000e0ccfceeff000000e0bdb3ddbdffff0fe0dd3bfdddb2dd0f00dcdddddfd2fd0000f0ddddbdd2fd0000f0dbddbdd2fd0f00dcdddddfd2dd0fe0dd3bfdddd2fb00e0bdb3dd2ddbfd00e0ccfceeffbbdd0f0000000000bfff0f000000b0ffdf0f00000000f0ddbd0f00000000b0ffff00000000000000000000") -const _hex79197 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000ff0f0000000000c044f400000000004c44440f000000c04444440f0000004c44f444f40000c0dc444444fd0000cc44111111440f00cc4444c4c4440fc0cd4444c4444f0fc0cd444444ff4f0fc0cd4d444444c4cdc0dd1c4d44d4dccd00cccc1111fdbfcd000000ccf4ffcc0c0000c04444f400000000c0ccffff0000") -const _hex79200 = pxsim.BufferMethods.createBufferFromHex("87041000100000000040e400000000000054550e00000000405545eeff0000004055445545ffff0f405554f55546550f005e55555556f50000e05555f456f50000e05555f456f50f005e55555556550f405554f55556f400405544556554f500405545eeff44550f0054550e004fff0f0040e400f0550f00000000005ff50000000000f0ff000000") -const _hex79202 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc0000000000c0dccd0f00000000dfedcdfd000000f0fdefcdfdf0ff0fefddddcdfdefdefdefdddddcfdfebffdeffddfddfdfefffcefdeddddeeeedefdefeeeeeeeefebffdf0eeeeeeefeefefb00ffbdfbefeefefb00f0ddcdf0eeeefd0000cf0c00effeff000000f0ffff0f00000000efeefe0000000000ffff0f0000") -const _hex79031 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f00f00000000f0fffffee0440000ffefefee4f4d00f0ff2effe4feff00f0eff2bfd12e42ffffe2f2fedf2442ff2fe3f24edd24520f2fe2f24edd24520fffe2f2fedf2442fff0eff2bfd12e42fff0ff2effe4feff0000ffeeefee4f4d0000f0fffffee04400000000f00f0000000000000000000000") -const _hex79206 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000088990900000000808899990000000088889999090000808888999999000080888899999909008098889999999900809989999999990980991919111111018099111911111100801111191111010080111119111100000010111911010000001011191100000000001119010000000000000000000000") -const _hex79209 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000cccc0000000000cccbcb0c00000000dcbbbccc000000ccdcbdbccc00c0ccbbbcddcccc00bcddbbcbddcbcc00dcddddbbdbcbcc0cdbddddbbdbcbbc0cdbddddbbdbbbbccbdbddddbddbdbbccbb0ddddbddbdbbccb00dbddbdbddbbccb00dbddbbbdbdbb0c00b0bbbbbbcdbb0c000000dbddcccb00000000b0cbbc0b00") -const _hex79212 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000007777070000000070007077ff0f0000000000771cfd0000ffffffffcb0f00ffddddbdfc11fdf01b1111ddfdcb0ff0111111bdbc1cfd1f111111f1dfff0f1f111111d1b1ff0f1f111111d111ff0f1f111111f1bfff0ff0111111bddcff0ff01b1111ddfdff0000ffddddbdfc00000000ffffffcf000000000000cffb0000") -const _hex79015 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcddbddddcdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbbbbdbbbbbbccccccabccccccabdbddddcddbddddbdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbbbbdbbbbcbccccccabccccccab") -const _hex79215 = pxsim.BufferMethods.createBufferFromHex("87041000100000007577777777777777777777777777777775776777577777577777557677777777777757657777777777577577777777777777557777777777777777557777777777775765777775777777577677775577777777777757577777777777775576777777757777657777777777777777777777777777777777777777777777777755") -const _hex79218 = pxsim.BufferMethods.createBufferFromHex("87041000100000006766666666666666666666666666666667668666766666766666776866666666666676876666666666766766666666666666776666666666666666776666666666667687666667666666766866667766666666666676766666666666667768666666676666876666666666666666666666666666666666666666666666666677") -const _hex79221 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddd1dd1dddddddddddd1dd1dddddddbdddddddddd1dd1dddddddddddd1dd1dddddddddddddddddddddbdddddddddddddddddd1dddddddddddddddddddddddddddddddddddddddbbddddddddddddddbbdddddddddddddddddddddddddddddddddddddddbddbdddddddddddddddddddddddddddddbddddddddddddddddd") -const _hex79224 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddddddd8d6d668868868686866d866686868686866d688868868686868d86d888666686868d86dd8d666666868d86d888666666866d688868666666866d866686666666886d868686886886886d868686866886866d868686666886866d868686666886866d868686866886888d886888686666868888888888888888") -const _hex79227 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cccccccccccccc8cbcbb88b88b8b8b8bbc8bbb8b8b8b8b8bbcb888b88b8b8b8b8c8b6888bbbb8b8b8c8b6686bbbbbb8b8c8b6888bbbbbb8bbcb888b8bbbbbb8bbc8bbb8bbbbbbb88bc8b8b8b88b88b88bc8b8b8b8bb88b8bbc8b8b8bbbb88b8bbc8b8b8bbbb88b8bbc8b8b8b8bb88b888c88b888b8bbbb8b8888888888888888") -const _hex79230 = pxsim.BufferMethods.createBufferFromHex("8704100010000000efeeeefefffeeffeee44e4feeeeefeee4e4444eeee44e4ef4e4444e44e4444feee4444e4444444e4ee4444e4444444e4ef4e44ee444444e4feeefefe4e4444fefeffefeeef44e4effeef4e44eeeefe4eeeef4444e4efef44e4ef4444e4fe4e44e4ef444444fe4e44e4ee444444feee44e4fe4e44eeeeee4eeeeeefeefeefefee") -const _hex79233 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ffffffffffffffffffccfcffffffffffcfccccffffccfcffcfccccfccfccccffffccccfcccccccfcffccccfcccccccfcffcfccffccccccfcffffffffcfccccffffffffffffccfcffffffcfccffffffcfffffccccfcffffccfcffccccfcffcfccfcffccccccffcfccfcffccccccffffccfcffcfccffffffcfffffffffffffffff") -const _hex81765 = pxsim.BufferMethods.createBufferFromHex("87040800080000001111111101000010010000100100001001000010010000100100001011111111") -const _hex81768 = pxsim.BufferMethods.createBufferFromHex("87040800080000000000000010111101100000011000000110000001100000011011110100000000") -const _hex81771 = pxsim.BufferMethods.createBufferFromHex("8704060006000000111111000100100001001000010010000100100011111100") -const _hex81774 = pxsim.BufferMethods.createBufferFromHex("8704060006000000000000001011010010000100100001001011010000000000") -const _hex86424 = pxsim.BufferMethods.createBufferFromHex("87040800080000005555555505000050050000500500005005000050050000500500005055555555") -const _hex86427 = pxsim.BufferMethods.createBufferFromHex("87040800080000000000000050555505500000055000000550000005500000055055550500000000") - - - - -function inline__P73924(s) { +const _hex7088 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex7090 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex25322 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex4055 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex4556 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex4558 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex4560 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex4562 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4564 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4566 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4568 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4570 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4572 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4574 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4576 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6019 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000222202000000002022222202000000221221222202000022111122222200002211112222220000221111222222000022122122220200002022222202000000002222020000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6021 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000070777777770000007077777777000000007777770700000000777777070000000070777700000000007077770000000000007707000000000000770700000000000070000000000000007000000000000000000000000000000000000000000000000000000000") +const _hex6023 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000002002200022000000000220000200000000e0eeee0e000000212e2222e2000010212e2f2f2f000022222e222222000022222e222222000010212e2f2f2f000000212e2222e200000000e0eeee0e000000000220000200000020022000220000000000000000000000000000000000") +const _hex6025 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000100000000000000001010000000000100010000000000001000001000000000000000000000000000090110000000000901100000000009011000000000090110000000000000000000000000000000100000100000000100010000000000000010100000000000010000000000000000000000000") +const _hex6027 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000004411d90d000000001111e90e000000004411e9dedddd00001111e9eeeeef00004411e9eeeeef00001111e9eeeeee00004411e90e000000001111e90e0000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6029 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000900900000000000099990000000000009999000000000000999900000000000099990090999999999909000099000000000000009009000000000000009900000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6031 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000b00000000000000bb00000000000000bbbbbbbb0b0000b0bbccccccbc0000bbbbbbbbbbbb00000bbbccccccbc00000bbbbbbbbbbb00000bbbccccccbc0000bbbbbbbbbbbb0000b0bbccccccbc000000bbbbbbbb0b000000bb000000000000000b00000000000000000000000000") +const _hex6033 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000010010000000000911001190000001011111111010000901191191109000000110990110000001191000019110000119100001911000000110990110000009011911911090000101111111101000000911001190000000000100100000000000000000000000000000000000000") +const _hex6035 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000007007000000000000700700000000000070070000000000007007000000007077777777070000707777777707000000007007000000000000700700000000000070070000000000007007000000000000000000000000000000000000000000000000000000") +const _hex6037 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bbbbbbbbbbbbbbcbfbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcfcccccccccccccccc") +const _hex6039 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bbbbbbbbbbbbbbcbfbffffffffffcfccfbffffffffffcccffbffffffffcffccffbffffffffccffcffbffffffcffcffcffbffffffccffffcffbffffcffcffffcffbffffccffffffcffbffcffcffffffcffbffccffffffffcffbcffcffffffffcffbccffffffffffcfcbfcffffffffffcfcbffffffffffffcfcccccccccccccccc") +const _hex6041 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000001111111111110010010000000010011000000000000001100000000000000110000000000000011000000000000001100000000000000110000000000000011000000000000001100000000000000110000000000000011000000000000001100100000000100100111111111111000000000000000000") +const _hex6043 = pxsim.BufferMethods.createBufferFromHex("87041000100000001011111111111101110000000000001101000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001011000000000000111011111111111101") +const _hex6045 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000ffff0000000000f022220f000000002f2222f2000000002f2222f2000000002f2222f2000000002f2222f200000000f022220f0000000000ffff0000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6047 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000ffff0000000000f0bbbb0f00000000bffffffb00000000bffffffb00000000bffffffb00000000bffffffb00000000f0bbbb0f0000000000ffff0000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6049 = pxsim.BufferMethods.createBufferFromHex("8704080008000000f022220f2ff22ff22222ff22f222f22ff22f222f22ff22222ff22ff2f022220f") +const _hex6051 = pxsim.BufferMethods.createBufferFromHex("8704080008000000007ff70000f0770f00007ff70000f07700f07ff7f07f770f7f77ff0077ff0000") +const _hex6053 = pxsim.BufferMethods.createBufferFromHex("870408000800000000ffff00f055550f5f5555f55f5555f55f5555f55f5555f5f055550f00ffff00") +const _hex6055 = pxsim.BufferMethods.createBufferFromHex("87040800080000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6057 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000f000f00000000f0f1f0f100000000001f1fff0f0000001f1111110f000000001f1fff0f000000f0f1f0f100000000000f000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6059 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f0000000000000009f0f0000000000f099f90000000000f0f9f900000000f0fff9f9ff0000009f990090990f00f099ff00f09ff900009f990090990f0000f0fff9f9ff00000000f0f9f90000000000f099f90000000000009f0f000000000000f00000000000000000000000000000000000000000") +const _hex6061 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000f00f0000000000009ff90000000000f0f99f0f000000009ffffff9000000009ffffff900000000f0f99f0f00000000009ff9000000000000f00f0000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6063 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000000000000000000000000000ff0f0000000000009ff90000000000ff9f9f0f000000009f99fff9000000009fffff9f0f0000009fffff9f0f0000009f99fff900000000ff9f9f0f00000000009ff9000000000000ff0f0000000000000000000000000000000000000000000000000000") +const _hex6065 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000f0ff0000000000009ff90000000000f0f9f9ff000000009fff99f9000000f0f9fffff9000000f0f9fffff9000000009fff99f900000000f0f9f9ff00000000009ff9000000000000f0ff00000000000000000000000000000000000000000000000000000000") +const _hex6067 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f0ffff0f00000000f099990f000000f0fff99fff0f0000f099f99f990f0000f0f9ffff9f0f0000009ffffff900000000f0f99f0f00000000009ff9000000000000f00f0000000000000000000000") +const _hex6069 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f00f0000000000009ff90000000000f0f99f0f000000009ffffff9000000f0f9ffff9f0f0000f099f99f990f0000f0fff99fff0f000000f099990f00000000f0ffff0f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6071 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066166166860000666671176666080066167777616608006671777717660800661671176166080066667117666608006666711766660800606611116686000060666666668600000060666686080000000000000000000000000000000000") +const _hex6073 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066111166860000666671176666080066667117666608006611711711660800667177771766080066167777616608006666711766660800606616616686000060666666668600000060666686080000000000000000000000000000000000") +const _hex6075 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066166166860000666616176666080066111177616608006671777717660800667177771766080066111177616608006666161766660800606616616686000060666666668600000060666686080000000000000000000000000000000000") +const _hex6077 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066166166860000666671616666080066167711116608006671777717660800667177771766080066167711116608006666716166660800606616616686000060666666668600000060666686080000000000000000000000000000000000") +const _hex6079 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066666666860000666611116166080066167777676608006671666766660800667766676666080066761117616608006666777767660800606666666686000060666666668600000060666686080000000000000000000000000000000000") +const _hex6081 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000bb0b00000000b0bbbb0b000000bbbb8bbb0b00b0bbbbbb88b80bb0bbbbbb8b88880bb0bbbbbbbb8bbb0b000000000080000000000000008000009099999999899909909999998988880900909999998898090000009999899909000000009099990900000000000099090000000000000000") +const _hex6083 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000000000000000009009b00b000000009009b00b000000009909b0bb000000009909b0bb000000009909b0bb000000909909b0bb0b0000909909b0bb0b0000909909b0bb0b0000998909b0b8bb0000998809b088bb00008988888888b80090998809b088bb0b90998909b0b8bb0b90999909b0bbbb0b0000000000000000") +const _hex6085 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000900000000000500099060000000050909969000000000000999606000000000090600900000000000000000000000000000000005500000000100100000000000000000090000000000000009909000090600990999900009996060096065090996900006069500099060000009600009000000000000000000000") +const _hex6087 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000900000000000090990000000000009999090060090000006900006009000000690000600900000090666696000000000099990900000000000000000000000000000000000000000000000000000000000000000000") +const _hex6089 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000909999000000000069666609000000900600009600000090000000960000909999000096000000990900000000000090000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6091 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000900000000000000099090000000000909999000000000000990900000000900099099000000099999999990900909999999999990000999999999909000090009909900000000000990900000000009099990000000000009909000000000000900000000000000000000000000000000000000000") +const _hex6093 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000000000000000000000000000f00f000000000000f0f900000000ffffff990f0000009f999999f90000009f999999990f00009f999999f9000000ffffff990f0000000000f0f9000000000000f00f00000000000000000000000000000000000000000000000000000000000000000000") +const _hex6095 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000f00f0000000000009f0f0000000000f099ffffff0000009f999999f90000f099999999f90000009f999999f9000000f099ffffff000000009f0f000000000000f00f000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6097 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000000000000000000000000000000000000000f0ffff0000000000f099f90000000000f099f90000000000f099f90000000000f099f900000000f0ff99f9ff000000f0999999f9000000009f99990f00000000f099f90000000000009f0f000000000000f0000000000000000000000000") +const _hex6099 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f0000000000000009f0f0000000000f099f900000000009f99990f000000f0999999f9000000f0ff99f9ff00000000f099f90000000000f099f90000000000f099f90000000000f099f90000000000f0ffff0000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6101 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000f0000f0000000f0f500005f0f00005ff500005ff500f055550ff055550ff055550ff055550ff05555f55f55550ff05555555555550ff05555555555550ff05555555555550f005f55555555f50000f0555555550f0000005f5555f500000000f0ffff0f00000000000000000000") +const _hex6103 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000010111101000000002122221200000010222222220100002122222222120010221221222122011022211222122201102221122212220110222112221222011022211222122201102212221121220100212222222212000010222222220100000021222212000000001011110100000000000000000000") +const _hex6105 = pxsim.BufferMethods.createBufferFromHex("870410001000000000f0555555550f00005f5555f555f500f0555555f5ff550f5f55f5ffffff5ff55555ffffffff5f5555f5ff55f5ff555555ff5f55f555555555ff55555555555555ff55555555555555ff5f555555555555f5ff55555555555555ffffffff5f555f55f5ffffff5ff5f05555555555550f005f55555555f50000f0555555550f00") +const _hex6107 = pxsim.BufferMethods.createBufferFromHex("870410001000000000f0ff000000000000f0f7000000000000f0f70000000000fffff7ff0f0000007f7777770f000000fffff7ff0f00000000f0f7000000000000f0f7000000000000f0ff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6109 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000f0ffff0f00000000f04491ff0f000000f01191ee0f000000f04491ee0f000000f01191ff0f000000f0ffff0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6111 = pxsim.BufferMethods.createBufferFromHex("870410001000000000ffff0f00000000f05555f5000000005fffff5f0f0000005f5f555f0f0000005f5f5f5f0f0000005f5f555f0f0000005fff5f5f0f000000f05555ff0000000000ffff0f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6113 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000007f77770f000000f0777777f70000007077ff7f7700000070f7ffff7700000070f77fff7700000070f77fff77000000f0f77f77f755000000ffff770f0005050000000055555505000000005555550500000000555555050000000055555505000000000500050500000000505500000000000000000000") +const _hex6115 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000055050000000000040550000000000045050005000000005544444400400000555555550454000055655556455500005555556545550000555555654555000055655556455500005555555501510000551511110010000015050005000000000105500000000000005505000000000000000000000000") +const _hex6117 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000005055000000000000055010000000005000505100000100111151550000151055555555000055542555255500005554555552550000555455555255000055542555255500004540555555550000040044444455000000005000505400000000000550400000000000505500000000000000000000") +const _hex6119 = pxsim.BufferMethods.createBufferFromHex("870410001000000000ff0f0000000000009f0f0000000000ff9fff1f111111019f99991f11111101ff9fff1ff111f101009f0f10ffffff0100ff0f101111f1010000001011111101000000101111110100000010f1ff1f01000000101f11f101000000101f11f10100000010f1ff1f01000000101111110100000010111111010000000000000000") +const _hex6121 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000111111111101000061666666661100001111616666160000616661161111000061666116661600006166611666160000616661166616000061666116661600006166611611110000111161666616000061666666661600001111111111110000000000000000000000000000000000") +const _hex6123 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000010000000000000019000000000000001901000000001011111100000000919919019001000091001900900100009100010090010000910000009001000091000000900100009100000090010000109999991900000000111111010000000000000000000000000000000000000000000000000000") +const _hex6125 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000002022222200000000222222220200002022111121220000221211112222020022111121222102002211112212210200221121221121020022112212112102002221221111210200222212111122020020221111212200000022222222020000002022222200000000000000000000") +const _hex6127 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000000000000000000000000000000000f0ffffff000000005f5555550f0000f055555555f50000f055f5ff55f50000f0550f005ff50000f0550f005ff50000f0550f005ff50000f0550f005ff50000f055f5ff55f50000f055555555f50000005f5555550f000000f0ffffff000000000000000000000000000000000000") +const _hex6130 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cccc0c000000c0eceeeeee020000eceeeeeeee2e0000eeee2222e2ee02e0ee2e222222e202e0ee22222222222ee0ee2e222222222ececc2c22222222e47c672c22222222e477ee2222222222e4e0e24422222242e2e02255242222420e002e54242222240e002e22222244e20000e02e2222e20e000000e0eeee0e0000") +const _hex6133 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000c0ff0000c0fc0f001c610f006c77f7c01711c6c0776c777f1711c16c77f6772c1211c17c7766777c7711c17c7766777c6716c17c77f6677cfc66c17c776cc767cf6cc16c777777c7cc66c6c0777777f66666c6006c77677f6766f600c0fcff7767c60f000000c077c6ff00000000007c0c000000000000c00c0000") +const _hex6135 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000ccff0000000000c07677cc000000007cc76cc1000000c07667fccc000000c0776766cf000000c0776766cf000000c07767fcc1000000c077c76ccc0000cccc767777c700c06c667c7777c600c07766cc7677cf007c776666ccffc6007cc7cc666666c6007c0cc06666660c006c0c00cc66660c00cc0000c0cccc00") +const _hex6138 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000000000cc000000000000c0cc000000000000cccc000000000000cfcc0000000000e0cfcc0000000000ecefcc00000000ee2cecee000000e02e2c2cee00000020442e2e2200000000ee4e2e220000000000ee2f220000000000e04f240000000000002e42000000000000ee22000000000000e0ee00000000000000ee00") +const _hex6141 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000c0b1000000ffff0f1ffb0000ffddbdfc1fb100f01b11ddbd1ffb00f01111bd1cccf1001f1111f11fbd0f001f1111d111fb00001f1111d111b100001f1111f11ffb0f00f01111bd1ccdb100f01b11ddbd1ffb0000ffddbdfc1fb1000000ffff0f1ffb000000000000cfb1000000000000000000") +const _hex6144 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500050000000000045054505000000500454045400000040004000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex6147 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000e0ccfceeff000000e0bdb3ddbdffff0fe0dd3bfdddb2dd0f00dcdddddfd2fd0000f0ddddbdd2fd0000f0dbddbdd2fd0f00dcdddddfd2dd0fe0dd3bfdddd2fb00e0bdb3dd2ddbfd00e0ccfceeffbbdd0f0000000000bfff0f000000b0ffdf0f00000000f0ddbd0f00000000b0ffff00000000000000000000") +const _hex6150 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000ff0f0000000000c044f400000000004c44440f000000c04444440f0000004c44f444f40000c0dc444444fd0000cc44111111440f00cc4444c4c4440fc0cd4444c4444f0fc0cd444444ff4f0fc0cd4d444444c4cdc0dd1c4d44d4dccd00cccc1111fdbfcd000000ccf4ffcc0c0000c04444f400000000c0ccffff0000") +const _hex6153 = pxsim.BufferMethods.createBufferFromHex("87041000100000000040e400000000000054550e00000000405545eeff0000004055445545ffff0f405554f55546550f005e55555556f50000e05555f456f50000e05555f456f50f005e55555556550f405554f55556f400405544556554f500405545eeff44550f0054550e004fff0f0040e400f0550f00000000005ff50000000000f0ff000000") +const _hex6155 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc0000000000c0dccd0f00000000dfedcdfd000000f0fdefcdfdf0ff0fefddddcdfdefdefdefdddddcfdfebffdeffddfddfdfefffcefdeddddeeeedefdefeeeeeeeefebffdf0eeeeeeefeefefb00ffbdfbefeefefb00f0ddcdf0eeeefd0000cf0c00effeff000000f0ffff0f00000000efeefe0000000000ffff0f0000") +const _hex6158 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f00f00000000f0fffffee0440000ffefefee4f4d00f0ff2effe4feff00f0eff2bfd12e42ffffe2f2fedf2442ff2fe3f24edd24520f2fe2f24edd24520fffe2f2fedf2442fff0eff2bfd12e42fff0ff2effe4feff0000ffeeefee4f4d0000f0fffffee04400000000f00f0000000000000000000000") +const _hex6160 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000088990900000000808899990000000088889999090000808888999999000080888899999909008098889999999900809989999999990980991919111111018099111911111100801111191111010080111119111100000010111911010000001011191100000000001119010000000000000000000000") +const _hex6163 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000cccc0000000000cccbcb0c00000000dcbbbccc000000ccdcbdbccc00c0ccbbbcddcccc00bcddbbcbddcbcc00dcddddbbdbcbcc0cdbddddbbdbcbbc0cdbddddbbdbbbbccbdbddddbddbdbbccbb0ddddbddbdbbccb00dbddbdbddbbccb00dbddbbbdbdbb0c00b0bbbbbbcdbb0c000000dbddcccb00000000b0cbbc0b00") +const _hex6166 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000007777070000000070007077ff0f0000000000771cfd0000ffffffffcb0f00ffddddbdfc11fdf01b1111ddfdcb0ff0111111bdbc1cfd1f111111f1dfff0f1f111111d1b1ff0f1f111111d111ff0f1f111111f1bfff0ff0111111bddcff0ff01b1111ddfdff0000ffddddbdfc00000000ffffffcf000000000000cffb0000") +const _hex6168 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcddbddddcdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbbbbdbbbbbbccccccabccccccabdbddddcddbddddbdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbbbbdbbbbcbccccccabccccccab") +const _hex6171 = pxsim.BufferMethods.createBufferFromHex("87041000100000007577777777777777777777777777777775776777577777577777557677777777777757657777777777577577777777777777557777777777777777557777777777775765777775777777577677775577777777777757577777777777775576777777757777657777777777777777777777777777777777777777777777777755") +const _hex6174 = pxsim.BufferMethods.createBufferFromHex("87041000100000006766666666666666666666666666666667668666766666766666776866666666666676876666666666766766666666666666776666666666666666776666666666667687666667666666766866667766666666666676766666666666667768666666676666876666666666666666666666666666666666666666666666666677") +const _hex6177 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddd1dd1dddddddddddd1dd1dddddddbdddddddddd1dd1dddddddddddd1dd1dddddddddddddddddddddbdddddddddddddddddd1dddddddddddddddddddddddddddddddddddddddbbddddddddddddddbbdddddddddddddddddddddddddddddddddddddddbddbdddddddddddddddddddddddddddddbddddddddddddddddd") +const _hex6180 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddddddd8d6d668868868686866d866686868686866d688868868686868d86d888666686868d86dd8d666666868d86d888666666866d688868666666866d866686666666886d868686886886886d868686866886866d868686666886866d868686666886866d868686866886888d886888686666868888888888888888") +const _hex6183 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cccccccccccccc8cbcbb88b88b8b8b8bbc8bbb8b8b8b8b8bbcb888b88b8b8b8b8c8b6888bbbb8b8b8c8b6686bbbbbb8b8c8b6888bbbbbb8bbcb888b8bbbbbb8bbc8bbb8bbbbbbb88bc8b8b8b88b88b88bc8b8b8b8bb88b8bbc8b8b8bbbb88b8bbc8b8b8bbbb88b8bbc8b8b8b8bb88b888c88b888b8bbbb8b8888888888888888") +const _hex6186 = pxsim.BufferMethods.createBufferFromHex("8704100010000000efeeeefefffeeffeee44e4feeeeefeee4e4444eeee44e4ef4e4444e44e4444feee4444e4444444e4ee4444e4444444e4ef4e44ee444444e4feeefefe4e4444fefeffefeeef44e4effeef4e44eeeefe4eeeef4444e4efef44e4ef4444e4fe4e44e4ef444444fe4e44e4ee444444feee44e4fe4e44eeeeee4eeeeeefeefeefefee") +const _hex6189 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ffffffffffffffffffccfcffffffffffcfccccffffccfcffcfccccfccfccccffffccccfcccccccfcffccccfcccccccfcffcfccffccccccfcffffffffcfccccffffffffffffccfcffffffcfccffffffcfffffccccfcffffccfcffccccfcffcfccfcffccccccffcfccfcffccccccffffccfcffcfccffffffcfffffffffffffffff") +const _hex6271 = pxsim.BufferMethods.createBufferFromHex("87040800080000001111111101000010010000100100001001000010010000100100001011111111") +const _hex6274 = pxsim.BufferMethods.createBufferFromHex("87040800080000000000000010111101100000011000000110000001100000011011110100000000") +const _hex6277 = pxsim.BufferMethods.createBufferFromHex("8704060006000000111111000100100001001000010010000100100011111100") +const _hex6280 = pxsim.BufferMethods.createBufferFromHex("8704060006000000000000001011010010000100100001001011010000000000") +const _hex6453 = pxsim.BufferMethods.createBufferFromHex("87040800080000005555555505000050050000500500005005000050050000500500005055555555") +const _hex6456 = pxsim.BufferMethods.createBufferFromHex("87040800080000000000000050555505500000055000000550000005500000055055550500000000") + + + + +function inline__P4044(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1523,23 +1525,23 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___73921 = (false); - s.tmp_0 = pause__P70282_mk(s); + globals.__updated___4041 = (false); + s.tmp_0 = pause__P402_mk(s); s.tmp_0.arg0 = 200; s.callLocIdx = 2; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.__updated___73921); + r0 = pxsim_numops_toBoolDecr(globals.__updated___4041); 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__P71643_mk(s); + s.tmp_2 = control___screen_update__P1763_mk(s); s.callLocIdx = 3; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___73921 = (true); + globals.__updated___4041 = (true); case 2: case 3: { step = 1; continue; } @@ -1548,12 +1550,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P73924.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} +inline__P4044.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} -function inline__P73924_mk(s) { +function inline__P4044_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P73924, depth: s.depth + 1, + parent: s, fn: inline__P4044, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1564,7 +1566,7 @@ function inline__P73924_mk(s) { -function inline__P73942(s) { +function inline__P4062(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1574,17 +1576,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore.updateScreen(globals.screen___71682); + r0 = pxsim_pxtcore.updateScreen(globals.screen___1802); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P73942.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} +inline__P4062.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} -function inline__P73942_mk(s) { +function inline__P4062_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P73942, depth: s.depth + 1, + parent: s, fn: inline__P4062, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -1592,7 +1594,7 @@ function inline__P73942_mk(s) { -function inline__P73947(s) { +function inline__P4067(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1611,12 +1613,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P73947.info = {"start":816,"length":56,"line":23,"column":35,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} +inline__P4067.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__P73947_mk(s) { +function inline__P4067_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P73947, depth: s.depth + 1, + parent: s, fn: inline__P4067, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -1625,7 +1627,7 @@ function inline__P73947_mk(s) { -function inline__P74048(s) { +function inline__P4168(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1639,36 +1641,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___74044); + r0 = pxsim_numops_toBoolDecr(globals.infoState___4164); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___74046); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___4166); 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___74046 = (r0); + globals.infoStateStack___4166 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___74044); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___4164); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___74046, s.tmp_0); - globals.infoState___74044 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___4166, s.tmp_0); + globals.infoState___4164 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P74048.info = {"start":1920,"length":259,"line":73,"column":29,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +inline__P4168.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__P74048_mk(s) { +function inline__P4168_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P74048, depth: s.depth + 1, + parent: s, fn: inline__P4168, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1679,7 +1681,7 @@ function inline__P74048_mk(s) { -function inline__P74063(s) { +function inline__P4183(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1689,30 +1691,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___74064 = undefined; - s.nextState___74073 = undefined; - s.tmp_0 = game_currentScene__P72409_mk(s); + s.scene___4184 = undefined; + s.nextState___4193 = undefined; + s.tmp_0 = game_currentScene__P2529_mk(s); s.callLocIdx = 20; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___74064 = (r0); - globals.infoState___74044 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___74046; + s.scene___4184 = (r0); + globals.infoState___4164 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___4166; 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___74046); + r0 = pxsim_Array__length(globals.infoStateStack___4166); 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___74046); - s.nextState___74073 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___4166); + s.nextState___4193 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___74073; + s.tmp_2.arg0 = s.nextState___4193; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -1724,12 +1726,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___74064); + r0 = (s.tmp_1 == s.scene___4184); 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___74073; + s.tmp_3.arg0 = s.nextState___4193; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -1740,10 +1742,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.infoState___74044 = (r0); + globals.infoState___4164 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___74046, s.nextState___74073); + r0 = pxsim_Array__push(globals.infoStateStack___4166, s.nextState___4193); case 4: case 5: case 6: @@ -1751,26 +1753,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P74063.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +inline__P4183.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function inline__P74063_mk(s) { +function inline__P4183_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P74063, depth: s.depth + 1, + parent: s, fn: inline__P4183, depth: s.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___74064: undefined, - nextState___74073: undefined, + scene___4184: undefined, + nextState___4193: undefined, } } -function inline__P74499(s) { +function inline__P4619(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1780,13 +1782,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sz___74500 = undefined; - s.tmp_0 = control_ramSize__P70215_mk(s); + s.sz___4620 = undefined; + s.tmp_0 = control_ramSize__P335_mk(s); s.callLocIdx = 29; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___74500 = (r0); - r0 = (s.sz___74500 <= 102400); + s.sz___4620 = (r0); + r0 = (s.sz___4620 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -1794,7 +1796,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___74500 <= 204800); + r0 = (s.sz___4620 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -1811,23 +1813,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P74499.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} +inline__P4619.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} -function inline__P74499_mk(s) { +function inline__P4619_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P74499, depth: s.depth + 1, + parent: s, fn: inline__P4619, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___74500: undefined, + sz___4620: undefined, } } -function inline__P74591(s) { +function inline__P4711(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1857,12 +1859,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P74591.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} +inline__P4711.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} -function inline__P74591_mk(s) { +function inline__P4711_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P74591, depth: s.depth + 1, + parent: s, fn: inline__P4711, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1877,7 +1879,7 @@ function inline__P74591_mk(s) { -function inline__P74604(s) { +function inline__P4724(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1906,7 +1908,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__P70004_mk(s); + s.tmp_7 = Math_sign__P124_mk(s); r0 = pxsim.Math_.sin(s.arg0); s.tmp_7.arg0 = r0; s.callLocIdx = 49; s.pc = 7; return s.tmp_7; @@ -1971,7 +1973,7 @@ switch (step) { } case 9: r0 = s.retval; - s.tmp_2 = Math_abs__P70003_mk(s); + s.tmp_2 = Math_abs__P123_mk(s); s.tmp_3 = if_yOffset_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -2043,12 +2045,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P74604.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__P4724.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__P74604_mk(s) { +function inline__P4724_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P74604, depth: s.depth + 1, + parent: s, fn: inline__P4724, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2068,7 +2070,7 @@ function inline__P74604_mk(s) { -function inline__P74672(s) { +function inline__P4792(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2082,36 +2084,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.animations___74669); + r0 = pxsim_numops_toBoolDecr(globals.animations___4789); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.animationStateStack___74670); + r0 = pxsim_numops_toBoolDecr(globals.animationStateStack___4790); 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___74670 = (r0); + globals.animationStateStack___4790 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.animations___74669); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.animations___4789); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.animationStateStack___74670, s.tmp_0); - globals.animations___74669 = (undefined); + r0 = pxsim_Array__push(globals.animationStateStack___4790, s.tmp_0); + globals.animations___4789 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P74672.info = {"start":251,"length":277,"line":12,"column":29,"endLine":21,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["oldScene"]} +inline__P4792.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__P74672_mk(s) { +function inline__P4792_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P74672, depth: s.depth + 1, + parent: s, fn: inline__P4792, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2122,7 +2124,7 @@ function inline__P74672_mk(s) { -function inline__P74687(s) { +function inline__P4807(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2132,30 +2134,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___74688 = undefined; - s.nextState___74697 = undefined; - s.tmp_0 = game_currentScene__P72409_mk(s); + s.scene___4808 = undefined; + s.nextState___4817 = undefined; + s.tmp_0 = game_currentScene__P2529_mk(s); s.callLocIdx = 60; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___74688 = (r0); - globals.animations___74669 = (undefined); - s.tmp_0 = r0 = globals.animationStateStack___74670; + s.scene___4808 = (r0); + globals.animations___4789 = (undefined); + s.tmp_0 = r0 = globals.animationStateStack___4790; 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___74670); + r0 = pxsim_Array__length(globals.animationStateStack___4790); 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___74670); - s.nextState___74697 = (r0); + r0 = pxsim_Array_.pop(globals.animationStateStack___4790); + s.nextState___4817 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___74697; + s.tmp_2.arg0 = s.nextState___4817; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -2167,12 +2169,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___74688); + r0 = (s.tmp_1 == s.scene___4808); 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___74697; + s.tmp_3.arg0 = s.nextState___4817; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -2183,10 +2185,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.animations___74669 = (r0); + globals.animations___4789 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.animationStateStack___74670, s.nextState___74697); + r0 = pxsim_Array__push(globals.animationStateStack___4790, s.nextState___4817); case 4: case 5: case 6: @@ -2194,26 +2196,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P74687.info = {"start":560,"length":398,"line":23,"column":28,"endLine":34,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":[]} +inline__P4807.info = {"start":560,"length":398,"line":23,"column":28,"endLine":34,"endColumn":5,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":[]} -function inline__P74687_mk(s) { +function inline__P4807_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P74687, depth: s.depth + 1, + parent: s, fn: inline__P4807, depth: s.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___74688: undefined, - nextState___74697: undefined, + scene___4808: undefined, + nextState___4817: undefined, } } -function tileworld_LoadScreen_constructor__P73718(s) { +function tileworld_LoadScreen_constructor__P3838(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2228,33 +2230,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_LoadScreen__C73717_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_LoadScreen__C3837_VT)) failedCast(r0); r0 = (s.arg0).fields["lastDir"] = (-1); - s.tmp_0 = tileworld_RuleVisualsBase_constructor__P73670_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_constructor__P3790_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = null; - s.callLocIdx = 1418; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1430; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = controller_setRepeatDefault__P71796_mk(s); + s.tmp_0 = controller_setRepeatDefault__P1916_mk(s); s.tmp_0.arg0 = 500; s.tmp_0.arg1 = 80; - s.callLocIdx = 1419; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1431; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P87697); + r0 = pxsim_pxtcore_mkAction(1, inline__P6523); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.A___71757; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.A___1877; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1436; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1448; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = tileworld_LoadScreen__C73717_v0_1_mk(s); + s.tmp_0 = tileworld_LoadScreen__C3837_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_LoadScreen__C73717_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_LoadScreen__C3837_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 4; return s.tmp_0; case 4: @@ -2263,12 +2265,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_LoadScreen_constructor__P73718.info = {"start":163,"length":1211,"line":7,"column":8,"endLine":32,"endColumn":9,"fileName":"loadScreen.ts","functionName":"inline","argumentNames":["this"]} +tileworld_LoadScreen_constructor__P3838.info = {"start":163,"length":1211,"line":7,"column":8,"endLine":32,"endColumn":9,"fileName":"loadScreen.ts","functionName":"inline","argumentNames":["this"]} -function tileworld_LoadScreen_constructor__P73718_mk(s) { +function tileworld_LoadScreen_constructor__P3838_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_LoadScreen_constructor__P73718, depth: s.depth + 1, + parent: s, fn: tileworld_LoadScreen_constructor__P3838, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2279,7 +2281,7 @@ function tileworld_LoadScreen_constructor__P73718_mk(s) { -function inline__P87697(s) { +function inline__P6523(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2289,14 +2291,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.first___87698 = undefined; - s.second___87710 = undefined; - s.slot___87740 = undefined; - s.prefix___87750 = undefined; - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.first___6524 = undefined; + s.second___6536 = undefined; + s.slot___6566 = undefined; + s.prefix___6576 = undefined; + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1420; s.pc = 21; return s.tmp_2; + s.callLocIdx = 1432; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; s.tmp_1 = r0; @@ -2307,10 +2309,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1421; s.pc = 22; return s.tmp_4; + s.callLocIdx = 1433; s.pc = 22; return s.tmp_4; case 22: r0 = s.retval; s.tmp_3 = r0; @@ -2318,11 +2320,11 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_5 = r0; - s.first___87698 = (s.tmp_5); - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.first___6524 = (s.tmp_5); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1422; s.pc = 23; return s.tmp_2; + s.callLocIdx = 1434; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; s.tmp_1 = r0; @@ -2333,10 +2335,10 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_4 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1423; s.pc = 24; return s.tmp_4; + s.callLocIdx = 1435; s.pc = 24; return s.tmp_4; case 24: r0 = s.retval; s.tmp_3 = r0; @@ -2344,14 +2346,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.second___87710 = (s.tmp_5); - s.tmp_0 = r0 = s.first___87698; + s.second___6536 = (s.tmp_5); + s.tmp_0 = r0 = s.first___6524; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 5; continue; } r0 = s.tmp_0; { step = 6; continue; } case 5: - r0 = s.second___87710; + r0 = s.second___6536; case 6: // jmp value (already in r0) s.tmp_1 = r0; @@ -2360,10 +2362,10 @@ switch (step) { r0 = s.tmp_1; { step = 10; continue; } case 7: - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1424; s.pc = 25; return s.tmp_4; + s.callLocIdx = 1436; s.pc = 25; return s.tmp_4; case 25: r0 = s.retval; s.tmp_3 = r0; @@ -2374,10 +2376,10 @@ switch (step) { r0 = s.tmp_2; { step = 9; continue; } case 8: - s.tmp_6 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_6.arg0 = s.caps[0]; s.tmp_6.arg1 = true; - s.callLocIdx = 1425; s.pc = 26; return s.tmp_6; + s.callLocIdx = 1437; s.pc = 26; return s.tmp_6; case 26: r0 = s.retval; s.tmp_5 = r0; @@ -2391,7 +2393,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 15; continue; } - r0 = pxsim_numops_toBoolDecr(s.first___87698); + r0 = pxsim_numops_toBoolDecr(s.first___6524); if (!r0) { step = 11; continue; } r0 = 0; { step = 12; continue; } @@ -2400,18 +2402,18 @@ switch (step) { case 12: // jmp value (already in r0) s.tmp_9 = r0; - s.tmp_12 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_12 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_12.arg0 = s.caps[0]; s.tmp_12.arg1 = true; - s.callLocIdx = 1426; s.pc = 27; return s.tmp_12; + s.callLocIdx = 1438; s.pc = 27; return s.tmp_12; case 27: r0 = s.retval; s.tmp_11 = r0; r0 = (s.tmp_11 - 1); s.tmp_10 = r0; r0 = (s.tmp_10 + s.tmp_9); - s.slot___87740 = (r0); - r0 = pxsim_numops.toString(s.slot___87740); + s.slot___6566 = (r0); + r0 = pxsim_numops.toString(s.slot___6566); s.tmp_3 = r0; if ((s.tmp_3) && (s.tmp_3).vtable) { setupResume(s, 28); @@ -2434,19 +2436,19 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "-"); - s.prefix___87750 = (r0); + s.prefix___6576 = (r0); s.tmp_0 = r0 = s.caps[0]; - s.tmp_2 = tileworld_loadProject__P73594_mk(s); - s.tmp_2.arg0 = s.prefix___87750; + s.tmp_2 = tileworld_loadProject__P3714_mk(s); + s.tmp_2.arg0 = s.prefix___6576; s.tmp_2.arg1 = false; - s.callLocIdx = 1427; s.pc = 30; return s.tmp_2; + s.callLocIdx = 1439; s.pc = 30; return s.tmp_2; case 30: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["p"] = (s.tmp_1); - s.tmp_0 = tileworld_LoadScreen__C73717_v0_1_mk(s); + s.tmp_0 = tileworld_LoadScreen__C3837_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, tileworld_LoadScreen__C73717_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_LoadScreen__C3837_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 31; return s.tmp_0; case 31: @@ -2460,42 +2462,42 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } s.tmp_3 = r0 = s.caps[0]; - s.tmp_5 = tileworld_emptyProject__P73595_mk(s); - s.tmp_5.arg0 = s.prefix___87750; - s.callLocIdx = 1428; s.pc = 32; return s.tmp_5; + s.tmp_5 = tileworld_emptyProject__P3715_mk(s); + s.tmp_5.arg0 = s.prefix___6576; + s.callLocIdx = 1440; s.pc = 32; return s.tmp_5; case 32: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_3).fields["p"] = (s.tmp_4); - s.tmp_0 = tileworld_Project_saveProject__P73591_mk(s); + s.tmp_0 = tileworld_Project_saveProject__P3711_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 1429; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1441; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; case 13: case 14: r0 = (s.caps[0]).fields["lastDir"] = (-1); r0 = (s.caps[0]).fields["lastDir"] = (-1); - s.tmp_0 = game_pushScene__P72413_mk(s); - s.callLocIdx = 1430; s.pc = 34; return s.tmp_0; + s.tmp_0 = game_pushScene__P2533_mk(s); + s.callLocIdx = 1442; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_GameHome__C73714_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_GameHome__C3834_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_GameHome_constructor__P73715_mk(s); + s.tmp_1 = tileworld_GameHome_constructor__P3835_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1431; s.pc = 35; return s.tmp_1; + s.callLocIdx = 1443; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; { step = 20; continue; } case 15: - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1432; s.pc = 36; return s.tmp_2; + s.callLocIdx = 1444; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; s.tmp_1 = r0; @@ -2506,10 +2508,10 @@ switch (step) { r0 = s.tmp_0; { step = 17; continue; } case 16: - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1433; s.pc = 37; return s.tmp_4; + s.callLocIdx = 1445; s.pc = 37; return s.tmp_4; case 37: r0 = s.retval; s.tmp_3 = r0; @@ -2519,16 +2521,16 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 18; continue; } - s.tmp_6 = game_pushScene__P72413_mk(s); - s.callLocIdx = 1434; s.pc = 38; return s.tmp_6; + s.tmp_6 = game_pushScene__P2533_mk(s); + s.callLocIdx = 1446; s.pc = 38; return s.tmp_6; case 38: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_ProjectSettings__C73711_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_ProjectSettings__C3831_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_ProjectSettings_constructor__P73712_mk(s); + s.tmp_1 = tileworld_ProjectSettings_constructor__P3832_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = null; - s.callLocIdx = 1435; s.pc = 39; return s.tmp_1; + s.callLocIdx = 1447; s.pc = 39; return s.tmp_1; case 39: r0 = s.retval; case 18: @@ -2538,12 +2540,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P87697.info = {"start":321,"length":1012,"line":10,"column":64,"endLine":30,"endColumn":13,"fileName":"loadScreen.ts","functionName":"inline","argumentNames":[]} +inline__P6523.info = {"start":321,"length":1012,"line":10,"column":64,"endLine":30,"endColumn":13,"fileName":"loadScreen.ts","functionName":"inline","argumentNames":[]} -function inline__P87697_mk(s) { +function inline__P6523_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P87697, depth: s.depth + 1, + parent: s, fn: inline__P6523, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2558,17 +2560,17 @@ function inline__P87697_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - first___87698: undefined, - second___87710: undefined, - slot___87740: undefined, - prefix___87750: undefined, + first___6524: undefined, + second___6536: undefined, + slot___6566: undefined, + prefix___6576: undefined, } } -function tileworld_ProjectSettings_constructor__P73712(s) { +function tileworld_ProjectSettings_constructor__P3832(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2584,56 +2586,56 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ProjectSettings__C73711_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ProjectSettings__C3831_VT)) failedCast(r0); r0 = (s.arg0).fields["askDeleteRule"] = (false); - s.tmp_0 = tileworld_RuleVisualsBase_constructor__P73670_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_constructor__P3790_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1313; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1325; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P82564_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P6299_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1314; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1326; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P82565_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P6300_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1315; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1327; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P87170); + r0 = pxsim_pxtcore_mkAction(1, inline__P6639); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.A___71757; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.A___1877; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1332; s.pc = 4; return s.tmp_1; + s.callLocIdx = 1344; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P87241); + r0 = pxsim_pxtcore_mkAction(1, inline__P6711); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.B___71758; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.B___1878; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1334; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1346; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ProjectSettings_constructor__P73712.info = {"start":176,"length":1688,"line":6,"column":8,"endLine":46,"endColumn":9,"fileName":"settings.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_ProjectSettings_constructor__P3832.info = {"start":176,"length":1688,"line":6,"column":8,"endLine":46,"endColumn":9,"fileName":"settings.ts","functionName":"inline","argumentNames":["this","p"]} -function tileworld_ProjectSettings_constructor__P73712_mk(s) { +function tileworld_ProjectSettings_constructor__P3832_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ProjectSettings_constructor__P73712, depth: s.depth + 1, + parent: s, fn: tileworld_ProjectSettings_constructor__P3832, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2645,7 +2647,7 @@ function tileworld_ProjectSettings_constructor__P73712_mk(s) { -function inline__P87170(s) { +function inline__P6639(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2655,7 +2657,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.keys___87175 = undefined; + s.keys___6644 = undefined; r0 = s.caps[0].fields["askDeleteRule"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -2664,33 +2666,33 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 1; continue; } - s.tmp_2 = settings_list__P71715_mk(s); + s.tmp_2 = settings_list__P1835_mk(s); r0 = s.caps[0].fields["p"]; r0 = r0.fields["prefix"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 1316; s.pc = 24; return s.tmp_2; + s.callLocIdx = 1328; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; - s.keys___87175 = (r0); - s.tmp_0 = helpers_arrayForEach__P69987_mk(s); - s.tmp_0.arg0 = s.keys___87175; - s.tmp_0.arg1 = inline__P87182; - s.callLocIdx = 1318; s.pc = 25; return s.tmp_0; + s.keys___6644 = (r0); + s.tmp_0 = helpers_arrayForEach__P107_mk(s); + s.tmp_0.arg0 = s.keys___6644; + s.tmp_0.arg1 = inline__P6652; + s.callLocIdx = 1330; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = game_popScene__P72414_mk(s); - s.callLocIdx = 1319; s.pc = 26; return s.tmp_0; + s.tmp_0 = game_popScene__P2534_mk(s); + s.callLocIdx = 1331; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = settings_clear__P71706_mk(s); - s.callLocIdx = 1320; s.pc = 27; return s.tmp_0; + s.tmp_0 = settings_clear__P1826_mk(s); + s.callLocIdx = 1332; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; case 2: - s.tmp_0 = game_popScene__P72414_mk(s); - s.callLocIdx = 1321; s.pc = 28; return s.tmp_0; + s.tmp_0 = game_popScene__P2534_mk(s); + s.callLocIdx = 1333; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; { step = 22; continue; } @@ -2699,10 +2701,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - s.tmp_3 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_3.arg0 = s.caps[0]; s.tmp_3.arg1 = true; - s.callLocIdx = 1322; s.pc = 29; return s.tmp_3; + s.callLocIdx = 1334; s.pc = 29; return s.tmp_3; case 29: r0 = s.retval; s.tmp_2 = r0; @@ -2713,10 +2715,10 @@ switch (step) { r0 = s.tmp_1; { step = 5; continue; } case 4: - s.tmp_5 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_5 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_5.arg0 = s.caps[0]; s.tmp_5.arg1 = true; - s.callLocIdx = 1323; s.pc = 30; return s.tmp_5; + s.callLocIdx = 1335; s.pc = 30; return s.tmp_5; case 30: r0 = s.retval; s.tmp_4 = r0; @@ -2736,18 +2738,18 @@ 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__P73589_mk(s); + s.tmp_0 = tileworld_Project_saveHelp__P3709_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 1324; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1336; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; { step = 11; continue; } case 6: - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1325; s.pc = 32; return s.tmp_2; + s.callLocIdx = 1337; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; s.tmp_1 = r0; @@ -2758,10 +2760,10 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1326; s.pc = 33; return s.tmp_4; + s.callLocIdx = 1338; s.pc = 33; return s.tmp_4; case 33: r0 = s.retval; s.tmp_3 = r0; @@ -2771,21 +2773,21 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 9; continue; } - s.tmp_6 = tileworld_loadProject__P73594_mk(s); + s.tmp_6 = tileworld_loadProject__P3714_mk(s); r0 = s.caps[0].fields["p"]; r0 = r0.fields["prefix"]; s.tmp_6.arg0 = r0; s.tmp_6.arg1 = true; - s.callLocIdx = 1327; s.pc = 34; return s.tmp_6; + s.callLocIdx = 1339; s.pc = 34; return s.tmp_6; case 34: r0 = s.retval; case 9: case 10: case 11: - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1328; s.pc = 35; return s.tmp_2; + s.callLocIdx = 1340; s.pc = 35; return s.tmp_2; case 35: r0 = s.retval; s.tmp_1 = r0; @@ -2796,10 +2798,10 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1329; s.pc = 36; return s.tmp_4; + s.callLocIdx = 1341; s.pc = 36; return s.tmp_4; case 36: r0 = s.retval; s.tmp_3 = r0; @@ -2814,10 +2816,10 @@ switch (step) { case 15: { step = 21; continue; } case 16: - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1330; s.pc = 37; return s.tmp_2; + s.callLocIdx = 1342; s.pc = 37; return s.tmp_2; case 37: r0 = s.retval; s.tmp_1 = r0; @@ -2828,10 +2830,10 @@ switch (step) { r0 = s.tmp_0; { step = 18; continue; } case 17: - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1331; s.pc = 38; return s.tmp_4; + s.callLocIdx = 1343; s.pc = 38; return s.tmp_4; case 38: r0 = s.retval; s.tmp_3 = r0; @@ -2847,9 +2849,9 @@ switch (step) { case 20: case 21: case 22: - s.tmp_0 = tileworld_ProjectSettings__C73711_v0_1_mk(s); + s.tmp_0 = tileworld_ProjectSettings__C3831_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ProjectSettings__C73711_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ProjectSettings__C3831_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: @@ -2859,12 +2861,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P87170.info = {"start":335,"length":1249,"line":9,"column":64,"endLine":37,"endColumn":13,"fileName":"settings.ts","functionName":"inline","argumentNames":[]} +inline__P6639.info = {"start":335,"length":1249,"line":9,"column":64,"endLine":37,"endColumn":13,"fileName":"settings.ts","functionName":"inline","argumentNames":[]} -function inline__P87170_mk(s) { +function inline__P6639_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P87170, depth: s.depth + 1, + parent: s, fn: inline__P6639, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2877,14 +2879,14 @@ function inline__P87170_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - keys___87175: undefined, + keys___6644: undefined, } } -function inline__P87182(s) { +function inline__P6652(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2898,21 +2900,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = settings_remove__P71716_mk(s); + s.tmp_0 = settings_remove__P1836_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1317; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1329; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P87182.info = {"start":525,"length":26,"line":13,"column":37,"endLine":13,"endColumn":63,"fileName":"settings.ts","functionName":"inline","argumentNames":["k"]} +inline__P6652.info = {"start":525,"length":26,"line":13,"column":37,"endLine":13,"endColumn":63,"fileName":"settings.ts","functionName":"inline","argumentNames":["k"]} -function inline__P87182_mk(s) { +function inline__P6652_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P87182, depth: s.depth + 1, + parent: s, fn: inline__P6652, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -2922,7 +2924,7 @@ function inline__P87182_mk(s) { -function inline__P87241(s) { +function inline__P6711(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2939,8 +2941,8 @@ switch (step) { r0 = (s.caps[0]).fields["askDeleteRule"] = (false); { step = 2; continue; } case 1: - s.tmp_0 = game_popScene__P72414_mk(s); - s.callLocIdx = 1333; s.pc = 3; return s.tmp_0; + s.tmp_0 = game_popScene__P2534_mk(s); + s.callLocIdx = 1345; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 2: @@ -2948,12 +2950,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P87241.info = {"start":1654,"length":197,"line":39,"column":64,"endLine":45,"endColumn":13,"fileName":"settings.ts","functionName":"inline","argumentNames":[]} +inline__P6711.info = {"start":1654,"length":197,"line":39,"column":64,"endLine":45,"endColumn":13,"fileName":"settings.ts","functionName":"inline","argumentNames":[]} -function inline__P87241_mk(s) { +function inline__P6711_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P87241, depth: s.depth + 1, + parent: s, fn: inline__P6711, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -2962,7 +2964,7 @@ function inline__P87241_mk(s) { -function tileworld_ProjectSettings_update__P87159(s) { +function tileworld_ProjectSettings_update__P6474(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2972,46 +2974,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worldY___87279 = undefined; + s.worldY___6752 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ProjectSettings__C73711_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.fill(globals.screen___71682, 0); - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + if (!checkSubtype(r0, tileworld_ProjectSettings__C3831_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.fill(globals.screen___1802, 0); + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); + s.tmp_0.arg0 = globals.screen___1802; 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; - s.callLocIdx = 1335; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1347; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___71682, globals.settingsIcon___73604, 0, 6); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___1802, globals.settingsIcon___3724, 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__P71640_mk(s); - s.tmp_1.arg0 = globals.screen___71682; + s.tmp_1 = helpers_imagePrint__P1760_mk(s); + s.tmp_1.arg0 = globals.screen___1802; s.tmp_1.arg1 = "Help"; s.tmp_1.arg2 = 16; s.tmp_1.arg3 = 28; s.tmp_1.arg4 = undefined; s.tmp_1.arg5 = undefined; s.tmp_1.arg6 = undefined; - s.callLocIdx = 1336; s.pc = 10; return s.tmp_1; + s.callLocIdx = 1348; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 1; - s.tmp_0.arg3 = globals.emptyTile___73606; - s.callLocIdx = 1337; s.pc = 11; return s.tmp_0; + s.tmp_0.arg3 = globals.emptyTile___3726; + s.callLocIdx = 1349; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = s.arg0.fields["p"]; @@ -3019,35 +3021,35 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = globals.collisionSprite___73610; + r0 = globals.collisionSprite___3730; { step = 2; continue; } case 1: - r0 = globals.genericSprite___73611; + r0 = globals.genericSprite___3731; case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 3; s.tmp_2.arg2 = 1; s.tmp_2.arg3 = s.tmp_1; - s.callLocIdx = 1338; s.pc = 12; return s.tmp_2; + s.callLocIdx = 1350; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - s.worldY___87279 = (44); - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.worldY___6752 = (44); + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = "World"; s.tmp_0.arg2 = 16; - s.tmp_0.arg3 = s.worldY___87279; + s.tmp_0.arg3 = s.worldY___6752; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1339; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1351; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_backgrounds"]; @@ -3057,26 +3059,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___87279; + s.tmp_0.arg3 = s.worldY___6752; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1341; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1353; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = "by"; s.tmp_0.arg2 = 96; - s.tmp_0.arg3 = s.worldY___87279; + s.tmp_0.arg3 = s.worldY___6752; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1342; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1354; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_backgrounds"]; @@ -3086,15 +3088,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___87279; + s.tmp_0.arg3 = s.worldY___6752; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1344; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1356; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; r0 = s.arg0.fields["p"]; r0 = r0.fields["version"]; s.tmp_0.arg1 = r0; @@ -3103,57 +3105,57 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1345; s.pc = 17; return s.tmp_0; + s.callLocIdx = 1357; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = "Export"; s.tmp_0.arg2 = 16; s.tmp_0.arg3 = 92; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1346; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1358; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 4; s.tmp_0.arg2 = 5; - s.tmp_0.arg3 = globals.diskIcon___73648; - s.callLocIdx = 1347; s.pc = 19; return s.tmp_0; + s.tmp_0.arg3 = globals.diskIcon___3768; + s.callLocIdx = 1359; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = "Delete"; s.tmp_0.arg2 = 16; s.tmp_0.arg3 = 108; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1348; s.pc = 20; return s.tmp_0; + s.callLocIdx = 1360; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 4; s.tmp_0.arg2 = 6; - s.tmp_0.arg3 = globals.garbageCan___73603; - s.callLocIdx = 1349; s.pc = 21; return s.tmp_0; + s.tmp_0.arg3 = globals.garbageCan___3723; + s.callLocIdx = 1361; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; - if ((globals.TileWorldVersion___73550) && (globals.TileWorldVersion___73550).vtable) { + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; + if ((globals.TileWorldVersion___3670) && (globals.TileWorldVersion___3670).vtable) { setupResume(s, 23); - pxsim_String__stringConv(globals.TileWorldVersion___73550); + pxsim_String__stringConv(globals.TileWorldVersion___3670); checkResumeConsumed(); return; - } else { s.retval = (globals.TileWorldVersion___73550) + ""; } + } else { s.retval = (globals.TileWorldVersion___3670) + ""; } case 23: r0 = s.retval; s.tmp_1 = r0; @@ -3164,26 +3166,26 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1350; s.pc = 22; return s.tmp_0; + s.callLocIdx = 1362; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = "Delete ALL games"; s.tmp_0.arg2 = 16; s.tmp_0.arg3 = 44; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1351; s.pc = 24; return s.tmp_0; + s.callLocIdx = 1363; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; s.tmp_0.arg2 = 2; - s.tmp_0.arg3 = globals.garbageCan___73603; - s.callLocIdx = 1352; s.pc = 25; return s.tmp_0; + s.tmp_0.arg3 = globals.garbageCan___3723; + s.callLocIdx = 1364; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; case 4: @@ -3191,12 +3193,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = Sprite_setFlag__P71959_mk(s); + s.tmp_1 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 128; s.tmp_1.arg2 = true; - s.callLocIdx = 1353; s.pc = 26; return s.tmp_1; + s.callLocIdx = 1365; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; r0 = s.arg0.fields["p"]; @@ -3210,22 +3212,22 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = game_showDialog__P72415_mk(s); + s.tmp_2 = game_showDialog__P2535_mk(s); s.tmp_2.arg0 = s.tmp_1; r0 = pxsim_String_.mkEmpty(); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = "A = OK, B = CANCEL"; - s.callLocIdx = 1354; s.pc = 27; return s.tmp_2; + s.callLocIdx = 1366; s.pc = 27; return s.tmp_2; case 27: r0 = s.retval; { step = 8; continue; } case 7: - s.tmp_0 = Sprite_setFlag__P71959_mk(s); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = false; - s.callLocIdx = 1355; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1367; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; case 8: @@ -3233,18 +3235,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ProjectSettings_update__P87159.info = {"start":1876,"length":1553,"line":48,"column":8,"endLine":78,"endColumn":9,"fileName":"settings.ts","functionName":"update","argumentNames":["this"]} +tileworld_ProjectSettings_update__P6474.info = {"start":1876,"length":1553,"line":48,"column":8,"endLine":78,"endColumn":9,"fileName":"settings.ts","functionName":"update","argumentNames":["this"]} -function tileworld_ProjectSettings_update__P87159_mk(s) { +function tileworld_ProjectSettings_update__P6474_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ProjectSettings_update__P87159, depth: s.depth + 1, + parent: s, fn: tileworld_ProjectSettings_update__P6474, depth: s.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___87279: undefined, + worldY___6752: undefined, arg0: undefined, } } @@ -3252,7 +3254,7 @@ function tileworld_ProjectSettings_update__P87159_mk(s) { -function game_showDialog__P72415(s) { +function game_showDialog__P2535(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3262,22 +3264,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.titleFont___95795 = undefined; - s.subFont___95800 = undefined; - s.footerFont___95805 = undefined; - s.h___95810 = undefined; - s.top___95829 = undefined; - s.y___95833 = undefined; - s.footerTop___95870 = undefined; + s.titleFont___6863 = undefined; + s.subFont___6868 = undefined; + s.footerFont___6873 = undefined; + s.h___6878 = undefined; + s.top___6897 = undefined; + s.y___6901 = undefined; + s.footerTop___6938 = 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__P74170_mk(s); + s.tmp_0 = game_init__P4290_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 869; s.pc = 21; return s.tmp_0; + s.callLocIdx = 867; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -3290,12 +3292,12 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = image_getFontForText__P71627_mk(s); + s.tmp_2 = image_getFontForText__P1747_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.callLocIdx = 870; s.pc = 22; return s.tmp_2; + s.callLocIdx = 868; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.titleFont___95795 = (r0); + s.titleFont___6863 = (r0); s.tmp_0 = r0 = s.arg1; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } @@ -3306,12 +3308,12 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = image_getFontForText__P71627_mk(s); + s.tmp_2 = image_getFontForText__P1747_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.callLocIdx = 871; s.pc = 23; return s.tmp_2; + s.callLocIdx = 869; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; - s.subFont___95800 = (r0); + s.subFont___6868 = (r0); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 5; continue; } @@ -3322,45 +3324,45 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = image_getFontForText__P71627_mk(s); + s.tmp_2 = image_getFontForText__P1747_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.callLocIdx = 872; s.pc = 24; return s.tmp_2; + s.callLocIdx = 870; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; - s.footerFont___95805 = (r0); - s.h___95810 = (8); + s.footerFont___6873 = (r0); + s.h___6878 = (8); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 7; continue; } - s.tmp_0 = r0 = s.h___95810; + s.tmp_0 = r0 = s.h___6878; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.titleFont___95795; + s.tmp_2.arg0 = s.titleFont___6863; 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.callLocIdx = 873; s.pc = 25; return s.tmp_2; } + else { s.callLocIdx = 871; s.pc = 25; return s.tmp_2; } } case 25: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.h___95810 = (r0); + s.h___6878 = (r0); case 7: case 8: r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 9; continue; } - s.tmp_0 = r0 = s.h___95810; + s.tmp_0 = r0 = s.h___6878; s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = s.subFont___95800; + s.tmp_3.arg0 = s.subFont___6868; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charHeight"); } else { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["charHeight"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["charHeight"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 874; s.pc = 26; return s.tmp_3; } + else { s.callLocIdx = 872; s.pc = 26; return s.tmp_3; } } case 26: r0 = s.retval; @@ -3368,23 +3370,23 @@ switch (step) { r0 = (2 + s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.h___95810 = (r0); + s.h___6878 = (r0); case 9: case 10: - r0 = (s.h___95810 + 8); - s.h___95810 = (r0); - s.tmp_0 = game_showDialogBackground__P74171_mk(s); - s.tmp_0.arg0 = s.h___95810; + r0 = (s.h___6878 + 8); + s.h___6878 = (r0); + s.tmp_0 = game_showDialogBackground__P4291_mk(s); + s.tmp_0.arg0 = s.h___6878; s.tmp_0.arg1 = 9; - s.callLocIdx = 875; s.pc = 27; return s.tmp_0; + s.callLocIdx = 873; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.top___95829 = (r0); - r0 = (s.top___95829 + 8); - s.y___95833 = (r0); + s.top___6897 = (r0); + r0 = (s.top___6897 + 8); + s.y___6901 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 13; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___71682); + r0 = pxsim_ImageMethods.isMono(globals.screen___1802); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } @@ -3395,27 +3397,27 @@ switch (step) { case 12: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = helpers_imagePrint__P71640_mk(s); - s.tmp_2.arg0 = globals.screen___71682; + s.tmp_2 = helpers_imagePrint__P1760_mk(s); + s.tmp_2.arg0 = globals.screen___1802; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = 8; - s.tmp_2.arg3 = s.y___95833; + s.tmp_2.arg3 = s.y___6901; s.tmp_2.arg4 = s.tmp_1; - s.tmp_2.arg5 = s.titleFont___95795; + s.tmp_2.arg5 = s.titleFont___6863; s.tmp_2.arg6 = undefined; - s.callLocIdx = 876; s.pc = 28; return s.tmp_2; + s.callLocIdx = 874; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; - s.tmp_0 = r0 = s.y___95833; + s.tmp_0 = r0 = s.y___6901; s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = s.titleFont___95795; + s.tmp_3.arg0 = s.titleFont___6863; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charHeight"); } else { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["charHeight"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["charHeight"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 877; s.pc = 29; return s.tmp_3; } + else { s.callLocIdx = 875; s.pc = 29; return s.tmp_3; } } case 29: r0 = s.retval; @@ -3423,12 +3425,12 @@ switch (step) { r0 = (s.tmp_2 + 2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.y___95833 = (r0); + s.y___6901 = (r0); case 13: case 14: r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 17; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___71682); + r0 = pxsim_ImageMethods.isMono(globals.screen___1802); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } @@ -3439,27 +3441,27 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = helpers_imagePrint__P71640_mk(s); - s.tmp_2.arg0 = globals.screen___71682; + s.tmp_2 = helpers_imagePrint__P1760_mk(s); + s.tmp_2.arg0 = globals.screen___1802; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = 8; - s.tmp_2.arg3 = s.y___95833; + s.tmp_2.arg3 = s.y___6901; s.tmp_2.arg4 = s.tmp_1; - s.tmp_2.arg5 = s.subFont___95800; + s.tmp_2.arg5 = s.subFont___6868; s.tmp_2.arg6 = undefined; - s.callLocIdx = 878; s.pc = 30; return s.tmp_2; + s.callLocIdx = 876; s.pc = 30; return s.tmp_2; case 30: r0 = s.retval; - s.tmp_0 = r0 = s.y___95833; + s.tmp_0 = r0 = s.y___6901; s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = s.subFont___95800; + s.tmp_3.arg0 = s.subFont___6868; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charHeight"); } else { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["charHeight"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["charHeight"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 879; s.pc = 31; return s.tmp_3; } + else { s.callLocIdx = 877; s.pc = 31; return s.tmp_3; } } case 31: r0 = s.retval; @@ -3467,22 +3469,22 @@ switch (step) { r0 = (s.tmp_2 + 2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.y___95833 = (r0); + s.y___6901 = (r0); case 17: case 18: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 19; continue; } - r0 = pxsim_ImageMethods.height(globals.screen___71682); + r0 = pxsim_ImageMethods.height(globals.screen___1802); s.tmp_1 = r0; s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = s.footerFont___95805; + s.tmp_3.arg0 = s.footerFont___6873; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charHeight"); } else { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["charHeight"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["charHeight"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 880; s.pc = 32; return s.tmp_3; } + else { s.callLocIdx = 878; s.pc = 32; return s.tmp_3; } } case 32: r0 = s.retval; @@ -3490,22 +3492,22 @@ switch (step) { r0 = (s.tmp_1 - s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 - 4); - s.footerTop___95870 = (r0); - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.footerTop___6938 = (r0); + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = s.footerTop___95870; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + s.tmp_0.arg2 = s.footerTop___6938; + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_0.arg3 = r0; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.footerFont___95805; + s.tmp_2.arg0 = s.footerFont___6873; 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.callLocIdx = 881; s.pc = 34; return s.tmp_2; } + else { s.callLocIdx = 879; s.pc = 34; return s.tmp_2; } } case 34: r0 = s.retval; @@ -3513,36 +3515,36 @@ switch (step) { r0 = (s.tmp_1 + 4); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 0; - s.callLocIdx = 882; s.pc = 33; return s.tmp_0; + s.callLocIdx = 880; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P71610_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imageDrawLine__P1730_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = s.footerTop___95870; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + s.tmp_0.arg2 = s.footerTop___6938; + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = s.footerTop___95870; + s.tmp_0.arg4 = s.footerTop___6938; s.tmp_0.arg5 = 1; - s.callLocIdx = 883; s.pc = 35; return s.tmp_0; + s.callLocIdx = 881; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = s.arg2; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + r0 = pxsim_ImageMethods.width(globals.screen___1802); 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___95805; + s.tmp_6.arg0 = s.footerFont___6873; if (!s.tmp_6.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "charWidth"); } else { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["charWidth"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["charWidth"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 884; s.pc = 37; return s.tmp_6; } + else { s.callLocIdx = 882; s.pc = 37; return s.tmp_6; } } case 37: r0 = s.retval; @@ -3553,17 +3555,17 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 8); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___71682); + r0 = pxsim_ImageMethods.height(globals.screen___1802); s.tmp_8 = r0; s.tmp_10 = if_charHeight_1_mk(s); - s.tmp_10.arg0 = s.footerFont___95805; + s.tmp_10.arg0 = s.footerFont___6873; if (!s.tmp_10.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_10.arg0, "charHeight"); } else { s.tmp_10.fn = s.tmp_10.arg0.vtable.iface["charHeight"]; if (s.tmp_10.fn == null) { s.retval = s.tmp_10.arg0.fields["charHeight"]; } else if (!s.tmp_10.fn.isGetter) { s.retval = bind(s.tmp_10); } - else { s.callLocIdx = 885; s.pc = 38; return s.tmp_10; } + else { s.callLocIdx = 883; s.pc = 38; return s.tmp_10; } } case 38: r0 = s.retval; @@ -3573,9 +3575,9 @@ switch (step) { r0 = (s.tmp_7 - 2); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.footerFont___95805; + s.tmp_0.arg5 = s.footerFont___6873; s.tmp_0.arg6 = undefined; - s.callLocIdx = 886; s.pc = 36; return s.tmp_0; + s.callLocIdx = 884; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; case 19: @@ -3584,12 +3586,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_showDialog__P72415.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__P2535.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__P72415_mk(s) { +function game_showDialog__P2535_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_showDialog__P72415, depth: s.depth + 1, + parent: s, fn: game_showDialog__P2535, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3602,13 +3604,13 @@ function game_showDialog__P72415_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - titleFont___95795: undefined, - subFont___95800: undefined, - footerFont___95805: undefined, - h___95810: undefined, - top___95829: undefined, - y___95833: undefined, - footerTop___95870: undefined, + titleFont___6863: undefined, + subFont___6868: undefined, + footerFont___6873: undefined, + h___6878: undefined, + top___6897: undefined, + y___6901: undefined, + footerTop___6938: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -3618,7 +3620,7 @@ function game_showDialog__P72415_mk(s) { -function game_showDialogBackground__P74171(s) { +function game_showDialogBackground__P4291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3628,72 +3630,72 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.top___95914 = undefined; + s.top___7038 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.height(globals.screen___71682); + r0 = pxsim_ImageMethods.height(globals.screen___1802); s.tmp_1 = r0; r0 = (s.tmp_1 - s.arg0); s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); - s.top___95914 = (r0); - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.top___7038 = (r0); + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = s.top___95914; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + s.tmp_0.arg2 = s.top___7038; + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg0; s.tmp_0.arg5 = 0; - s.callLocIdx = 866; s.pc = 1; return s.tmp_0; + s.callLocIdx = 864; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P71610_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imageDrawLine__P1730_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = s.top___95914; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + s.tmp_0.arg2 = s.top___7038; + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = s.top___95914; + s.tmp_0.arg4 = s.top___7038; s.tmp_0.arg5 = 1; - s.callLocIdx = 867; s.pc = 2; return s.tmp_0; + s.callLocIdx = 865; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P71610_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imageDrawLine__P1730_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = 0; - r0 = (s.top___95914 + s.arg0); + r0 = (s.top___7038 + s.arg0); s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_0.arg3 = r0; - r0 = (s.top___95914 + s.arg0); + r0 = (s.top___7038 + s.arg0); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 868; s.pc = 3; return s.tmp_0; + s.callLocIdx = 866; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = s.top___95914; + r0 = s.top___7038; return leave(s, r0) default: oops() } } } -game_showDialogBackground__P74171.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__P4291.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__P74171_mk(s) { +function game_showDialogBackground__P4291_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_showDialogBackground__P74171, depth: s.depth + 1, + parent: s, fn: game_showDialogBackground__P4291, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - top___95914: undefined, + top___7038: undefined, arg0: undefined, arg1: undefined, } } @@ -3702,7 +3704,7 @@ function game_showDialogBackground__P74171_mk(s) { -function game_init__P74170(s) { +function game_init__P4290(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3716,7 +3718,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scene___74162); + r0 = pxsim_numops_toBoolDecr(globals._scene___4282); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -3731,73 +3733,73 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C72296_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C2416_VT); s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P72317_mk(s); + s.tmp_4 = scene_Scene_constructor__P2437_mk(s); s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P70278_mk(s); - s.callLocIdx = 851; s.pc = 14; return s.tmp_5; + s.tmp_5 = control_pushEventContext__P398_mk(s); + s.callLocIdx = 849; s.pc = 14; return s.tmp_5; case 14: r0 = s.retval; s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = globals._scene___74162; - s.callLocIdx = 852; s.pc = 13; return s.tmp_4; + s.tmp_4.arg2 = globals._scene___4282; + s.callLocIdx = 850; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - globals._scene___74162 = (s.tmp_3); + globals._scene___4282 = (s.tmp_3); case 3: case 4: - s.tmp_0 = scene_Scene_init__P72318_mk(s); - s.tmp_0.arg0 = globals._scene___74162; - s.callLocIdx = 853; s.pc = 15; return s.tmp_0; + s.tmp_0 = scene_Scene_init__P2438_mk(s); + s.tmp_0.arg0 = globals._scene___4282; + s.callLocIdx = 851; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.winEffect___72407); + r0 = pxsim_numops_toBoolDecr(globals.winEffect___2527); 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___72407 = (globals.confetti___72678); + globals.winEffect___2527 = (globals.confetti___2798); case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals.loseEffect___72408); + r0 = pxsim_numops_toBoolDecr(globals.loseEffect___2528); 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___72408 = (globals.melt___72699); + globals.loseEffect___2528 = (globals.melt___2819); case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals.winSound___74161); + r0 = pxsim_numops_toBoolDecr(globals.winSound___4281); 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___74161 = (globals.powerUp___71498); + globals.winSound___4281 = (globals.powerUp___1618); case 9: case 10: - r0 = pxsim_numops_toBoolDecr(globals.loseSound___74159); + r0 = pxsim_numops_toBoolDecr(globals.loseSound___4279); 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___74159 = (globals.wawawawaa___71495); + globals.loseSound___4279 = (globals.wawawawaa___1615); case 11: case 12: r0 = undefined; return leave(s, r0) default: oops() } } } -game_init__P74170.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__P4290.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__P74170_mk(s) { +function game_init__P4290_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P74170, depth: s.depth + 1, + parent: s, fn: game_init__P4290, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3812,7 +3814,7 @@ function game_init__P74170_mk(s) { -function inline__P92694(s) { +function inline__P7127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3822,11 +3824,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rounds___92697 = undefined; - s.j___92705 = undefined; - s.x___92710 = undefined; - s.y___92716 = undefined; - s.c___92722 = undefined; + s.rounds___7130 = undefined; + s.j___7138 = undefined; + s.x___7143 = undefined; + s.y___7149 = undefined; + s.c___7155 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -3839,14 +3841,14 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.rounds___92697 = (r0); - s.j___92705 = (0); + s.rounds___7130 = (r0); + s.j___7138 = (0); case 1: - r0 = (s.j___92705 < s.rounds___92697); + r0 = (s.j___7138 < s.rounds___7130); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P72467_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P2587_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -3856,8 +3858,8 @@ switch (step) { s.callLocIdx = 45; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___92710 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P72467_mk(s); + s.x___7143 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P2587_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -3867,42 +3869,42 @@ switch (step) { s.callLocIdx = 46; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___92716 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___92710, s.y___92716); - s.c___92722 = (r0); + s.y___7149 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___7143, s.y___7149); + s.c___7155 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___92710; - r0 = (s.y___92716 + 1); + s.tmp_1 = r0 = s.x___7143; + r0 = (s.y___7149 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___92722); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___7155); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___92710; - r0 = (s.y___92716 + 2); + s.tmp_1 = r0 = s.x___7143; + r0 = (s.y___7149 + 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___92722); - r0 = (s.j___92705 + 1); - s.j___92705 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___7155); + r0 = (s.j___7138 + 1); + s.j___7138 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P92694.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__P7127.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__P92694_mk(s) { +function inline__P7127_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P92694, depth: s.depth + 1, + parent: s, fn: inline__P7127, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___92697: undefined, - j___92705: undefined, - x___92710: undefined, - y___92716: undefined, - c___92722: undefined, + rounds___7130: undefined, + j___7138: undefined, + x___7143: undefined, + y___7149: undefined, + c___7155: undefined, arg0: undefined, arg1: undefined, } } @@ -3911,7 +3913,7 @@ function inline__P92694_mk(s) { -function Math_FastRandom_randomRange__P72467(s) { +function Math_FastRandom_randomRange__P2587(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3928,14 +3930,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C72463_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C2583_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__P72466_mk(s); + s.tmp_2 = Math_FastRandom_next__P2586_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 900; s.pc = 3; return s.tmp_2; + s.callLocIdx = 898; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -3954,12 +3956,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_randomRange__P72467.info = {"start":2079,"length":131,"line":62,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"randomRange","argumentNames":["this","min","max"]} +Math_FastRandom_randomRange__P2587.info = {"start":2079,"length":131,"line":62,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"randomRange","argumentNames":["this","min","max"]} -function Math_FastRandom_randomRange__P72467_mk(s) { +function Math_FastRandom_randomRange__P2587_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P72467, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomRange__P2587, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3976,7 +3978,7 @@ function Math_FastRandom_randomRange__P72467_mk(s) { -function Math_FastRandom_next__P72466(s) { +function Math_FastRandom_next__P2586(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3991,7 +3993,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C72463_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C2583_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["lfsr"]; s.tmp_3 = r0; @@ -4012,12 +4014,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_next__P72466.info = {"start":1713,"length":107,"line":53,"column":8,"endLine":55,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"next","argumentNames":["this"]} +Math_FastRandom_next__P2586.info = {"start":1713,"length":107,"line":53,"column":8,"endLine":55,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"next","argumentNames":["this"]} -function Math_FastRandom_next__P72466_mk(s) { +function Math_FastRandom_next__P2586_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P72466, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_next__P2586, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4034,7 +4036,7 @@ function Math_FastRandom_next__P72466_mk(s) { -function effects_ImageEffect_constructor__P72694(s) { +function effects_ImageEffect_constructor__P2814(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4051,14 +4053,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C72693_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C2813_VT)) failedCast(r0); r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C72463_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C2583_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P72465_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P2585_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1192; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1190; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["fastRandom"] = (s.tmp_0); @@ -4068,12 +4070,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_constructor__P72694.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__P2814.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__P72694_mk(s) { +function effects_ImageEffect_constructor__P2814_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P72694, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_constructor__P2814, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4086,7 +4088,7 @@ function effects_ImageEffect_constructor__P72694_mk(s) { -function inline__P92802(s) { +function inline__P7235(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4096,13 +4098,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___92805 = undefined; + s.factory___7238 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C72622_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C2742_VT); s.tmp_0 = r0; s.tmp_2 = if_width_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -4137,27 +4139,27 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = particles_ConfettiFactory_constructor__P72623_mk(s); + s.tmp_5 = particles_ConfettiFactory_constructor__P2743_mk(s); s.tmp_5.arg0 = s.tmp_0; s.tmp_5.arg1 = s.tmp_4; s.tmp_5.arg2 = 16; s.callLocIdx = 35; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; - s.factory___92805 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P72599_mk(s); - s.tmp_0.arg0 = s.factory___92805; + s.factory___7238 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P2719_mk(s); + s.tmp_0.arg0 = s.factory___7238; s.tmp_0.arg1 = 30; s.callLocIdx = 36; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C72555_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C2675_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P72560_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P2680_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___92805; + s.tmp_1.arg3 = s.factory___7238; s.callLocIdx = 37; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -4165,12 +4167,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P92802.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__P7235.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__P92802_mk(s) { +function inline__P7235_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P92802, depth: s.depth + 1, + parent: s, fn: inline__P7235, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4178,7 +4180,7 @@ function inline__P92802_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___92805: undefined, + factory___7238: undefined, arg0: undefined, arg1: undefined, } } @@ -4187,7 +4189,7 @@ function inline__P92802_mk(s) { -function particles_ParticleSource_constructor__P72560(s) { +function particles_ParticleSource_constructor__P2680(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4197,8 +4199,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___92826 = undefined; - s.removedSource___92835 = undefined; + s.sources___7259 = undefined; + s.removedSource___7268 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4207,65 +4209,65 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C72555_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P71740_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C2675_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P1860_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1068; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1066; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = particles_init__P74520_mk(s); - s.callLocIdx = 1069; s.pc = 6; return s.tmp_0; + s.tmp_0 = particles_init__P4640_mk(s); + s.callLocIdx = 1067; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_particleSources__P74526_mk(s); - s.callLocIdx = 1070; s.pc = 7; return s.tmp_0; + s.tmp_0 = particles_particleSources__P4646_mk(s); + s.callLocIdx = 1068; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___92826 = (r0); - r0 = pxsim_Array__length(s.sources___92826); + s.sources___7259 = (r0); + r0 = pxsim_Array__length(s.sources___7259); s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___74497); + r0 = (s.tmp_1 >= globals.MAX_SOURCES___4617); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P74523_mk(s); - s.tmp_2.arg0 = s.sources___92826; - s.callLocIdx = 1071; s.pc = 8; return s.tmp_2; + s.tmp_2 = particles_sortSources__P4643_mk(s); + s.tmp_2.arg0 = s.sources___7259; + s.callLocIdx = 1069; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___92826, 0); - s.removedSource___92835 = (r0); - s.tmp_0 = particles_ParticleSource_clear__P72570_mk(s); - s.tmp_0.arg0 = s.removedSource___92835; - s.callLocIdx = 1073; s.pc = 9; return s.tmp_0; + r0 = pxsim_Array_.removeAt(s.sources___7259, 0); + s.removedSource___7268 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P2690_mk(s); + s.tmp_0.arg0 = s.removedSource___7268; + s.callLocIdx = 1071; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P72569_mk(s); - s.tmp_0.arg0 = s.removedSource___92835; - s.callLocIdx = 1074; s.pc = 10; return s.tmp_0; + s.tmp_0 = particles_ParticleSource_destroy__P2689_mk(s); + s.tmp_0.arg0 = s.removedSource___7268; + s.callLocIdx = 1072; 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__P72572_mk(s); + s.tmp_0 = particles_ParticleSource_setRate__P2692_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 1075; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1073; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAcceleration__P72564_mk(s); + s.tmp_0 = particles_ParticleSource_setAcceleration__P2684_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - s.callLocIdx = 1076; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1074; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAnchor__P72571_mk(s); + s.tmp_0 = particles_ParticleSource_setAnchor__P2691_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1077; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1075; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = (s.arg0).fields["lifespan"] = (undefined); @@ -4277,39 +4279,39 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = globals.defaultFactory___72575; + r0 = globals.defaultFactory___2695; case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P72574_mk(s); + s.tmp_2 = particles_ParticleSource_setFactory__P2694_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 1078; s.pc = 14; return s.tmp_2; + s.callLocIdx = 1076; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___92826, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P72568_mk(s); + r0 = pxsim_Array__push(s.sources___7259, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P2688_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1079; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1077; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_constructor__P72560.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__P2680.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__P72560_mk(s) { +function particles_ParticleSource_constructor__P2680_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P72560, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_constructor__P2680, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___92826: undefined, - removedSource___92835: undefined, + sources___7259: undefined, + removedSource___7268: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4320,7 +4322,7 @@ function particles_ParticleSource_constructor__P72560_mk(s) { -function particles_particleSources__P74526(s) { +function particles_particleSources__P4646(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4330,33 +4332,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___93147 = undefined; - s.tmp_0 = game_currentScene__P72409_mk(s); - s.callLocIdx = 1130; s.pc = 1; return s.tmp_0; + s.sources___7696 = undefined; + s.tmp_0 = game_currentScene__P2529_mk(s); + s.callLocIdx = 1128; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___93147 = (r0); - r0 = s.sources___93147; + s.sources___7696 = (r0); + r0 = s.sources___7696; return leave(s, r0) default: oops() } } } -particles_particleSources__P74526.info = {"start":12831,"length":119,"line":420,"column":4,"endLine":423,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P4646.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__P74526_mk(s) { +function particles_particleSources__P4646_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P74526, depth: s.depth + 1, + parent: s, fn: particles_particleSources__P4646, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___93147: undefined, + sources___7696: undefined, } } -function particles_sortSources__P74523(s) { +function particles_sortSources__P4643(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4370,22 +4372,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySort__P69983_mk(s); + s.tmp_0 = helpers_arraySort__P103_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = inline__P93133; - s.callLocIdx = 1117; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = inline__P7566; + s.callLocIdx = 1115; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_sortSources__P74523.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__P4643.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__P74523_mk(s) { +function particles_sortSources__P4643_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P74523, depth: s.depth + 1, + parent: s, fn: particles_sortSources__P4643, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4395,7 +4397,7 @@ function particles_sortSources__P74523_mk(s) { -function inline__P93133(s) { +function inline__P7566(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4433,12 +4435,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P93133.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__P7566.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__P93133_mk(s) { +function inline__P7566_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P93133, depth: s.depth + 1, + parent: s, fn: inline__P7566, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4454,7 +4456,7 @@ function inline__P93133_mk(s) { -function helpers_arraySort__P69983(s) { +function helpers_arraySort__P103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4486,10 +4488,10 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (inline__P96989); + s.arg1 = (inline__P7589); case 3: case 4: - s.tmp_0 = helpers_sortHelper__P73772_mk(s); + s.tmp_0 = helpers_sortHelper__P3892_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 3; s.pc = 5; return s.tmp_0; @@ -4498,12 +4500,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort__P69983.info = {"start":5663,"length":859,"line":207,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySort","argumentNames":["arr","callbackfn"]} +helpers_arraySort__P103.info = {"start":5663,"length":859,"line":207,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySort","argumentNames":["arr","callbackfn"]} -function helpers_arraySort__P69983_mk(s) { +function helpers_arraySort__P103_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P69983, depth: s.depth + 1, + parent: s, fn: helpers_arraySort__P103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4517,7 +4519,7 @@ function helpers_arraySort__P69983_mk(s) { -function inline__P96989(s) { +function inline__P7589(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4527,26 +4529,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.aIsUndef___96992 = undefined; - s.bIsUndef___96996 = undefined; - s.aIsNull___97007 = undefined; - s.bIsNull___97011 = undefined; + s.aIsUndef___7592 = undefined; + s.bIsUndef___7596 = undefined; + s.aIsNull___7607 = undefined; + s.bIsNull___7611 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___96992 = (r0); + s.aIsUndef___7592 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___96996 = (r0); - s.tmp_0 = r0 = s.aIsUndef___96992; + s.bIsUndef___7596 = (r0); + s.tmp_0 = r0 = s.aIsUndef___7592; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___96996; + r0 = s.bIsUndef___7596; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -4556,13 +4558,13 @@ switch (step) { { step = 17; continue; } { step = 8; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___96992); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___7592); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___96996); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___7596); if (!r0) { step = 5; continue; } r0 = -1; { step = 17; continue; } @@ -4571,16 +4573,16 @@ switch (step) { case 7: case 8: r0 = (s.arg0 === null); - s.aIsNull___97007 = (r0); + s.aIsNull___7607 = (r0); r0 = (s.arg1 === null); - s.bIsNull___97011 = (r0); - s.tmp_0 = r0 = s.aIsNull___97007; + s.bIsNull___7611 = (r0); + s.tmp_0 = r0 = s.aIsNull___7607; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___97011; + r0 = s.bIsNull___7611; case 10: // jmp value (already in r0) s.tmp_1 = r0; @@ -4590,13 +4592,13 @@ switch (step) { { step = 17; continue; } { step = 16; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___97007); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___7607); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___97011); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___7611); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -4635,12 +4637,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P96989.info = {"start":5826,"length":636,"line":209,"column":25,"endLine":224,"endColumn":13,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"inline","argumentNames":["a","b"]} +inline__P7589.info = {"start":5826,"length":636,"line":209,"column":25,"endLine":224,"endColumn":13,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"inline","argumentNames":["a","b"]} -function inline__P96989_mk(s) { +function inline__P7589_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P96989, depth: s.depth + 1, + parent: s, fn: inline__P7589, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4650,10 +4652,10 @@ function inline__P96989_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___96992: undefined, - bIsUndef___96996: undefined, - aIsNull___97007: undefined, - bIsNull___97011: undefined, + aIsUndef___7592: undefined, + bIsUndef___7596: undefined, + aIsNull___7607: undefined, + bIsNull___7611: undefined, arg0: undefined, arg1: undefined, } } @@ -4662,7 +4664,7 @@ function inline__P96989_mk(s) { -function helpers_sortHelper__P73772(s) { +function helpers_sortHelper__P3892(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4672,9 +4674,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___97046 = undefined; - s.i___97049 = undefined; - s.j___97055 = undefined; + s.len___7646 = undefined; + s.i___7649 = undefined; + s.j___7655 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4702,28 +4704,28 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__length(s.arg0); - s.len___97046 = (r0); - s.i___97049 = (0); + s.len___7646 = (r0); + s.i___7649 = (0); case 5: - s.tmp_1 = r0 = s.i___97049; - r0 = (s.len___97046 - 1); + s.tmp_1 = r0 = s.i___7649; + r0 = (s.len___7646 - 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___97049 + 1); - s.j___97055 = (r0); + r0 = (s.i___7649 + 1); + s.j___7655 = (r0); case 6: - r0 = (s.j___97055 < s.len___97046); + r0 = (s.j___7655 < s.len___7646); 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___97049); + r0 = pxsim_Array__getAt(s.arg0, s.i___7649); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___97055); + r0 = pxsim_Array__getAt(s.arg0, s.j___7655); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 1; s.pc = 12; return s.tmp_3; @@ -4734,21 +4736,21 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P73771_mk(s); + s.tmp_4 = helpers_swap__P3891_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___97049; - s.tmp_4.arg2 = s.j___97055; + s.tmp_4.arg1 = s.i___7649; + s.tmp_4.arg2 = s.j___7655; s.callLocIdx = 2; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___97055 + 1); - s.j___97055 = (r0); + r0 = (s.j___7655 + 1); + s.j___7655 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___97049 + 1); - s.i___97049 = (r0); + r0 = (s.i___7649 + 1); + s.i___7649 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -4756,21 +4758,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_sortHelper__P73772.info = {"start":5176,"length":481,"line":191,"column":4,"endLine":205,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sortHelper","argumentNames":["arr","callbackfn"]} +helpers_sortHelper__P3892.info = {"start":5176,"length":481,"line":191,"column":4,"endLine":205,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sortHelper","argumentNames":["arr","callbackfn"]} -function helpers_sortHelper__P73772_mk(s) { +function helpers_sortHelper__P3892_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P73772, depth: s.depth + 1, + parent: s, fn: helpers_sortHelper__P3892, depth: s.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___97046: undefined, - i___97049: undefined, - j___97055: undefined, + len___7646: undefined, + i___7649: undefined, + j___7655: undefined, arg0: undefined, arg1: undefined, } } @@ -4779,7 +4781,7 @@ function helpers_sortHelper__P73772_mk(s) { -function helpers_swap__P73771(s) { +function helpers_swap__P3891(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4789,7 +4791,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.temp___97084 = undefined; + s.temp___7684 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4797,28 +4799,28 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___97084 = (r0); + s.temp___7684 = (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___97084); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___7684); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_swap__P73771.info = {"start":5030,"length":140,"line":185,"column":4,"endLine":189,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"swap","argumentNames":["arr","i","j"]} +helpers_swap__P3891.info = {"start":5030,"length":140,"line":185,"column":4,"endLine":189,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"swap","argumentNames":["arr","i","j"]} -function helpers_swap__P73771_mk(s) { +function helpers_swap__P3891_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P73771, depth: s.depth + 1, + parent: s, fn: helpers_swap__P3891, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___97084: undefined, + temp___7684: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4828,7 +4830,7 @@ function helpers_swap__P73771_mk(s) { -function particles_init__P74520(s) { +function particles_init__P4640(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4838,34 +4840,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___93152 = undefined; - s.tmp_0 = game_currentScene__P72409_mk(s); - s.callLocIdx = 1107; s.pc = 4; return s.tmp_0; + s.scene___7701 = undefined; + s.tmp_0 = game_currentScene__P2529_mk(s); + s.callLocIdx = 1105; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___93152 = (r0); - r0 = s.scene___93152.fields["particleSources"]; + s.scene___7701 = (r0); + r0 = s.scene___7701.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___93152; + s.tmp_1 = r0 = s.scene___7701; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); r0 = pxsim.control.millis(); - globals.lastUpdate___74515 = (r0); - s.tmp_0 = game_onUpdate__P72420_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P74521; - s.callLocIdx = 1108; s.pc = 5; return s.tmp_0; + globals.lastUpdate___4635 = (r0); + s.tmp_0 = game_onUpdate__P2540_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P4641; + s.callLocIdx = 1106; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P72421_mk(s); + s.tmp_0 = game_onUpdateInterval__P2541_mk(s); s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P74522; - s.callLocIdx = 1109; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = particles_pruneParticles__P4642; + s.callLocIdx = 1107; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: @@ -4873,24 +4875,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_init__P74520.info = {"start":9219,"length":276,"line":303,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P4640.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__P74520_mk(s) { +function particles_init__P4640_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P74520, depth: s.depth + 1, + parent: s, fn: particles_init__P4640, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___93152: undefined, + scene___7701: undefined, } } -function particles_pruneParticles__P74522(s) { +function particles_pruneParticles__P4642(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4900,26 +4902,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___93167 = undefined; - s.tmp_0 = particles_particleSources__P74526_mk(s); - s.callLocIdx = 1113; s.pc = 3; return s.tmp_0; + s.sources___7716 = undefined; + s.tmp_0 = particles_particleSources__P4646_mk(s); + s.callLocIdx = 1111; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___93167 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___93167); + s.sources___7716 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___7716); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P69987_mk(s); - s.tmp_1 = helpers_arraySlice__P69992_mk(s); - s.tmp_1.arg0 = s.sources___93167; + s.tmp_0 = helpers_arrayForEach__P107_mk(s); + s.tmp_1 = helpers_arraySlice__P112_mk(s); + s.tmp_1.arg0 = s.sources___7716; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___93167); + r0 = pxsim_Array__length(s.sources___7716); s.tmp_1.arg2 = r0; - s.callLocIdx = 1114; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1112; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P93176; - s.callLocIdx = 1116; s.pc = 4; return s.tmp_0; + s.tmp_0.arg1 = inline__P7725; + s.callLocIdx = 1114; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 1: @@ -4928,23 +4930,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles__P74522.info = {"start":9847,"length":156,"line":326,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P4642.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__P74522_mk(s) { +function particles_pruneParticles__P4642_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P74522, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles__P4642, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___93167: undefined, + sources___7716: undefined, } } -function inline__P93176(s) { +function inline__P7725(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4958,21 +4960,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource__prune__P72563_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P2683_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1115; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1113; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P93176.info = {"start":9980,"length":15,"line":328,"column":62,"endLine":328,"endColumn":77,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P7725.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__P93176_mk(s) { +function inline__P7725_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P93176, depth: s.depth + 1, + parent: s, fn: inline__P7725, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4982,7 +4984,7 @@ function inline__P93176_mk(s) { -function particles_ParticleSource__prune__P72563(s) { +function particles_ParticleSource__prune__P2683(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4992,15 +4994,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___93080 = undefined; - s.sources___93088 = undefined; - s.current___93102 = undefined; + s.scene___7513 = undefined; + s.sources___7521 = undefined; + s.current___7535 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C72555_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2675_VT)) failedCast(r0); case 1: r0 = s.arg0.fields["head"]; s.tmp_0 = r0; @@ -5043,36 +5045,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 13; continue; } - s.tmp_5 = game_currentScene__P72409_mk(s); - s.callLocIdx = 1088; s.pc = 21; return s.tmp_5; + s.tmp_5 = game_currentScene__P2529_mk(s); + s.callLocIdx = 1086; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___93080 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___93080); + s.scene___7513 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___7513); if (!r0) { step = 7; continue; } - r0 = s.scene___93080.fields["allSprites"]; + r0 = s.scene___7513.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: - s.tmp_0 = particles_particleSources__P74526_mk(s); - s.callLocIdx = 1089; s.pc = 22; return s.tmp_0; + s.tmp_0 = particles_particleSources__P4646_mk(s); + s.callLocIdx = 1087; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___93088 = (r0); - s.tmp_0 = r0 = s.sources___93088; + s.sources___7521 = (r0); + s.tmp_0 = r0 = s.sources___7521; 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___93088); + r0 = pxsim_Array__length(s.sources___7521); 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___93088, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___7521, s.arg0); case 11: case 12: r0 = s.arg0.fields["anchor"]; @@ -5081,35 +5083,35 @@ switch (step) { case 13: case 14: r0 = s.arg0.fields["head"]; - s.current___93102 = (r0); + s.current___7535 = (r0); case 15: - s.tmp_0 = r0 = s.current___93102; + s.tmp_0 = r0 = s.current___7535; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___93102.fields["next"]; + r0 = s.current___7535.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___93102.fields["next"]; + r0 = s.current___7535.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___93102.fields["next"]; + r0 = s.current___7535.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___93102).fields["next"] = (s.tmp_4); + r0 = (s.current___7535).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___93102.fields["next"]; - s.current___93102 = (r0); + r0 = s.current___7535.fields["next"]; + s.current___7535 = (r0); case 19: { step = 15; continue; } case 20: @@ -5117,12 +5119,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__prune__P72563.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__P2683.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__P72563_mk(s) { +function particles_ParticleSource__prune__P2683_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P72563, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__prune__P2683, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5130,9 +5132,9 @@ function particles_ParticleSource__prune__P72563_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___93080: undefined, - sources___93088: undefined, - current___93102: undefined, + scene___7513: undefined, + sources___7521: undefined, + current___7535: undefined, arg0: undefined, } } @@ -5140,7 +5142,7 @@ function particles_ParticleSource__prune__P72563_mk(s) { -function helpers_arraySlice__P69992(s) { +function helpers_arraySlice__P112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5150,9 +5152,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___92448 = undefined; - s.len___92450 = undefined; - s.i___92484 = undefined; + s.res___7732 = undefined; + s.len___7734 = undefined; + s.i___7768 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5160,9 +5162,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___92448 = (r0); + s.res___7732 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___92450 = (r0); + s.len___7734 = (r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -5174,8 +5176,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_max__P70005_mk(s); - r0 = (s.len___92450 + s.arg1); + s.tmp_1 = Math_max__P125_mk(s); + r0 = (s.len___7734 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 10; s.pc = 16; return s.tmp_1; @@ -5185,11 +5187,11 @@ switch (step) { case 2: case 3: case 4: - r0 = (s.arg1 > s.len___92450); + r0 = (s.arg1 > s.len___7734); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___92448; + r0 = s.res___7732; { step = 15; continue; } case 5: case 6: @@ -5197,57 +5199,57 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.arg2 = (s.len___92450); + s.arg2 = (s.len___7734); { 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___92450 + s.arg2); + r0 = (s.len___7734 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___92450); + r0 = (s.arg2 > s.len___7734); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___92450); + s.arg2 = (s.len___7734); case 11: case 12: - s.i___92484 = (s.arg1); + s.i___7768 = (s.arg1); case 13: - r0 = (s.i___92484 < s.arg2); + r0 = (s.i___7768 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___92448; - r0 = pxsim_Array__getAt(s.arg0, s.i___92484); + s.tmp_1 = r0 = s.res___7732; + r0 = pxsim_Array__getAt(s.arg0, s.i___7768); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___92484 + 1); - s.i___92484 = (r0); + r0 = (s.i___7768 + 1); + s.i___7768 = (r0); { step = 13; continue; } case 14: - r0 = s.res___92448; + r0 = s.res___7732; case 15: return leave(s, r0) default: oops() } } } -helpers_arraySlice__P69992.info = {"start":8909,"length":690,"line":299,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} +helpers_arraySlice__P112.info = {"start":8909,"length":690,"line":299,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} -function helpers_arraySlice__P69992_mk(s) { +function helpers_arraySlice__P112_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P69992, depth: s.depth + 1, + parent: s, fn: helpers_arraySlice__P112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___92448: undefined, - len___92450: undefined, - i___92484: undefined, + res___7732: undefined, + len___7734: undefined, + i___7768: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5257,7 +5259,7 @@ function helpers_arraySlice__P69992_mk(s) { -function Math_max__P70005(s) { +function Math_max__P125(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5285,12 +5287,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_max__P70005.info = {"start":15575,"length":105,"line":529,"column":4,"endLine":532,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} +Math_max__P125.info = {"start":15575,"length":105,"line":529,"column":4,"endLine":532,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} -function Math_max__P70005_mk(s) { +function Math_max__P125_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_max__P70005, depth: s.depth + 1, + parent: s, fn: Math_max__P125, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5301,7 +5303,7 @@ function Math_max__P70005_mk(s) { -function particles_updateParticles__P74521(s) { +function particles_updateParticles__P4641(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5311,16 +5313,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___93647 = undefined; - s.time___93654 = undefined; - s.dt___93657 = undefined; - s.i___93663 = undefined; - s.tmp_0 = particles_particleSources__P74526_mk(s); - s.callLocIdx = 1110; s.pc = 6; return s.tmp_0; + s.sources___8254 = undefined; + s.time___8261 = undefined; + s.dt___8264 = undefined; + s.i___8270 = undefined; + s.tmp_0 = particles_particleSources__P4646_mk(s); + s.callLocIdx = 1108; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___93647 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___93647); + s.sources___8254 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___8254); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -5329,34 +5331,34 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = particles_sortSources__P74523_mk(s); - s.tmp_2.arg0 = s.sources___93647; - s.callLocIdx = 1111; s.pc = 7; return s.tmp_2; + s.tmp_2 = particles_sortSources__P4643_mk(s); + s.tmp_2.arg0 = s.sources___8254; + s.callLocIdx = 1109; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___93654 = (r0); - r0 = (s.time___93654 - globals.lastUpdate___74515); - s.dt___93657 = (r0); - globals.lastUpdate___74515 = (s.time___93654); - s.i___93663 = (0); + s.time___8261 = (r0); + r0 = (s.time___8261 - globals.lastUpdate___4635); + s.dt___8264 = (r0); + globals.lastUpdate___4635 = (s.time___8261); + s.i___8270 = (0); case 3: - s.tmp_1 = r0 = s.i___93663; - r0 = pxsim_Array__length(s.sources___93647); + s.tmp_1 = r0 = s.i___8270; + r0 = pxsim_Array__length(s.sources___8254); 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__P72562_mk(s); - r0 = pxsim_Array__getAt(s.sources___93647, s.i___93663); + s.tmp_3 = particles_ParticleSource__update__P2682_mk(s); + r0 = pxsim_Array__getAt(s.sources___8254, s.i___8270); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___93657; - s.callLocIdx = 1112; s.pc = 8; return s.tmp_3; + s.tmp_3.arg1 = s.dt___8264; + s.callLocIdx = 1110; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___93663 + 1); - s.i___93663 = (r0); + r0 = (s.i___8270 + 1); + s.i___8270 = (r0); { step = 3; continue; } case 4: case 5: @@ -5364,28 +5366,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_updateParticles__P74521.info = {"start":9501,"length":340,"line":312,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P4641.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__P74521_mk(s) { +function particles_updateParticles__P4641_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P74521, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P4641, depth: s.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___93647: undefined, - time___93654: undefined, - dt___93657: undefined, - i___93663: undefined, + sources___8254: undefined, + time___8261: undefined, + dt___8264: undefined, + i___8270: undefined, } } -function particles_ParticleSource__update__P72562(s) { +function particles_ParticleSource__update__P2682(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5395,16 +5397,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___93726 = undefined; - s.current___93745 = undefined; - s.fixedDt___93753 = undefined; + s.p___8333 = undefined; + s.current___8352 = undefined; + s.fixedDt___8360 = 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__C72555_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2675_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; @@ -5430,9 +5432,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["lifespan"] = (undefined); - s.tmp_0 = particles_ParticleSource_destroy__P72569_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P2689_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1083; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1081; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; case 1: @@ -5455,7 +5457,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["flags"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["flags"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1084; s.pc = 29; return s.tmp_2; } + else { s.callLocIdx = 1082; s.pc = 29; return s.tmp_2; } } case 29: r0 = s.retval; @@ -5478,7 +5480,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["flags"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["flags"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1085; s.pc = 30; return s.tmp_5; } + else { s.callLocIdx = 1083; s.pc = 30; return s.tmp_5; } } case 30: r0 = s.retval; @@ -5503,9 +5505,9 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_2 = particles_ParticleSource_enabled__P72567_mk(s); + s.tmp_2 = particles_ParticleSource_enabled__P2687_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1086; s.pc = 31; return s.tmp_2; + s.callLocIdx = 1084; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; case 13: @@ -5521,18 +5523,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__C72591_v0_2_mk(s); + s.tmp_0 = particles_ParticleFactory__C2711_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__C72591_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C2711_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___93726 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___93726); + s.p___8333 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___8333); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -5543,8 +5545,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___93726).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___93726); + r0 = (s.p___8333).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___8333); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -5559,7 +5561,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___93745 = (r0); + s.current___8352 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -5571,36 +5573,36 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___93753 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___93753); + s.fixedDt___8360 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___8360); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___93745.fields["lifespan"]; + r0 = s.current___8352.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___93745; + s.tmp_2 = r0 = s.current___8352; 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__C72555_v4_3_mk(s); + s.tmp_0 = particles_ParticleSource__C2675_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___93745; - s.tmp_0.arg2 = s.fixedDt___93753; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C72555_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.current___8352; + s.tmp_0.arg2 = s.fixedDt___8360; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C2675_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___93745.fields["next"]; + r0 = s.current___8352.fields["next"]; s.tmp_0 = r0; - s.current___93745 = (r0); + s.current___8352 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -5609,15 +5611,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___93745; + s.tmp_0 = r0 = s.current___8352; 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___93745.fields["next"]; + r0 = s.current___8352.fields["next"]; s.tmp_0 = r0; - s.current___93745 = (r0); + s.current___8352 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -5628,12 +5630,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__update__P72562.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__P2682.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__P72562_mk(s) { +function particles_ParticleSource__update__P2682_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P72562, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__update__P2682, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5643,9 +5645,9 @@ function particles_ParticleSource__update__P72562_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___93726: undefined, - current___93745: undefined, - fixedDt___93753: undefined, + p___8333: undefined, + current___8352: undefined, + fixedDt___8360: undefined, arg0: undefined, arg1: undefined, } } @@ -5654,7 +5656,7 @@ function particles_ParticleSource__update__P72562_mk(s) { -function particles_ParticleSource_updateParticle__P74517(s) { +function particles_ParticleSource_updateParticle__P4637(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5671,7 +5673,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C72555_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2675_VT)) failedCast(r0); r0 = (s.arg2 >> 10); s.arg2 = (r0); s.tmp_0 = r0 = s.arg1; @@ -5726,12 +5728,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P74517.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__P4637.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__P74517_mk(s) { +function particles_ParticleSource_updateParticle__P4637_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P74517, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P4637, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5748,7 +5750,7 @@ function particles_ParticleSource_updateParticle__P74517_mk(s) { -function Fx_rightShift__P70044(s) { +function Fx_rightShift__P164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5767,12 +5769,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_rightShift__P70044.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__P164.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__P70044_mk(s) { +function Fx_rightShift__P164_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P70044, depth: s.depth + 1, + parent: s, fn: Fx_rightShift__P164, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -5782,7 +5784,7 @@ function Fx_rightShift__P70044_mk(s) { -function Fx_mul__P70035(s) { +function Fx_mul__P155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5803,12 +5805,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_mul__P70035.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__P155.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__P70035_mk(s) { +function Fx_mul__P155_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P70035, depth: s.depth + 1, + parent: s, fn: Fx_mul__P155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5819,7 +5821,7 @@ function Fx_mul__P70035_mk(s) { -function Fx_add__P70032(s) { +function Fx_add__P152(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5838,12 +5840,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_add__P70032.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__P152.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__P70032_mk(s) { +function Fx_add__P152_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P70032, depth: s.depth + 1, + parent: s, fn: Fx_add__P152, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -5853,7 +5855,7 @@ function Fx_add__P70032_mk(s) { -function particles_ParticleFactory_createParticle__P72593(s) { +function particles_ParticleFactory_createParticle__P2713(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5863,17 +5865,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___93843 = undefined; + s.p___8457 = 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__C72591_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C72536_VT); - s.p___93843 = (r0); - s.tmp_0 = r0 = s.p___93843; + if (!checkSubtype(r0, particles_ParticleFactory__C2711_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C2656_VT); + s.p___8457 = (r0); + s.tmp_0 = r0 = s.p___8457; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -5882,7 +5884,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["x"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["x"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1137; s.pc = 1; return s.tmp_3; } + else { s.callLocIdx = 1135; s.pc = 1; return s.tmp_3; } } case 1: r0 = s.retval; @@ -5892,7 +5894,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___93843; + s.tmp_0 = r0 = s.p___8457; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -5901,7 +5903,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["y"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["y"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1139; s.pc = 2; return s.tmp_3; } + else { s.callLocIdx = 1137; s.pc = 2; return s.tmp_3; } } case 2: r0 = s.retval; @@ -5911,26 +5913,26 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___93843).fields["vx"] = (0); - r0 = (s.p___93843).fields["vy"] = (0); - r0 = (s.p___93843).fields["lifespan"] = (500); - r0 = s.p___93843; + r0 = (s.p___8457).fields["vx"] = (0); + r0 = (s.p___8457).fields["vy"] = (0); + r0 = (s.p___8457).fields["lifespan"] = (500); + r0 = s.p___8457; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_createParticle__P72593.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__P2713.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__P72593_mk(s) { +function particles_ParticleFactory_createParticle__P2713_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P72593, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_createParticle__P2713, depth: s.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___93843: undefined, + p___8457: undefined, arg0: undefined, arg1: undefined, } } @@ -5939,7 +5941,7 @@ function particles_ParticleFactory_createParticle__P72593_mk(s) { -function game_onUpdateInterval__P72421(s) { +function game_onUpdateInterval__P2541(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5949,15 +5951,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.timer___93189 = undefined; + s.timer___7792 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P74170_mk(s); + s.tmp_0 = game_init__P4290_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 890; s.pc = 6; return s.tmp_0; + s.callLocIdx = 888; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg1); @@ -5979,22 +5981,22 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___93189 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___93189, 0); - r0 = pxsim_pxtcore_mkAction(3, inline__P93193); + s.timer___7792 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___7792, 0); + r0 = pxsim_pxtcore_mkAction(3, inline__P7796); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___93189); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___7792); 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__P70272_mk(s); - s.tmp_2 = game_eventContext__P72412_mk(s); - s.callLocIdx = 891; s.pc = 8; return s.tmp_2; + s.tmp_1 = control_EventContext_registerFrameHandler__P392_mk(s); + s.tmp_2 = game_eventContext__P2532_mk(s); + s.callLocIdx = 889; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 19; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 895; s.pc = 7; return s.tmp_1; + s.callLocIdx = 893; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; case 5: @@ -6002,17 +6004,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval__P72421.info = {"start":7929,"length":417,"line":256,"column":4,"endLine":267,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} +game_onUpdateInterval__P2541.info = {"start":7929,"length":417,"line":256,"column":4,"endLine":267,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} -function game_onUpdateInterval__P72421_mk(s) { +function game_onUpdateInterval__P2541_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P72421, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P2541, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___93189: undefined, + timer___7792: undefined, arg0: undefined, arg1: undefined, } } @@ -6021,7 +6023,7 @@ function game_onUpdateInterval__P72421_mk(s) { -function inline__P93193(s) { +function inline__P7796(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6031,28 +6033,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___93194 = undefined; - s.tmp_1 = game_currentScene__P72409_mk(s); - s.callLocIdx = 892; s.pc = 3; return s.tmp_1; + s.time___7797 = undefined; + s.tmp_1 = game_currentScene__P2529_mk(s); + s.callLocIdx = 890; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.time___93194 = (r0); + s.time___7797 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___93194); + r0 = (s.tmp_1 <= s.time___7797); 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___93194 + s.caps[1]); + r0 = (s.time___7797 + s.caps[1]); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.caps[2]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 894; s.pc = 4; return s.tmp_0; + s.callLocIdx = 892; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 1: @@ -6061,25 +6063,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P93193.info = {"start":8159,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +inline__P7796.info = {"start":8159,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function inline__P93193_mk(s) { +function inline__P7796_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P93193, depth: s.depth + 1, + parent: s, fn: inline__P7796, depth: s.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___93194: undefined, + time___7797: undefined, } } -function scene_Scene_millis__P72320(s) { +function scene_Scene_millis__P2440(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6094,17 +6096,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C72296_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2416_VT)) failedCast(r0); r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -scene_Scene_millis__P72320.info = {"start":6788,"length":61,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} +scene_Scene_millis__P2440.info = {"start":6788,"length":61,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} -function scene_Scene_millis__P72320_mk(s) { +function scene_Scene_millis__P2440_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_millis__P72320, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P2440, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6113,7 +6115,7 @@ function scene_Scene_millis__P72320_mk(s) { -function control_EventContext_registerFrameHandler__P70272(s) { +function control_EventContext_registerFrameHandler__P392(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6123,8 +6125,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fn___93217 = undefined; - s.i___93226 = undefined; + s.fn___7824 = undefined; + s.i___7833 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6132,7 +6134,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C70264_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C384_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -6145,20 +6147,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__P73844_mk(s); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P3964_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 63; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C70261_VT); - s.fn___93217 = (r0); - r0 = (s.fn___93217).fields["order"] = (s.arg1); - r0 = (s.fn___93217).fields["handler"] = (s.arg2); - s.i___93226 = (0); + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C381_VT); + s.fn___7824 = (r0); + r0 = (s.fn___7824).fields["order"] = (s.arg1); + r0 = (s.fn___7824).fields["handler"] = (s.arg2); + s.i___7833 = (0); case 3: - s.tmp_1 = r0 = s.i___93226; + s.tmp_1 = r0 = s.i___7833; r0 = s.arg0.fields["frameCallbacks"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -6169,7 +6171,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___93226); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___7833); r0 = r0.fields["order"]; s.tmp_5 = r0; r0 = (s.tmp_5 > s.arg1); @@ -6178,29 +6180,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___93226, s.fn___93217); - r0 = s.fn___93217; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___7833, s.fn___7824); + r0 = s.fn___7824; { step = 7; continue; } case 4: case 5: - r0 = (s.i___93226 + 1); - s.i___93226 = (r0); + r0 = (s.i___7833 + 1); + s.i___7833 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___93217); - r0 = s.fn___93217; + r0 = pxsim_Array__push(s.tmp_0, s.fn___7824); + r0 = s.fn___7824; case 7: return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameHandler__P70272.info = {"start":4573,"length":643,"line":140,"column":8,"endLine":157,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} +control_EventContext_registerFrameHandler__P392.info = {"start":4573,"length":643,"line":140,"column":8,"endLine":157,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} -function control_EventContext_registerFrameHandler__P70272_mk(s) { +function control_EventContext_registerFrameHandler__P392_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameHandler__P70272, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P392, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6210,8 +6212,8 @@ function control_EventContext_registerFrameHandler__P70272_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___93217: undefined, - i___93226: undefined, + fn___7824: undefined, + i___7833: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6221,7 +6223,7 @@ function control_EventContext_registerFrameHandler__P70272_mk(s) { -function control_EventContext_registerFrameCallbacks__P73844(s) { +function control_EventContext_registerFrameCallbacks__P3964(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6231,13 +6233,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worker___93260 = undefined; + s.worker___7867 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C70264_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C384_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -6250,28 +6252,28 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___93260 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P93266); + s.worker___7867 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P7873); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___93260); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___7867); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks__P73844.info = {"start":3379,"length":895,"line":102,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} +control_EventContext_registerFrameCallbacks__P3964.info = {"start":3379,"length":895,"line":102,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} -function control_EventContext_registerFrameCallbacks__P73844_mk(s) { +function control_EventContext_registerFrameCallbacks__P3964_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P73844, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P3964, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___93260: undefined, + worker___7867: undefined, arg0: undefined, } } @@ -6279,7 +6281,7 @@ function control_EventContext_registerFrameCallbacks__P73844_mk(s) { -function inline__P93266(s) { +function inline__P7873(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6289,15 +6291,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___93296 = undefined; + s.delay___7903 = 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__P93272); + r0 = pxsim_pxtcore_mkAction(1, inline__P7879); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); - s.tmp_2 = pauseUntil__P70236_mk(s); + s.tmp_2 = pauseUntil__P356_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = undefined; s.callLocIdx = 57; s.pc = 5; return s.tmp_2; @@ -6320,14 +6322,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__P73843_mk(s); + s.tmp_2 = control_EventContext_runCallbacks__P3963_mk(s); s.tmp_2.arg0 = s.caps[0]; s.callLocIdx = 58; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.delay___93296 = (r0); - s.tmp_0 = pause__P70282_mk(s); - s.tmp_0.arg0 = s.delay___93296; + s.delay___7903 = (r0); + s.tmp_0 = pause__P402_mk(s); + s.tmp_0.arg0 = s.delay___7903; s.callLocIdx = 59; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -6338,24 +6340,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P93266.info = {"start":3540,"length":723,"line":106,"column":34,"endLine":125,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P7873.info = {"start":3540,"length":723,"line":106,"column":34,"endLine":125,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P93266_mk(s) { +function inline__P7873_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P93266, depth: s.depth + 1, + parent: s, fn: inline__P7873, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___93296: undefined, + delay___7903: undefined, } } -function inline__P93272(s) { +function inline__P7879(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6373,12 +6375,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P93272.info = {"start":3771,"length":28,"line":110,"column":31,"endLine":110,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P7879.info = {"start":3771,"length":28,"line":110,"column":31,"endLine":110,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P93272_mk(s) { +function inline__P7879_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P93272, depth: s.depth + 1, + parent: s, fn: inline__P7879, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6388,7 +6390,7 @@ function inline__P93272_mk(s) { -function control_EventContext_runCallbacks__P73843(s) { +function control_EventContext_runCallbacks__P3963(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6398,42 +6400,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___93305 = undefined; - s.f___93318 = undefined; - s.unnamed128___U2 = undefined; - s.unnamed129___U3 = undefined; - s.runtime___93323 = undefined; - s.fps___93343 = undefined; - s.delay___93405 = undefined; + s.loopStart___7912 = undefined; + s.f___7925 = undefined; + s.unnamed48___U2 = undefined; + s.unnamed49___U3 = undefined; + s.runtime___7930 = undefined; + s.fps___7950 = undefined; + s.delay___8012 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C70264_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C384_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___93305 = (r0); + s.loopStart___7912 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___93305 - s.tmp_2); + r0 = (s.loopStart___7912 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___93305); - s.f___93318 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___7912); + s.f___7925 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed128___U2 = (r0); - s.unnamed129___U3 = (0); + s.unnamed48___U2 = (r0); + s.unnamed49___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed129___U3; - r0 = pxsim_Array__length(s.unnamed128___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.unnamed128___U2, s.unnamed129___U3); - s.f___93318 = (r0); + r0 = pxsim_Array__getAt(s.unnamed48___U2, s.unnamed49___U3); + s.f___7925 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___93318; + s.tmp_2.arg0 = s.f___7925; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "handler"), 1); s.callLocIdx = 54; s.pc = 13; return s.tmp_2; @@ -6445,19 +6447,19 @@ switch (step) { } case 13: r0 = s.retval; - r0 = (s.unnamed129___U3 + 1); - s.unnamed129___U3 = (r0); + r0 = (s.unnamed49___U3 + 1); + s.unnamed49___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed128___U2 = (undefined); + s.unnamed48___U2 = (undefined); r0 = pxsim.control.millis(); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.loopStart___93305); - s.runtime___93323 = (r0); + r0 = (s.tmp_0 - s.loopStart___7912); + s.runtime___7930 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___93323); + r0 = (s.tmp_2 + s.runtime___7930); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -6490,8 +6492,8 @@ switch (step) { r0 = (s.tmp_6 / 1000); s.tmp_5 = r0; r0 = (s.tmp_4 / s.tmp_5); - s.fps___93343 = (r0); - r0 = pxsim.Math_.round(s.fps___93343); + s.fps___7950 = (r0); + r0 = pxsim.Math_.round(s.fps___7950); s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 14); @@ -6503,21 +6505,21 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat("fps:", s.tmp_0); - globals.control_EventContext_lastStats___70266 = (r0); - r0 = (s.fps___93343 < 99); + globals.control_EventContext_lastStats___386 = (r0); + r0 = (s.fps___7950 < 99); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - if ((globals.control_EventContext_lastStats___70266) && (globals.control_EventContext_lastStats___70266).vtable) { + if ((globals.control_EventContext_lastStats___386) && (globals.control_EventContext_lastStats___386).vtable) { setupResume(s, 15); - pxsim_String__stringConv(globals.control_EventContext_lastStats___70266); + pxsim_String__stringConv(globals.control_EventContext_lastStats___386); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___70266) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___386) + ""; } case 15: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___93343 * 10); + r0 = (s.fps___7950 * 10); s.tmp_7 = r0; r0 = pxsim.Math_.round(s.tmp_7); s.tmp_6 = r0; @@ -6544,10 +6546,10 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - globals.control_EventContext_lastStats___70266 = (r0); + globals.control_EventContext_lastStats___386 = (r0); case 5: case 6: - s.tmp_2 = control_ramSize__P70215_mk(s); + s.tmp_2 = control_ramSize__P335_mk(s); s.callLocIdx = 55; s.pc = 18; return s.tmp_2; case 18: r0 = s.retval; @@ -6567,7 +6569,7 @@ switch (step) { if (!r0) { step = 9; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_8 = r0; - r0 = (s.fps___93343 * 100); + r0 = (s.fps___7950 * 100); s.tmp_11 = r0; r0 = (s.tmp_11 | 0); s.tmp_10 = r0; @@ -6608,24 +6610,24 @@ switch (step) { r0 = (s.arg0).fields["framesInSample"] = (0); case 11: case 12: - s.tmp_0 = Math_max__P70005_mk(s); + s.tmp_0 = Math_max__P125_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___93323); + r0 = (20 - s.runtime___7930); s.tmp_0.arg1 = r0; s.callLocIdx = 56; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.delay___93405 = (r0); - r0 = s.delay___93405; + s.delay___8012 = (r0); + r0 = s.delay___8012; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P73843.info = {"start":2080,"length":1246,"line":71,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} +control_EventContext_runCallbacks__P3963.info = {"start":2080,"length":1246,"line":71,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} -function control_EventContext_runCallbacks__P73843_mk(s) { +function control_EventContext_runCallbacks__P3963_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P73843, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P3963, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6641,13 +6643,13 @@ function control_EventContext_runCallbacks__P73843_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - loopStart___93305: undefined, - f___93318: undefined, - unnamed128___U2: undefined, - unnamed129___U3: undefined, - runtime___93323: undefined, - fps___93343: undefined, - delay___93405: undefined, + loopStart___7912: undefined, + f___7925: undefined, + unnamed48___U2: undefined, + unnamed49___U3: undefined, + runtime___7930: undefined, + fps___7950: undefined, + delay___8012: undefined, arg0: undefined, } } @@ -6655,7 +6657,7 @@ function control_EventContext_runCallbacks__P73843_mk(s) { -function pauseUntil__P70236(s) { +function pauseUntil__P356(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6702,7 +6704,7 @@ switch (step) { s.arg1 = (0); case 5: case 6: - s.tmp_0 = control___queuePollEvent__P70235_mk(s); + s.tmp_0 = control___queuePollEvent__P355_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = undefined; @@ -6714,12 +6716,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pauseUntil__P70236.info = {"start":2205,"length":227,"line":73,"column":0,"endLine":77,"endColumn":1,"fileName":"pxt_modules/base/poll.ts","functionName":"pauseUntil","argumentNames":["condition","timeOut"]} +pauseUntil__P356.info = {"start":2205,"length":227,"line":73,"column":0,"endLine":77,"endColumn":1,"fileName":"pxt_modules/base/poll.ts","functionName":"pauseUntil","argumentNames":["condition","timeOut"]} -function pauseUntil__P70236_mk(s) { +function pauseUntil__P356_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P70236, depth: s.depth + 1, + parent: s, fn: pauseUntil__P356, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6735,7 +6737,7 @@ function pauseUntil__P70236_mk(s) { -function control___queuePollEvent__P70235(s) { +function control___queuePollEvent__P355(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6745,16 +6747,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___93427 = undefined; + s.ev___8034 = 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__C73817_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C3937_VT); s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P73818_mk(s); + s.tmp_1 = control_PollEvent_constructor__P3938_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1.arg1 = r0; @@ -6770,8 +6772,8 @@ switch (step) { s.callLocIdx = 32; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___93427 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___73820); + s.ev___8034 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___3940); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -6779,19 +6781,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___93427); - globals._pollEventQueue___73820 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P73821); + r0 = pxsim_Array__push(s.tmp_2, s.ev___8034); + globals._pollEventQueue___3940 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P3941); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___73820, s.ev___93427); + r0 = pxsim_Array__push(globals._pollEventQueue___3940, s.ev___8034); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P70260_mk(s); - r0 = s.ev___93427.fields["eid"]; + s.tmp_0 = control_onEvent__P380_mk(s); + r0 = s.ev___8034.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___93427.fields["vid"]; + r0 = s.ev___8034.fields["vid"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 16; @@ -6800,9 +6802,9 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.ev___93427.fields["eid"]; + r0 = s.ev___8034.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___93427.fields["vid"]; + r0 = s.ev___8034.fields["vid"]; s.tmp_1 = r0; setupResume(s, 7); pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); @@ -6815,17 +6817,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___queuePollEvent__P70235.info = {"start":1262,"length":739,"line":39,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"__queuePollEvent","argumentNames":["timeOut","condition","handler"]} +control___queuePollEvent__P355.info = {"start":1262,"length":739,"line":39,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"__queuePollEvent","argumentNames":["timeOut","condition","handler"]} -function control___queuePollEvent__P70235_mk(s) { +function control___queuePollEvent__P355_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P70235, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P355, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___93427: undefined, + ev___8034: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6835,7 +6837,7 @@ function control___queuePollEvent__P70235_mk(s) { -function control_pollEvents__P73821(s) { +function control_pollEvents__P3941(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6845,31 +6847,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___93553 = undefined; - s.i___93556 = undefined; - s.ev___93562 = undefined; + s.now___8160 = undefined; + s.i___8163 = undefined; + s.ev___8169 = undefined; case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___73820); + r0 = pxsim_Array__length(globals._pollEventQueue___3940); 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___93553 = (r0); - s.i___93556 = (0); + s.now___8160 = (r0); + s.i___8163 = (0); case 2: - s.tmp_1 = r0 = s.i___93556; - r0 = pxsim_Array__length(globals._pollEventQueue___73820); + s.tmp_1 = r0 = s.i___8163; + r0 = pxsim_Array__length(globals._pollEventQueue___3940); 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___73820, s.i___93556); - s.ev___93562 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___3940, s.i___8163); + s.ev___8169 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___93562; + s.tmp_1.arg0 = s.ev___8169; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "condition"), 1); s.callLocIdx = 29; s.pc = 13; return s.tmp_1; @@ -6887,7 +6889,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 3: - r0 = s.ev___93562.fields["timeOut"]; + r0 = s.ev___8169.fields["timeOut"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 0); s.tmp_2 = r0; @@ -6896,11 +6898,11 @@ switch (step) { r0 = s.tmp_2; { step = 5; continue; } case 4: - r0 = s.ev___93562.fields["start"]; + r0 = s.ev___8169.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___93553 - s.tmp_5); + r0 = (s.now___8160 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___93562.fields["timeOut"]; + r0 = s.ev___8169.fields["timeOut"]; s.tmp_6 = r0; r0 = (s.tmp_4 > s.tmp_6); case 5: @@ -6912,50 +6914,50 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - r0 = s.ev___93562.fields["eid"]; + r0 = s.ev___8169.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___93562.fields["vid"]; + r0 = s.ev___8169.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___93562.fields["once"]; + r0 = s.ev___8169.fields["once"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_arraySplice__P69978_mk(s); - s.tmp_1.arg0 = globals._pollEventQueue___73820; - s.tmp_1.arg1 = s.i___93556; + s.tmp_1 = helpers_arraySplice__P98_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___3940; + s.tmp_1.arg1 = s.i___8163; s.tmp_1.arg2 = 1; s.callLocIdx = 30; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___93556 - 1); - s.i___93556 = (r0); + r0 = (s.i___8163 - 1); + s.i___8163 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___93556 + 1); - s.i___93556 = (r0); + r0 = (s.i___8163 + 1); + s.i___8163 = (r0); { step = 2; continue; } case 11: - s.tmp_0 = pause__P70282_mk(s); + s.tmp_0 = pause__P402_mk(s); s.tmp_0.arg0 = 50; s.callLocIdx = 31; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; { step = 1; continue; } case 12: - globals._pollEventQueue___73820 = (undefined); + globals._pollEventQueue___3940 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_pollEvents__P73821.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P3941.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} -function control_pollEvents__P73821_mk(s) { +function control_pollEvents__P3941_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P73821, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P3941, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6968,16 +6970,16 @@ function control_pollEvents__P73821_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___93553: undefined, - i___93556: undefined, - ev___93562: undefined, + now___8160: undefined, + i___8163: undefined, + ev___8169: undefined, } } -function helpers_arraySplice__P69978(s) { +function helpers_arraySplice__P98(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6987,7 +6989,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___93610 = undefined; + s.i___8217 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7001,15 +7003,15 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.i___93610 = (0); + s.i___8217 = (0); case 3: - r0 = (s.i___93610 < s.arg2); + r0 = (s.i___8217 < 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___93610 + 1); - s.i___93610 = (r0); + r0 = (s.i___8217 + 1); + s.i___8217 = (r0); { step = 3; continue; } case 4: case 5: @@ -7017,15 +7019,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySplice__P69978.info = {"start":3642,"length":213,"line":137,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySplice","argumentNames":["arr","start","len"]} +helpers_arraySplice__P98.info = {"start":3642,"length":213,"line":137,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySplice","argumentNames":["arr","start","len"]} -function helpers_arraySplice__P69978_mk(s) { +function helpers_arraySplice__P98_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySplice__P69978, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P98, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___93610: undefined, + i___8217: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7035,7 +7037,7 @@ function helpers_arraySplice__P69978_mk(s) { -function control_PollEvent_constructor__P73818(s) { +function control_PollEvent_constructor__P3938(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7056,7 +7058,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C73817_VT)) failedCast(r0); + if (!checkSubtype(r0, control_PollEvent__C3937_VT)) failedCast(r0); r0 = (s.arg0).fields["eid"] = (s.arg1); r0 = (s.arg0).fields["vid"] = (s.arg2); r0 = (s.arg0).fields["start"] = (s.arg3); @@ -7067,12 +7069,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_PollEvent_constructor__P73818.info = {"start":239,"length":316,"line":8,"column":8,"endLine":15,"endColumn":9,"fileName":"pxt_modules/base/poll.ts","functionName":"inline","argumentNames":["this","eid","vid","start","timeOut","condition","once"]} +control_PollEvent_constructor__P3938.info = {"start":239,"length":316,"line":8,"column":8,"endLine":15,"endColumn":9,"fileName":"pxt_modules/base/poll.ts","functionName":"inline","argumentNames":["this","eid","vid","start","timeOut","condition","once"]} -function control_PollEvent_constructor__P73818_mk(s) { +function control_PollEvent_constructor__P3938_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P73818, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P3938, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -7087,7 +7089,7 @@ function control_PollEvent_constructor__P73818_mk(s) { -function control_onEvent__P70260(s) { +function control_onEvent__P380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7097,7 +7099,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___93469 = undefined; + s.ctx___8076 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7105,12 +7107,12 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = control_eventContext__P70277_mk(s); + s.tmp_0 = control_eventContext__P397_mk(s); s.callLocIdx = 51; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___93469 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___93469); + s.ctx___8076 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___8076); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -7119,8 +7121,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__P70274_mk(s); - s.tmp_0.arg0 = s.ctx___93469; + s.tmp_0 = control_EventContext_registerHandler__P394_mk(s); + s.tmp_0.arg0 = s.ctx___8076; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; @@ -7133,16 +7135,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_onEvent__P70260.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__P380.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__P70260_mk(s) { +function control_onEvent__P380_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P70260, depth: s.depth + 1, + parent: s, fn: control_onEvent__P380, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___93469: undefined, + ctx___8076: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7153,7 +7155,7 @@ function control_onEvent__P70260_mk(s) { -function control_eventContext__P70277(s) { +function control_eventContext__P397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7163,10 +7165,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___73846); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___3966); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___73846; - r0 = pxsim_Array__length(globals.eventContexts___73846); + s.tmp_0 = r0 = globals.eventContexts___3966; + r0 = pxsim_Array__length(globals.eventContexts___3966); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -7181,12 +7183,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_eventContext__P70277.info = {"start":6805,"length":136,"line":206,"column":4,"endLine":208,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +control_eventContext__P397.info = {"start":6805,"length":136,"line":206,"column":4,"endLine":208,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} -function control_eventContext__P70277_mk(s) { +function control_eventContext__P397_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P70277, depth: s.depth + 1, + parent: s, fn: control_eventContext__P397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7198,7 +7200,7 @@ function control_eventContext__P70277_mk(s) { -function control_EventContext_registerHandler__P70274(s) { +function control_EventContext_registerHandler__P394(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7208,10 +7210,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___93492 = undefined; - s.unnamed134___U1 = undefined; - s.unnamed135___U2 = undefined; - s.hn___93515 = undefined; + s.h___8099 = undefined; + s.unnamed54___U1 = undefined; + s.unnamed55___U2 = undefined; + s.hn___8122 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7221,20 +7223,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C70264_VT)) failedCast(r0); - s.h___93492 = (undefined); + if (!checkSubtype(r0, control_EventContext__C384_VT)) failedCast(r0); + s.h___8099 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed134___U1 = (r0); - s.unnamed135___U2 = (0); + s.unnamed54___U1 = (r0); + s.unnamed55___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed135___U2; - r0 = pxsim_Array__length(s.unnamed134___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.unnamed134___U1, s.unnamed135___U2); - s.h___93492 = (r0); - r0 = s.h___93492.fields["src"]; + r0 = pxsim_Array__getAt(s.unnamed54___U1, s.unnamed55___U2); + s.h___8099 = (r0); + r0 = s.h___8099.fields["src"]; s.tmp_3 = r0; r0 = (s.tmp_3 == s.arg1); s.tmp_2 = r0; @@ -7243,7 +7245,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = s.h___93492.fields["value"]; + r0 = s.h___8099.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -7251,19 +7253,19 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___93492).fields["flags"] = (s.arg4); - r0 = (s.h___93492).fields["handler"] = (s.arg3); + r0 = (s.h___8099).fields["flags"] = (s.arg4); + r0 = (s.h___8099).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed135___U2 + 1); - s.unnamed135___U2 = (r0); + r0 = (s.unnamed55___U2 + 1); + s.unnamed55___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed134___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C73838_VT); + s.unnamed54___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C3958_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P73841_mk(s); + s.tmp_1 = control_EventHandler_constructor__P3961_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -7272,12 +7274,12 @@ switch (step) { s.callLocIdx = 64; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___93515 = (s.tmp_0); + s.hn___8122 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___93515); - s.tmp_0 = control_EventHandler_register__P73839_mk(s); - s.tmp_0.arg0 = s.hn___93515; + r0 = pxsim_Array__push(s.tmp_0, s.hn___8122); + s.tmp_0 = control_EventHandler_register__P3959_mk(s); + s.tmp_0.arg0 = s.hn___8122; s.callLocIdx = 65; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; @@ -7286,12 +7288,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerHandler__P70274.info = {"start":5471,"length":525,"line":166,"column":8,"endLine":179,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} +control_EventContext_registerHandler__P394.info = {"start":5471,"length":525,"line":166,"column":8,"endLine":179,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} -function control_EventContext_registerHandler__P70274_mk(s) { +function control_EventContext_registerHandler__P394_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerHandler__P70274, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P394, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7299,10 +7301,10 @@ function control_EventContext_registerHandler__P70274_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___93492: undefined, - unnamed134___U1: undefined, - unnamed135___U2: undefined, - hn___93515: undefined, + h___8099: undefined, + unnamed54___U1: undefined, + unnamed55___U2: undefined, + hn___8122: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7314,7 +7316,7 @@ function control_EventContext_registerHandler__P70274_mk(s) { -function control_EventHandler_constructor__P73841(s) { +function control_EventHandler_constructor__P3961(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7333,7 +7335,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C73838_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C3958_VT)) failedCast(r0); r0 = (s.arg0).fields["src"] = (s.arg1); r0 = (s.arg0).fields["value"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -7342,12 +7344,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P73841.info = {"start":786,"length":165,"line":23,"column":8,"endLine":28,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this","src","value","handler","flags"]} +control_EventHandler_constructor__P3961.info = {"start":786,"length":165,"line":23,"column":8,"endLine":28,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this","src","value","handler","flags"]} -function control_EventHandler_constructor__P73841_mk(s) { +function control_EventHandler_constructor__P3961_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P73841, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P3961, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -7360,7 +7362,7 @@ function control_EventHandler_constructor__P73841_mk(s) { -function control_EventHandler_register__P73839(s) { +function control_EventHandler_register__P3959(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7375,8 +7377,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C73838_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P93536); + if (!checkSubtype(r0, control_EventHandler__C3958_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P8143); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -7390,12 +7392,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register__P73839.info = {"start":961,"length":165,"line":30,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} +control_EventHandler_register__P3959.info = {"start":961,"length":165,"line":30,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} -function control_EventHandler_register__P73839_mk(s) { +function control_EventHandler_register__P3959_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P73839, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P3959, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7408,7 +7410,7 @@ function control_EventHandler_register__P73839_mk(s) { -function inline__P93536(s) { +function inline__P8143(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7441,12 +7443,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P93536.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P8143.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P93536_mk(s) { +function inline__P8143_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P93536, depth: s.depth + 1, + parent: s, fn: inline__P8143, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7456,7 +7458,7 @@ function inline__P93536_mk(s) { -function game_onUpdate__P72420(s) { +function game_onUpdate__P2540(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7470,9 +7472,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P74170_mk(s); + s.tmp_0 = game_init__P4290_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 887; s.pc = 4; return s.tmp_0; + s.callLocIdx = 885; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg0); @@ -7484,15 +7486,15 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = control_EventContext_registerFrameHandler__P70272_mk(s); - s.tmp_3 = game_eventContext__P72412_mk(s); - s.callLocIdx = 888; s.pc = 6; return s.tmp_3; + s.tmp_2 = control_EventContext_registerFrameHandler__P392_mk(s); + s.tmp_3 = game_eventContext__P2532_mk(s); + s.callLocIdx = 886; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 20; s.tmp_2.arg2 = s.arg0; - s.callLocIdx = 889; s.pc = 5; return s.tmp_2; + s.callLocIdx = 887; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -7500,12 +7502,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdate__P72420.info = {"start":7427,"length":169,"line":242,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onUpdate","argumentNames":["a"]} +game_onUpdate__P2540.info = {"start":7427,"length":169,"line":242,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onUpdate","argumentNames":["a"]} -function game_onUpdate__P72420_mk(s) { +function game_onUpdate__P2540_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P72420, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P2540, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7518,7 +7520,7 @@ function game_onUpdate__P72420_mk(s) { -function particles_SprayFactory_constructor__P72596(s) { +function particles_SprayFactory_constructor__P2716(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7536,35 +7538,35 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C72595_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C2715_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P74541_mk(s); - s.callLocIdx = 1144; s.pc = 1; return s.tmp_0; + s.tmp_0 = particles_initTrig__P4661_mk(s); + s.callLocIdx = 1142; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P72599_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P2719_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1145; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1143; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setDirection__P72600_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P2720_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; - s.callLocIdx = 1146; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1144; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_SprayFactory_constructor__P72596.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__P2716.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__P72596_mk(s) { +function particles_SprayFactory_constructor__P2716_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P72596, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P2716, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7577,7 +7579,7 @@ function particles_SprayFactory_constructor__P72596_mk(s) { -function particles_initTrig__P74541(s) { +function particles_initTrig__P4661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7587,36 +7589,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___74527); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___4647); 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__P72589_mk(s); + s.tmp_2 = particles_cacheSin__P2709_mk(s); s.tmp_2.arg0 = 100; - s.callLocIdx = 1132; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1130; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___74527 = (r0); - s.tmp_0 = particles_cacheCos__P72590_mk(s); + globals.cachedSin___4647 = (r0); + s.tmp_0 = particles_cacheCos__P2710_mk(s); s.tmp_0.arg0 = 100; - s.callLocIdx = 1133; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1131; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___74528 = (r0); + globals.cachedCos___4648 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P74541.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P4661.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__P74541_mk(s) { +function particles_initTrig__P4661_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P74541, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P4661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7627,7 +7629,7 @@ function particles_initTrig__P74541_mk(s) { -function particles_cacheCos__P72590(s) { +function particles_cacheCos__P2710(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7637,25 +7639,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___92958 = undefined; - s.anglePerSlice___92960 = undefined; - s.i___92966 = undefined; + s.cos___7391 = undefined; + s.anglePerSlice___7393 = undefined; + s.i___7399 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___92958 = (r0); + s.cos___7391 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___92960 = (r0); - s.i___92966 = (0); + s.anglePerSlice___7393 = (r0); + s.i___7399 = (0); case 1: - r0 = (s.i___92966 < s.arg0); + r0 = (s.i___7399 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___92958; - r0 = (s.i___92966 * s.anglePerSlice___92960); + s.tmp_1 = r0 = s.cos___7391; + r0 = (s.i___7399 * s.anglePerSlice___7393); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -7664,20 +7666,20 @@ switch (step) { r0 = (s.tmp_5 | 0); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___92966 + 1); - s.i___92966 = (r0); + r0 = (s.i___7399 + 1); + s.i___7399 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___92958; + r0 = s.cos___7391; return leave(s, r0) default: oops() } } } -particles_cacheCos__P72590.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__P2710.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__P72590_mk(s) { +function particles_cacheCos__P2710_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P72590, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P2710, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7685,9 +7687,9 @@ function particles_cacheCos__P72590_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___92958: undefined, - anglePerSlice___92960: undefined, - i___92966: undefined, + cos___7391: undefined, + anglePerSlice___7393: undefined, + i___7399: undefined, arg0: undefined, } } @@ -7695,7 +7697,7 @@ function particles_cacheCos__P72590_mk(s) { -function particles_cacheSin__P72589(s) { +function particles_cacheSin__P2709(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7705,25 +7707,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___92984 = undefined; - s.anglePerSlice___92986 = undefined; - s.i___92992 = undefined; + s.sin___7417 = undefined; + s.anglePerSlice___7419 = undefined; + s.i___7425 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___92984 = (r0); + s.sin___7417 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___92986 = (r0); - s.i___92992 = (0); + s.anglePerSlice___7419 = (r0); + s.i___7425 = (0); case 1: - r0 = (s.i___92992 < s.arg0); + r0 = (s.i___7425 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___92984; - r0 = (s.i___92992 * s.anglePerSlice___92986); + s.tmp_1 = r0 = s.sin___7417; + r0 = (s.i___7425 * s.anglePerSlice___7419); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -7732,20 +7734,20 @@ switch (step) { r0 = (s.tmp_5 | 0); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___92992 + 1); - s.i___92992 = (r0); + r0 = (s.i___7425 + 1); + s.i___7425 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___92984; + r0 = s.sin___7417; return leave(s, r0) default: oops() } } } -particles_cacheSin__P72589.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__P2709.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__P72589_mk(s) { +function particles_cacheSin__P2709_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P72589, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P2709, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7753,9 +7755,9 @@ function particles_cacheSin__P72589_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___92984: undefined, - anglePerSlice___92986: undefined, - i___92992: undefined, + sin___7417: undefined, + anglePerSlice___7419: undefined, + i___7425: undefined, arg0: undefined, } } @@ -7763,7 +7765,7 @@ function particles_cacheSin__P72589_mk(s) { -function particles_SprayFactory_setDirection__P72600(s) { +function particles_SprayFactory_setDirection__P2720(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7780,31 +7782,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C72595_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C2715_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P74546_mk(s); + s.tmp_4 = particles_toRadians__P4666_mk(s); s.tmp_5 = r0 = s.arg1; r0 = (s.arg2 >> 1); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4.arg0 = r0; - s.callLocIdx = 1154; s.pc = 1; return s.tmp_4; + s.callLocIdx = 1152; s.pc = 1; return s.tmp_4; case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___74540); + r0 = (s.tmp_3 / globals.angleSlice___4660); 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__P74546_mk(s); + s.tmp_4 = particles_toRadians__P4666_mk(s); s.tmp_4.arg0 = s.arg2; - s.callLocIdx = 1155; s.pc = 2; return s.tmp_4; + s.callLocIdx = 1153; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___74540); + r0 = (s.tmp_3 / globals.angleSlice___4660); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -7813,12 +7815,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setDirection__P72600.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__P2720.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__P72600_mk(s) { +function particles_SprayFactory_setDirection__P2720_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P72600, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P2720, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7836,7 +7838,7 @@ function particles_SprayFactory_setDirection__P72600_mk(s) { -function particles_toRadians__P74546(s) { +function particles_toRadians__P4666(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7854,9 +7856,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_abs__P70003_mk(s); + s.tmp_3 = Math_abs__P123_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1136; s.pc = 3; return s.tmp_3; + s.callLocIdx = 1134; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; @@ -7873,12 +7875,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P74546.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__P4666.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__P74546_mk(s) { +function particles_toRadians__P4666_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P74546, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P4666, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7891,7 +7893,7 @@ function particles_toRadians__P74546_mk(s) { -function particles_ParticleFactory_constructor__P72592(s) { +function particles_ParticleFactory_constructor__P2712(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7906,17 +7908,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C72591_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C2711_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_constructor__P72592.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__P2712.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__P72592_mk(s) { +function particles_ParticleFactory_constructor__P2712_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P72592, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P2712, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -7925,7 +7927,7 @@ function particles_ParticleFactory_constructor__P72592_mk(s) { -function particles_ParticleSource_setFactory__P72574(s) { +function particles_ParticleSource_setFactory__P2694(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7941,7 +7943,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C72555_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2675_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_factory"] = (s.arg1); @@ -7951,12 +7953,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setFactory__P72574.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__P2694.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__P72574_mk(s) { +function particles_ParticleSource_setFactory__P2694_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P72574, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P2694, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -7966,7 +7968,7 @@ function particles_ParticleSource_setFactory__P72574_mk(s) { -function particles_ParticleSource_setRate__P72572(s) { +function particles_ParticleSource_setRate__P2692(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7982,7 +7984,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C72555_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2675_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -7994,12 +7996,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRate__P72572.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__P2692.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__P72572_mk(s) { +function particles_ParticleSource_setRate__P2692_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P72572, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P2692, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8012,7 +8014,7 @@ function particles_ParticleSource_setRate__P72572_mk(s) { -function particles_ParticleSource_setAnchor__P72571(s) { +function particles_ParticleSource_setAnchor__P2691(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8028,18 +8030,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C72555_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2675_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAnchor__P72571.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__P2691.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__P72571_mk(s) { +function particles_ParticleSource_setAnchor__P2691_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P72571, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P2691, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -8049,7 +8051,7 @@ function particles_ParticleSource_setAnchor__P72571_mk(s) { -function particles_ParticleSource_clear__P72570(s) { +function particles_ParticleSource_clear__P2690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8064,18 +8066,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C72555_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2675_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_clear__P72570.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__P2690.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__P72570_mk(s) { +function particles_ParticleSource_clear__P2690_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P72570, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P2690, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8084,7 +8086,7 @@ function particles_ParticleSource_clear__P72570_mk(s) { -function particles_ParticleSource_destroy__P72569(s) { +function particles_ParticleSource_destroy__P2689(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8099,11 +8101,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C72555_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P72568_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C2675_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P2688_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1093; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1091; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -8112,21 +8114,21 @@ switch (step) { r0 = (s.tmp_2 | 2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["pFlags"] = (s.tmp_1); - s.tmp_0 = particles_ParticleSource__prune__P72563_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P2683_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1094; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1092; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_destroy__P72569.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__P2689.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__P72569_mk(s) { +function particles_ParticleSource_destroy__P2689_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P72569, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P2689, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8138,7 +8140,7 @@ function particles_ParticleSource_destroy__P72569_mk(s) { -function particles_ParticleSource_enabled__P72568(s) { +function particles_ParticleSource_enabled__P2688(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8154,11 +8156,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C72555_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2675_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P72567_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P2687_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1092; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1090; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2 = r0; @@ -8187,12 +8189,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P72568.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__P2688.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__P72568_mk(s) { +function particles_ParticleSource_enabled__P2688_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P72568, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P2688, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8209,7 +8211,7 @@ function particles_ParticleSource_enabled__P72568_mk(s) { -function particles_ParticleSource_enabled__P72567(s) { +function particles_ParticleSource_enabled__P2687(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8224,7 +8226,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C72555_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2675_VT)) failedCast(r0); r0 = s.arg0.fields["pFlags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -8239,13 +8241,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P72567.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__P72567.isGetter = true; +particles_ParticleSource_enabled__P2687.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__P2687.isGetter = true; -function particles_ParticleSource_enabled__P72567_mk(s) { +function particles_ParticleSource_enabled__P2687_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P72567, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P2687, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8259,7 +8261,7 @@ function particles_ParticleSource_enabled__P72567_mk(s) { -function particles_ParticleSource_setAcceleration__P72564(s) { +function particles_ParticleSource_setAcceleration__P2684(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8276,7 +8278,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C72555_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2675_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -8293,12 +8295,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAcceleration__P72564.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__P2684.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__P72564_mk(s) { +function particles_ParticleSource_setAcceleration__P2684_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P72564, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P2684, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8312,7 +8314,7 @@ function particles_ParticleSource_setAcceleration__P72564_mk(s) { -function sprites_BaseSprite_constructor__P71740(s) { +function sprites_BaseSprite_constructor__P1860(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8328,15 +8330,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C71738_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P71743_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C1858_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P1863_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 138; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_Scene_addSprite__P72321_mk(s); - s.tmp_1 = game_currentScene__P72409_mk(s); + s.tmp_0 = scene_Scene_addSprite__P2441_mk(s); + s.tmp_1 = game_currentScene__P2529_mk(s); s.callLocIdx = 139; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -8349,12 +8351,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_constructor__P71740.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__P1860.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__P71740_mk(s) { +function sprites_BaseSprite_constructor__P1860_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P71740, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P1860, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8366,7 +8368,7 @@ function sprites_BaseSprite_constructor__P71740_mk(s) { -function scene_Scene_addSprite__P72321(s) { +function scene_Scene_addSprite__P2441(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8382,7 +8384,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C72296_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2416_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -8401,7 +8403,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["set/id"]; if (s.tmp_3.fn === null) { s.tmp_3.arg0.fields["id"] = s.tmp_3.arg1; } else if (s.tmp_3.fn === undefined) { failedCast(s.tmp_3.arg0) } - else { s.callLocIdx = 837; s.pc = 1; return s.tmp_3; } + else { s.callLocIdx = 835; s.pc = 1; return s.tmp_3; } } case 1: r0 = s.retval; @@ -8409,12 +8411,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_addSprite__P72321.info = {"start":6859,"length":128,"line":193,"column":8,"endLine":196,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +scene_Scene_addSprite__P2441.info = {"start":6859,"length":128,"line":193,"column":8,"endLine":196,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -function scene_Scene_addSprite__P72321_mk(s) { +function scene_Scene_addSprite__P2441_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P72321, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P2441, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8428,7 +8430,7 @@ function scene_Scene_addSprite__P72321_mk(s) { -function sprites_BaseSprite_z__P71743(s) { +function sprites_BaseSprite_z__P1863(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8444,7 +8446,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C71738_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C1858_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -8452,7 +8454,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__P72409_mk(s); + s.tmp_1 = game_currentScene__P2529_mk(s); s.callLocIdx = 141; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -8468,12 +8470,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_z__P71743.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__P1863.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__P71743_mk(s) { +function sprites_BaseSprite_z__P1863_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P71743, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P1863, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8487,7 +8489,7 @@ function sprites_BaseSprite_z__P71743_mk(s) { -function sprites_BaseSprite_z__P71742(s) { +function sprites_BaseSprite_z__P1862(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8502,18 +8504,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C71738_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C1858_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -sprites_BaseSprite_z__P71742.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__P71742.isGetter = true; +sprites_BaseSprite_z__P1862.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__P1862.isGetter = true; -function sprites_BaseSprite_z__P71742_mk(s) { +function sprites_BaseSprite_z__P1862_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P71742, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P1862, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8522,7 +8524,7 @@ function sprites_BaseSprite_z__P71742_mk(s) { -function helpers_arrayShift__P69980(s) { +function helpers_arrayShift__P100(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8540,12 +8542,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayShift__P69980.info = {"start":4045,"length":82,"line":153,"column":4,"endLine":155,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayShift","argumentNames":["arr"]} +helpers_arrayShift__P100.info = {"start":4045,"length":82,"line":153,"column":4,"endLine":155,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayShift","argumentNames":["arr"]} -function helpers_arrayShift__P69980_mk(s) { +function helpers_arrayShift__P100_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayShift__P69980, depth: s.depth + 1, + parent: s, fn: helpers_arrayShift__P100, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8554,7 +8556,7 @@ function helpers_arrayShift__P69980_mk(s) { -function particles_SprayFactory_setSpeed__P72599(s) { +function particles_SprayFactory_setSpeed__P2719(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8570,7 +8572,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C72595_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C2715_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -8581,12 +8583,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setSpeed__P72599.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__P2719.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__P72599_mk(s) { +function particles_SprayFactory_setSpeed__P2719_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P72599, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P2719, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8599,7 +8601,7 @@ function particles_SprayFactory_setSpeed__P72599_mk(s) { -function particles_ConfettiFactory_constructor__P72623(s) { +function particles_ConfettiFactory_constructor__P2743(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8609,8 +8611,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___93875 = undefined; - s.i___93891 = undefined; + s.confetti___8536 = undefined; + s.i___8552 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8618,52 +8620,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ConfettiFactory__C72622_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C2742_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex93878); + r0 = pxsim.image.ofBuffer(_hex8539); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex93880); + r0 = pxsim.image.ofBuffer(_hex8541); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex93882); + r0 = pxsim.image.ofBuffer(_hex8543); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex93884); + r0 = pxsim.image.ofBuffer(_hex8545); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex93886); + r0 = pxsim.image.ofBuffer(_hex8547); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___93875 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P72618_mk(s); + s.confetti___8536 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P2738_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___93875, 0); + r0 = pxsim_Array__getAt(s.confetti___8536, 0); s.tmp_0.arg3 = r0; - s.callLocIdx = 1178; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1176; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___93891 = (1); + s.i___8552 = (1); case 1: - s.tmp_1 = r0 = s.i___93891; - r0 = pxsim_Array__length(s.confetti___93875); + s.tmp_1 = r0 = s.i___8552; + r0 = pxsim_Array__length(s.confetti___8536); 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__P72619_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P2739_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___93875, s.i___93891); + r0 = pxsim_Array__getAt(s.confetti___8536, s.i___8552); s.tmp_3.arg1 = r0; - s.callLocIdx = 1179; s.pc = 4; return s.tmp_3; + s.callLocIdx = 1177; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___93891 + 1); - s.i___93891 = (r0); + r0 = (s.i___8552 + 1); + s.i___8552 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -8672,12 +8674,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ConfettiFactory_constructor__P72623.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__P2743.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__P72623_mk(s) { +function particles_ConfettiFactory_constructor__P2743_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P72623, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P2743, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8685,23 +8687,23 @@ function particles_ConfettiFactory_constructor__P72623_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___93875: undefined, - i___93891: undefined, + confetti___8536: undefined, + i___8552: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex93878 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex93880 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex93882 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex93884 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex93886 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex8539 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex8541 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex8543 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex8545 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex8547 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function particles_ShapeFactory_addShape__P72619(s) { +function particles_ShapeFactory_addShape__P2739(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8717,7 +8719,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C72617_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C2737_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["sources"]; @@ -8729,12 +8731,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_addShape__P72619.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__P2739.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__P72619_mk(s) { +function particles_ShapeFactory_addShape__P2739_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P72619, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P2739, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8745,7 +8747,7 @@ function particles_ShapeFactory_addShape__P72619_mk(s) { -function particles_ShapeFactory_constructor__P72618(s) { +function particles_ShapeFactory_constructor__P2738(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8763,14 +8765,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C72617_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P72606_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C2737_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P2726_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = undefined; s.tmp_0.arg4 = undefined; - s.callLocIdx = 1168; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1166; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim_Array__mk(); @@ -8801,12 +8803,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_constructor__P72618.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__P2738.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__P72618_mk(s) { +function particles_ShapeFactory_constructor__P2738_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P72618, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P2738, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8823,7 +8825,7 @@ function particles_ShapeFactory_constructor__P72618_mk(s) { -function particles_AreaFactory_constructor__P72606(s) { +function particles_AreaFactory_constructor__P2726(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8842,13 +8844,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C72601_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P72596_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C2721_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P2716_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 0; s.tmp_0.arg3 = 90; - s.callLocIdx = 1156; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1154; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = (s.arg0).fields["xRange"] = (s.arg1); @@ -8873,12 +8875,12 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (s.arg0).fields["maxLifespan"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C72463_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C2583_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P72465_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P2585_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1157; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1155; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = (s.arg0).fields["galois"] = (s.tmp_0); @@ -8886,12 +8888,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AreaFactory_constructor__P72606.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__P2726.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__P72606_mk(s) { +function particles_AreaFactory_constructor__P2726_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P72606, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P2726, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8906,7 +8908,7 @@ function particles_AreaFactory_constructor__P72606_mk(s) { -function effects_ScreenEffect_constructor__P72671(s) { +function effects_ScreenEffect_constructor__P2791(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8925,13 +8927,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C72670_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P72667_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C2790_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P2787_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; s.tmp_0.arg3 = s.arg4; - s.callLocIdx = 1185; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1183; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["sceneDefaultRate"] = (s.arg2); @@ -8939,12 +8941,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_constructor__P72671.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__P2791.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__P72671_mk(s) { +function effects_ScreenEffect_constructor__P2791_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P72671, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P2791, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8958,7 +8960,7 @@ function effects_ScreenEffect_constructor__P72671_mk(s) { -function effects_ParticleEffect_constructor__P72667(s) { +function effects_ParticleEffect_constructor__P2787(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8976,7 +8978,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C72666_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C2786_VT)) failedCast(r0); r0 = (s.arg0).fields["sourceFactory"] = (s.arg3); r0 = (s.arg0).fields["defaultRate"] = (s.arg1); r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2); @@ -8984,12 +8986,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_constructor__P72667.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__P2787.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__P72667_mk(s) { +function effects_ParticleEffect_constructor__P2787_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P72667, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P2787, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -9001,7 +9003,7 @@ function effects_ParticleEffect_constructor__P72667_mk(s) { -function scene_Scene_init__P72318(s) { +function scene_Scene_init__P2438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9016,7 +9018,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C72296_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2416_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -9024,8 +9026,8 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = power_poke__P71585_mk(s); - s.callLocIdx = 817; s.pc = 4; return s.tmp_1; + s.tmp_1 = power_poke__P1705_mk(s); + s.callLocIdx = 815; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -9033,84 +9035,84 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["allSprites"] = (s.tmp_1); r0 = (s.arg0).fields["spriteNextId"] = (0); - r0 = pxsim_pxtcore_mkAction(1, inline__P94010); + r0 = pxsim_pxtcore_mkAction(1, inline__P8671); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P70272_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P392_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 820; s.pc = 5; return s.tmp_1; + s.callLocIdx = 818; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P70272_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P392_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P71802; - s.callLocIdx = 821; s.pc = 6; return s.tmp_0; + s.tmp_0.arg2 = controller__moveSprites__P1922; + s.callLocIdx = 819; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P94033); + r0 = pxsim_pxtcore_mkAction(1, inline__P8694); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P70272_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P392_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 823; s.pc = 7; return s.tmp_1; + s.callLocIdx = 821; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P94046); + r0 = pxsim_pxtcore_mkAction(1, inline__P8707); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P70272_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P392_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 55; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 827; s.pc = 8; return s.tmp_1; + s.callLocIdx = 825; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P94067); + r0 = pxsim_pxtcore_mkAction(1, inline__P8728); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P70272_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P392_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 829; s.pc = 9; return s.tmp_1; + s.callLocIdx = 827; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P94075); + r0 = pxsim_pxtcore_mkAction(1, inline__P8736); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P70272_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P392_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 833; s.pc = 10; return s.tmp_1; + s.callLocIdx = 831; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P70272_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P392_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P71643; - s.callLocIdx = 834; s.pc = 11; return s.tmp_0; + s.tmp_0.arg2 = control___screen_update__P1763; + s.callLocIdx = 832; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P94104); + r0 = pxsim_pxtcore_mkAction(1, inline__P8765); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); - s.tmp_1.arg0 = globals.scene_Scene_initializers___72316; + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___2436; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 836; s.pc = 12; return s.tmp_1; + s.callLocIdx = 834; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; case 3: @@ -9118,12 +9120,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init__P72318.info = {"start":4168,"length":2477,"line":122,"column":8,"endLine":180,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} +scene_Scene_init__P2438.info = {"start":4168,"length":2477,"line":122,"column":8,"endLine":180,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} -function scene_Scene_init__P72318_mk(s) { +function scene_Scene_init__P2438_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P72318, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P2438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9134,7 +9136,7 @@ function scene_Scene_init__P72318_mk(s) { -function inline__P94010(s) { +function inline__P8671(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9153,26 +9155,26 @@ switch (step) { r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_millis"] = (s.tmp_1); - s.tmp_0 = controller___update__P71830_mk(s); + s.tmp_0 = controller___update__P1950_mk(s); r0 = s.caps[0].fields["eventContext"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg0 = r0; - s.callLocIdx = 819; s.pc = 1; return s.tmp_0; + s.callLocIdx = 817; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P94010.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P8671.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P94010_mk(s) { +function inline__P8671_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P94010, depth: s.depth + 1, + parent: s, fn: inline__P8671, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9184,7 +9186,7 @@ function inline__P94010_mk(s) { -function inline__P94033(s) { +function inline__P8694(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9194,7 +9196,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = PhysicsEngine__C72039_v4_2_mk(s); + s.tmp_0 = PhysicsEngine__C2159_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["eventContext"]; @@ -9203,7 +9205,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg1 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C72039_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2159_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.move; s.pc = 1; return s.tmp_0; case 1: @@ -9212,12 +9214,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P94033.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P8694.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P94033_mk(s) { +function inline__P8694_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P94033, depth: s.depth + 1, + parent: s, fn: inline__P8694, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9228,7 +9230,7 @@ function inline__P94033_mk(s) { -function inline__P94046(s) { +function inline__P8707(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9238,80 +9240,80 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___94047 = undefined; - s.s___94055 = undefined; - s.unnamed154___U2 = undefined; - s.unnamed155___U3 = undefined; + s.dt___8708 = undefined; + s.s___8716 = 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___94047 = (r0); - s.tmp_0 = scene_Camera_update__P72253_mk(s); + s.dt___8708 = (r0); + s.tmp_0 = scene_Camera_update__P2373_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 825; s.pc = 3; return s.tmp_0; + s.callLocIdx = 823; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___94055 = (undefined); + s.s___8716 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed154___U2 = (r0); - s.unnamed155___U3 = (0); + s.unnamed74___U2 = (r0); + s.unnamed75___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed155___U3; - r0 = pxsim_Array__length(s.unnamed154___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.unnamed154___U2, s.unnamed155___U3); - s.s___94055 = (r0); + r0 = pxsim_Array__getAt(s.unnamed74___U2, s.unnamed75___U3); + s.s___8716 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___94055; + s.tmp_2.arg0 = s.s___8716; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___94047; + s.tmp_2.arg2 = s.dt___8708; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); - s.callLocIdx = 826; s.pc = 4; return s.tmp_2; + s.callLocIdx = 824; s.pc = 4; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["__update"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__update"], 3); s.callLocIdx = 826; s.pc = 4; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 826; s.pc = 4; return s.tmp_2;; } - else { s.callLocIdx = 826; s.pc = 4; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__update"], 3); s.callLocIdx = 824; s.pc = 4; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 824; s.pc = 4; return s.tmp_2;; } + else { s.callLocIdx = 824; s.pc = 4; return s.tmp_2; } } case 4: r0 = s.retval; - r0 = (s.unnamed155___U3 + 1); - s.unnamed155___U3 = (r0); + r0 = (s.unnamed75___U3 + 1); + s.unnamed75___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed154___U2 = (undefined); + s.unnamed74___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P94046.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P8707.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P94046_mk(s) { +function inline__P8707_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P94046, depth: s.depth + 1, + parent: s, fn: inline__P8707, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___94047: undefined, - s___94055: undefined, - unnamed154___U2: undefined, - unnamed155___U3: undefined, + dt___8708: undefined, + s___8716: undefined, + unnamed74___U2: undefined, + unnamed75___U3: undefined, } } -function inline__P94067(s) { +function inline__P8728(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9321,21 +9323,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_Scene_render__P72323_mk(s); + s.tmp_0 = scene_Scene_render__P2443_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 828; s.pc = 1; return s.tmp_0; + s.callLocIdx = 826; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P94067.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P8728.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P94067_mk(s) { +function inline__P8728_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P94067, depth: s.depth + 1, + parent: s, fn: inline__P8728, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -9344,7 +9346,7 @@ function inline__P94067_mk(s) { -function inline__P94075(s) { +function inline__P8736(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9354,26 +9356,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = r0 = globals.stats___72406; + s.tmp_0 = r0 = globals.stats___2526; 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___70267; + r0 = globals.control_EventContext_onStats___387; 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___70267; - if ((globals.control_EventContext_lastStats___70266) && (globals.control_EventContext_lastStats___70266).vtable) { + s.tmp_2.argL = globals.control_EventContext_onStats___387; + if ((globals.control_EventContext_lastStats___386) && (globals.control_EventContext_lastStats___386).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___70266); + pxsim_String__stringConv(globals.control_EventContext_lastStats___386); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___70266) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___386) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; @@ -9404,41 +9406,41 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); s.tmp_2.arg0 = r0; setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 830; s.pc = 7; return s.tmp_2; + s.callLocIdx = 828; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.debug___72405); + r0 = pxsim_numops_toBoolDecr(globals.debug___2525); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C72039_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C2159_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C72039_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2159_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__P72531_mk(s); - s.callLocIdx = 831; s.pc = 12; return s.tmp_0; + s.tmp_0 = game_consoleOverlay_draw__P2651_mk(s); + s.callLocIdx = 829; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P71586_mk(s); - s.callLocIdx = 832; s.pc = 13; return s.tmp_0; + s.tmp_0 = power_checkDeepSleep__P1706_mk(s); + s.callLocIdx = 830; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P94075.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P8736.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P94075_mk(s) { +function inline__P8736_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P94075, depth: s.depth + 1, + parent: s, fn: inline__P8736, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9455,7 +9457,7 @@ function inline__P94075_mk(s) { -function inline__P94104(s) { +function inline__P8765(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9473,19 +9475,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 835; s.pc = 1; return s.tmp_0; + s.callLocIdx = 833; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P94104.info = {"start":6621,"length":12,"line":179,"column":39,"endLine":179,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +inline__P8765.info = {"start":6621,"length":12,"line":179,"column":39,"endLine":179,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} -function inline__P94104_mk(s) { +function inline__P8765_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P94104, depth: s.depth + 1, + parent: s, fn: inline__P8765, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9495,7 +9497,7 @@ function inline__P94104_mk(s) { -function game_consoleOverlay_draw__P72531(s) { +function game_consoleOverlay_draw__P2651(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9505,16 +9507,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___94153 = undefined; - s.top___94158 = undefined; - s.i___94164 = undefined; - s.t___94177 = undefined; - s.tOff___94184 = undefined; - s.tab___94186 = undefined; - s.unnamed158___U6 = undefined; - s.unnamed159___U7 = undefined; - s.padding___94188 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___74460); + s.height___8814 = undefined; + s.top___8819 = undefined; + s.i___8825 = undefined; + s.t___8838 = undefined; + s.tOff___8845 = undefined; + s.tab___8847 = undefined; + s.unnamed78___U6 = undefined; + s.unnamed79___U7 = undefined; + s.padding___8849 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4580); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -9523,7 +9525,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___74414); + r0 = pxsim_numops_toBoolDecr(globals.instance___4534); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -9539,23 +9541,23 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___74468; + s.tmp_7.arg0 = globals.consoleFont___4588; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["charHeight"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["charHeight"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 1061; s.pc = 14; return s.tmp_7; } + else { s.callLocIdx = 1059; s.pc = 14; return s.tmp_7; } } case 14: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___94153 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___72406); + s.height___8814 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___2526); if (!r0) { step = 5; continue; } - r0 = s.height___94153; + r0 = s.height___8814; { step = 6; continue; } case 5: r0 = 0; @@ -9563,17 +9565,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___94158 = (r0); - s.i___94164 = (0); + s.top___8819 = (r0); + s.i___8825 = (0); case 7: - s.tmp_1 = r0 = s.i___94164; - r0 = pxsim_Array__length(globals.consoleStrings___74460); + s.tmp_1 = r0 = s.i___8825; + r0 = pxsim_Array__length(globals.consoleStrings___4580); 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___74460, s.i___94164); + r0 = pxsim_Array__getAt(globals.consoleStrings___4580, s.i___8825); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -9581,50 +9583,50 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_6 = helpers_stringSplit__P69997_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___74460, s.i___94164); + s.tmp_6 = helpers_stringSplit__P117_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___4580, s.i___8825); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; - s.callLocIdx = 1062; s.pc = 15; return s.tmp_6; + s.callLocIdx = 1060; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___94177 = (r0); - s.tOff___94184 = (0); - s.tab___94186 = (undefined); - s.unnamed158___U6 = (s.t___94177); - s.unnamed159___U7 = (0); + s.t___8838 = (r0); + s.tOff___8845 = (0); + s.tab___8847 = (undefined); + s.unnamed78___U6 = (s.t___8838); + s.unnamed79___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed159___U7; - r0 = pxsim_Array__length(s.unnamed158___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.unnamed158___U6, s.unnamed159___U7); - s.tab___94186 = (r0); - s.tmp_2 = r0 = globals.tabSize___74462; - s.tmp_5 = r0 = s.tOff___94184; - r0 = pxsim_String_.length(s.tab___94186); + r0 = pxsim_Array__getAt(s.unnamed78___U6, s.unnamed79___U7); + s.tab___8847 = (r0); + s.tmp_2 = r0 = globals.tabSize___4582; + s.tmp_5 = r0 = s.tOff___8845; + r0 = pxsim_String_.length(s.tab___8847); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___74462); + r0 = (s.tmp_4 % globals.tabSize___4582); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___94188 = (r0); - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; - s.tmp_0.arg1 = s.tab___94186; - s.tmp_2 = r0 = s.tOff___94184; + s.padding___8849 = (r0); + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; + s.tmp_0.arg1 = s.tab___8847; + s.tmp_2 = r0 = s.tOff___8845; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___74468; + s.tmp_4.arg0 = globals.consoleFont___4588; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charWidth"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charWidth"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 1063; s.pc = 17; return s.tmp_4; } + else { s.callLocIdx = 1061; s.pc = 17; return s.tmp_4; } } case 17: r0 = s.retval; @@ -9633,50 +9635,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___94158; - r0 = (s.i___94164 * s.height___94153); + s.tmp_5 = r0 = s.top___8819; + r0 = (s.i___8825 * s.height___8814); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___74459; - s.tmp_0.arg5 = globals.consoleFont___74468; + s.tmp_0.arg4 = globals.consoleColor___4579; + s.tmp_0.arg5 = globals.consoleFont___4588; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1064; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1062; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___94184; - r0 = pxsim_String_.length(s.tab___94186); + s.tmp_0 = r0 = s.tOff___8845; + r0 = pxsim_String_.length(s.tab___8847); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___94188); + r0 = (s.tmp_2 + s.padding___8849); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___94184 = (r0); - r0 = (s.unnamed159___U7 + 1); - s.unnamed159___U7 = (r0); + s.tOff___8845 = (r0); + r0 = (s.unnamed79___U7 + 1); + s.unnamed79___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed158___U6 = (undefined); + s.unnamed78___U6 = (undefined); { step = 11; continue; } case 10: - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; - r0 = pxsim_Array__getAt(globals.consoleStrings___74460, s.i___94164); + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; + r0 = pxsim_Array__getAt(globals.consoleStrings___4580, s.i___8825); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___94158; - r0 = (s.i___94164 * s.height___94153); + s.tmp_1 = r0 = s.top___8819; + r0 = (s.i___8825 * s.height___8814); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___74459; - s.tmp_0.arg5 = globals.consoleFont___74468; + s.tmp_0.arg4 = globals.consoleColor___4579; + s.tmp_0.arg5 = globals.consoleFont___4588; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1065; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1063; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___94164 + 1); - s.i___94164 = (r0); + r0 = (s.i___8825 + 1); + s.i___8825 = (r0); { step = 7; continue; } case 12: case 13: @@ -9684,12 +9686,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_draw__P72531.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__P2651.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__P72531_mk(s) { +function game_consoleOverlay_draw__P2651_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P72531, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P2651, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9699,22 +9701,22 @@ function game_consoleOverlay_draw__P72531_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___94153: undefined, - top___94158: undefined, - i___94164: undefined, - t___94177: undefined, - tOff___94184: undefined, - tab___94186: undefined, - unnamed158___U6: undefined, - unnamed159___U7: undefined, - padding___94188: undefined, + height___8814: undefined, + top___8819: undefined, + i___8825: undefined, + t___8838: undefined, + tOff___8845: undefined, + tab___8847: undefined, + unnamed78___U6: undefined, + unnamed79___U7: undefined, + padding___8849: undefined, } } -function scene_systemMenu_isVisible__P72512(s) { +function scene_systemMenu_isVisible__P2632(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9724,7 +9726,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___74414); + r0 = pxsim_numops_toBoolDecr(globals.instance___4534); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -9734,12 +9736,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_isVisible__P72512.info = {"start":13055,"length":62,"line":392,"column":4,"endLine":394,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"isVisible","argumentNames":[]} +scene_systemMenu_isVisible__P2632.info = {"start":13055,"length":62,"line":392,"column":4,"endLine":394,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"isVisible","argumentNames":[]} -function scene_systemMenu_isVisible__P72512_mk(s) { +function scene_systemMenu_isVisible__P2632_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P72512, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P2632, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9750,7 +9752,7 @@ function scene_systemMenu_isVisible__P72512_mk(s) { -function helpers_stringSplit__P69997(s) { +function helpers_stringSplit__P117(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9760,15 +9762,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___92502 = undefined; - s.lim___92504 = undefined; - s.s___92520 = undefined; - s.p___92523 = undefined; - s.R___92524 = undefined; - s.z___92538 = undefined; - s.T___92551 = undefined; - s.q___92552 = undefined; - s.e___92558 = undefined; + s.A___8903 = undefined; + s.lim___8905 = undefined; + s.s___8921 = undefined; + s.p___8924 = undefined; + s.R___8925 = undefined; + s.z___8939 = undefined; + s.T___8952 = undefined; + s.q___8953 = undefined; + s.e___8959 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9776,36 +9778,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___92502 = (r0); - s.lim___92504 = (0); + s.A___8903 = (r0); + s.lim___8905 = (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___92504 = (r0); + s.lim___8905 = (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___92504 = (0); + s.lim___8905 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___92504 = (r0); + s.lim___8905 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___92520 = (r0); - s.p___92523 = (0); - s.R___92524 = (s.arg1); - r0 = (s.lim___92504 == 0); + s.s___8921 = (r0); + s.p___8924 = (0); + s.R___8925 = (s.arg1); + r0 = (s.lim___8905 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___92502; + r0 = s.A___8903; { step = 21; continue; } case 5: case 6: @@ -9813,123 +9815,123 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array_.setAt(s.A___92502, 0, s.arg0); - r0 = s.A___92502; + r0 = pxsim_Array_.setAt(s.A___8903, 0, s.arg0); + r0 = s.A___8903; { step = 21; continue; } case 7: case 8: - r0 = (s.s___92520 == 0); + r0 = (s.s___8921 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P73773_mk(s); + s.tmp_1 = helpers_splitMatch__P3893_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___92524; + s.tmp_1.arg2 = s.R___8925; s.callLocIdx = 12; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___92538 = (r0); - r0 = (s.z___92538 > -1); + s.z___8939 = (r0); + r0 = (s.z___8939 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___92502; + r0 = s.A___8903; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___92502, 0, s.arg0); - r0 = s.A___92502; + r0 = pxsim_Array_.setAt(s.A___8903, 0, s.arg0); + r0 = s.A___8903; { step = 21; continue; } case 11: case 12: - s.q___92552 = (s.p___92523); + s.q___8953 = (s.p___8924); case 13: - r0 = (s.q___92552 != s.s___92520); + r0 = (s.q___8953 != s.s___8921); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P73773_mk(s); + s.tmp_1 = helpers_splitMatch__P3893_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___92552; - s.tmp_1.arg2 = s.R___92524; + s.tmp_1.arg1 = s.q___8953; + s.tmp_1.arg2 = s.R___8925; s.callLocIdx = 13; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___92558 = (r0); - r0 = (s.e___92558 < 0); + s.e___8959 = (r0); + r0 = (s.e___8959 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___92552 + 1); - s.q___92552 = (r0); + r0 = (s.q___8953 + 1); + s.q___8953 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___92558 == s.p___92523); + r0 = (s.e___8959 == s.p___8924); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___92552 + 1); - s.q___92552 = (r0); + r0 = (s.q___8953 + 1); + s.q___8953 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P69995_mk(s); + s.tmp_0 = helpers_stringSlice__P115_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___92523; - s.tmp_0.arg2 = s.q___92552; + s.tmp_0.arg1 = s.p___8924; + s.tmp_0.arg2 = s.q___8953; s.callLocIdx = 14; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___92551 = (r0); - r0 = pxsim_Array__push(s.A___92502, s.T___92551); - r0 = pxsim_Array__length(s.A___92502); + s.T___8952 = (r0); + r0 = pxsim_Array__push(s.A___8903, s.T___8952); + r0 = pxsim_Array__length(s.A___8903); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___92504); + r0 = (s.tmp_1 == s.lim___8905); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___92502; + r0 = s.A___8903; { step = 21; continue; } case 16: case 17: - s.p___92523 = (s.e___92558); - s.q___92552 = (s.p___92523); + s.p___8924 = (s.e___8959); + s.q___8953 = (s.p___8924); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P69995_mk(s); + s.tmp_0 = helpers_stringSlice__P115_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___92523; - s.tmp_0.arg2 = s.q___92552; + s.tmp_0.arg1 = s.p___8924; + s.tmp_0.arg2 = s.q___8953; s.callLocIdx = 15; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___92551 = (r0); - r0 = pxsim_Array__push(s.A___92502, s.T___92551); - r0 = s.A___92502; + s.T___8952 = (r0); + r0 = pxsim_Array__push(s.A___8903, s.T___8952); + r0 = s.A___8903; case 21: return leave(s, r0) default: oops() } } } -helpers_stringSplit__P69997.info = {"start":11930,"length":1319,"line":407,"column":4,"endLine":451,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} +helpers_stringSplit__P117.info = {"start":11930,"length":1319,"line":407,"column":4,"endLine":451,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} -function helpers_stringSplit__P69997_mk(s) { +function helpers_stringSplit__P117_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P69997, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P117, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___92502: undefined, - lim___92504: undefined, - s___92520: undefined, - p___92523: undefined, - R___92524: undefined, - z___92538: undefined, - T___92551: undefined, - q___92552: undefined, - e___92558: undefined, + A___8903: undefined, + lim___8905: undefined, + s___8921: undefined, + p___8924: undefined, + R___8925: undefined, + z___8939: undefined, + T___8952: undefined, + q___8953: undefined, + e___8959: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9939,7 +9941,7 @@ function helpers_stringSplit__P69997_mk(s) { -function helpers_splitMatch__P73773(s) { +function helpers_splitMatch__P3893(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9949,9 +9951,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___92603 = undefined; - s.s___92606 = undefined; - s.i___92616 = undefined; + s.r___9035 = undefined; + s.s___9038 = undefined; + s.i___9048 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9959,12 +9961,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___92603 = (r0); + s.r___9035 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___92606 = (r0); - r0 = (s.arg1 + s.r___92603); + s.s___9038 = (r0); + r0 = (s.arg1 + s.r___9035); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___92606); + r0 = (s.tmp_1 > s.s___9038); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -9972,18 +9974,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___92616 = (0); + s.i___9048 = (0); case 3: - r0 = (s.i___92616 < s.r___92603); + r0 = (s.i___9048 < s.r___9035); 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___92616); + r0 = (s.arg1 + s.i___9048); 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___92616); + r0 = pxsim_String_.charAt(s.arg2, s.i___9048); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -9993,21 +9995,21 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___92616 + 1); - s.i___92616 = (r0); + r0 = (s.i___9048 + 1); + s.i___9048 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___92603); + r0 = (s.arg1 + s.r___9035); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P73773.info = {"start":13255,"length":289,"line":453,"column":4,"endLine":462,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} +helpers_splitMatch__P3893.info = {"start":13255,"length":289,"line":453,"column":4,"endLine":462,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} -function helpers_splitMatch__P73773_mk(s) { +function helpers_splitMatch__P3893_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P73773, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P3893, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10015,9 +10017,9 @@ function helpers_splitMatch__P73773_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___92603: undefined, - s___92606: undefined, - i___92616: undefined, + r___9035: undefined, + s___9038: undefined, + i___9048: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -10027,7 +10029,7 @@ function helpers_splitMatch__P73773_mk(s) { -function helpers_stringSlice__P69995(s) { +function helpers_stringSlice__P115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10037,7 +10039,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___92260 = undefined; + s.len___9004 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -10045,13 +10047,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___92260 = (r0); + s.len___9004 = (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__P70005_mk(s); - r0 = (s.len___92260 + s.arg1); + s.tmp_1 = Math_max__P125_mk(s); + r0 = (s.len___9004 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 11; s.pc = 7; return s.tmp_1; @@ -10064,14 +10066,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___92260); + s.arg2 = (s.len___9004); 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___92260 + s.arg2); + r0 = (s.len___9004 + s.arg2); s.arg2 = (r0); case 5: case 6: @@ -10083,17 +10085,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSlice__P69995.info = {"start":11047,"length":365,"line":373,"column":4,"endLine":389,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} +helpers_stringSlice__P115.info = {"start":11047,"length":365,"line":373,"column":4,"endLine":389,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} -function helpers_stringSlice__P69995_mk(s) { +function helpers_stringSlice__P115_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P69995, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___92260: undefined, + len___9004: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -10103,7 +10105,7 @@ function helpers_stringSlice__P69995_mk(s) { -function scene_Scene_render__P72323(s) { +function scene_Scene_render__P2443(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10113,15 +10115,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___94302 = undefined; - s.unnamed156___U1 = undefined; - s.unnamed157___U2 = undefined; + s.s___9132 = 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__C72296_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2416_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -10152,18 +10154,18 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 5; continue; } - s.tmp_3 = scene_Scene_render__P72323_mk(s); + s.tmp_3 = scene_Scene_render__P2443_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 838; s.pc = 12; return s.tmp_3; + s.callLocIdx = 836; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_Background_draw__P72154_mk(s); + s.tmp_0 = scene_Background_draw__P2274_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 839; s.pc = 13; return s.tmp_0; + s.callLocIdx = 837; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 6: @@ -10173,11 +10175,11 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = helpers_arraySort__P69983_mk(s); + s.tmp_2 = helpers_arraySort__P103_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P94279; - s.callLocIdx = 844; s.pc = 14; return s.tmp_2; + s.tmp_2.arg1 = inline__P9109; + s.callLocIdx = 842; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -10188,38 +10190,38 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___94302 = (undefined); + s.s___9132 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed156___U1 = (r0); - s.unnamed157___U2 = (0); + s.unnamed76___U1 = (r0); + s.unnamed77___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed157___U2; - r0 = pxsim_Array__length(s.unnamed156___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.unnamed156___U1, s.unnamed157___U2); - s.s___94302 = (r0); + r0 = pxsim_Array__getAt(s.unnamed76___U1, s.unnamed77___U2); + s.s___9132 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___94302; + s.tmp_2.arg0 = s.s___9132; r0 = s.arg0.fields["camera"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__draw"), 2); - s.callLocIdx = 845; s.pc = 15; return s.tmp_2; + s.callLocIdx = 843; s.pc = 15; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["__draw"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__draw"], 2); s.callLocIdx = 845; s.pc = 15; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 845; s.pc = 15; return s.tmp_2;; } - else { s.callLocIdx = 845; s.pc = 15; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__draw"], 2); s.callLocIdx = 843; s.pc = 15; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 843; s.pc = 15; return s.tmp_2;; } + else { s.callLocIdx = 843; s.pc = 15; return s.tmp_2; } } case 15: r0 = s.retval; - r0 = (s.unnamed157___U2 + 1); - s.unnamed157___U2 = (r0); + r0 = (s.unnamed77___U2 + 1); + s.unnamed77___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed156___U1 = (undefined); + s.unnamed76___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -10231,21 +10233,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render__P72323.info = {"start":7844,"length":917,"line":221,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} +scene_Scene_render__P2443.info = {"start":7844,"length":917,"line":221,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} -function scene_Scene_render__P72323_mk(s) { +function scene_Scene_render__P2443_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P72323, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P2443, depth: s.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___94302: undefined, - unnamed156___U1: undefined, - unnamed157___U2: undefined, + s___9132: undefined, + unnamed76___U1: undefined, + unnamed77___U2: undefined, arg0: undefined, } } @@ -10253,7 +10255,7 @@ function scene_Scene_render__P72323_mk(s) { -function inline__P94279(s) { +function inline__P9109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10276,7 +10278,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["z"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["z"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 840; s.pc = 3; return s.tmp_2; } + else { s.callLocIdx = 838; s.pc = 3; return s.tmp_2; } } case 3: r0 = s.retval; @@ -10289,7 +10291,7 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["z"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["z"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 841; s.pc = 4; return s.tmp_4; } + else { s.callLocIdx = 839; s.pc = 4; return s.tmp_4; } } case 4: r0 = s.retval; @@ -10309,7 +10311,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["id"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["id"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 842; s.pc = 5; return s.tmp_6; } + else { s.callLocIdx = 840; s.pc = 5; return s.tmp_6; } } case 5: r0 = s.retval; @@ -10322,7 +10324,7 @@ switch (step) { s.tmp_8.fn = s.tmp_8.arg0.vtable.iface["id"]; if (s.tmp_8.fn == null) { s.retval = s.tmp_8.arg0.fields["id"]; } else if (!s.tmp_8.fn.isGetter) { s.retval = bind(s.tmp_8); } - else { s.callLocIdx = 843; s.pc = 6; return s.tmp_8; } + else { s.callLocIdx = 841; s.pc = 6; return s.tmp_8; } } case 6: r0 = s.retval; @@ -10335,12 +10337,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P94279.info = {"start":8422,"length":52,"line":235,"column":37,"endLine":235,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} +inline__P9109.info = {"start":8422,"length":52,"line":235,"column":37,"endLine":235,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} -function inline__P94279_mk(s) { +function inline__P9109_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P94279, depth: s.depth + 1, + parent: s, fn: inline__P9109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10360,7 +10362,7 @@ function inline__P94279_mk(s) { -function scene_Background_draw__P72154(s) { +function scene_Background_draw__P2274(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10375,27 +10377,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C72145_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C2265_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___71682, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___1802, 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___71682, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___1802, 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__P94334); + r0 = pxsim_pxtcore_mkAction(1, inline__P9164); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P69987_mk(s); + s.tmp_2 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["_layers"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; @@ -10408,12 +10410,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw__P72154.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__P2274.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__P72154_mk(s) { +function scene_Background_draw__P2274_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P72154, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P2274, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10425,7 +10427,7 @@ function scene_Background_draw__P72154_mk(s) { -function inline__P94334(s) { +function inline__P9164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10435,8 +10437,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___94336 = undefined; - s.oy___94347 = undefined; + s.ox___9166 = undefined; + s.oy___9177 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -10451,7 +10453,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___94336 = (r0); + s.ox___9166 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -10462,11 +10464,11 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___94347 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P72163_mk(s); + s.oy___9177 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P2283_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___94336; - s.tmp_0.arg2 = s.oy___94347; + s.tmp_0.arg1 = s.ox___9166; + s.tmp_0.arg2 = s.oy___9177; s.callLocIdx = 723; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -10474,19 +10476,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P94334.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} +inline__P9164.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__P94334_mk(s) { +function inline__P9164_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P94334, depth: s.depth + 1, + parent: s, fn: inline__P9164, depth: s.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___94336: undefined, - oy___94347: undefined, + ox___9166: undefined, + oy___9177: undefined, arg0: undefined, } } @@ -10494,7 +10496,7 @@ function inline__P94334_mk(s) { -function scene_BackgroundLayer_draw__P72163(s) { +function scene_BackgroundLayer_draw__P2283(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10504,19 +10506,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___94365 = undefined; - s.h___94368 = undefined; - s.pw___94371 = undefined; - s.ph___94375 = undefined; - s.rx___94384 = undefined; - s.ry___94387 = undefined; - s.y___94456 = undefined; - s.py___94457 = undefined; - s.dh___94466 = undefined; - s.x___94474 = undefined; - s.rxl___94475 = undefined; - s.px___94481 = undefined; - s.dw___94485 = undefined; + s.w___9195 = undefined; + s.h___9198 = undefined; + s.pw___9201 = undefined; + s.ph___9205 = undefined; + s.rx___9214 = undefined; + s.ry___9217 = undefined; + s.y___9286 = undefined; + s.py___9287 = undefined; + s.dh___9296 = undefined; + s.x___9304 = undefined; + s.rxl___9305 = undefined; + s.px___9311 = undefined; + s.dw___9315 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -10524,20 +10526,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C72155_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___71682); - s.w___94365 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___71682); - s.h___94368 = (r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C2275_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___1802); + s.w___9195 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___1802); + s.h___9198 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___94371 = (r0); + s.pw___9201 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___94375 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___94371); + s.ph___9205 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___9201); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -10546,7 +10548,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___94375); + r0 = pxsim_numops_toBoolDecr(s.ph___9205); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -10558,9 +10560,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___94384 = (r0); + s.rx___9214 = (r0); r0 = (0 - s.arg2); - s.ry___94387 = (r0); + s.ry___9217 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -10570,20 +10572,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___94384; - r0 = (s.w___94365 + s.pw___94371); + s.tmp_1 = r0 = s.rx___9214; + r0 = (s.w___9195 + s.pw___9201); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___94384 = (r0); + s.rx___9214 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___94384; - r0 = (s.w___94365 + s.pw___94371); + s.tmp_0 = r0 = s.rx___9214; + r0 = (s.w___9195 + s.pw___9201); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___94384 = (r0); + s.rx___9214 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -10594,120 +10596,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___94387; - r0 = (s.h___94368 + s.ph___94375); + s.tmp_1 = r0 = s.ry___9217; + r0 = (s.h___9198 + s.ph___9205); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___94387 = (r0); + s.ry___9217 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___94387; - r0 = (s.h___94368 + s.ph___94375); + s.tmp_0 = r0 = s.ry___9217; + r0 = (s.h___9198 + s.ph___9205); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___94387 = (r0); + s.ry___9217 = (r0); case 10: - r0 = (s.rx___94384 % s.w___94365); - s.rx___94384 = (r0); - r0 = (s.rx___94384 < 0); + r0 = (s.rx___9214 % s.w___9195); + s.rx___9214 = (r0); + r0 = (s.rx___9214 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___94384 + s.w___94365); - s.rx___94384 = (r0); + r0 = (s.rx___9214 + s.w___9195); + s.rx___9214 = (r0); case 11: case 12: - r0 = (s.ry___94387 % s.h___94368); - s.ry___94387 = (r0); - r0 = (s.ry___94387 < 0); + r0 = (s.ry___9217 % s.h___9198); + s.ry___9217 = (r0); + r0 = (s.ry___9217 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___94387 + s.h___94368); - s.ry___94387 = (r0); + r0 = (s.ry___9217 + s.h___9198); + s.ry___9217 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___94384); - s.rx___94384 = (r0); - r0 = pxsim.Math_.floor(s.ry___94387); - s.ry___94387 = (r0); - s.y___94456 = (0); - s.py___94457 = (0); + r0 = pxsim.Math_.floor(s.rx___9214); + s.rx___9214 = (r0); + r0 = pxsim.Math_.floor(s.ry___9217); + s.ry___9217 = (r0); + s.y___9286 = (0); + s.py___9287 = (0); case 15: - r0 = (s.y___94456 < s.h___94368); + r0 = (s.y___9286 < s.h___9198); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___94456 % s.ph___94375); - s.py___94457 = (r0); - s.tmp_0 = Math_min__P70006_mk(s); - r0 = (s.ph___94375 - s.py___94457); + r0 = (s.y___9286 % s.ph___9205); + s.py___9287 = (r0); + s.tmp_0 = Math_min__P126_mk(s); + r0 = (s.ph___9205 - s.py___9287); s.tmp_0.arg0 = r0; - r0 = (s.h___94368 - s.ry___94387); + r0 = (s.h___9198 - s.ry___9217); s.tmp_0.arg1 = r0; s.callLocIdx = 726; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___94466 = (r0); - s.x___94474 = (0); - s.rxl___94475 = (s.rx___94384); + s.dh___9296 = (r0); + s.x___9304 = (0); + s.rxl___9305 = (s.rx___9214); case 16: - r0 = (s.x___94474 < s.w___94365); + r0 = (s.x___9304 < s.w___9195); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___94474 % s.pw___94371); - s.px___94481 = (r0); - s.tmp_0 = Math_min__P70006_mk(s); - r0 = (s.pw___94371 - s.px___94481); + r0 = (s.x___9304 % s.pw___9201); + s.px___9311 = (r0); + s.tmp_0 = Math_min__P126_mk(s); + r0 = (s.pw___9201 - s.px___9311); s.tmp_0.arg0 = r0; - r0 = (s.w___94365 - s.rxl___94475); + r0 = (s.w___9195 - s.rxl___9305); s.tmp_0.arg1 = r0; s.callLocIdx = 727; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___94485 = (r0); + s.dw___9315 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___71682, s.tmp_0, s.rxl___94475, s.ry___94387); - r0 = (s.rxl___94475 + s.dw___94485); + r0 = pxsim_ImageMethods.drawImage(globals.screen___1802, s.tmp_0, s.rxl___9305, s.ry___9217); + r0 = (s.rxl___9305 + s.dw___9315); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___94365); - s.rxl___94475 = (r0); + r0 = (s.tmp_0 % s.w___9195); + s.rxl___9305 = (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___94485; + r0 = s.dw___9315; { step = 18; continue; } case 17: - r0 = s.w___94365; + r0 = s.w___9195; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___94474 + s.tmp_1); - s.x___94474 = (r0); + r0 = (s.x___9304 + s.tmp_1); + s.x___9304 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___94387 + s.dh___94466); + r0 = (s.ry___9217 + s.dh___9296); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___94368); - s.ry___94387 = (r0); + r0 = (s.tmp_0 % s.h___9198); + s.ry___9217 = (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___94466; + r0 = s.dh___9296; { step = 21; continue; } case 20: - r0 = s.h___94368; + r0 = s.h___9198; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___94456 + s.tmp_1); - s.y___94456 = (r0); + r0 = (s.y___9286 + s.tmp_1); + s.y___9286 = (r0); { step = 15; continue; } case 22: case 23: @@ -10715,30 +10717,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_draw__P72163.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__P2283.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__P72163_mk(s) { +function scene_BackgroundLayer_draw__P2283_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P72163, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P2283, depth: s.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___94365: undefined, - h___94368: undefined, - pw___94371: undefined, - ph___94375: undefined, - rx___94384: undefined, - ry___94387: undefined, - y___94456: undefined, - py___94457: undefined, - dh___94466: undefined, - x___94474: undefined, - rxl___94475: undefined, - px___94481: undefined, - dw___94485: undefined, + w___9195: undefined, + h___9198: undefined, + pw___9201: undefined, + ph___9205: undefined, + rx___9214: undefined, + ry___9217: undefined, + y___9286: undefined, + py___9287: undefined, + dh___9296: undefined, + x___9304: undefined, + rxl___9305: undefined, + px___9311: undefined, + dw___9315: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -10748,7 +10750,7 @@ function scene_BackgroundLayer_draw__P72163_mk(s) { -function Math_min__P70006(s) { +function Math_min__P126(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10776,12 +10778,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_min__P70006.info = {"start":15790,"length":105,"line":538,"column":4,"endLine":541,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} +Math_min__P126.info = {"start":15790,"length":105,"line":538,"column":4,"endLine":541,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} -function Math_min__P70006_mk(s) { +function Math_min__P126_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_min__P70006, depth: s.depth + 1, + parent: s, fn: Math_min__P126, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10792,7 +10794,7 @@ function Math_min__P70006_mk(s) { -function scene_Camera_update__P72253(s) { +function scene_Camera_update__P2373(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10802,78 +10804,78 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.elapsed___94566 = undefined; - s.percentComplete___94580 = undefined; - s.damp___94587 = undefined; - s.f___94596 = undefined; - s.x___94602 = undefined; - s.y___94609 = undefined; + s.elapsed___9396 = undefined; + s.percentComplete___9410 = undefined; + s.damp___9417 = undefined; + s.f___9426 = undefined; + s.x___9432 = undefined; + s.y___9439 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C72237_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2357_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__P72243_mk(s); + s.tmp_1 = scene_Camera_offsetX__P2363_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_3 = Sprite_x__P71905_mk(s); + s.tmp_3 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 799; s.pc = 10; return s.tmp_3; + s.callLocIdx = 797; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_5 = r0; r0 = (s.tmp_5 >> 1); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg1 = r0; - s.callLocIdx = 800; s.pc = 9; return s.tmp_1; + s.callLocIdx = 798; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P72245_mk(s); + s.tmp_0 = scene_Camera_offsetY__P2365_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_y__P71907_mk(s); + s.tmp_2 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 801; s.pc = 12; return s.tmp_2; + s.callLocIdx = 799; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___71682); + r0 = pxsim_ImageMethods.height(globals.screen___1802); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; r0 = (s.tmp_1 - s.tmp_3); s.tmp_0.arg1 = r0; - s.callLocIdx = 802; s.pc = 11; return s.tmp_0; + s.callLocIdx = 800; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; case 1: case 2: - s.tmp_0 = scene_Camera_offsetX__P72243_mk(s); + s.tmp_0 = scene_Camera_offsetX__P2363_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetX"]; s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_0.arg1 = r0; - s.callLocIdx = 804; s.pc = 13; return s.tmp_0; + s.callLocIdx = 802; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P72245_mk(s); + s.tmp_0 = scene_Camera_offsetY__P2365_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetY"]; s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_0.arg1 = r0; - s.callLocIdx = 806; s.pc = 14; return s.tmp_0; + s.callLocIdx = 804; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -10895,10 +10897,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___94566 = (r0); + s.elapsed___9396 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___94566 >= s.tmp_1); + r0 = (s.elapsed___9396 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -10907,49 +10909,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___94566 / s.tmp_0); - s.percentComplete___94580 = (r0); - s.damp___94587 = (1); - r0 = (s.percentComplete___94580 >= 0.75); + r0 = (s.elapsed___9396 / s.tmp_0); + s.percentComplete___9410 = (r0); + s.damp___9417 = (1); + r0 = (s.percentComplete___9410 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Math_max__P70005_mk(s); + s.tmp_1 = Math_max__P125_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___94580); + r0 = (1 - s.percentComplete___9410); s.tmp_1.arg1 = r0; - s.callLocIdx = 809; s.pc = 15; return s.tmp_1; + s.callLocIdx = 807; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.damp___94587 = (r0); + s.damp___9417 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___94587); - s.f___94596 = (r0); + r0 = (s.tmp_0 * s.damp___9417); + s.f___9426 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___94596); + r0 = (s.tmp_1 * s.f___9426); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___94602 = (r0); + s.x___9432 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___94596); + r0 = (s.tmp_1 * s.f___9426); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___94609 = (r0); + s.y___9439 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___94602); + r0 = (s.tmp_2 + s.x___9432); 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___94609); + r0 = (s.tmp_2 + s.y___9439); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -10959,12 +10961,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_update__P72253.info = {"start":2297,"length":1397,"line":77,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} +scene_Camera_update__P2373.info = {"start":2297,"length":1397,"line":77,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} -function scene_Camera_update__P72253_mk(s) { +function scene_Camera_update__P2373_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P72253, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P2373, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10972,12 +10974,12 @@ function scene_Camera_update__P72253_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - elapsed___94566: undefined, - percentComplete___94580: undefined, - damp___94587: undefined, - f___94596: undefined, - x___94602: undefined, - y___94609: undefined, + elapsed___9396: undefined, + percentComplete___9410: undefined, + damp___9417: undefined, + f___9426: undefined, + x___9432: undefined, + y___9439: undefined, arg0: undefined, } } @@ -10985,7 +10987,7 @@ function scene_Camera_update__P72253_mk(s) { -function scene_Camera_offsetY__P72245(s) { +function scene_Camera_offsetY__P2365(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10995,30 +10997,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___94628 = undefined; + s.scene___9474 = 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__C72237_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P72409_mk(s); - s.callLocIdx = 798; s.pc = 5; return s.tmp_0; + if (!checkSubtype(r0, scene_Camera__C2357_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P2529_mk(s); + s.callLocIdx = 796; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___94628 = (r0); - r0 = s.scene___94628.fields["tileMap"]; + s.scene___9474 = (r0); + r0 = s.scene___9474.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__C72197_v6_1_mk(s); - r0 = s.scene___94628.fields["tileMap"]; + s.tmp_1 = tiles_TileMap__C2317_v6_1_mk(s); + r0 = s.scene___9474.fields["tileMap"]; s.tmp_1.arg0 = r0; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C2317_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: @@ -11029,11 +11031,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__C72197_v2_2_mk(s); - r0 = s.scene___94628.fields["tileMap"]; + s.tmp_5 = tiles_TileMap__C2317_v2_2_mk(s); + r0 = s.scene___9474.fields["tileMap"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg1; - if (!checkSubtype(s.tmp_5.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, tiles_TileMap__C2317_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: @@ -11048,12 +11050,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetY__P72245.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__P2365.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__P72245_mk(s) { +function scene_Camera_offsetY__P2365_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P72245, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P2365, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11061,7 +11063,7 @@ function scene_Camera_offsetY__P72245_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___94628: undefined, + scene___9474: undefined, arg0: undefined, arg1: undefined, } } @@ -11070,7 +11072,7 @@ function scene_Camera_offsetY__P72245_mk(s) { -function tiles_TileMap_enabled__P72207(s) { +function tiles_TileMap_enabled__P2327(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11085,7 +11087,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -11098,13 +11100,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_enabled__P72207.info = {"start":7107,"length":66,"line":261,"column":8,"endLine":263,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} -tiles_TileMap_enabled__P72207.isGetter = true; +tiles_TileMap_enabled__P2327.info = {"start":7107,"length":66,"line":261,"column":8,"endLine":263,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} +tiles_TileMap_enabled__P2327.isGetter = true; -function tiles_TileMap_enabled__P72207_mk(s) { +function tiles_TileMap_enabled__P2327_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P72207, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P2327, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11117,7 +11119,7 @@ function tiles_TileMap_enabled__P72207_mk(s) { -function tiles_TileMap_offsetY__P72202(s) { +function tiles_TileMap_offsetY__P2322(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11133,40 +11135,40 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P70002_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P122_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P70005_mk(s); - s.tmp_3 = tiles_TileMap__C72197_v4_1_mk(s); + s.tmp_1 = Math_max__P125_mk(s); + s.tmp_3 = tiles_TileMap__C2317_v4_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C2317_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___71682); + r0 = pxsim_ImageMethods.height(globals.screen___1802); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 745; s.pc = 2; return s.tmp_1; + s.callLocIdx = 743; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 746; s.pc = 1; return s.tmp_0; + s.callLocIdx = 744; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetY__P72202.info = {"start":6560,"length":123,"line":239,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} +tiles_TileMap_offsetY__P2322.info = {"start":6560,"length":123,"line":239,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} -function tiles_TileMap_offsetY__P72202_mk(s) { +function tiles_TileMap_offsetY__P2322_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P72202, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P2322, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11181,7 +11183,7 @@ function tiles_TileMap_offsetY__P72202_mk(s) { -function tiles_TileMap_areaHeight__P72204(s) { +function tiles_TileMap_areaHeight__P2324(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11196,7 +11198,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -11218,12 +11220,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaHeight__P72204.info = {"start":6794,"length":93,"line":247,"column":8,"endLine":249,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} +tiles_TileMap_areaHeight__P2324.info = {"start":6794,"length":93,"line":247,"column":8,"endLine":249,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} -function tiles_TileMap_areaHeight__P72204_mk(s) { +function tiles_TileMap_areaHeight__P2324_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P72204, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P2324, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11237,7 +11239,7 @@ function tiles_TileMap_areaHeight__P72204_mk(s) { -function tiles_TileMap_scale__P72199(s) { +function tiles_TileMap_scale__P2319(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11252,18 +11254,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_scale__P72199.info = {"start":6125,"length":55,"line":220,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMap_scale__P72199.isGetter = true; +tiles_TileMap_scale__P2319.info = {"start":6125,"length":55,"line":220,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMap_scale__P2319.isGetter = true; -function tiles_TileMap_scale__P72199_mk(s) { +function tiles_TileMap_scale__P2319_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P72199, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P2319, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11272,7 +11274,7 @@ function tiles_TileMap_scale__P72199_mk(s) { -function tiles_TileMapData_height__P72187(s) { +function tiles_TileMapData_height__P2307(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11287,18 +11289,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C72184_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2304_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_height__P72187.info = {"start":3734,"length":65,"line":139,"column":8,"endLine":141,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} -tiles_TileMapData_height__P72187.isGetter = true; +tiles_TileMapData_height__P2307.info = {"start":3734,"length":65,"line":139,"column":8,"endLine":141,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} +tiles_TileMapData_height__P2307.isGetter = true; -function tiles_TileMapData_height__P72187_mk(s) { +function tiles_TileMapData_height__P2307_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P72187, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P2307, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11307,7 +11309,7 @@ function tiles_TileMapData_height__P72187_mk(s) { -function Math_clamp__P70002(s) { +function Math_clamp__P122(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11323,9 +11325,9 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = Math_min__P70006_mk(s); + s.tmp_0 = Math_min__P126_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P70005_mk(s); + s.tmp_1 = Math_max__P125_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; s.callLocIdx = 16; s.pc = 2; return s.tmp_1; @@ -11338,12 +11340,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_clamp__P70002.info = {"start":14654,"length":130,"line":501,"column":4,"endLine":503,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} +Math_clamp__P122.info = {"start":14654,"length":130,"line":501,"column":4,"endLine":503,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} -function Math_clamp__P70002_mk(s) { +function Math_clamp__P122_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_clamp__P70002, depth: s.depth + 1, + parent: s, fn: Math_clamp__P122, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11356,7 +11358,7 @@ function Math_clamp__P70002_mk(s) { -function scene_Camera_offsetY__P72244(s) { +function scene_Camera_offsetY__P2364(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11371,18 +11373,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C72237_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2357_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetY__P72244.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__P72244.isGetter = true; +scene_Camera_offsetY__P2364.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__P2364.isGetter = true; -function scene_Camera_offsetY__P72244_mk(s) { +function scene_Camera_offsetY__P2364_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P72244, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P2364, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11391,7 +11393,7 @@ function scene_Camera_offsetY__P72244_mk(s) { -function scene_Camera_offsetX__P72243(s) { +function scene_Camera_offsetX__P2363(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11401,30 +11403,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___94666 = undefined; + s.scene___9541 = 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__C72237_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P72409_mk(s); - s.callLocIdx = 797; s.pc = 5; return s.tmp_0; + if (!checkSubtype(r0, scene_Camera__C2357_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P2529_mk(s); + s.callLocIdx = 795; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___94666 = (r0); - r0 = s.scene___94666.fields["tileMap"]; + s.scene___9541 = (r0); + r0 = s.scene___9541.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__C72197_v6_1_mk(s); - r0 = s.scene___94666.fields["tileMap"]; + s.tmp_1 = tiles_TileMap__C2317_v6_1_mk(s); + r0 = s.scene___9541.fields["tileMap"]; s.tmp_1.arg0 = r0; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C2317_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: @@ -11435,11 +11437,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__C72197_v1_2_mk(s); - r0 = s.scene___94666.fields["tileMap"]; + s.tmp_5 = tiles_TileMap__C2317_v1_2_mk(s); + r0 = s.scene___9541.fields["tileMap"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg1; - if (!checkSubtype(s.tmp_5.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, tiles_TileMap__C2317_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: @@ -11454,12 +11456,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetX__P72243.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__P2363.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__P72243_mk(s) { +function scene_Camera_offsetX__P2363_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P72243, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P2363, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11467,7 +11469,7 @@ function scene_Camera_offsetX__P72243_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___94666: undefined, + scene___9541: undefined, arg0: undefined, arg1: undefined, } } @@ -11476,7 +11478,7 @@ function scene_Camera_offsetX__P72243_mk(s) { -function tiles_TileMap_offsetX__P72201(s) { +function tiles_TileMap_offsetX__P2321(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11492,40 +11494,40 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P70002_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P122_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P70005_mk(s); - s.tmp_3 = tiles_TileMap__C72197_v3_1_mk(s); + s.tmp_1 = Math_max__P125_mk(s); + s.tmp_3 = tiles_TileMap__C2317_v3_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C2317_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___71682); + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 743; s.pc = 2; return s.tmp_1; + s.callLocIdx = 741; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 744; s.pc = 1; return s.tmp_0; + s.callLocIdx = 742; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetX__P72201.info = {"start":6429,"length":121,"line":235,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} +tiles_TileMap_offsetX__P2321.info = {"start":6429,"length":121,"line":235,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} -function tiles_TileMap_offsetX__P72201_mk(s) { +function tiles_TileMap_offsetX__P2321_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P72201, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P2321, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11540,7 +11542,7 @@ function tiles_TileMap_offsetX__P72201_mk(s) { -function tiles_TileMap_areaWidth__P72203(s) { +function tiles_TileMap_areaWidth__P2323(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11555,7 +11557,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -11577,12 +11579,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaWidth__P72203.info = {"start":6693,"length":91,"line":243,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} +tiles_TileMap_areaWidth__P2323.info = {"start":6693,"length":91,"line":243,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} -function tiles_TileMap_areaWidth__P72203_mk(s) { +function tiles_TileMap_areaWidth__P2323_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P72203, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P2323, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11596,7 +11598,7 @@ function tiles_TileMap_areaWidth__P72203_mk(s) { -function tiles_TileMapData_width__P72186(s) { +function tiles_TileMapData_width__P2306(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11611,18 +11613,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C72184_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2304_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_width__P72186.info = {"start":3661,"length":63,"line":135,"column":8,"endLine":137,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} -tiles_TileMapData_width__P72186.isGetter = true; +tiles_TileMapData_width__P2306.info = {"start":3661,"length":63,"line":135,"column":8,"endLine":137,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} +tiles_TileMapData_width__P2306.isGetter = true; -function tiles_TileMapData_width__P72186_mk(s) { +function tiles_TileMapData_width__P2306_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P72186, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P2306, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11631,7 +11633,7 @@ function tiles_TileMapData_width__P72186_mk(s) { -function scene_Camera_offsetX__P72242(s) { +function scene_Camera_offsetX__P2362(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11646,18 +11648,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C72237_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2357_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetX__P72242.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__P72242.isGetter = true; +scene_Camera_offsetX__P2362.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__P2362.isGetter = true; -function scene_Camera_offsetX__P72242_mk(s) { +function scene_Camera_offsetX__P2362_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P72242, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P2362, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11666,7 +11668,7 @@ function scene_Camera_offsetX__P72242_mk(s) { -function Sprite_y__P71907(s) { +function Sprite_y__P2027(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11681,7 +11683,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -11696,13 +11698,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_y__P71907.info = {"start":1849,"length":85,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} -Sprite_y__P71907.isGetter = true; +Sprite_y__P2027.info = {"start":1849,"length":85,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} +Sprite_y__P2027.isGetter = true; -function Sprite_y__P71907_mk(s) { +function Sprite_y__P2027_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P71907, depth: s.depth + 1, + parent: s, fn: Sprite_y__P2027, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11716,7 +11718,7 @@ function Sprite_y__P71907_mk(s) { -function Fx_toFloat__P70046(s) { +function Fx_toFloat__P166(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11734,12 +11736,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toFloat__P70046.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__P166.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__P70046_mk(s) { +function Fx_toFloat__P166_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toFloat__P70046, depth: s.depth + 1, + parent: s, fn: Fx_toFloat__P166, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11748,7 +11750,7 @@ function Fx_toFloat__P70046_mk(s) { -function Sprite_x__P71905(s) { +function Sprite_x__P2025(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11763,7 +11765,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -11778,13 +11780,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_x__P71905.info = {"start":1501,"length":84,"line":70,"column":4,"endLine":72,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} -Sprite_x__P71905.isGetter = true; +Sprite_x__P2025.info = {"start":1501,"length":84,"line":70,"column":4,"endLine":72,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} +Sprite_x__P2025.isGetter = true; -function Sprite_x__P71905_mk(s) { +function Sprite_x__P2025_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P71905, depth: s.depth + 1, + parent: s, fn: Sprite_x__P2025, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11798,7 +11800,7 @@ function Sprite_x__P71905_mk(s) { -function PhysicsEngine_move__P72045(s) { +function PhysicsEngine_move__P2165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11814,17 +11816,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C72039_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2159_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_move__P72045.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__P2165.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__P72045_mk(s) { +function PhysicsEngine_move__P2165_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P72045, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P2165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -11834,7 +11836,7 @@ function PhysicsEngine_move__P72045_mk(s) { -function PhysicsEngine_draw__P72044(s) { +function PhysicsEngine_draw__P2164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11849,17 +11851,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C72039_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2159_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_draw__P72044.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__P2164.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__P72044_mk(s) { +function PhysicsEngine_draw__P2164_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P72044, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P2164, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11868,7 +11870,7 @@ function PhysicsEngine_draw__P72044_mk(s) { -function controller___update__P71830(s) { +function controller___update__P1950(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11878,7 +11880,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___95014 = undefined; + s.dtms___9939 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -11886,12 +11888,12 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___95014 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P95021); + s.dtms___9939 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P9946); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___95014); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); - s.tmp_2 = controller_players__P71798_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___9939); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + s.tmp_2 = controller_players__P1918_mk(s); s.callLocIdx = 201; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; @@ -11904,17 +11906,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update__P71830.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__P1950.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__P71830_mk(s) { +function controller___update__P1950_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P71830, depth: s.depth + 1, + parent: s, fn: controller___update__P1950, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___95014: undefined, + dtms___9939: undefined, arg0: undefined, } } @@ -11922,7 +11924,7 @@ function controller___update__P71830_mk(s) { -function inline__P95021(s) { +function inline__P9946(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11936,7 +11938,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___update__P71828_mk(s); + s.tmp_0 = controller_Controller___update__P1948_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.callLocIdx = 202; s.pc = 1; return s.tmp_0; @@ -11946,12 +11948,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P95021.info = {"start":18063,"length":27,"line":552,"column":26,"endLine":552,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P9946.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__P95021_mk(s) { +function inline__P9946_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P95021, depth: s.depth + 1, + parent: s, fn: inline__P9946, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11961,7 +11963,7 @@ function inline__P95021_mk(s) { -function controller_Controller___update__P71828(s) { +function controller_Controller___update__P1948(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11977,7 +11979,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C71803_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1923_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -11988,10 +11990,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__P95034); + r0 = pxsim_pxtcore_mkAction(1, inline__P9959); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["buttons"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -12002,12 +12004,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update__P71828.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__P1948.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__P71828_mk(s) { +function controller_Controller___update__P1948_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P71828, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P1948, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12021,7 +12023,7 @@ function controller_Controller___update__P71828_mk(s) { -function inline__P95034(s) { +function inline__P9959(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12035,7 +12037,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Button___update__P71795_mk(s); + s.tmp_0 = controller_Button___update__P1915_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg1 = r0; @@ -12046,12 +12048,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P95034.info = {"start":17526,"length":25,"line":534,"column":33,"endLine":534,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +inline__P9959.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__P95034_mk(s) { +function inline__P9959_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P95034, depth: s.depth + 1, + parent: s, fn: inline__P9959, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12061,7 +12063,7 @@ function inline__P95034_mk(s) { -function controller_Button___update__P71795(s) { +function controller_Button___update__P1915(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12071,16 +12073,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___95050 = undefined; - s.interval___95059 = undefined; - s.count___95072 = undefined; + s.delay___9975 = undefined; + s.interval___9984 = undefined; + s.count___9997 = 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__C71783_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1903_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -12104,31 +12106,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___73993; + r0 = globals.defaultRepeatDelay___4113; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___95050 = (s.tmp_2); + s.delay___9975 = (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___73995; + r0 = globals.defaultRepeatInterval___4115; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___95059 = (s.tmp_2); + s.interval___9984 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___95050); + r0 = (s.tmp_1 < s.delay___9975); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -12137,26 +12139,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___95050); + r0 = (s.tmp_5 - s.delay___9975); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___95059); + r0 = (s.tmp_4 - s.interval___9984); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___95059); + r0 = (s.tmp_3 / s.interval___9984); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___95072 = (r0); + s.count___9997 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___95072 != s.tmp_1); + r0 = (s.count___9997 != 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__P74000_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P4120_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 157; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___95072); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___9997); case 9: case 10: case 11: @@ -12164,12 +12166,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button___update__P71795.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__P1915.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__P71795_mk(s) { +function controller_Button___update__P1915_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P71795, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P1915, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12177,9 +12179,9 @@ function controller_Button___update__P71795_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___95050: undefined, - interval___95059: undefined, - count___95072: undefined, + delay___9975: undefined, + interval___9984: undefined, + count___9997: undefined, arg0: undefined, arg1: undefined, } } @@ -12188,7 +12190,7 @@ function controller_Button___update__P71795_mk(s) { -function controller_Button_raiseButtonRepeat__P74000(s) { +function controller_Button_raiseButtonRepeat__P4120(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12203,8 +12205,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C71783_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___73991); + if (!checkSubtype(r0, controller_Button__C1903_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4111); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -12219,12 +12221,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P74000.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__P4120.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__P74000_mk(s) { +function controller_Button_raiseButtonRepeat__P4120_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P74000, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P4120, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12234,7 +12236,7 @@ function controller_Button_raiseButtonRepeat__P74000_mk(s) { -function controller_players__P71798(s) { +function controller_players__P1918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12244,25 +12246,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller__player1__P71797_mk(s); + s.tmp_0 = controller__player1__P1917_mk(s); s.callLocIdx = 160; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_arrayFilter__P69988_mk(s); - s.tmp_0.arg0 = globals._players___74004; - s.tmp_0.arg1 = inline__P94913; + s.tmp_0 = helpers_arrayFilter__P108_mk(s); + s.tmp_0.arg0 = globals._players___4124; + s.tmp_0.arg1 = inline__P9822; s.callLocIdx = 161; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -controller_players__P71798.info = {"start":7040,"length":144,"line":220,"column":4,"endLine":223,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P1918.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__P71798_mk(s) { +function controller_players__P1918_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P71798, depth: s.depth + 1, + parent: s, fn: controller_players__P1918, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -12271,7 +12273,7 @@ function controller_players__P71798_mk(s) { -function inline__P94913(s) { +function inline__P9822(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12295,12 +12297,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P94913.info = {"start":7162,"length":14,"line":222,"column":31,"endLine":222,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P9822.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__P94913_mk(s) { +function inline__P9822_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P94913, depth: s.depth + 1, + parent: s, fn: inline__P9822, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12312,7 +12314,7 @@ function inline__P94913_mk(s) { -function controller__player1__P71797(s) { +function controller__player1__P1917(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12322,7 +12324,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___74004); + r0 = pxsim_numops_toBoolDecr(globals._players___4124); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -12331,7 +12333,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___74004, 0); + r0 = pxsim_Array__getAt(globals._players___4124, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -12341,18 +12343,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__C71803_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C1923_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.left___71759); - r0 = pxsim_Array__push(s.tmp_6, globals.up___71760); - r0 = pxsim_Array__push(s.tmp_6, globals.right___71761); - r0 = pxsim_Array__push(s.tmp_6, globals.down___71762); - r0 = pxsim_Array__push(s.tmp_6, globals.A___71757); - r0 = pxsim_Array__push(s.tmp_6, globals.B___71758); - r0 = pxsim_Array__push(s.tmp_6, globals.menu___71763); - s.tmp_7 = controller_Controller_constructor__P71807_mk(s); + r0 = pxsim_Array__push(s.tmp_6, globals.left___1879); + r0 = pxsim_Array__push(s.tmp_6, globals.up___1880); + r0 = pxsim_Array__push(s.tmp_6, globals.right___1881); + r0 = pxsim_Array__push(s.tmp_6, globals.down___1882); + r0 = pxsim_Array__push(s.tmp_6, globals.A___1877); + r0 = pxsim_Array__push(s.tmp_6, globals.B___1878); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___1883); + s.tmp_7 = controller_Controller_constructor__P1927_mk(s); s.tmp_7.arg0 = s.tmp_5; s.tmp_7.arg1 = 1; s.tmp_7.arg2 = s.tmp_6; @@ -12361,16 +12363,16 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___74004, 0); + r0 = pxsim_Array__getAt(globals._players___4124, 0); return leave(s, r0) default: oops() } } } -controller__player1__P71797.info = {"start":6776,"length":258,"line":214,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P1917.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__P71797_mk(s) { +function controller__player1__P1917_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P71797, depth: s.depth + 1, + parent: s, fn: controller__player1__P1917, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12386,7 +12388,7 @@ function controller__player1__P71797_mk(s) { -function controller_Controller_constructor__P71807(s) { +function controller_Controller_constructor__P1927(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12396,9 +12398,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___94960 = undefined; - s.i___94968 = undefined; - s.i___94986 = undefined; + s.leftId___9881 = undefined; + s.i___9889 = undefined; + s.i___9907 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12406,7 +12408,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C71803_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1923_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1 = r0; @@ -12430,18 +12432,18 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___94960 = (r0); - s.i___94968 = (0); + s.leftId___9881 = (r0); + s.i___9889 = (0); case 2: - r0 = (s.i___94968 < 7); + r0 = (s.i___9889 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C71783_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1903_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P71789_mk(s); + s.tmp_2 = controller_Button_constructor__P1909_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___94960 + s.i___94968); + r0 = (s.leftId___9881 + s.i___9889); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; s.callLocIdx = 165; s.pc = 7; return s.tmp_2; @@ -12450,14 +12452,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___94968 + 1); - s.i___94968 = (r0); + r0 = (s.i___9889 + 1); + s.i___9889 = (r0); { step = 2; continue; } case 3: case 4: - s.i___94986 = (0); + s.i___9907 = (0); case 5: - s.tmp_1 = r0 = s.i___94986; + s.tmp_1 = r0 = s.i___9907; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -12468,14 +12470,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___94986); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___9907); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___94986 + 1); - s.i___94986 = (r0); + r0 = (s.i___9907 + 1); + s.i___9907 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P74005_mk(s); + s.tmp_0 = controller_addController__P4125_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 166; s.pc = 8; return s.tmp_0; case 8: @@ -12484,12 +12486,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_constructor__P71807.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__P1927.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__P71807_mk(s) { +function controller_Controller_constructor__P1927_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P71807, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P1927, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12497,9 +12499,9 @@ function controller_Controller_constructor__P71807_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___94960: undefined, - i___94968: undefined, - i___94986: undefined, + leftId___9881: undefined, + i___9889: undefined, + i___9907: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -12509,7 +12511,7 @@ function controller_Controller_constructor__P71807_mk(s) { -function controller_addController__P74005(s) { +function controller_addController__P4125(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12523,17 +12525,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___74004); + r0 = pxsim_numops_toBoolDecr(globals._players___4124); 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___74004 = (r0); + globals._players___4124 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___74004; + s.tmp_0 = r0 = globals._players___4124; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -12543,12 +12545,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P74005.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__P4125.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__P74005_mk(s) { +function controller_addController__P4125_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P74005, depth: s.depth + 1, + parent: s, fn: controller_addController__P4125, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12560,7 +12562,7 @@ function controller_addController__P74005_mk(s) { -function helpers_arrayFilter__P69988(s) { +function helpers_arrayFilter__P108(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12570,31 +12572,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___97331 = undefined; - s.len___97333 = undefined; - s.i___97336 = undefined; - s.v___97341 = undefined; + s.res___9741 = undefined; + s.len___9743 = undefined; + s.i___9746 = undefined; + s.v___9751 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___97331 = (r0); + s.res___9741 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___97333 = (r0); - s.i___97336 = (0); + s.len___9743 = (r0); + s.i___9746 = (0); case 1: - r0 = (s.i___97336 < s.len___97333); + r0 = (s.i___9746 < s.len___9743); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___97336); - s.v___97341 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___9746); + s.v___9751 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___97341; - s.tmp_1.arg1 = s.i___97336; + s.tmp_1.arg0 = s.v___9751; + s.tmp_1.arg1 = s.i___9746; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 7; s.pc = 5; return s.tmp_1; case 5: @@ -12602,30 +12604,30 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__push(s.res___97331, s.v___97341); + r0 = pxsim_Array__push(s.res___9741, s.v___9751); case 2: case 3: - r0 = (s.i___97336 + 1); - s.i___97336 = (r0); + r0 = (s.i___9746 + 1); + s.i___9746 = (r0); { step = 1; continue; } case 4: - r0 = s.res___97331; + r0 = s.res___9741; return leave(s, r0) default: oops() } } } -helpers_arrayFilter__P69988.info = {"start":7695,"length":317,"line":261,"column":4,"endLine":269,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFilter","argumentNames":["arr","callbackfn"]} +helpers_arrayFilter__P108.info = {"start":7695,"length":317,"line":261,"column":4,"endLine":269,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFilter","argumentNames":["arr","callbackfn"]} -function helpers_arrayFilter__P69988_mk(s) { +function helpers_arrayFilter__P108_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P69988, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P108, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___97331: undefined, - len___97333: undefined, - i___97336: undefined, - v___97341: undefined, + res___9741: undefined, + len___9743: undefined, + i___9746: undefined, + v___9751: undefined, arg0: undefined, arg1: undefined, } } @@ -12634,7 +12636,7 @@ function helpers_arrayFilter__P69988_mk(s) { -function controller__moveSprites__P71802(s) { +function controller__moveSprites__P1922(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12644,13 +12646,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P69987_mk(s); - s.tmp_1 = controller_players__P71798_mk(s); + s.tmp_0 = helpers_arrayForEach__P107_mk(s); + s.tmp_1 = controller_players__P1918_mk(s); s.callLocIdx = 162; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P94708; + s.tmp_0.arg1 = inline__P9591; s.callLocIdx = 164; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -12658,12 +12660,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites__P71802.info = {"start":7400,"length":182,"line":234,"column":4,"endLine":238,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P1922.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__P71802_mk(s) { +function controller__moveSprites__P1922_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P71802, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P1922, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12673,7 +12675,7 @@ function controller__moveSprites__P71802_mk(s) { -function inline__P94708(s) { +function inline__P9591(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12687,7 +12689,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___preUpdate__P71827_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P1947_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 163; s.pc = 1; return s.tmp_0; case 1: @@ -12696,12 +12698,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P94708.info = {"start":7548,"length":26,"line":237,"column":26,"endLine":237,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P9591.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__P94708_mk(s) { +function inline__P9591_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P94708, depth: s.depth + 1, + parent: s, fn: inline__P9591, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12711,7 +12713,7 @@ function inline__P94708_mk(s) { -function controller_Controller___preUpdate__P71827(s) { +function controller_Controller___preUpdate__P1947(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12721,20 +12723,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.deadSprites___94715 = undefined; - s.svx___94716 = undefined; - s.svy___94717 = undefined; - s.svxInCricle___94752 = undefined; - s.svyInCircle___94754 = undefined; - s.sq___94756 = undefined; - s.scale___94771 = undefined; + s.deadSprites___9598 = undefined; + s.svx___9599 = undefined; + s.svy___9600 = undefined; + s.svxInCricle___9635 = undefined; + s.svyInCircle___9637 = undefined; + s.sq___9639 = undefined; + s.scale___9654 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C71803_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P71808_mk(s); + if (!checkSubtype(r0, controller_Controller__C1923_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P1928_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 174; s.pc = 18; return s.tmp_3; case 18: @@ -12750,21 +12752,21 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___94715 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___94715, false); + s.deadSprites___9598 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___9598, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___94716 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___94716, 0); + s.svx___9599 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___9599, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___94717 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___94717, 0); + s.svy___9600 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___9600, 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___94716; - s.tmp_5 = controller_Button_pressureLevel__P71793_mk(s); - s.tmp_6 = controller_Controller_right__P71813_mk(s); + s.tmp_1 = r0 = s.svx___9599; + s.tmp_5 = controller_Button_pressureLevel__P1913_mk(s); + s.tmp_6 = controller_Controller_right__P1933_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 175; s.pc = 20; return s.tmp_6; case 20: @@ -12774,8 +12776,8 @@ switch (step) { case 19: r0 = s.retval; s.tmp_4 = r0; - s.tmp_8 = controller_Button_pressureLevel__P71793_mk(s); - s.tmp_9 = controller_Controller_left__P71812_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P1913_mk(s); + s.tmp_9 = controller_Controller_left__P1932_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 177; s.pc = 22; return s.tmp_9; case 22: @@ -12790,9 +12792,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___94717; - s.tmp_4 = controller_Button_pressureLevel__P71793_mk(s); - s.tmp_5 = controller_Controller_down__P71815_mk(s); + s.tmp_0 = r0 = s.svy___9600; + s.tmp_4 = controller_Button_pressureLevel__P1913_mk(s); + s.tmp_5 = controller_Controller_down__P1935_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 179; s.pc = 24; return s.tmp_5; case 24: @@ -12802,8 +12804,8 @@ switch (step) { case 23: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = controller_Button_pressureLevel__P71793_mk(s); - s.tmp_8 = controller_Controller_up__P71814_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P1913_mk(s); + s.tmp_8 = controller_Controller_up__P1934_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 181; s.pc = 26; return s.tmp_8; case 26: @@ -12820,14 +12822,14 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 12; continue; } case 3: - s.tmp_1 = controller_Button__C71783_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P71813_mk(s); + s.tmp_1 = controller_Button__C1903_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P1933_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 183; 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__C71783_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C1903_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: @@ -12842,14 +12844,14 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C71783_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P71812_mk(s); + s.tmp_5 = controller_Button__C1903_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P1932_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 184; 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__C71783_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C1903_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: @@ -12864,18 +12866,18 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___94716; + s.tmp_8 = r0 = s.svx___9599; 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__C71783_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P71815_mk(s); + s.tmp_1 = controller_Button__C1903_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P1935_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 185; 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__C71783_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C1903_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: @@ -12890,14 +12892,14 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C71783_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P71814_mk(s); + s.tmp_5 = controller_Button__C1903_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P1934_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 186; 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__C71783_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C1903_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: @@ -12912,57 +12914,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___94717; + s.tmp_8 = r0 = s.svy___9600; 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___94752 = (r0); - s.tmp_0 = r0 = s.svxInCricle___94752; - r0 = pxsim_pxtrt_ldlocRef(s.svx___94716); + s.svxInCricle___9635 = (r0); + s.tmp_0 = r0 = s.svxInCricle___9635; + r0 = pxsim_pxtrt_ldlocRef(s.svx___9599); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___94754 = (r0); - s.tmp_0 = r0 = s.svyInCircle___94754; - r0 = pxsim_pxtrt_ldlocRef(s.svy___94717); + s.svyInCircle___9637 = (r0); + s.tmp_0 = r0 = s.svyInCircle___9637; + r0 = pxsim_pxtrt_ldlocRef(s.svy___9600); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___94716); + r0 = pxsim_pxtrt_ldlocRef(s.svx___9599); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___94716); + r0 = pxsim_pxtrt_ldlocRef(s.svx___9599); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___94717); + r0 = pxsim_pxtrt_ldlocRef(s.svy___9600); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___94717); + r0 = pxsim_pxtrt_ldlocRef(s.svy___9600); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___94756 = (r0); - r0 = (s.sq___94756 > 65536); + s.sq___9639 = (r0); + r0 = (s.sq___9639 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___94756); + r0 = (65536 / s.sq___9639); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___94771 = (r0); - s.tmp_0 = r0 = s.svxInCricle___94752; - s.tmp_3 = r0 = s.scale___94771; - r0 = pxsim_pxtrt_ldlocRef(s.svx___94716); + s.scale___9654 = (r0); + s.tmp_0 = r0 = s.svxInCricle___9635; + s.tmp_3 = r0 = s.scale___9654; + r0 = pxsim_pxtrt_ldlocRef(s.svx___9599); 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___94754; - s.tmp_3 = r0 = s.scale___94771; - r0 = pxsim_pxtrt_ldlocRef(s.svy___94717); + s.tmp_0 = r0 = s.svyInCircle___9637; + s.tmp_3 = r0 = s.scale___9654; + r0 = pxsim_pxtrt_ldlocRef(s.svy___9600); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -12971,15 +12973,15 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); case 13: case 14: - r0 = pxsim_pxtcore_mkAction(5, inline__P94789); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___94715); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___94716); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___94717); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___94752); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___94754); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P71808_mk(s); + r0 = pxsim_pxtcore_mkAction(5, inline__P9672); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___9598); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___9599); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___9600); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___9635); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___9637); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P1928_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 187; s.pc = 36; return s.tmp_2; case 36: @@ -12989,20 +12991,20 @@ switch (step) { s.callLocIdx = 195; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___94715); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___9598); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P71809_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P1929_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P69988_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P71808_mk(s); + s.tmp_2 = helpers_arrayFilter__P108_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P1928_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 196; s.pc = 39; return s.tmp_3; case 39: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P94846; + s.tmp_2.arg1 = inline__P9729; s.callLocIdx = 197; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -13017,12 +13019,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate__P71827.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__P1947.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__P71827_mk(s) { +function controller_Controller___preUpdate__P1947_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P71827, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P1947, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13034,13 +13036,13 @@ function controller_Controller___preUpdate__P71827_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___94715: undefined, - svx___94716: undefined, - svy___94717: undefined, - svxInCricle___94752: undefined, - svyInCircle___94754: undefined, - sq___94756: undefined, - scale___94771: undefined, + deadSprites___9598: undefined, + svx___9599: undefined, + svy___9600: undefined, + svxInCricle___9635: undefined, + svyInCircle___9637: undefined, + sq___9639: undefined, + scale___9654: undefined, arg0: undefined, } } @@ -13048,7 +13050,7 @@ function controller_Controller___preUpdate__P71827_mk(s) { -function inline__P94789(s) { +function inline__P9672(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13058,9 +13060,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___94792 = undefined; - s.vx___94793 = undefined; - s.vy___94794 = undefined; + s.s___9675 = undefined; + s.vx___9676 = undefined; + s.vy___9677 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -13078,7 +13080,7 @@ switch (step) { } case 22: r0 = s.retval; - s.s___94792 = (r0); + s.s___9675 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -13091,7 +13093,7 @@ switch (step) { } case 23: r0 = s.retval; - s.vx___94793 = (r0); + s.vx___9676 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -13104,8 +13106,8 @@ switch (step) { } case 24: r0 = s.retval; - s.vy___94794 = (r0); - r0 = s.s___94792.fields["flags"]; + s.vy___9677 = (r0); + r0 = s.s___9675.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -13119,14 +13121,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___94793); + r0 = pxsim_numops_toBoolDecr(s.vx___9676); if (!r0) { step = 3; continue; } - r0 = (s.s___94792).fields["_vx"] = (0); + r0 = (s.s___9675).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___94794); + r0 = pxsim_numops_toBoolDecr(s.vy___9677); if (!r0) { step = 5; continue; } - r0 = (s.s___94792).fields["_vy"] = (0); + r0 = (s.s___9675).fields["_vy"] = (0); case 5: case 6: case 7: @@ -13144,48 +13146,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___94793; + s.tmp_2 = r0 = s.vx___9676; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___94794; + r0 = s.vy___9677; 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___94792; + s.tmp_4 = r0 = s.s___9675; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___94793); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___9676); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___94792; + s.tmp_0 = r0 = s.s___9675; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___94794); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___9677); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___94793); + r0 = pxsim_numops_toBoolDecr(s.vx___9676); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___94792; + s.tmp_0 = r0 = s.s___9675; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___94793); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___9676); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___94794); + r0 = pxsim_numops_toBoolDecr(s.vy___9677); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___94792; + s.tmp_0 = r0 = s.s___9675; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___94794); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___9677); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -13202,12 +13204,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P94789.info = {"start":16077,"length":1171,"line":497,"column":44,"endLine":525,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +inline__P9672.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__P94789_mk(s) { +function inline__P9672_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P94789, depth: s.depth + 1, + parent: s, fn: inline__P9672, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13216,9 +13218,9 @@ function inline__P94789_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___94792: undefined, - vx___94793: undefined, - vy___94794: undefined, + s___9675: undefined, + vx___9676: undefined, + vy___9677: undefined, arg0: undefined, } } @@ -13226,7 +13228,7 @@ function inline__P94789_mk(s) { -function inline__P94846(s) { +function inline__P9729(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13251,12 +13253,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P94846.info = {"start":17375,"length":42,"line":529,"column":28,"endLine":529,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} +inline__P9729.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__P94846_mk(s) { +function inline__P9729_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P94846, depth: s.depth + 1, + parent: s, fn: inline__P9729, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13268,7 +13270,7 @@ function inline__P94846_mk(s) { -function controller_Controller_down__P71815(s) { +function controller_Controller_down__P1935(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13283,7 +13285,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C71803_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1923_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (4 - 1); @@ -13292,13 +13294,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_down__P71815.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__P71815.isGetter = true; +controller_Controller_down__P1935.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__P1935.isGetter = true; -function controller_Controller_down__P71815_mk(s) { +function controller_Controller_down__P1935_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P71815, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P1935, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13309,7 +13311,7 @@ function controller_Controller_down__P71815_mk(s) { -function controller_Controller_button__P74006(s) { +function controller_Controller_button__P4126(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13325,7 +13327,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C71803_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1923_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (s.arg1 - 1); @@ -13334,12 +13336,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P74006.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__P4126.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__P74006_mk(s) { +function controller_Controller_button__P4126_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P74006, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P4126, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13351,7 +13353,7 @@ function controller_Controller_button__P74006_mk(s) { -function controller_Controller_up__P71814(s) { +function controller_Controller_up__P1934(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13366,7 +13368,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C71803_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1923_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (2 - 1); @@ -13375,13 +13377,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_up__P71814.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__P71814.isGetter = true; +controller_Controller_up__P1934.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__P1934.isGetter = true; -function controller_Controller_up__P71814_mk(s) { +function controller_Controller_up__P1934_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P71814, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P1934, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13392,7 +13394,7 @@ function controller_Controller_up__P71814_mk(s) { -function controller_Controller_right__P71813(s) { +function controller_Controller_right__P1933(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13407,7 +13409,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C71803_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1923_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (3 - 1); @@ -13416,13 +13418,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_right__P71813.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__P71813.isGetter = true; +controller_Controller_right__P1933.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__P1933.isGetter = true; -function controller_Controller_right__P71813_mk(s) { +function controller_Controller_right__P1933_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P71813, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P1933, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13433,7 +13435,7 @@ function controller_Controller_right__P71813_mk(s) { -function controller_Controller_left__P71812(s) { +function controller_Controller_left__P1932(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13448,7 +13450,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C71803_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1923_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (1 - 1); @@ -13457,13 +13459,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_left__P71812.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__P71812.isGetter = true; +controller_Controller_left__P1932.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__P1932.isGetter = true; -function controller_Controller_left__P71812_mk(s) { +function controller_Controller_left__P1932_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P71812, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P1932, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13474,7 +13476,7 @@ function controller_Controller_left__P71812_mk(s) { -function controller_Controller__controlledSprites__P71809(s) { +function controller_Controller__controlledSprites__P1929(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13490,8 +13492,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C71803_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P72409_mk(s); + if (!checkSubtype(r0, controller_Controller__C1923_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P2529_mk(s); s.callLocIdx = 168; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -13504,12 +13506,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P71809.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__P1929.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__P71809_mk(s) { +function controller_Controller__controlledSprites__P1929_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P71809, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P1929, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13522,7 +13524,7 @@ function controller_Controller__controlledSprites__P71809_mk(s) { -function controller_Controller__controlledSprites__P71808(s) { +function controller_Controller__controlledSprites__P1928(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13537,8 +13539,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C71803_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P72409_mk(s); + if (!checkSubtype(r0, controller_Controller__C1923_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P2529_mk(s); s.callLocIdx = 167; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -13550,13 +13552,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P71808.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__P71808.isGetter = true; +controller_Controller__controlledSprites__P1928.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__P1928.isGetter = true; -function controller_Controller__controlledSprites__P71808_mk(s) { +function controller_Controller__controlledSprites__P1928_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P71808, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P1928, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13568,7 +13570,7 @@ function controller_Controller__controlledSprites__P71808_mk(s) { -function controller_Button_pressureLevel__P71793(s) { +function controller_Button_pressureLevel__P1913(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13583,16 +13585,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C71783_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1903_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__C71783_v0_1_mk(s); + s.tmp_3 = controller_Button__C1903_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C71783_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C1903_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: @@ -13621,12 +13623,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_pressureLevel__P71793.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__P1913.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__P71793_mk(s) { +function controller_Button_pressureLevel__P1913_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P71793, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P1913, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13641,7 +13643,7 @@ function controller_Button_pressureLevel__P71793_mk(s) { -function controller_Button_isPressed__P71792(s) { +function controller_Button_isPressed__P1912(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13656,17 +13658,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C71783_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1903_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -controller_Button_isPressed__P71792.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__P1912.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__P71792_mk(s) { +function controller_Button_isPressed__P1912_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P71792, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P1912, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13675,7 +13677,7 @@ function controller_Button_isPressed__P71792_mk(s) { -function Fx_imul__P70036(s) { +function Fx_imul__P156(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13694,12 +13696,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_imul__P70036.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__P156.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__P70036_mk(s) { +function Fx_imul__P156_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P70036, depth: s.depth + 1, + parent: s, fn: Fx_imul__P156, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -13709,7 +13711,7 @@ function Fx_imul__P70036_mk(s) { -function power_checkDeepSleep__P71586(s) { +function power_checkDeepSleep__P1706(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13719,13 +13721,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___94108 = undefined; - s.to___94111 = undefined; - s.tmp_0 = power_init__P73905_mk(s); + s.p___8769 = undefined; + s.to___8772 = undefined; + s.tmp_0 = power_init__P4025_mk(s); s.callLocIdx = 86; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___73903; + s.tmp_0 = r0 = globals._poked___4023; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -13735,8 +13737,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___94108 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___73904; + s.p___8769 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___4024; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -13746,8 +13748,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___94111 = (s.tmp_1); - r0 = (s.to___94111 > 0); + s.to___8772 = (s.tmp_1); + r0 = (s.to___8772 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -13756,9 +13758,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___94108); + r0 = (s.tmp_2 - s.p___8769); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___94111); + r0 = (s.tmp_1 > s.to___8772); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -13784,12 +13786,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_checkDeepSleep__P71586.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P1706.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__P71586_mk(s) { +function power_checkDeepSleep__P1706_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P71586, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P1706, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13798,15 +13800,15 @@ function power_checkDeepSleep__P71586_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___94108: undefined, - to___94111: undefined, + p___8769: undefined, + to___8772: undefined, } } -function power_init__P73905(s) { +function power_init__P4025(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13816,7 +13818,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals._timeout___73904 !== undefined); + r0 = (globals._timeout___4024 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -13826,21 +13828,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___73904 = (r0); - r0 = (globals._timeout___73904 > 0); + globals._timeout___4024 = (r0); + r0 = (globals._timeout___4024 > 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___73904 < 300000); + r0 = (globals._timeout___4024 < 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___73904 = (300000); + globals._timeout___4024 = (300000); case 5: case 6: case 7: @@ -13848,12 +13850,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P73905.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P4025.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__P73905_mk(s) { +function power_init__P4025_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P73905, depth: s.depth + 1, + parent: s, fn: power_init__P4025, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13863,7 +13865,7 @@ function power_init__P73905_mk(s) { -function power_poke__P71585(s) { +function power_poke__P1705(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13873,22 +13875,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = power_init__P73905_mk(s); + s.tmp_0 = power_init__P4025_mk(s); s.callLocIdx = 85; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___73903 = (r0); + globals._poked___4023 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -power_poke__P71585.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P1705.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__P71585_mk(s) { +function power_poke__P1705_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P71585, depth: s.depth + 1, + parent: s, fn: power_poke__P1705, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -13897,7 +13899,7 @@ function power_poke__P71585_mk(s) { -function control_EventContext_deltaTime__P70269(s) { +function control_EventContext_deltaTime__P389(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13912,20 +13914,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C70264_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C384_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__P70269.info = {"start":1995,"length":75,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} -control_EventContext_deltaTime__P70269.isGetter = true; +control_EventContext_deltaTime__P389.info = {"start":1995,"length":75,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} +control_EventContext_deltaTime__P389.isGetter = true; -function control_EventContext_deltaTime__P70269_mk(s) { +function control_EventContext_deltaTime__P389_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P70269, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P389, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13935,7 +13937,7 @@ function control_EventContext_deltaTime__P70269_mk(s) { -function scene_Scene_constructor__P72317(s) { +function scene_Scene_constructor__P2437(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13952,36 +13954,36 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C72296_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2416_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__C72053_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C2173_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P72054_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P2174_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; s.tmp_1.arg3 = 4; - s.callLocIdx = 814; s.pc = 1; return s.tmp_1; + s.callLocIdx = 812; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C72237_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C2357_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P72241_mk(s); + s.tmp_1 = scene_Camera_constructor__P2361_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 815; s.pc = 2; return s.tmp_1; + s.callLocIdx = 813; 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__C72145_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C2265_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P72149_mk(s); + s.tmp_1 = scene_Background_constructor__P2269_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 816; s.pc = 3; return s.tmp_1; + s.callLocIdx = 814; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["background"] = (s.tmp_0); @@ -14034,12 +14036,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_constructor__P72317.info = {"start":3365,"length":793,"line":102,"column":8,"endLine":120,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} +scene_Scene_constructor__P2437.info = {"start":3365,"length":793,"line":102,"column":8,"endLine":120,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} -function scene_Scene_constructor__P72317_mk(s) { +function scene_Scene_constructor__P2437_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P72317, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P2437, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14052,7 +14054,7 @@ function scene_Scene_constructor__P72317_mk(s) { -function scene_Camera_constructor__P72241(s) { +function scene_Camera_constructor__P2361(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14067,7 +14069,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C72237_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2357_VT)) failedCast(r0); r0 = (s.arg0).fields["_offsetX"] = (0); r0 = (s.arg0).fields["_offsetY"] = (0); r0 = (s.arg0).fields["drawOffsetX"] = (0); @@ -14076,12 +14078,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_constructor__P72241.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__P2361.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__P72241_mk(s) { +function scene_Camera_constructor__P2361_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P72241, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P2361, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -14090,7 +14092,7 @@ function scene_Camera_constructor__P72241_mk(s) { -function scene_Background_constructor__P72149(s) { +function scene_Background_constructor__P2269(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14106,7 +14108,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C72145_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C2265_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (0); r0 = (s.arg0).fields["camera"] = (s.arg1); s.tmp_0 = r0 = s.arg0; @@ -14117,12 +14119,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_constructor__P72149.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__P2269.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__P72149_mk(s) { +function scene_Background_constructor__P2269_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P72149, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P2269, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14134,7 +14136,7 @@ function scene_Background_constructor__P72149_mk(s) { -function ArcadePhysicsEngine_constructor__P72054(s) { +function ArcadePhysicsEngine_constructor__P2174(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14152,33 +14154,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_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__C71974_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C2094_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P71975_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P2095_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 503; 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__P72056_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P2176_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 504; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_maxStep__P72060_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P2180_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 505; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_minStep__P72058_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P2178_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 506; s.pc = 4; return s.tmp_0; @@ -14188,12 +14190,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constructor__P72054.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__P2174.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__P72054_mk(s) { +function ArcadePhysicsEngine_constructor__P2174_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P72054, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P2174, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14207,7 +14209,7 @@ function ArcadePhysicsEngine_constructor__P72054_mk(s) { -function ArcadePhysicsEngine_maxStep__P72060(s) { +function ArcadePhysicsEngine_maxStep__P2180(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14223,7 +14225,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -14234,12 +14236,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P72060.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__P2180.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__P72060_mk(s) { +function ArcadePhysicsEngine_maxStep__P2180_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P72060, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P2180, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14252,7 +14254,7 @@ function ArcadePhysicsEngine_maxStep__P72060_mk(s) { -function ArcadePhysicsEngine_maxStep__P72059(s) { +function ArcadePhysicsEngine_maxStep__P2179(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14267,7 +14269,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_VT)) failedCast(r0); r0 = s.arg0.fields["maxSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -14276,13 +14278,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P72059.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__P72059.isGetter = true; +ArcadePhysicsEngine_maxStep__P2179.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__P2179.isGetter = true; -function ArcadePhysicsEngine_maxStep__P72059_mk(s) { +function ArcadePhysicsEngine_maxStep__P2179_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P72059, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P2179, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14293,7 +14295,7 @@ function ArcadePhysicsEngine_maxStep__P72059_mk(s) { -function Fx_toInt__P70045(s) { +function Fx_toInt__P165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14313,12 +14315,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toInt__P70045.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__P165.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__P70045_mk(s) { +function Fx_toInt__P165_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P70045, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14328,7 +14330,7 @@ function Fx_toInt__P70045_mk(s) { -function ArcadePhysicsEngine_minStep__P72058(s) { +function ArcadePhysicsEngine_minStep__P2178(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14344,7 +14346,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -14355,12 +14357,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P72058.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__P2178.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__P72058_mk(s) { +function ArcadePhysicsEngine_minStep__P2178_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P72058, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P2178, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14373,7 +14375,7 @@ function ArcadePhysicsEngine_minStep__P72058_mk(s) { -function ArcadePhysicsEngine_minStep__P72057(s) { +function ArcadePhysicsEngine_minStep__P2177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14388,7 +14390,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_VT)) failedCast(r0); r0 = s.arg0.fields["minSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -14397,13 +14399,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P72057.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__P72057.isGetter = true; +ArcadePhysicsEngine_minStep__P2177.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__P2177.isGetter = true; -function ArcadePhysicsEngine_minStep__P72057_mk(s) { +function ArcadePhysicsEngine_minStep__P2177_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P72057, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P2177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14414,7 +14416,7 @@ function ArcadePhysicsEngine_minStep__P72057_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P72056(s) { +function ArcadePhysicsEngine_maxSpeed__P2176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14430,7 +14432,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -14447,12 +14449,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P72056.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__P2176.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__P72056_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P2176_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P72056, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P2176, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14465,7 +14467,7 @@ function ArcadePhysicsEngine_maxSpeed__P72056_mk(s) { -function Fx_neg__P70030(s) { +function Fx_neg__P150(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14483,12 +14485,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_neg__P70030.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__P150.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__P70030_mk(s) { +function Fx_neg__P150_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P70030, depth: s.depth + 1, + parent: s, fn: Fx_neg__P150, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -14497,7 +14499,7 @@ function Fx_neg__P70030_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P72055(s) { +function ArcadePhysicsEngine_maxSpeed__P2175(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14512,7 +14514,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_VT)) failedCast(r0); r0 = s.arg0.fields["maxVelocity"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -14521,13 +14523,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P72055.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__P72055.isGetter = true; +ArcadePhysicsEngine_maxSpeed__P2175.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__P2175.isGetter = true; -function ArcadePhysicsEngine_maxSpeed__P72055_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P2175_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P72055, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P2175, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14538,7 +14540,7 @@ function ArcadePhysicsEngine_maxSpeed__P72055_mk(s) { -function PhysicsEngine_constructor__P72040(s) { +function PhysicsEngine_constructor__P2160(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14553,17 +14555,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C72039_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2159_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_constructor__P72040.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__P2160.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__P72040_mk(s) { +function PhysicsEngine_constructor__P2160_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P72040, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P2160, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -14572,7 +14574,7 @@ function PhysicsEngine_constructor__P72040_mk(s) { -function sprites_SpriteMap_constructor__P71975(s) { +function sprites_SpriteMap_constructor__P2095(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14587,7 +14589,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C71974_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C2094_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -14596,12 +14598,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_constructor__P71975.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__P2095.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__P71975_mk(s) { +function sprites_SpriteMap_constructor__P2095_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P71975, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P2095, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14612,7 +14614,7 @@ function sprites_SpriteMap_constructor__P71975_mk(s) { -function music_Melody_constructor__P71481(s) { +function music_Melody_constructor__P1601(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14628,18 +14630,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C71478_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C1598_VT)) failedCast(r0); r0 = (s.arg0).fields["_text"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_constructor__P71481.info = {"start":6328,"length":67,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} +music_Melody_constructor__P1601.info = {"start":6328,"length":67,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} -function music_Melody_constructor__P71481_mk(s) { +function music_Melody_constructor__P1601_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_constructor__P71481, depth: s.depth + 1, + parent: s, fn: music_Melody_constructor__P1601, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -14649,7 +14651,7 @@ function music_Melody_constructor__P71481_mk(s) { -function control_pushEventContext__P70278(s) { +function control_pushEventContext__P398(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14659,63 +14661,63 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___95113 = undefined; - s.n___95119 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___73846); + s.ctx___10038 = undefined; + s.n___10044 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___3966); 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___73846 = (r0); + globals.eventContexts___3966 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P70277_mk(s); + s.tmp_0 = control_eventContext__P397_mk(s); s.callLocIdx = 66; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___95113 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___95113); + s.ctx___10038 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___10038); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P70271_mk(s); - s.tmp_0.arg0 = s.ctx___95113; + s.tmp_0 = control_EventContext_unregister__P391_mk(s); + s.tmp_0.arg0 = s.ctx___10038; s.callLocIdx = 67; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C70264_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C384_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P70268_mk(s); + s.tmp_1 = control_EventContext_constructor__P388_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 68; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___95119 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___73846, s.n___95119); - r0 = s.n___95119; + s.n___10044 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___3966, s.n___10044); + r0 = s.n___10044; return leave(s, r0) default: oops() } } } -control_pushEventContext__P70278.info = {"start":7021,"length":340,"line":213,"column":4,"endLine":224,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +control_pushEventContext__P398.info = {"start":7021,"length":340,"line":213,"column":4,"endLine":224,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} -function control_pushEventContext__P70278_mk(s) { +function control_pushEventContext__P398_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P70278, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P398, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___95113: undefined, - n___95119: undefined, + ctx___10038: undefined, + n___10044: undefined, } } -function control_EventContext_unregister__P70271(s) { +function control_EventContext_unregister__P391(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14725,37 +14727,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___95145 = undefined; - s.unnamed132___U1 = undefined; - s.unnamed133___U2 = undefined; + s.h___10070 = 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__C70264_VT)) failedCast(r0); - s.h___95145 = (undefined); + if (!checkSubtype(r0, control_EventContext__C384_VT)) failedCast(r0); + s.h___10070 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed132___U1 = (r0); - s.unnamed133___U2 = (0); + s.unnamed52___U1 = (r0); + s.unnamed53___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed133___U2; - r0 = pxsim_Array__length(s.unnamed132___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.unnamed132___U1, s.unnamed133___U2); - s.h___95145 = (r0); - s.tmp_2 = control_EventHandler_unregister__P73840_mk(s); - s.tmp_2.arg0 = s.h___95145; + r0 = pxsim_Array__getAt(s.unnamed52___U1, s.unnamed53___U2); + s.h___10070 = (r0); + s.tmp_2 = control_EventHandler_unregister__P3960_mk(s); + s.tmp_2.arg0 = s.h___10070; s.callLocIdx = 62; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed133___U2 + 1); - s.unnamed133___U2 = (r0); + r0 = (s.unnamed53___U2 + 1); + s.unnamed53___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed132___U1 = (undefined); + s.unnamed52___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -14766,19 +14768,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_unregister__P70271.info = {"start":4432,"length":131,"line":134,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} +control_EventContext_unregister__P391.info = {"start":4432,"length":131,"line":134,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} -function control_EventContext_unregister__P70271_mk(s) { +function control_EventContext_unregister__P391_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P70271, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P391, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___95145: undefined, - unnamed132___U1: undefined, - unnamed133___U2: undefined, + h___10070: undefined, + unnamed52___U1: undefined, + unnamed53___U2: undefined, arg0: undefined, } } @@ -14786,7 +14788,7 @@ function control_EventContext_unregister__P70271_mk(s) { -function control_EventHandler_unregister__P73840(s) { +function control_EventHandler_unregister__P3960(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14801,24 +14803,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C73838_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C3958_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__P73842, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P3962, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P73840.info = {"start":1136,"length":106,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} +control_EventHandler_unregister__P3960.info = {"start":1136,"length":106,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} -function control_EventHandler_unregister__P73840_mk(s) { +function control_EventHandler_unregister__P3960_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P73840, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P3960, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14830,7 +14832,7 @@ function control_EventHandler_unregister__P73840_mk(s) { -function control_doNothing__P73842(s) { +function control_doNothing__P3962(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14844,12 +14846,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P73842.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P3962.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} -function control_doNothing__P73842_mk(s) { +function control_doNothing__P3962_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P73842, depth: s.depth + 1, + parent: s, fn: control_doNothing__P3962, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -14857,7 +14859,7 @@ function control_doNothing__P73842_mk(s) { -function control_EventContext_constructor__P70268(s) { +function control_EventContext_constructor__P388(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14872,7 +14874,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C70264_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C384_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -14886,12 +14888,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_constructor__P70268.info = {"start":1740,"length":245,"line":58,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} +control_EventContext_constructor__P388.info = {"start":1740,"length":245,"line":58,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} -function control_EventContext_constructor__P70268_mk(s) { +function control_EventContext_constructor__P388_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P70268, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P388, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14902,7 +14904,7 @@ function control_EventContext_constructor__P70268_mk(s) { -function image_getFontForText__P71627(s) { +function image_getFontForText__P1747(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14912,52 +14914,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___91959 = undefined; + s.i___7071 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___91959 = (0); + s.i___7071 = (0); case 1: - s.tmp_1 = r0 = s.i___91959; + s.tmp_1 = r0 = s.i___7071; 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___91959); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___7071); 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___71626; + r0 = globals.font12___1746; { step = 5; continue; } case 2: case 3: - r0 = (s.i___91959 + 1); - s.i___91959 = (r0); + r0 = (s.i___7071 + 1); + s.i___7071 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___71625; + r0 = globals.font8___1745; case 5: return leave(s, r0) default: oops() } } } -image_getFontForText__P71627.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__P1747.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__P71627_mk(s) { +function image_getFontForText__P1747_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P71627, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P1747, depth: s.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___91959: undefined, + i___7071: undefined, arg0: undefined, } } @@ -14965,7 +14967,7 @@ function image_getFontForText__P71627_mk(s) { -function helpers_imageDrawLine__P71610(s) { +function helpers_imageDrawLine__P1730(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14985,14 +14987,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P73914_mk(s); + s.tmp_2 = helpers_pack__P4034_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 92; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P73914_mk(s); + s.tmp_4 = helpers_pack__P4034_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 93; s.pc = 2; return s.tmp_4; @@ -15004,12 +15006,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawLine__P71610.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__P1730.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__P71610_mk(s) { +function helpers_imageDrawLine__P1730_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P71610, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P1730, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15028,7 +15030,7 @@ function helpers_imageDrawLine__P71610_mk(s) { -function helpers_pack__P73914(s) { +function helpers_pack__P4034(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15043,7 +15045,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = Math_clamp__P70002_mk(s); + s.tmp_2 = Math_clamp__P122_mk(s); s.tmp_2.arg0 = -30000; s.tmp_2.arg1 = 30000; r0 = (s.arg0 | 0); @@ -15054,7 +15056,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 & 65535); s.tmp_0 = r0; - s.tmp_5 = Math_clamp__P70002_mk(s); + s.tmp_5 = Math_clamp__P122_mk(s); s.tmp_5.arg0 = -30000; s.tmp_5.arg1 = 30000; r0 = (s.arg1 | 0); @@ -15069,12 +15071,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P73914.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__P4034.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__P73914_mk(s) { +function helpers_pack__P4034_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P73914, depth: s.depth + 1, + parent: s, fn: helpers_pack__P4034, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15090,7 +15092,7 @@ function helpers_pack__P73914_mk(s) { -function Sprite_setFlag__P71959(s) { +function Sprite_setFlag__P2079(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15107,7 +15109,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -15142,7 +15144,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 5; continue; } - s.tmp_2 = Sprite_setFlag__P71959_mk(s); + s.tmp_2 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 512; @@ -15156,12 +15158,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setFlag__P71959.info = {"start":23807,"length":292,"line":731,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} +Sprite_setFlag__P2079.info = {"start":23807,"length":292,"line":731,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} -function Sprite_setFlag__P71959_mk(s) { +function Sprite_setFlag__P2079_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P71959, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P2079, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15177,7 +15179,7 @@ function Sprite_setFlag__P71959_mk(s) { -function tileworld_Project_getWorldBackgrounds__P73573(s) { +function tileworld_Project_getWorldBackgrounds__P3693(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15192,17 +15194,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = s.arg0.fields["_backgrounds"]; return leave(s, r0) default: oops() } } } -tileworld_Project_getWorldBackgrounds__P73573.info = {"start":2871,"length":78,"line":83,"column":8,"endLine":85,"endColumn":9,"fileName":"project.ts","functionName":"getWorldBackgrounds","argumentNames":["this"]} +tileworld_Project_getWorldBackgrounds__P3693.info = {"start":2871,"length":78,"line":83,"column":8,"endLine":85,"endColumn":9,"fileName":"project.ts","functionName":"getWorldBackgrounds","argumentNames":["this"]} -function tileworld_Project_getWorldBackgrounds__P73573_mk(s) { +function tileworld_Project_getWorldBackgrounds__P3693_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getWorldBackgrounds__P73573, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getWorldBackgrounds__P3693, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15211,7 +15213,7 @@ function tileworld_Project_getWorldBackgrounds__P73573_mk(s) { -function tileworld_RuleVisualsBase_drawImage__P82568(s) { +function tileworld_RuleVisualsBase_drawImage__P6303(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15229,8 +15231,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___71682; + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C3789_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___1802; s.tmp_1 = r0 = s.arg3; r0 = (s.arg1 << 4); s.tmp_2 = r0; @@ -15243,12 +15245,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_drawImage__P82568.info = {"start":4359,"length":136,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawImage","argumentNames":["this","c","r","img"]} +tileworld_RuleVisualsBase_drawImage__P6303.info = {"start":4359,"length":136,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawImage","argumentNames":["this","c","r","img"]} -function tileworld_RuleVisualsBase_drawImage__P82568_mk(s) { +function tileworld_RuleVisualsBase_drawImage__P6303_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_drawImage__P82568, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_drawImage__P6303, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15265,7 +15267,7 @@ function tileworld_RuleVisualsBase_drawImage__P82568_mk(s) { -function helpers_imagePrint__P71640(s) { +function helpers_imagePrint__P1760(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15275,31 +15277,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___96387 = undefined; - s.cp___96389 = undefined; - s.mult___96390 = undefined; - s.dataW___96395 = undefined; - s.dataH___96401 = undefined; - s.byteHeight___96407 = undefined; - s.charSize___96413 = undefined; - s.dataSize___96417 = undefined; - s.fontdata___96421 = undefined; - s.lastchar___96424 = undefined; - s.imgBuf___96431 = undefined; - s.xOffset___96455 = undefined; - s.yOffset___96456 = undefined; - s.ch___96471 = undefined; - s.l___96490 = undefined; - s.r___96491 = undefined; - s.off___96493 = undefined; - s.guess___96494 = undefined; - s.m___96513 = undefined; - s.v___96522 = undefined; - s.i___96578 = undefined; - s.j___96583 = undefined; - s.mask___96584 = undefined; - s.c___96585 = undefined; - s.n___96602 = undefined; + s.x0___10307 = undefined; + s.cp___10309 = undefined; + s.mult___10310 = undefined; + s.dataW___10315 = undefined; + s.dataH___10321 = undefined; + s.byteHeight___10327 = undefined; + s.charSize___10333 = undefined; + s.dataSize___10337 = undefined; + s.fontdata___10341 = undefined; + s.lastchar___10344 = undefined; + s.imgBuf___10351 = undefined; + s.xOffset___10375 = undefined; + s.yOffset___10376 = undefined; + s.ch___10391 = undefined; + s.l___10410 = undefined; + s.r___10411 = undefined; + s.off___10413 = undefined; + s.guess___10414 = undefined; + s.m___10433 = undefined; + s.v___10442 = undefined; + s.i___10498 = undefined; + s.j___10503 = undefined; + s.mask___10504 = undefined; + s.c___10505 = undefined; + s.n___10522 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -15320,7 +15322,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P71627_mk(s); + s.tmp_2 = image_getFontForText__P1747_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 108; s.pc = 39; return s.tmp_2; case 39: @@ -15337,8 +15339,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___96387 = (s.arg2); - s.cp___96389 = (0); + s.x0___10307 = (s.arg2); + s.cp___10309 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -15372,7 +15374,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___96390 = (s.tmp_3); + s.mult___10310 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -15386,8 +15388,8 @@ switch (step) { case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___96390); - s.dataW___96395 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___10310); + s.dataW___10315 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -15401,16 +15403,16 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___96390); - s.dataH___96401 = (r0); - r0 = (s.dataH___96401 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___10310); + s.dataH___10321 = (r0); + r0 = (s.dataH___10321 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___96407 = (r0); - r0 = (s.byteHeight___96407 * s.dataW___96395); - s.charSize___96413 = (r0); - r0 = (2 + s.charSize___96413); - s.dataSize___96417 = (r0); + s.byteHeight___10327 = (r0); + r0 = (s.byteHeight___10327 * s.dataW___10315); + s.charSize___10333 = (r0); + r0 = (2 + s.charSize___10333); + s.dataSize___10337 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -15423,44 +15425,44 @@ switch (step) { } case 44: r0 = s.retval; - s.fontdata___96421 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___96421); + s.fontdata___10341 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___10341); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___96417); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___10337); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___96424 = (r0); - r0 = (s.mult___96390 == 1); + s.lastchar___10344 = (r0); + r0 = (s.mult___10310 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___96413); + r0 = (8 + s.charSize___10333); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___96431 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___96431, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___96431, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___96431, 2, s.dataW___96395); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___96431, 4, s.dataH___96401); + s.imgBuf___10351 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___10351, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___10351, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___10351, 2, s.dataW___10315); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___10351, 4, s.dataH___10321); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___96389; + s.tmp_1 = r0 = s.cp___10309; 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___96455 = (0); - s.yOffset___96456 = (0); + s.xOffset___10375 = (0); + s.yOffset___10376 = (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___96389; + s.tmp_1 = r0 = s.cp___10309; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -15470,7 +15472,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___96389); + r0 = pxsim_Array__getAt(s.arg6, s.cp___10309); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -15482,9 +15484,9 @@ switch (step) { } case 45: r0 = s.retval; - s.xOffset___96455 = (r0); + s.xOffset___10375 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___96389); + r0 = pxsim_Array__getAt(s.arg6, s.cp___10309); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -15496,15 +15498,15 @@ switch (step) { } case 46: r0 = s.retval; - s.yOffset___96456 = (r0); + s.yOffset___10376 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___96389; + s.tmp_0 = r0 = s.cp___10309; r0 = (s.tmp_0 + 1); - s.cp___96389 = (r0); + s.cp___10309 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___96471 = (r0); - r0 = (s.ch___96471 == 10); + s.ch___10391 = (r0); + r0 = (s.ch___10391 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -15526,89 +15528,89 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___96387); + s.arg2 = (s.x0___10307); case 14: case 15: - r0 = (s.ch___96471 < 32); + r0 = (s.ch___10391 < 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___96490 = (0); - s.r___96491 = (s.lastchar___96424); - s.off___96493 = (0); - r0 = (s.ch___96471 - 32); + s.l___10410 = (0); + s.r___10411 = (s.lastchar___10344); + s.off___10413 = (0); + r0 = (s.ch___10391 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___96417); - s.guess___96494 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___96421, 4, s.guess___96494); + r0 = (s.tmp_0 * s.dataSize___10337); + s.guess___10414 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___10341, 4, s.guess___10414); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___96471); + r0 = (s.tmp_1 == s.ch___10391); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___96493 = (s.guess___96494); + s.off___10413 = (s.guess___10414); { step = 25; continue; } case 18: case 19: - r0 = (s.l___96490 <= s.r___96491); + r0 = (s.l___10410 <= s.r___10411); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___96490; - r0 = (s.r___96491 - s.l___96490); + s.tmp_1 = r0 = s.l___10410; + r0 = (s.r___10411 - s.l___10410); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___96513 = (r0); - s.tmp_0 = r0 = s.fontdata___96421; - r0 = (s.m___96513 * s.dataSize___96417); + s.m___10433 = (r0); + s.tmp_0 = r0 = s.fontdata___10341; + r0 = (s.m___10433 * s.dataSize___10337); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___96522 = (r0); - r0 = (s.v___96522 == s.ch___96471); + s.v___10442 = (r0); + r0 = (s.v___10442 == s.ch___10391); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___96513 * s.dataSize___96417); - s.off___96493 = (r0); + r0 = (s.m___10433 * s.dataSize___10337); + s.off___10413 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___96522 < s.ch___96471); + r0 = (s.v___10442 < s.ch___10391); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___96513 + 1); - s.l___96490 = (r0); + r0 = (s.m___10433 + 1); + s.l___10410 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___96513 - 1); - s.r___96491 = (r0); + r0 = (s.m___10433 - 1); + s.r___10411 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___96390 == 1); + r0 = (s.mult___10310 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___96431; - s.tmp_3 = r0 = s.fontdata___96421; - r0 = (s.off___96493 + 2); + s.tmp_1 = r0 = s.imgBuf___10351; + s.tmp_3 = r0 = s.fontdata___10341; + r0 = (s.off___10413 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___96413); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___10333); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P71607_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P1727_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___96431; - r0 = (s.arg2 + s.xOffset___96455); + s.tmp_0.arg1 = s.imgBuf___10351; + r0 = (s.arg2 + s.xOffset___10375); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___96456); + r0 = (s.arg3 + s.yOffset___10376); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; s.callLocIdx = 117; s.pc = 48; return s.tmp_0; @@ -15632,88 +15634,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___96493 + 2); - s.off___96493 = (r0); - s.i___96578 = (0); + r0 = (s.off___10413 + 2); + s.off___10413 = (r0); + s.i___10498 = (0); case 27: - r0 = (s.i___96578 < s.dataW___96395); + r0 = (s.i___10498 < s.dataW___10315); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___96583 = (0); - s.mask___96584 = (1); - s.tmp_0 = r0 = s.off___96493; + s.j___10503 = (0); + s.mask___10504 = (1); + s.tmp_0 = r0 = s.off___10413; r0 = (s.tmp_0 + 1); - s.off___96493 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___96421, s.tmp_0); - s.c___96585 = (r0); + s.off___10413 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___10341, s.tmp_0); + s.c___10505 = (r0); case 28: - r0 = (s.j___96583 < s.dataH___96401); + r0 = (s.j___10503 < s.dataH___10321); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___96584 == 256); + r0 = (s.mask___10504 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___96493; + s.tmp_2 = r0 = s.off___10413; r0 = (s.tmp_2 + 1); - s.off___96493 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___96421, s.tmp_2); - s.c___96585 = (r0); - s.mask___96584 = (1); + s.off___10413 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___10341, s.tmp_2); + s.c___10505 = (r0); + s.mask___10504 = (1); case 29: case 30: - s.n___96602 = (0); + s.n___10522 = (0); case 31: - r0 = (s.c___96585 & s.mask___96584); + r0 = (s.c___10505 & s.mask___10504); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___96602 + 1); - s.n___96602 = (r0); - r0 = (s.mask___96584 << 1); - s.mask___96584 = (r0); + r0 = (s.n___10522 + 1); + s.n___10522 = (r0); + r0 = (s.mask___10504 << 1); + s.mask___10504 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___96602); + r0 = pxsim_numops_toBoolDecr(s.n___10522); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___96455 * s.mult___96390); + r0 = (s.xOffset___10375 * s.mult___10310); 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___96583 + s.yOffset___96456); + r0 = (s.j___10503 + s.yOffset___10376); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___96390); + r0 = (s.tmp_5 * s.mult___10310); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___96390; - r0 = (s.mult___96390 * s.n___96602); + s.tmp_0.arg3 = s.mult___10310; + r0 = (s.mult___10310 * s.n___10522); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg4; s.callLocIdx = 119; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - r0 = (s.j___96583 + s.n___96602); - s.j___96583 = (r0); + r0 = (s.j___10503 + s.n___10522); + s.j___10503 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___96584 << 1); - s.mask___96584 = (r0); - r0 = (s.j___96583 + 1); - s.j___96583 = (r0); + r0 = (s.mask___10504 << 1); + s.mask___10504 = (r0); + r0 = (s.j___10503 + 1); + s.j___10503 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___96390); + r0 = (s.arg2 + s.mult___10310); s.arg2 = (r0); - r0 = (s.i___96578 + 1); - s.i___96578 = (r0); + r0 = (s.i___10498 + 1); + s.i___10498 = (r0); { step = 27; continue; } case 36: case 37: @@ -15723,12 +15725,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrint__P71640.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__P1760.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__P71640_mk(s) { +function helpers_imagePrint__P1760_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P71640, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P1760, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15736,31 +15738,31 @@ function helpers_imagePrint__P71640_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___96387: undefined, - cp___96389: undefined, - mult___96390: undefined, - dataW___96395: undefined, - dataH___96401: undefined, - byteHeight___96407: undefined, - charSize___96413: undefined, - dataSize___96417: undefined, - fontdata___96421: undefined, - lastchar___96424: undefined, - imgBuf___96431: undefined, - xOffset___96455: undefined, - yOffset___96456: undefined, - ch___96471: undefined, - l___96490: undefined, - r___96491: undefined, - off___96493: undefined, - guess___96494: undefined, - m___96513: undefined, - v___96522: undefined, - i___96578: undefined, - j___96583: undefined, - mask___96584: undefined, - c___96585: undefined, - n___96602: undefined, + x0___10307: undefined, + cp___10309: undefined, + mult___10310: undefined, + dataW___10315: undefined, + dataH___10321: undefined, + byteHeight___10327: undefined, + charSize___10333: undefined, + dataSize___10337: undefined, + fontdata___10341: undefined, + lastchar___10344: undefined, + imgBuf___10351: undefined, + xOffset___10375: undefined, + yOffset___10376: undefined, + ch___10391: undefined, + l___10410: undefined, + r___10411: undefined, + off___10413: undefined, + guess___10414: undefined, + m___10433: undefined, + v___10442: undefined, + i___10498: undefined, + j___10503: undefined, + mask___10504: undefined, + c___10505: undefined, + n___10522: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15774,7 +15776,7 @@ function helpers_imagePrint__P71640_mk(s) { -function helpers_imageDrawIcon__P71607(s) { +function helpers_imageDrawIcon__P1727(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15794,7 +15796,7 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P73914_mk(s); + s.tmp_3 = helpers_pack__P4034_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; s.callLocIdx = 89; s.pc = 1; return s.tmp_3; @@ -15806,12 +15808,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawIcon__P71607.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__P1727.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__P71607_mk(s) { +function helpers_imageDrawIcon__P1727_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P71607, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P1727, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15828,7 +15830,7 @@ function helpers_imageDrawIcon__P71607_mk(s) { -function helpers_imageFillRect__P71608(s) { +function helpers_imageFillRect__P1728(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15848,14 +15850,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P73914_mk(s); + s.tmp_2 = helpers_pack__P4034_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 90; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P73914_mk(s); + s.tmp_4 = helpers_pack__P4034_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 91; s.pc = 2; return s.tmp_4; @@ -15867,12 +15869,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageFillRect__P71608.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__P1728.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__P71608_mk(s) { +function helpers_imageFillRect__P1728_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P71608, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P1728, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15891,7 +15893,7 @@ function helpers_imageFillRect__P71608_mk(s) { -function tileworld_Project_saveHelp__P73589(s) { +function tileworld_Project_saveHelp__P3709(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15906,7 +15908,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = s.arg0.fields["help"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -15918,7 +15920,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = settings_writeNumber__P71709_mk(s); + s.tmp_2 = settings_writeNumber__P1829_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_4 = r0; if ((s.tmp_4) && (s.tmp_4).vtable) { @@ -15930,12 +15932,12 @@ switch (step) { case 4: r0 = s.retval; s.tmp_3 = r0; - if ((globals.HelpKey___78227) && (globals.HelpKey___78227).vtable) { + if ((globals.HelpKey___6007) && (globals.HelpKey___6007).vtable) { setupResume(s, 5); - pxsim_String__stringConv(globals.HelpKey___78227); + pxsim_String__stringConv(globals.HelpKey___6007); checkResumeConsumed(); return; - } else { s.retval = (globals.HelpKey___78227) + ""; } + } else { s.retval = (globals.HelpKey___6007) + ""; } case 5: r0 = s.retval; s.tmp_5 = r0; @@ -15949,12 +15951,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_saveHelp__P73589.info = {"start":5551,"length":103,"line":157,"column":8,"endLine":159,"endColumn":9,"fileName":"project.ts","functionName":"saveHelp","argumentNames":["this"]} +tileworld_Project_saveHelp__P3709.info = {"start":5551,"length":103,"line":157,"column":8,"endLine":159,"endColumn":9,"fileName":"project.ts","functionName":"saveHelp","argumentNames":["this"]} -function tileworld_Project_saveHelp__P73589_mk(s) { +function tileworld_Project_saveHelp__P3709_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_saveHelp__P73589, depth: s.depth + 1, + parent: s, fn: tileworld_Project_saveHelp__P3709, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15969,7 +15971,7 @@ function tileworld_Project_saveHelp__P73589_mk(s) { -function settings_writeNumber__P71709(s) { +function settings_writeNumber__P1829(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15987,9 +15989,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__P71707_mk(s); + s.tmp_1 = settings_writeBuffer__P1827_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P70057_mk(s); + s.tmp_2 = msgpack_packNumberArray__P177_mk(s); s.tmp_2.arg0 = s.tmp_0; s.callLocIdx = 133; s.pc = 2; return s.tmp_2; case 2: @@ -16002,12 +16004,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeNumber__P71709.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__P1829.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__P71709_mk(s) { +function settings_writeNumber__P1829_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P71709, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P1829, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16020,7 +16022,7 @@ function settings_writeNumber__P71709_mk(s) { -function settings_writeBuffer__P71707(s) { +function settings_writeBuffer__P1827(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16047,12 +16049,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeBuffer__P71707.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__P1827.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__P71707_mk(s) { +function settings_writeBuffer__P1827_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P71707, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P1827, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16063,7 +16065,7 @@ function settings_writeBuffer__P71707_mk(s) { -function msgpack_packNumberArray__P70057(s) { +function msgpack_packNumberArray__P177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16073,100 +16075,100 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___97111 = undefined; - s.n___97113 = undefined; - s.unnamed124___U2 = undefined; - s.unnamed125___U3 = undefined; - s.buf___97123 = undefined; - s.n___97129 = undefined; - s.unnamed126___U6 = undefined; - s.unnamed127___U7 = undefined; + s.off___10617 = undefined; + s.n___10619 = undefined; + s.unnamed44___U2 = undefined; + s.unnamed45___U3 = undefined; + s.buf___10629 = undefined; + s.n___10635 = undefined; + s.unnamed46___U6 = undefined; + s.unnamed47___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___97111 = (0); - s.n___97113 = (undefined); - s.unnamed124___U2 = (s.arg0); - s.unnamed125___U3 = (0); + s.off___10617 = (0); + s.n___10619 = (undefined); + s.unnamed44___U2 = (s.arg0); + s.unnamed45___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed125___U3; - r0 = pxsim_Array__length(s.unnamed124___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.unnamed124___U2, s.unnamed125___U3); - s.n___97113 = (r0); - s.tmp_2 = r0 = s.off___97111; - s.tmp_4 = msgpack_packNumberCore__P73787_mk(s); + r0 = pxsim_Array__getAt(s.unnamed44___U2, s.unnamed45___U3); + s.n___10619 = (r0); + s.tmp_2 = r0 = s.off___10617; + s.tmp_4 = msgpack_packNumberCore__P3907_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___97111; - s.tmp_4.arg2 = s.n___97113; + s.tmp_4.arg1 = s.off___10617; + s.tmp_4.arg2 = s.n___10619; s.callLocIdx = 23; 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___97111 = (r0); - r0 = (s.unnamed125___U3 + 1); - s.unnamed125___U3 = (r0); + s.off___10617 = (r0); + r0 = (s.unnamed45___U3 + 1); + s.unnamed45___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed124___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___97111); - s.buf___97123 = (r0); - s.off___97111 = (0); - s.n___97129 = (undefined); - s.unnamed126___U6 = (s.arg0); - s.unnamed127___U7 = (0); + s.unnamed44___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___10617); + s.buf___10629 = (r0); + s.off___10617 = (0); + s.n___10635 = (undefined); + s.unnamed46___U6 = (s.arg0); + s.unnamed47___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed127___U7; - r0 = pxsim_Array__length(s.unnamed126___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.unnamed126___U6, s.unnamed127___U7); - s.n___97129 = (r0); - s.tmp_2 = r0 = s.off___97111; - s.tmp_4 = msgpack_packNumberCore__P73787_mk(s); - s.tmp_4.arg0 = s.buf___97123; - s.tmp_4.arg1 = s.off___97111; - s.tmp_4.arg2 = s.n___97129; + r0 = pxsim_Array__getAt(s.unnamed46___U6, s.unnamed47___U7); + s.n___10635 = (r0); + s.tmp_2 = r0 = s.off___10617; + s.tmp_4 = msgpack_packNumberCore__P3907_mk(s); + s.tmp_4.arg0 = s.buf___10629; + s.tmp_4.arg1 = s.off___10617; + s.tmp_4.arg2 = s.n___10635; s.callLocIdx = 24; 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___97111 = (r0); - r0 = (s.unnamed127___U7 + 1); - s.unnamed127___U7 = (r0); + s.off___10617 = (r0); + r0 = (s.unnamed47___U7 + 1); + s.unnamed47___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed126___U6 = (undefined); - r0 = s.buf___97123; + s.unnamed46___U6 = (undefined); + r0 = s.buf___10629; return leave(s, r0) default: oops() } } } -msgpack_packNumberArray__P70057.info = {"start":3427,"length":330,"line":117,"column":4,"endLine":128,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberArray","argumentNames":["nums"]} +msgpack_packNumberArray__P177.info = {"start":3427,"length":330,"line":117,"column":4,"endLine":128,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberArray","argumentNames":["nums"]} -function msgpack_packNumberArray__P70057_mk(s) { +function msgpack_packNumberArray__P177_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P70057, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P177, depth: s.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___97111: undefined, - n___97113: undefined, - unnamed124___U2: undefined, - unnamed125___U3: undefined, - buf___97123: undefined, - n___97129: undefined, - unnamed126___U6: undefined, - unnamed127___U7: undefined, + off___10617: undefined, + n___10619: undefined, + unnamed44___U2: undefined, + unnamed45___U3: undefined, + buf___10629: undefined, + n___10635: undefined, + unnamed46___U6: undefined, + unnamed47___U7: undefined, arg0: undefined, } } @@ -16174,7 +16176,7 @@ function msgpack_packNumberArray__P70057_mk(s) { -function msgpack_packNumberCore__P73787(s) { +function msgpack_packNumberCore__P3907(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16184,15 +16186,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___97143 = undefined; - s.fmt___97186 = undefined; + s.tag___10649 = undefined; + s.fmt___10692 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___97143 = (203); + s.tag___10649 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -16242,17 +16244,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___97143 = (204); + s.tag___10649 = (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___97143 = (205); + s.tag___10649 = (205); { step = 10; continue; } case 9: - s.tag___97143 = (206); + s.tag___10649 = (206); case 10: case 11: { step = 17; continue; } @@ -16261,41 +16263,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___97143 = (208); + s.tag___10649 = (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___97143 = (209); + s.tag___10649 = (209); { step = 15; continue; } case 14: - s.tag___97143 = (210); + s.tag___10649 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P73786_mk(s); - s.tmp_0.arg0 = s.tag___97143; + s.tmp_0 = msgpack_tagFormat__P3906_mk(s); + s.tmp_0.arg0 = s.tag___10649; s.callLocIdx = 19; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___97186 = (r0); + s.fmt___10692 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___97143); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___10649); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___97186; + s.tmp_1 = r0 = s.fmt___10692; 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__P70048_mk(s); - s.tmp_1.arg0 = s.fmt___97186; + s.tmp_1 = pins_sizeOf__P168_mk(s); + s.tmp_1.arg0 = s.fmt___10692; s.callLocIdx = 20; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -16305,12 +16307,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P73787.info = {"start":1632,"length":951,"line":56,"column":4,"endLine":86,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberCore","argumentNames":["buf","offset","num"]} +msgpack_packNumberCore__P3907.info = {"start":1632,"length":951,"line":56,"column":4,"endLine":86,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberCore","argumentNames":["buf","offset","num"]} -function msgpack_packNumberCore__P73787_mk(s) { +function msgpack_packNumberCore__P3907_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P73787, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P3907, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16320,8 +16322,8 @@ function msgpack_packNumberCore__P73787_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___97143: undefined, - fmt___97186: undefined, + tag___10649: undefined, + fmt___10692: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -16331,7 +16333,7 @@ function msgpack_packNumberCore__P73787_mk(s) { -function msgpack_tagFormat__P73786(s) { +function msgpack_tagFormat__P3906(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16391,12 +16393,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P73786.info = {"start":1145,"length":481,"line":42,"column":4,"endLine":54,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"tagFormat","argumentNames":["tag"]} +msgpack_tagFormat__P3906.info = {"start":1145,"length":481,"line":42,"column":4,"endLine":54,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"tagFormat","argumentNames":["tag"]} -function msgpack_tagFormat__P73786_mk(s) { +function msgpack_tagFormat__P3906_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P73786, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P3906, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16406,7 +16408,7 @@ function msgpack_tagFormat__P73786_mk(s) { -function pins_sizeOf__P70048(s) { +function pins_sizeOf__P168(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16420,7 +16422,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Buffer_sizeOfNumberFormat__P70084_mk(s); + s.tmp_0 = Buffer_sizeOfNumberFormat__P204_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 18; s.pc = 1; return s.tmp_0; case 1: @@ -16428,12 +16430,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pins_sizeOf__P70048.info = {"start":42,"length":101,"line":2,"column":4,"endLine":4,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOf","argumentNames":["format"]} +pins_sizeOf__P168.info = {"start":42,"length":101,"line":2,"column":4,"endLine":4,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOf","argumentNames":["format"]} -function pins_sizeOf__P70048_mk(s) { +function pins_sizeOf__P168_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P70048, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P168, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16443,7 +16445,7 @@ function pins_sizeOf__P70048_mk(s) { -function Buffer_sizeOfNumberFormat__P70084(s) { +function Buffer_sizeOfNumberFormat__P204(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16522,12 +16524,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Buffer_sizeOfNumberFormat__P70084.info = {"start":12467,"length":856,"line":427,"column":4,"endLine":451,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOfNumberFormat","argumentNames":["format"]} +Buffer_sizeOfNumberFormat__P204.info = {"start":12467,"length":856,"line":427,"column":4,"endLine":451,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOfNumberFormat","argumentNames":["format"]} -function Buffer_sizeOfNumberFormat__P70084_mk(s) { +function Buffer_sizeOfNumberFormat__P204_mk(s) { checkStack(s.depth); return { - parent: s, fn: Buffer_sizeOfNumberFormat__P70084, depth: s.depth + 1, + parent: s, fn: Buffer_sizeOfNumberFormat__P204, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16537,7 +16539,7 @@ function Buffer_sizeOfNumberFormat__P70084_mk(s) { -function settings_clear__P71706(s) { +function settings_clear__P1826(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16552,12 +16554,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_clear__P71706.info = {"start":1414,"length":58,"line":56,"column":4,"endLine":58,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"clear","argumentNames":[]} +settings_clear__P1826.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__P71706_mk(s) { +function settings_clear__P1826_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_clear__P71706, depth: s.depth + 1, + parent: s, fn: settings_clear__P1826, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -16565,7 +16567,7 @@ function settings_clear__P71706_mk(s) { -function game_popScene__P72414(s) { +function game_popScene__P2534(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16575,59 +16577,59 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___95439 = undefined; - s.tmp_0 = game_currentScene__P72409_mk(s); - s.callLocIdx = 860; s.pc = 11; return s.tmp_0; + s.oldScene___10758 = undefined; + s.tmp_0 = game_currentScene__P2529_mk(s); + s.callLocIdx = 858; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___95439 = (r0); - s.tmp_0 = r0 = globals._sceneStack___74163; + s.oldScene___10758 = (r0); + s.tmp_0 = r0 = globals._sceneStack___4283; 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___74163); + r0 = pxsim_Array__length(globals._sceneStack___4283); 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___74163); - globals._scene___74162 = (r0); - s.tmp_0 = control_popEventContext__P70279_mk(s); - s.callLocIdx = 861; s.pc = 12; return s.tmp_0; + r0 = pxsim_Array_.pop(globals._sceneStack___4283); + globals._scene___4282 = (r0); + s.tmp_0 = control_popEventContext__P399_mk(s); + s.callLocIdx = 859; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(globals._scene___74162); + r0 = pxsim_numops_toBoolDecr(globals._scene___4282); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P70279_mk(s); - s.callLocIdx = 862; s.pc = 13; return s.tmp_0; + s.tmp_0 = control_popEventContext__P399_mk(s); + s.callLocIdx = 860; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___74162 = (undefined); + globals._scene___4282 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___74162); + r0 = pxsim_numops_toBoolDecr(globals._scene___4282); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P72587_mk(s); - s.callLocIdx = 863; s.pc = 14; return s.tmp_0; + s.tmp_0 = particles_enableAll__P2707_mk(s); + s.callLocIdx = 861; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___74165); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___4285); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P95460); + r0 = pxsim_pxtcore_mkAction(1, inline__P10779); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___95439); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___74165; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___10758); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___4285; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 865; s.pc = 15; return s.tmp_1; + s.callLocIdx = 863; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; case 9: @@ -16636,23 +16638,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene__P72414.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P2534.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__P72414_mk(s) { +function game_popScene__P2534_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P72414, depth: s.depth + 1, + parent: s, fn: game_popScene__P2534, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___95439: undefined, + oldScene___10758: undefined, } } -function inline__P95460(s) { +function inline__P10779(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16670,19 +16672,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 864; s.pc = 1; return s.tmp_0; + s.callLocIdx = 862; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P95460.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P10779.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__P95460_mk(s) { +function inline__P10779_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P95460, depth: s.depth + 1, + parent: s, fn: inline__P10779, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16692,7 +16694,7 @@ function inline__P95460_mk(s) { -function particles_enableAll__P72587(s) { +function particles_enableAll__P2707(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16702,22 +16704,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___95464 = undefined; - s.tmp_0 = particles_particleSources__P74526_mk(s); - s.callLocIdx = 1126; s.pc = 3; return s.tmp_0; + s.sources___10783 = undefined; + s.tmp_0 = particles_particleSources__P4646_mk(s); + s.callLocIdx = 1124; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___95464 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___95464); + s.sources___10783 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___10783); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P69987_mk(s); - s.tmp_0.arg0 = s.sources___95464; - s.tmp_0.arg1 = inline__P95470; - s.callLocIdx = 1128; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P107_mk(s); + s.tmp_0.arg0 = s.sources___10783; + s.tmp_0.arg1 = inline__P10789; + s.callLocIdx = 1126; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P74522_mk(s); - s.callLocIdx = 1129; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P4642_mk(s); + s.callLocIdx = 1127; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -16726,22 +16728,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll__P72587.info = {"start":12632,"length":193,"line":412,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P2707.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__P72587_mk(s) { +function particles_enableAll__P2707_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P72587, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P2707, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___95464: undefined, + sources___10783: undefined, } } -function inline__P95470(s) { +function inline__P10789(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16755,22 +16757,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P72568_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P2688_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1127; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1125; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = true; return leave(s, r0) default: oops() } } } -inline__P95470.info = {"start":12756,"length":21,"line":415,"column":28,"endLine":415,"endColumn":49,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P10789.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__P95470_mk(s) { +function inline__P10789_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P95470, depth: s.depth + 1, + parent: s, fn: inline__P10789, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16780,7 +16782,7 @@ function inline__P95470_mk(s) { -function control_popEventContext__P70279(s) { +function control_popEventContext__P399(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16790,9 +16792,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___95477 = undefined; - s.context___95485 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___73846); + s.ctx___10796 = undefined; + s.context___10804 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___3966); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -16801,9 +16803,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___73846); - s.ctx___95477 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___95477); + r0 = pxsim_Array_.pop(globals.eventContexts___3966); + s.ctx___10796 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___10796); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -16812,53 +16814,53 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_2 = control_EventContext_unregister__P70271_mk(s); - s.tmp_2.arg0 = s.ctx___95477; + s.tmp_2 = control_EventContext_unregister__P391_mk(s); + s.tmp_2.arg0 = s.ctx___10796; s.callLocIdx = 69; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___73846; - r0 = pxsim_Array__length(globals.eventContexts___73846); + s.tmp_0 = r0 = globals.eventContexts___3966; + r0 = pxsim_Array__length(globals.eventContexts___3966); 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___95485 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___95485); + s.context___10804 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___10804); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P70270_mk(s); - s.tmp_0.arg0 = s.context___95485; + s.tmp_0 = control_EventContext_register__P390_mk(s); + s.tmp_0.arg0 = s.context___10804; s.callLocIdx = 70; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___73846 = (undefined); + globals.eventContexts___3966 = (undefined); case 6: case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_popEventContext__P70279.info = {"start":7466,"length":413,"line":229,"column":4,"endLine":243,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +control_popEventContext__P399.info = {"start":7466,"length":413,"line":229,"column":4,"endLine":243,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} -function control_popEventContext__P70279_mk(s) { +function control_popEventContext__P399_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P70279, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P399, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___95477: undefined, - context___95485: undefined, + ctx___10796: undefined, + context___10804: undefined, } } -function control_EventContext_register__P70270(s) { +function control_EventContext_register__P390(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16868,38 +16870,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___95498 = undefined; - s.unnamed130___U1 = undefined; - s.unnamed131___U2 = undefined; + s.h___10817 = 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__C70264_VT)) failedCast(r0); - s.h___95498 = (undefined); + if (!checkSubtype(r0, control_EventContext__C384_VT)) failedCast(r0); + s.h___10817 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed130___U1 = (r0); - s.unnamed131___U2 = (0); + s.unnamed50___U1 = (r0); + s.unnamed51___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed131___U2; - r0 = pxsim_Array__length(s.unnamed130___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.unnamed130___U1, s.unnamed131___U2); - s.h___95498 = (r0); - s.tmp_2 = control_EventHandler_register__P73839_mk(s); - s.tmp_2.arg0 = s.h___95498; + r0 = pxsim_Array__getAt(s.unnamed50___U1, s.unnamed51___U2); + s.h___10817 = (r0); + s.tmp_2 = control_EventHandler_register__P3959_mk(s); + s.tmp_2.arg0 = s.h___10817; s.callLocIdx = 60; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed131___U2 + 1); - s.unnamed131___U2 = (r0); + r0 = (s.unnamed51___U2 + 1); + s.unnamed51___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed130___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P73844_mk(s); + s.unnamed50___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P3964_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 61; s.pc = 4; return s.tmp_0; case 4: @@ -16908,19 +16910,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_register__P70270.info = {"start":4284,"length":138,"line":128,"column":8,"endLine":132,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} +control_EventContext_register__P390.info = {"start":4284,"length":138,"line":128,"column":8,"endLine":132,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} -function control_EventContext_register__P70270_mk(s) { +function control_EventContext_register__P390_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P70270, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P390, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___95498: undefined, - unnamed130___U1: undefined, - unnamed131___U2: undefined, + h___10817: undefined, + unnamed50___U1: undefined, + unnamed51___U2: undefined, arg0: undefined, } } @@ -16928,7 +16930,7 @@ function control_EventContext_register__P70270_mk(s) { -function settings_remove__P71716(s) { +function settings_remove__P1836(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16947,12 +16949,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_remove__P71716.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__P1836.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__P71716_mk(s) { +function settings_remove__P1836_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_remove__P71716, depth: s.depth + 1, + parent: s, fn: settings_remove__P1836, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -16961,7 +16963,7 @@ function settings_remove__P71716_mk(s) { -function helpers_arrayForEach__P69987(s) { +function helpers_arrayForEach__P107(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16971,49 +16973,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___97314 = undefined; - s.i___97317 = undefined; + s.len___10829 = undefined; + s.i___10832 = 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___97314 = (r0); - s.i___97317 = (0); + s.len___10829 = (r0); + s.i___10832 = (0); case 1: - r0 = (s.i___97317 < s.len___97314); + r0 = (s.i___10832 < s.len___10829); 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___97317); + r0 = pxsim_Array__getAt(s.arg0, s.i___10832); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___97317; + s.tmp_1.arg1 = s.i___10832; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 6; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.i___97317 + 1); - s.i___97317 = (r0); + r0 = (s.i___10832 + 1); + s.i___10832 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_arrayForEach__P69987.info = {"start":7439,"length":250,"line":254,"column":4,"endLine":259,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayForEach","argumentNames":["arr","callbackfn"]} +helpers_arrayForEach__P107.info = {"start":7439,"length":250,"line":254,"column":4,"endLine":259,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayForEach","argumentNames":["arr","callbackfn"]} -function helpers_arrayForEach__P69987_mk(s) { +function helpers_arrayForEach__P107_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P69987, depth: s.depth + 1, + parent: s, fn: helpers_arrayForEach__P107, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___97314: undefined, - i___97317: undefined, + len___10829: undefined, + i___10832: undefined, arg0: undefined, arg1: undefined, } } @@ -17022,7 +17024,7 @@ function helpers_arrayForEach__P69987_mk(s) { -function settings_list__P71715(s) { +function settings_list__P1835(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17050,12 +17052,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_list__P71715.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__P1835.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__P71715_mk(s) { +function settings_list__P1835_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_list__P71715, depth: s.depth + 1, + parent: s, fn: settings_list__P1835, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17066,7 +17068,7 @@ function settings_list__P71715_mk(s) { -function tileworld_RuleVisualsBase_setRow__P82565(s) { +function tileworld_RuleVisualsBase_setRow__P6300(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17082,8 +17084,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(r0); - s.tmp_0 = Sprite_y__P71908_mk(s); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C3789_VT)) failedCast(r0); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; r0 = (s.arg1 << 4); @@ -17092,19 +17094,19 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 6); s.tmp_0.arg1 = r0; - s.callLocIdx = 679; s.pc = 1; return s.tmp_0; + s.callLocIdx = 691; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_setRow__P82565.info = {"start":3985,"length":92,"line":100,"column":8,"endLine":102,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setRow","argumentNames":["this","row"]} +tileworld_RuleVisualsBase_setRow__P6300.info = {"start":3985,"length":92,"line":100,"column":8,"endLine":102,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setRow","argumentNames":["this","row"]} -function tileworld_RuleVisualsBase_setRow__P82565_mk(s) { +function tileworld_RuleVisualsBase_setRow__P6300_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_setRow__P82565, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_setRow__P6300, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17117,7 +17119,7 @@ function tileworld_RuleVisualsBase_setRow__P82565_mk(s) { -function Sprite_y__P71908(s) { +function Sprite_y__P2028(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17133,8 +17135,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P71947_mk(s); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P2067_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -17152,12 +17154,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_y__P71908.info = {"start":2022,"length":72,"line":86,"column":4,"endLine":88,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} +Sprite_y__P2028.info = {"start":2022,"length":72,"line":86,"column":4,"endLine":88,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} -function Sprite_y__P71908_mk(s) { +function Sprite_y__P2028_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P71908, depth: s.depth + 1, + parent: s, fn: Sprite_y__P2028, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17172,7 +17174,7 @@ function Sprite_y__P71908_mk(s) { -function Sprite_top__P71947(s) { +function Sprite_top__P2067(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17182,22 +17184,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___96080 = undefined; + s.physics___10874 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P72409_mk(s); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P2529_mk(s); s.callLocIdx = 285; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___96080 = (r0); - s.tmp_0 = PhysicsEngine__C72039_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___96080; + s.physics___10874 = (r0); + s.tmp_0 = PhysicsEngine__C2159_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___10874; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -17208,7 +17210,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__C72039_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2159_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: @@ -17217,18 +17219,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_top__P71947.info = {"start":9733,"length":256,"line":355,"column":4,"endLine":365,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} +Sprite_top__P2067.info = {"start":9733,"length":256,"line":355,"column":4,"endLine":365,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} -function Sprite_top__P71947_mk(s) { +function Sprite_top__P2067_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P71947, depth: s.depth + 1, + parent: s, fn: Sprite_top__P2067, depth: s.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___96080: undefined, + physics___10874: undefined, arg0: undefined, arg1: undefined, } } @@ -17237,7 +17239,7 @@ function Sprite_top__P71947_mk(s) { -function PhysicsEngine_moveSprite__P72043(s) { +function PhysicsEngine_moveSprite__P2163(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17255,17 +17257,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C72039_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2159_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_moveSprite__P72043.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__P2163.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__P72043_mk(s) { +function PhysicsEngine_moveSprite__P2163_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P72043, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P2163, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -17277,7 +17279,7 @@ function PhysicsEngine_moveSprite__P72043_mk(s) { -function Fx_sub__P70034(s) { +function Fx_sub__P154(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17296,12 +17298,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_sub__P70034.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__P154.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__P70034_mk(s) { +function Fx_sub__P154_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P70034, depth: s.depth + 1, + parent: s, fn: Fx_sub__P154, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -17311,7 +17313,7 @@ function Fx_sub__P70034_mk(s) { -function Sprite_top__P71946(s) { +function Sprite_top__P2066(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17326,20 +17328,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_top__P71946.info = {"start":9590,"length":53,"line":350,"column":4,"endLine":352,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} -Sprite_top__P71946.isGetter = true; +Sprite_top__P2066.info = {"start":9590,"length":53,"line":350,"column":4,"endLine":352,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} +Sprite_top__P2066.isGetter = true; -function Sprite_top__P71946_mk(s) { +function Sprite_top__P2066_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P71946, depth: s.depth + 1, + parent: s, fn: Sprite_top__P2066, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17349,7 +17351,7 @@ function Sprite_top__P71946_mk(s) { -function tileworld_RuleVisualsBase_setCol__P82564(s) { +function tileworld_RuleVisualsBase_setCol__P6299(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17365,27 +17367,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(r0); - s.tmp_0 = Sprite_x__P71906_mk(s); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C3789_VT)) failedCast(r0); + s.tmp_0 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; r0 = (s.arg1 << 4); s.tmp_1 = r0; r0 = (s.tmp_1 + 8); s.tmp_0.arg1 = r0; - s.callLocIdx = 678; s.pc = 1; return s.tmp_0; + s.callLocIdx = 690; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_setCol__P82564.info = {"start":3890,"length":85,"line":96,"column":8,"endLine":98,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setCol","argumentNames":["this","col"]} +tileworld_RuleVisualsBase_setCol__P6299.info = {"start":3890,"length":85,"line":96,"column":8,"endLine":98,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setCol","argumentNames":["this","col"]} -function tileworld_RuleVisualsBase_setCol__P82564_mk(s) { +function tileworld_RuleVisualsBase_setCol__P6299_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_setCol__P82564, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_setCol__P6299, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17397,7 +17399,7 @@ function tileworld_RuleVisualsBase_setCol__P82564_mk(s) { -function Sprite_x__P71906(s) { +function Sprite_x__P2026(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17413,8 +17415,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P71943_mk(s); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P2063_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -17432,12 +17434,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_x__P71906.info = {"start":1673,"length":72,"line":75,"column":4,"endLine":77,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} +Sprite_x__P2026.info = {"start":1673,"length":72,"line":75,"column":4,"endLine":77,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} -function Sprite_x__P71906_mk(s) { +function Sprite_x__P2026_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P71906, depth: s.depth + 1, + parent: s, fn: Sprite_x__P2026, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17452,7 +17454,7 @@ function Sprite_x__P71906_mk(s) { -function Sprite_left__P71943(s) { +function Sprite_left__P2063(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17462,22 +17464,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___91673 = undefined; + s.physics___10921 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P72409_mk(s); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P2529_mk(s); s.callLocIdx = 277; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___91673 = (r0); - s.tmp_0 = PhysicsEngine__C72039_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___91673; + s.physics___10921 = (r0); + s.tmp_0 = PhysicsEngine__C2159_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___10921; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -17488,7 +17490,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__C72039_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2159_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: @@ -17497,18 +17499,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_left__P71943.info = {"start":8929,"length":257,"line":325,"column":4,"endLine":335,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} +Sprite_left__P2063.info = {"start":8929,"length":257,"line":325,"column":4,"endLine":335,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} -function Sprite_left__P71943_mk(s) { +function Sprite_left__P2063_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P71943, depth: s.depth + 1, + parent: s, fn: Sprite_left__P2063, depth: s.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___91673: undefined, + physics___10921: undefined, arg0: undefined, arg1: undefined, } } @@ -17517,7 +17519,7 @@ function Sprite_left__P71943_mk(s) { -function Sprite_left__P71942(s) { +function Sprite_left__P2062(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17532,20 +17534,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_left__P71942.info = {"start":8785,"length":53,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} -Sprite_left__P71942.isGetter = true; +Sprite_left__P2062.info = {"start":8785,"length":53,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} +Sprite_left__P2062.isGetter = true; -function Sprite_left__P71942_mk(s) { +function Sprite_left__P2062_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P71942, depth: s.depth + 1, + parent: s, fn: Sprite_left__P2062, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17555,7 +17557,7 @@ function Sprite_left__P71942_mk(s) { -function tileworld_GameHome_constructor__P73715(s) { +function tileworld_GameHome_constructor__P3835(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17571,52 +17573,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_GameHome__C73714_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleVisualsBase_constructor__P73670_mk(s); + if (!checkSubtype(r0, tileworld_GameHome__C3834_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleVisualsBase_constructor__P3790_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1356; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1368; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P82564_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P6299_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1357; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1369; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P82565_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P6300_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1358; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1370; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P87404); + r0 = pxsim_pxtcore_mkAction(1, inline__P10946); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.A___71757; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.A___1877; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1386; s.pc = 4; return s.tmp_1; + s.callLocIdx = 1398; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P71790_mk(s); - s.tmp_0.arg0 = globals.B___71758; + s.tmp_0 = controller_Button_onEvent__P1910_mk(s); + s.tmp_0.arg0 = globals.B___1878; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = inline__P87507; - s.callLocIdx = 1388; s.pc = 5; return s.tmp_0; + s.tmp_0.arg2 = inline__P11050; + s.callLocIdx = 1400; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_GameHome_constructor__P73715.info = {"start":222,"length":2063,"line":6,"column":8,"endLine":56,"endColumn":9,"fileName":"home.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_GameHome_constructor__P3835.info = {"start":222,"length":2063,"line":6,"column":8,"endLine":56,"endColumn":9,"fileName":"home.ts","functionName":"inline","argumentNames":["this","p"]} -function tileworld_GameHome_constructor__P73715_mk(s) { +function tileworld_GameHome_constructor__P3835_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_GameHome_constructor__P73715, depth: s.depth + 1, + parent: s, fn: tileworld_GameHome_constructor__P3835, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17628,7 +17630,7 @@ function tileworld_GameHome_constructor__P73715_mk(s) { -function inline__P87404(s) { +function inline__P10946(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17638,60 +17640,60 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___87405 = undefined; - s.command___87435 = undefined; - s.rules___87442 = undefined; - s.g___87450 = undefined; + s.index___10947 = undefined; + s.command___10978 = undefined; + s.rules___10985 = undefined; + s.g___10993 = undefined; r0 = s.caps[0].fields["dirMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1359; s.pc = 22; return s.tmp_2; + s.callLocIdx = 1371; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1360; s.pc = 23; return s.tmp_4; + s.callLocIdx = 1372; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_3); - s.index___87405 = (r0); - r0 = (s.index___87405 != 15); + s.index___10947 = (r0); + r0 = (s.index___10947 != 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = game_pushScene__P72413_mk(s); - s.callLocIdx = 1361; s.pc = 24; return s.tmp_1; + s.tmp_1 = game_pushScene__P2533_mk(s); + s.callLocIdx = 1373; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Gallery__C73708_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Gallery__C3828_VT); s.tmp_0 = r0; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_SwitchExport__C73551_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_SwitchExport__C3671_VT); s.tmp_1 = r0; - s.tmp_2 = tileworld_SwitchExport_constructor__P73552_mk(s); + s.tmp_2 = tileworld_SwitchExport_constructor__P3672_mk(s); s.tmp_2.arg0 = s.tmp_1; r0 = s.caps[0].fields["p"]; s.tmp_2.arg1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1362; s.pc = 26; return s.tmp_4; + s.callLocIdx = 1374; s.pc = 26; return s.tmp_4; case 26: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_3 == 3); s.tmp_2.arg2 = r0; - s.callLocIdx = 1363; s.pc = 25; return s.tmp_2; + s.callLocIdx = 1375; s.pc = 25; return s.tmp_2; case 25: r0 = s.retval; - s.tmp_7 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_7.arg0 = s.caps[0]; s.tmp_7.arg1 = true; - s.callLocIdx = 1364; s.pc = 27; return s.tmp_7; + s.callLocIdx = 1376; s.pc = 27; return s.tmp_7; case 27: r0 = s.retval; s.tmp_6 = r0; @@ -17699,30 +17701,30 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 1; continue; } - r0 = globals.galleryTiles___73656; + r0 = globals.galleryTiles___3776; { step = 2; continue; } case 1: - r0 = globals.gallerySprites___73655; + r0 = globals.gallerySprites___3775; case 2: // jmp value (already in r0) s.tmp_8 = r0; - s.tmp_9 = tileworld_Gallery_constructor__P73709_mk(s); + s.tmp_9 = tileworld_Gallery_constructor__P3829_mk(s); s.tmp_9.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_9.arg1 = r0; - s.tmp_9.arg2 = s.index___87405; + s.tmp_9.arg2 = s.index___10947; s.tmp_9.arg3 = s.tmp_1; s.tmp_9.arg4 = s.tmp_8; - s.callLocIdx = 1365; s.pc = 28; return s.tmp_9; + s.callLocIdx = 1377; s.pc = 28; return s.tmp_9; case 28: r0 = s.retval; { step = 21; continue; } case 3: case 4: - s.tmp_2 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1366; s.pc = 29; return s.tmp_2; + s.callLocIdx = 1378; s.pc = 29; return s.tmp_2; case 29: r0 = s.retval; s.tmp_1 = r0; @@ -17733,48 +17735,48 @@ switch (step) { { step = 21; continue; } case 5: case 6: - s.tmp_3 = r0 = globals.commandImages___87387; - s.tmp_5 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_3 = r0 = globals.commandImages___6477; + s.tmp_5 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_5.arg0 = s.caps[0]; s.tmp_5.arg1 = true; - s.callLocIdx = 1367; s.pc = 30; return s.tmp_5; + s.callLocIdx = 1379; s.pc = 30; return s.tmp_5; case 30: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_Array__getAt(s.tmp_3, s.tmp_4); - s.command___87435 = (r0); - r0 = (s.command___87435 == globals.play___73598); + s.command___10978 = (r0); + r0 = (s.command___10978 == globals.play___3718); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } r0 = s.caps[0].fields["p"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["rules"]; - s.rules___87442 = (r0); - r0 = pxsim_Array__length(s.rules___87442); + s.rules___10985 = (r0); + r0 = pxsim_Array__length(s.rules___10985); 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__P72413_mk(s); - s.callLocIdx = 1369; s.pc = 31; return s.tmp_2; + s.tmp_2 = game_pushScene__P2533_mk(s); + s.callLocIdx = 1381; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RunGame__C73658_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RunGame__C5957996_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_RunGame_constructor__P73659_mk(s); + s.tmp_1 = tileworld_RunGame_constructor__P5958004_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___87442; + s.tmp_1.arg2 = s.rules___10985; s.tmp_1.arg3 = false; - s.callLocIdx = 1370; s.pc = 32; return s.tmp_1; + s.callLocIdx = 1382; s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; - s.g___87450 = (s.tmp_0); - s.tmp_0 = tileworld_RunGame_setWorld__P73660_mk(s); - s.tmp_0.arg0 = s.g___87450; + s.g___10993 = (s.tmp_0); + s.tmp_0 = tileworld_RunGame_setWorld__P5957998_mk(s); + s.tmp_0.arg0 = s.g___10993; r0 = s.caps[0].fields["p"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_backgrounds"]; @@ -17783,87 +17785,87 @@ switch (step) { s.tmp_2 = r0; r0 = s.tmp_2.fields["_sprites"]; s.tmp_0.arg2 = r0; - s.callLocIdx = 1373; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1385; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = tileworld_RunGame_start__P73661_mk(s); - s.tmp_0.arg0 = s.g___87450; - s.callLocIdx = 1374; s.pc = 34; return s.tmp_0; + s.tmp_0 = tileworld_RunGame_start__P5958000_mk(s); + s.tmp_0.arg0 = s.g___10993; + s.callLocIdx = 1386; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; case 7: case 8: { step = 20; continue; } case 9: - r0 = (s.command___87435 == globals.map___73597); + r0 = (s.command___10978 == globals.map___3717); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.tmp_1 = game_pushScene__P72413_mk(s); - s.callLocIdx = 1375; s.pc = 35; return s.tmp_1; + s.tmp_1 = game_pushScene__P2533_mk(s); + s.callLocIdx = 1387; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_MapEditor__C73704_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_MapEditor__C3824_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_MapEditor_constructor__P73705_mk(s); + s.tmp_1 = tileworld_MapEditor_constructor__P3825_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1376; s.pc = 36; return s.tmp_1; + s.callLocIdx = 1388; s.pc = 36; return s.tmp_1; case 36: r0 = s.retval; { step = 19; continue; } case 10: - r0 = (s.command___87435 == globals.paint___73601); + r0 = (s.command___10978 == globals.paint___3721); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = game_pushScene__P72413_mk(s); - s.callLocIdx = 1377; s.pc = 37; return s.tmp_1; + s.tmp_1 = game_pushScene__P2533_mk(s); + s.callLocIdx = 1389; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_ImageEditor__C73663_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_ImageEditor__C3783_VT); s.tmp_0 = r0; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_AllExport__C73556_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_AllExport__C3676_VT); s.tmp_1 = r0; - s.tmp_2 = tileworld_AllExport_constructor__P73557_mk(s); + s.tmp_2 = tileworld_AllExport_constructor__P3677_mk(s); s.tmp_2.arg0 = s.tmp_1; r0 = s.caps[0].fields["p"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 1378; s.pc = 38; return s.tmp_2; + s.callLocIdx = 1390; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; - s.tmp_3 = tileworld_ImageEditor_constructor__P73664_mk(s); + s.tmp_3 = tileworld_ImageEditor_constructor__P3784_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.tmp_1; - s.callLocIdx = 1379; s.pc = 39; return s.tmp_3; + s.callLocIdx = 1391; s.pc = 39; return s.tmp_3; case 39: r0 = s.retval; { step = 18; continue; } case 11: - r0 = (s.command___87435 == globals.code___73600); + r0 = (s.command___10978 == globals.code___3720); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_1 = game_pushScene__P72413_mk(s); - s.callLocIdx = 1380; s.pc = 40; return s.tmp_1; + s.tmp_1 = game_pushScene__P2533_mk(s); + s.callLocIdx = 1392; s.pc = 40; return s.tmp_1; case 40: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_ruleediting_RuleRoom__C73690_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_ruleediting_RuleRoom__C3810_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_ruleediting_RuleRoom_constructor__P73691_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleRoom_constructor__P3811_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1381; s.pc = 41; return s.tmp_1; + s.callLocIdx = 1393; s.pc = 41; return s.tmp_1; case 41: r0 = s.retval; { step = 17; continue; } case 12: - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1382; s.pc = 42; return s.tmp_2; + s.callLocIdx = 1394; s.pc = 42; return s.tmp_2; case 42: r0 = s.retval; s.tmp_1 = r0; @@ -17874,10 +17876,10 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 13: - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1383; s.pc = 43; return s.tmp_4; + s.callLocIdx = 1395; s.pc = 43; return s.tmp_4; case 43: r0 = s.retval; s.tmp_3 = r0; @@ -17887,17 +17889,17 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 15; continue; } - s.tmp_6 = game_pushScene__P72413_mk(s); - s.callLocIdx = 1384; s.pc = 44; return s.tmp_6; + s.tmp_6 = game_pushScene__P2533_mk(s); + s.callLocIdx = 1396; s.pc = 44; return s.tmp_6; case 44: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_ProjectSettings__C73711_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_ProjectSettings__C3831_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_ProjectSettings_constructor__P73712_mk(s); + s.tmp_1 = tileworld_ProjectSettings_constructor__P3832_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1385; s.pc = 45; return s.tmp_1; + s.callLocIdx = 1397; s.pc = 45; return s.tmp_1; case 45: r0 = s.retval; case 15: @@ -17911,12 +17913,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P87404.info = {"start":392,"length":1759,"line":12,"column":64,"endLine":51,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":[]} +inline__P10946.info = {"start":392,"length":1759,"line":12,"column":64,"endLine":51,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":[]} -function inline__P87404_mk(s) { +function inline__P10946_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P87404, depth: s.depth + 1, + parent: s, fn: inline__P10946, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17928,17 +17930,17 @@ function inline__P87404_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - index___87405: undefined, - command___87435: undefined, - rules___87442: undefined, - g___87450: undefined, + index___10947: undefined, + command___10978: undefined, + rules___10985: undefined, + g___10993: undefined, } } -function inline__P87507(s) { +function inline__P11050(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17948,20 +17950,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_popScene__P72414_mk(s); - s.callLocIdx = 1387; s.pc = 1; return s.tmp_0; + s.tmp_0 = game_popScene__P2534_mk(s); + s.callLocIdx = 1399; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P87507.info = {"start":2219,"length":54,"line":53,"column":64,"endLine":55,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":[]} +inline__P11050.info = {"start":2219,"length":54,"line":53,"column":64,"endLine":55,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":[]} -function inline__P87507_mk(s) { +function inline__P11050_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P87507, depth: s.depth + 1, + parent: s, fn: inline__P11050, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -17970,7 +17972,7 @@ function inline__P87507_mk(s) { -function tileworld_ruleediting_RuleRoom_constructor__P73691(s) { +function tileworld_ruleediting_RuleRoom_constructor__P3811(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17986,106 +17988,106 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C73690_VT)) failedCast(r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_constructor__P73683_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C3810_VT)) failedCast(r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_constructor__P3873482_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = null; - s.callLocIdx = 832; s.pc = 1; return s.tmp_0; + s.callLocIdx = 844; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["kind"] = (0); - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P82564_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P6299_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 833; s.pc = 2; return s.tmp_0; + s.callLocIdx = 845; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P82565_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P6300_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["kind"]; s.tmp_1 = r0; r0 = (1 + s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 834; s.pc = 3; return s.tmp_0; + s.callLocIdx = 846; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P82572_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P6307_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 835; s.pc = 4; return s.tmp_0; + s.callLocIdx = 847; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P82565_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P6300_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 836; s.pc = 5; return s.tmp_0; + s.callLocIdx = 848; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P71854_mk(s); - s.tmp_2.arg0 = globals.cursorIn___73608; + s.tmp_2 = sprites_create__P1974_mk(s); + s.tmp_2.arg0 = globals.cursorIn___3728; s.tmp_2.arg1 = undefined; - s.callLocIdx = 837; s.pc = 6; return s.tmp_2; + s.callLocIdx = 849; 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__P71959_mk(s); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["moreHelp"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 838; s.pc = 7; return s.tmp_0; + s.callLocIdx = 850; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = Sprite_x__P71906_mk(s); + s.tmp_0 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["moreHelp"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 84; - s.callLocIdx = 839; s.pc = 8; return s.tmp_0; + s.callLocIdx = 851; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["moreHelp"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 77; - s.callLocIdx = 840; s.pc = 9; return s.tmp_0; + s.callLocIdx = 852; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom__C73690_v0_1_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom__C3810_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleRoom__C73690_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleRoom__C3810_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__P84307); + r0 = pxsim_pxtcore_mkAction(1, inline__P11093); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.A___71757; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.A___1877; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 856; s.pc = 11; return s.tmp_1; + s.callLocIdx = 868; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P71790_mk(s); - s.tmp_0.arg0 = globals.B___71758; + s.tmp_0 = controller_Button_onEvent__P1910_mk(s); + s.tmp_0.arg0 = globals.B___1878; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = inline__P84408; - s.callLocIdx = 858; s.pc = 12; return s.tmp_0; + s.tmp_0.arg2 = inline__P11167; + s.callLocIdx = 870; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_constructor__P73691.info = {"start":436,"length":1639,"line":9,"column":8,"endLine":45,"endColumn":9,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_ruleediting_RuleRoom_constructor__P3811.info = {"start":436,"length":1639,"line":9,"column":8,"endLine":45,"endColumn":9,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":["this","p"]} -function tileworld_ruleediting_RuleRoom_constructor__P73691_mk(s) { +function tileworld_ruleediting_RuleRoom_constructor__P3811_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_constructor__P73691, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_constructor__P3811, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18098,7 +18100,7 @@ function tileworld_ruleediting_RuleRoom_constructor__P73691_mk(s) { -function inline__P84307(s) { +function inline__P11093(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18108,14 +18110,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rt___84329 = undefined; - s.dir___84336 = undefined; - s.rules___84345 = undefined; - s.filteredRules___84351 = undefined; - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.rt___11115 = undefined; + s.dir___11123 = undefined; + s.rules___11132 = undefined; + s.filteredRules___11138 = undefined; + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 841; s.pc = 11; return s.tmp_2; + s.callLocIdx = 853; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; @@ -18126,10 +18128,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 842; s.pc = 12; return s.tmp_4; + s.callLocIdx = 854; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; s.tmp_3 = r0; @@ -18142,10 +18144,10 @@ switch (step) { r0 = s.tmp_5; { step = 4; continue; } case 3: - s.tmp_7 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_7.arg0 = s.caps[0]; s.tmp_7.arg1 = true; - s.callLocIdx = 843; s.pc = 13; return s.tmp_7; + s.callLocIdx = 855; s.pc = 13; return s.tmp_7; case 13: r0 = s.retval; s.tmp_6 = r0; @@ -18162,24 +18164,24 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_11); if (!r0) { step = 5; continue; } s.tmp_12 = r0 = s.caps[0]; - s.tmp_15 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_15 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_15.arg0 = s.caps[0]; s.tmp_15.arg1 = true; - s.callLocIdx = 845; s.pc = 14; return s.tmp_15; + s.callLocIdx = 857; s.pc = 14; return s.tmp_15; case 14: r0 = s.retval; s.tmp_14 = r0; r0 = (s.tmp_14 - 1); s.tmp_13 = r0; r0 = (s.tmp_12).fields["kind"] = (s.tmp_13); - s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P82572_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P6307_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 846; s.pc = 15; return s.tmp_0; + s.callLocIdx = 858; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom__C73690_v0_1_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom__C3810_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleRoom__C73690_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleRoom__C3810_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: @@ -18188,98 +18190,98 @@ switch (step) { case 5: r0 = s.caps[0].fields["ruleTypeMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 847; s.pc = 17; return s.tmp_2; + s.callLocIdx = 859; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 848; s.pc = 18; return s.tmp_4; + s.callLocIdx = 860; s.pc = 18; return s.tmp_4; case 18: r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_3); - s.rt___84329 = (r0); + s.rt___11115 = (r0); r0 = s.caps[0].fields["dirMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 849; s.pc = 19; return s.tmp_2; + s.callLocIdx = 861; s.pc = 19; return s.tmp_2; case 19: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 850; s.pc = 20; return s.tmp_4; + s.callLocIdx = 862; s.pc = 20; return s.tmp_4; case 20: r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_3); - s.dir___84336 = (r0); - r0 = (s.rt___84329 != 15); + s.dir___11123 = (r0); + r0 = (s.rt___11115 != 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_1 = tileworld_Project_getRulesForSpriteKind__P73593_mk(s); + s.tmp_1 = tileworld_Project_getRulesForSpriteKind__P3713_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_1.arg0 = r0; r0 = s.caps[0].fields["kind"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 851; s.pc = 21; return s.tmp_1; + s.callLocIdx = 863; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - s.rules___84345 = (r0); - s.tmp_0 = tileworld_RuleVisualsBase_getRulesForTypeDir__P82563_mk(s); + s.rules___11132 = (r0); + s.tmp_0 = tileworld_RuleVisualsBase_getRulesForTypeDir__P6298_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_0.arg1 = s.rules___84345; - s.tmp_0.arg2 = s.rt___84329; - s.tmp_0.arg3 = s.dir___84336; - s.callLocIdx = 852; s.pc = 22; return s.tmp_0; + s.tmp_0.arg1 = s.rules___11132; + s.tmp_0.arg2 = s.rt___11115; + s.tmp_0.arg3 = s.dir___11123; + s.callLocIdx = 864; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.filteredRules___84351 = (r0); - r0 = pxsim_Array__length(s.filteredRules___84351); + s.filteredRules___11138 = (r0); + r0 = pxsim_Array__length(s.filteredRules___11138); 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 = r0 = s.filteredRules___84351; - s.tmp_4 = tileworld_Project_makeRule__P73586_mk(s); + s.tmp_2 = r0 = s.filteredRules___11138; + s.tmp_4 = tileworld_Project_makeRule__P3706_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.rt___84329; - s.tmp_4.arg2 = s.dir___84336; + s.tmp_4.arg1 = s.rt___11115; + s.tmp_4.arg2 = s.dir___11123; r0 = s.caps[0].fields["kind"]; s.tmp_4.arg3 = r0; - s.callLocIdx = 853; s.pc = 23; return s.tmp_4; + s.callLocIdx = 865; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_2, s.tmp_3); case 6: case 7: - s.tmp_0 = game_pushScene__P72413_mk(s); - s.callLocIdx = 854; s.pc = 24; return s.tmp_0; + s.tmp_0 = game_pushScene__P2533_mk(s); + s.callLocIdx = 866; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_ruleediting_RuleEditor__C73701_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_ruleediting_RuleEditor__C3821_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_ruleediting_RuleEditor_constructor__P73702_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleEditor_constructor__P3822_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; - r0 = pxsim_Array__getAt(s.filteredRules___84351, 0); + r0 = pxsim_Array__getAt(s.filteredRules___11138, 0); s.tmp_1.arg2 = r0; r0 = s.caps[0].fields["kind"]; s.tmp_1.arg3 = r0; - s.callLocIdx = 855; s.pc = 25; return s.tmp_1; + s.callLocIdx = 867; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; case 8: @@ -18289,12 +18291,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P84307.info = {"start":974,"length":964,"line":23,"column":64,"endLine":41,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":[]} +inline__P11093.info = {"start":974,"length":964,"line":23,"column":64,"endLine":41,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":[]} -function inline__P84307_mk(s) { +function inline__P11093_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P84307, depth: s.depth + 1, + parent: s, fn: inline__P11093, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18312,17 +18314,17 @@ function inline__P84307_mk(s) { tmp_13: undefined, tmp_14: undefined, tmp_15: undefined, - rt___84329: undefined, - dir___84336: undefined, - rules___84345: undefined, - filteredRules___84351: undefined, + rt___11115: undefined, + dir___11123: undefined, + rules___11132: undefined, + filteredRules___11138: undefined, } } -function inline__P84408(s) { +function inline__P11167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18332,20 +18334,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_popScene__P72414_mk(s); - s.callLocIdx = 857; s.pc = 1; return s.tmp_0; + s.tmp_0 = game_popScene__P2534_mk(s); + s.callLocIdx = 869; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P84408.info = {"start":2006,"length":56,"line":42,"column":64,"endLine":44,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":[]} +inline__P11167.info = {"start":2006,"length":56,"line":42,"column":64,"endLine":44,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":[]} -function inline__P84408_mk(s) { +function inline__P11167_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P84408, depth: s.depth + 1, + parent: s, fn: inline__P11167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18354,7 +18356,7 @@ function inline__P84408_mk(s) { -function tileworld_ruleediting_RuleEditor_constructor__P73702(s) { +function tileworld_ruleediting_RuleEditor_constructor__P3822(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18372,64 +18374,64 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); r0 = (s.arg0).fields["kind"] = (s.arg3); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_constructor__P73683_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_constructor__P3873482_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 928; s.pc = 1; return s.tmp_0; + s.callLocIdx = 940; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P82564_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P6299_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 929; s.pc = 2; return s.tmp_0; + s.callLocIdx = 941; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P82565_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P6300_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 930; s.pc = 3; return s.tmp_0; + s.callLocIdx = 942; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = (s.arg0).fields["askDeleteRule"] = (false); - s.tmp_0 = tileworld_ruleediting_RuleEditor_mainMenu__P84373_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_mainMenu__P6418_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 931; s.pc = 4; return s.tmp_0; + s.callLocIdx = 943; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(2, inline__P85007); + r0 = pxsim_pxtcore_mkAction(2, inline__P11185); 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__P71790_mk(s); - s.tmp_1.arg0 = globals.A___71757; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.A___1877; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1001; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1013; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P85306); + r0 = pxsim_pxtcore_mkAction(1, inline__P11474); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.B___71758; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.B___1878; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1008; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1020; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_constructor__P73702.info = {"start":1153,"length":5997,"line":26,"column":8,"endLine":138,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["this","p","rule","kind"]} +tileworld_ruleediting_RuleEditor_constructor__P3822.info = {"start":1153,"length":5997,"line":26,"column":8,"endLine":138,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["this","p","rule","kind"]} -function tileworld_ruleediting_RuleEditor_constructor__P73702_mk(s) { +function tileworld_ruleediting_RuleEditor_constructor__P3822_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_constructor__P73702, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_constructor__P3822, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18443,7 +18445,7 @@ function tileworld_ruleediting_RuleEditor_constructor__P73702_mk(s) { -function inline__P85007(s) { +function inline__P11185(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18453,121 +18455,121 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___85015 = undefined; - s.rules___85028 = undefined; - s.rules___85107 = undefined; - s.index___85109 = undefined; - s.rules___85189 = undefined; - s.g___85193 = undefined; - s.col___85250 = undefined; - s.row___85256 = undefined; - s.tmp_0 = Sprite_say__P71954_mk(s); + s.index___11194 = undefined; + s.rules___11208 = undefined; + s.rules___11287 = undefined; + s.index___11289 = undefined; + s.rules___11357 = undefined; + s.g___11361 = undefined; + s.col___11418 = undefined; + s.row___11424 = undefined; + s.tmp_0 = Sprite_say__P2074_mk(s); r0 = s.caps[0].fields["helpCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = null; s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; - s.callLocIdx = 932; s.pc = 68; return s.tmp_0; + s.callLocIdx = 944; s.pc = 68; return s.tmp_0; case 68: r0 = s.retval; r0 = s.caps[0].fields["askDeleteRule"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tileworld_ruleediting_RuleEditor_currentRules__P84379_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_currentRules__P6424_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 933; s.pc = 69; return s.tmp_2; + s.callLocIdx = 945; s.pc = 69; return s.tmp_2; case 69: r0 = s.retval; s.tmp_1 = r0; r0 = s.caps[0].fields["rule"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.tmp_3, undefined); - s.index___85015 = (r0); - s.tmp_0 = tileworld_Project_removeRule__P73587_mk(s); + s.index___11194 = (r0); + s.tmp_0 = tileworld_Project_removeRule__P3707_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["rule"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["rid"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 935; s.pc = 70; return s.tmp_0; + s.callLocIdx = 947; s.pc = 70; return s.tmp_0; case 70: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleEditor_currentRules__P84379_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_currentRules__P6424_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 936; s.pc = 71; return s.tmp_0; + s.callLocIdx = 948; s.pc = 71; return s.tmp_0; case 71: r0 = s.retval; - s.rules___85028 = (r0); - r0 = pxsim_Array__length(s.rules___85028); + s.rules___11208 = (r0); + r0 = pxsim_Array__length(s.rules___11208); 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 = game_popScene__P72414_mk(s); - s.callLocIdx = 937; s.pc = 72; return s.tmp_2; + s.tmp_2 = game_popScene__P2534_mk(s); + s.callLocIdx = 949; s.pc = 72; return s.tmp_2; case 72: r0 = s.retval; { step = 67; continue; } { step = 4; continue; } case 1: - s.tmp_1 = r0 = s.index___85015; - r0 = pxsim_Array__length(s.rules___85028); + s.tmp_1 = r0 = s.index___11194; + r0 = pxsim_Array__length(s.rules___11208); 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_Array__getAt(s.rules___85028, s.index___85015); + r0 = pxsim_Array__getAt(s.rules___11208, s.index___11194); { step = 3; continue; } case 2: - s.tmp_3 = r0 = s.rules___85028; - r0 = (s.index___85015 - 1); + s.tmp_3 = r0 = s.rules___11208; + r0 = (s.index___11194 - 1); s.tmp_4 = r0; r0 = pxsim_Array__getAt(s.tmp_3, s.tmp_4); case 3: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = tileworld_ruleediting_RuleEditor_resetRule__P84377_mk(s); + s.tmp_6 = tileworld_ruleediting_RuleEditor_resetRule__P6422_mk(s); s.tmp_6.arg0 = s.caps[0]; s.tmp_6.arg1 = s.tmp_5; - s.callLocIdx = 938; s.pc = 73; return s.tmp_6; + s.callLocIdx = 950; s.pc = 73; return s.tmp_6; case 73: r0 = s.retval; case 4: r0 = (s.caps[0]).fields["askDeleteRule"] = (false); { step = 66; continue; } case 5: - s.tmp_1 = tileworld_ruleediting_RuleEditor_inWhenPredicate__P84381_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleEditor_inWhenPredicate__P6426_mk(s); s.tmp_1.arg0 = s.caps[0]; - s.callLocIdx = 939; s.pc = 74; return s.tmp_1; + s.callLocIdx = 951; s.pc = 74; return s.tmp_1; case 74: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_3 = tileworld_ruleediting_RuleDisplay_active__P82985_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_active__P3873469_mk(s); s.tmp_3.arg0 = s.caps[0]; - s.tmp_4 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 940; s.pc = 76; return s.tmp_4; + s.callLocIdx = 952; s.pc = 76; return s.tmp_4; case 76: r0 = s.retval; s.tmp_3.arg1 = r0; - s.tmp_6 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_6.arg0 = s.caps[0]; s.tmp_6.arg1 = true; - s.callLocIdx = 941; s.pc = 77; return s.tmp_6; + s.callLocIdx = 953; s.pc = 77; return s.tmp_6; case 77: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_5 - 2); s.tmp_3.arg2 = r0; - s.callLocIdx = 942; s.pc = 75; return s.tmp_3; + s.callLocIdx = 954; s.pc = 75; return s.tmp_3; case 75: r0 = s.retval; s.tmp_2 = r0; @@ -18580,21 +18582,21 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 6; continue; } r0 = (s.caps[0]).fields["menu"] = (1); - s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P82572_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P6307_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 943; s.pc = 78; return s.tmp_0; + s.callLocIdx = 955; s.pc = 78; return s.tmp_0; case 78: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P82564_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P6299_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; - s.callLocIdx = 944; s.pc = 79; return s.tmp_0; + s.callLocIdx = 956; s.pc = 79; return s.tmp_0; case 79: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P82565_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P6300_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 1; - s.callLocIdx = 945; s.pc = 80; return s.tmp_0; + s.callLocIdx = 957; s.pc = 80; return s.tmp_0; case 80: r0 = s.retval; { step = 9; continue; } @@ -18605,9 +18607,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = tileworld_ruleediting_RuleEditor_mainMenu__P84373_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_mainMenu__P6418_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 946; s.pc = 81; return s.tmp_2; + s.callLocIdx = 958; s.pc = 81; return s.tmp_2; case 81: r0 = s.retval; case 7: @@ -18626,10 +18628,10 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 13: - s.tmp_3 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_3.arg0 = s.caps[0]; s.tmp_3.arg1 = true; - s.callLocIdx = 947; s.pc = 82; return s.tmp_3; + s.callLocIdx = 959; s.pc = 82; return s.tmp_3; case 82: r0 = s.retval; s.tmp_2 = r0; @@ -18639,9 +18641,9 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 15; continue; } - s.tmp_5 = tileworld_ruleediting_RuleEditor_attrUpdate__P84396_mk(s); + s.tmp_5 = tileworld_ruleediting_RuleEditor_attrUpdate__P6441_mk(s); s.tmp_5.arg0 = s.caps[0]; - s.callLocIdx = 948; s.pc = 83; return s.tmp_5; + s.callLocIdx = 960; s.pc = 83; return s.tmp_5; case 83: r0 = s.retval; { step = 64; continue; } @@ -18652,10 +18654,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - s.tmp_2 = tileworld_ruleediting_RuleEditor_commandUpdate__P84391_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_commandUpdate__P6436_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = false; - s.callLocIdx = 949; s.pc = 84; return s.tmp_2; + s.callLocIdx = 961; s.pc = 84; return s.tmp_2; case 84: r0 = s.retval; { step = 63; continue; } @@ -18666,9 +18668,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - s.tmp_2 = tileworld_ruleediting_RuleEditor_dirExprUpdate__P84399_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_dirExprUpdate__P6444_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 950; s.pc = 85; return s.tmp_2; + s.callLocIdx = 962; s.pc = 85; return s.tmp_2; case 85: r0 = s.retval; { step = 62; continue; } @@ -18679,10 +18681,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 60; continue; } - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 951; s.pc = 86; return s.tmp_4; + s.callLocIdx = 963; s.pc = 86; return s.tmp_4; case 86: r0 = s.retval; s.tmp_3 = r0; @@ -18690,10 +18692,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 42; continue; } - s.tmp_7 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_7.arg0 = s.caps[0]; s.tmp_7.arg1 = true; - s.callLocIdx = 952; s.pc = 87; return s.tmp_7; + s.callLocIdx = 964; s.pc = 87; return s.tmp_7; case 87: r0 = s.retval; s.tmp_6 = r0; @@ -18704,10 +18706,10 @@ switch (step) { r0 = s.tmp_5; { step = 19; continue; } case 18: - s.tmp_9 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_9 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_9.arg0 = s.caps[0]; s.tmp_9.arg1 = true; - s.callLocIdx = 953; s.pc = 88; return s.tmp_9; + s.callLocIdx = 965; s.pc = 88; return s.tmp_9; case 88: r0 = s.retval; s.tmp_8 = r0; @@ -18717,20 +18719,20 @@ switch (step) { s.tmp_10 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_10); if (!r0) { step = 32; continue; } - s.tmp_11 = tileworld_ruleediting_RuleEditor_currentRules__P84379_mk(s); + s.tmp_11 = tileworld_ruleediting_RuleEditor_currentRules__P6424_mk(s); s.tmp_11.arg0 = s.caps[0]; - s.callLocIdx = 954; s.pc = 89; return s.tmp_11; + s.callLocIdx = 966; s.pc = 89; return s.tmp_11; case 89: r0 = s.retval; - s.rules___85107 = (r0); + s.rules___11287 = (r0); r0 = s.caps[0].fields["rule"]; s.tmp_0 = r0; - r0 = pxsim_Array_.indexOf(s.rules___85107, s.tmp_0, undefined); - s.index___85109 = (r0); - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + r0 = pxsim_Array_.indexOf(s.rules___11287, s.tmp_0, undefined); + s.index___11289 = (r0); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 955; s.pc = 90; return s.tmp_2; + s.callLocIdx = 967; s.pc = 90; return s.tmp_2; case 90: r0 = s.retval; s.tmp_1 = r0; @@ -18741,28 +18743,28 @@ switch (step) { r0 = s.tmp_0; { step = 21; continue; } case 20: - r0 = (s.index___85109 > 0); + r0 = (s.index___11289 > 0); case 21: // jmp value (already in r0) s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 22; continue; } - s.tmp_4 = tileworld_ruleediting_RuleEditor_changeRule__P84376_mk(s); + s.tmp_4 = tileworld_ruleediting_RuleEditor_changeRule__P6421_mk(s); s.tmp_4.arg0 = s.caps[0]; - s.tmp_5 = r0 = s.rules___85107; - r0 = (s.index___85109 - 1); + s.tmp_5 = r0 = s.rules___11287; + r0 = (s.index___11289 - 1); s.tmp_6 = r0; r0 = pxsim_Array__getAt(s.tmp_5, s.tmp_6); s.tmp_4.arg1 = r0; - s.callLocIdx = 956; s.pc = 91; return s.tmp_4; + s.callLocIdx = 968; s.pc = 91; return s.tmp_4; case 91: r0 = s.retval; { step = 31; continue; } case 22: - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 957; s.pc = 92; return s.tmp_2; + s.callLocIdx = 969; s.pc = 92; return s.tmp_2; case 92: r0 = s.retval; s.tmp_1 = r0; @@ -18773,8 +18775,8 @@ switch (step) { r0 = s.tmp_0; { step = 24; continue; } case 23: - s.tmp_3 = r0 = s.index___85109; - r0 = pxsim_Array__length(s.rules___85107); + s.tmp_3 = r0 = s.index___11289; + r0 = pxsim_Array__length(s.rules___11287); s.tmp_5 = r0; r0 = (s.tmp_5 - 1); s.tmp_4 = r0; @@ -18784,22 +18786,22 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 25; continue; } - s.tmp_7 = tileworld_ruleediting_RuleEditor_changeRule__P84376_mk(s); + s.tmp_7 = tileworld_ruleediting_RuleEditor_changeRule__P6421_mk(s); s.tmp_7.arg0 = s.caps[0]; - s.tmp_8 = r0 = s.rules___85107; - r0 = (s.index___85109 + 1); + s.tmp_8 = r0 = s.rules___11287; + r0 = (s.index___11289 + 1); s.tmp_9 = r0; r0 = pxsim_Array__getAt(s.tmp_8, s.tmp_9); s.tmp_7.arg1 = r0; - s.callLocIdx = 958; s.pc = 93; return s.tmp_7; + s.callLocIdx = 970; s.pc = 93; return s.tmp_7; case 93: r0 = s.retval; { step = 30; continue; } case 25: - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 959; s.pc = 94; return s.tmp_2; + s.callLocIdx = 971; s.pc = 94; return s.tmp_2; case 94: r0 = s.retval; s.tmp_1 = r0; @@ -18810,9 +18812,9 @@ switch (step) { r0 = s.tmp_0; { step = 27; continue; } case 26: - s.tmp_4 = tileworld_ruleediting_RuleDisplay_getType__P82975_mk(s); + s.tmp_4 = tileworld_ruleediting_RuleDisplay_getType__P3873459_mk(s); s.tmp_4.arg0 = s.caps[0]; - s.callLocIdx = 960; s.pc = 95; return s.tmp_4; + s.callLocIdx = 972; s.pc = 95; return s.tmp_4; case 95: r0 = s.retval; s.tmp_3 = r0; @@ -18822,33 +18824,33 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 28; continue; } - s.tmp_6 = tileworld_ruleediting_RuleEditor_changeRule__P84376_mk(s); + s.tmp_6 = tileworld_ruleediting_RuleEditor_changeRule__P6421_mk(s); s.tmp_6.arg0 = s.caps[0]; - s.tmp_7 = tileworld_Project_makeRule__P73586_mk(s); + s.tmp_7 = tileworld_Project_makeRule__P3706_mk(s); s.tmp_7.arg0 = s.caps[1]; - s.tmp_8 = tileworld_ruleediting_RuleDisplay_getType__P82975_mk(s); + s.tmp_8 = tileworld_ruleediting_RuleDisplay_getType__P3873459_mk(s); s.tmp_8.arg0 = s.caps[0]; - s.callLocIdx = 961; s.pc = 98; return s.tmp_8; + s.callLocIdx = 973; s.pc = 98; return s.tmp_8; case 98: r0 = s.retval; s.tmp_7.arg1 = r0; - s.tmp_9 = tileworld_ruleediting_RuleDisplay_getDir__P82974_mk(s); + s.tmp_9 = tileworld_ruleediting_RuleDisplay_getDir__P3873458_mk(s); s.tmp_9.arg0 = s.caps[0]; - s.callLocIdx = 962; s.pc = 99; return s.tmp_9; + s.callLocIdx = 974; s.pc = 99; return s.tmp_9; case 99: r0 = s.retval; s.tmp_7.arg2 = r0; - s.tmp_10 = tileworld_ruleediting_RuleDisplay_getKind__P82976_mk(s); + s.tmp_10 = tileworld_ruleediting_RuleDisplay_getKind__P3873460_mk(s); s.tmp_10.arg0 = s.caps[0]; - s.callLocIdx = 963; s.pc = 100; return s.tmp_10; + s.callLocIdx = 975; s.pc = 100; return s.tmp_10; case 100: r0 = s.retval; s.tmp_7.arg3 = r0; - s.callLocIdx = 964; s.pc = 97; return s.tmp_7; + s.callLocIdx = 976; s.pc = 97; return s.tmp_7; case 97: r0 = s.retval; s.tmp_6.arg1 = r0; - s.callLocIdx = 965; s.pc = 96; return s.tmp_6; + s.callLocIdx = 977; s.pc = 96; return s.tmp_6; case 96: r0 = s.retval; case 28: @@ -18857,10 +18859,10 @@ switch (step) { case 31: { step = 41; continue; } case 32: - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 966; s.pc = 101; return s.tmp_2; + s.callLocIdx = 978; s.pc = 101; return s.tmp_2; case 101: r0 = s.retval; s.tmp_1 = r0; @@ -18868,34 +18870,34 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 33; continue; } - s.tmp_3 = tileworld_Project_saveRule__P73585_mk(s); + s.tmp_3 = tileworld_Project_saveRule__P3705_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_3.arg0 = r0; r0 = s.caps[0].fields["rule"]; s.tmp_3.arg1 = r0; - s.callLocIdx = 967; s.pc = 102; return s.tmp_3; + s.callLocIdx = 979; s.pc = 102; return s.tmp_3; case 102: r0 = s.retval; - s.tmp_0 = game_pushScene__P72413_mk(s); - s.callLocIdx = 968; s.pc = 103; return s.tmp_0; + s.tmp_0 = game_pushScene__P2533_mk(s); + s.callLocIdx = 980; s.pc = 103; return s.tmp_0; case 103: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_MapEditor__C73704_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_MapEditor__C3824_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_MapEditor_constructor__P73705_mk(s); + s.tmp_1 = tileworld_MapEditor_constructor__P3825_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 969; s.pc = 104; return s.tmp_1; + s.callLocIdx = 981; s.pc = 104; return s.tmp_1; case 104: r0 = s.retval; { step = 67; continue; } { step = 40; continue; } case 33: - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 970; s.pc = 105; return s.tmp_2; + s.callLocIdx = 982; s.pc = 105; return s.tmp_2; case 105: r0 = s.retval; s.tmp_1 = r0; @@ -18903,44 +18905,44 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 34; continue; } - s.tmp_3 = tileworld_Project_saveRule__P73585_mk(s); + s.tmp_3 = tileworld_Project_saveRule__P3705_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_3.arg0 = r0; r0 = s.caps[0].fields["rule"]; s.tmp_3.arg1 = r0; - s.callLocIdx = 971; s.pc = 106; return s.tmp_3; + s.callLocIdx = 983; s.pc = 106; return s.tmp_3; case 106: r0 = s.retval; - s.tmp_0 = game_pushScene__P72413_mk(s); - s.callLocIdx = 972; s.pc = 107; return s.tmp_0; + s.tmp_0 = game_pushScene__P2533_mk(s); + s.callLocIdx = 984; s.pc = 107; return s.tmp_0; case 107: r0 = s.retval; r0 = s.caps[0].fields["p"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["rules"]; - s.rules___85189 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RunGame__C73658_VT); + s.rules___11357 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RunGame__C5957996_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_RunGame_constructor__P73659_mk(s); + s.tmp_1 = tileworld_RunGame_constructor__P5958004_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___85189; - s.tmp_3 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_1.arg2 = s.rules___11357; + s.tmp_3 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_3.arg0 = s.caps[0]; s.tmp_3.arg1 = true; - s.callLocIdx = 974; s.pc = 109; return s.tmp_3; + s.callLocIdx = 986; s.pc = 109; return s.tmp_3; case 109: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_2 == 3); s.tmp_1.arg3 = r0; - s.callLocIdx = 975; s.pc = 108; return s.tmp_1; + s.callLocIdx = 987; s.pc = 108; return s.tmp_1; case 108: r0 = s.retval; - s.g___85193 = (s.tmp_0); - s.tmp_0 = tileworld_RunGame_setWorld__P73660_mk(s); - s.tmp_0.arg0 = s.g___85193; + s.g___11361 = (s.tmp_0); + s.tmp_0 = tileworld_RunGame_setWorld__P5957998_mk(s); + s.tmp_0.arg0 = s.g___11361; r0 = s.caps[0].fields["p"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_backgrounds"]; @@ -18949,21 +18951,21 @@ switch (step) { s.tmp_2 = r0; r0 = s.tmp_2.fields["_sprites"]; s.tmp_0.arg2 = r0; - s.callLocIdx = 978; s.pc = 110; return s.tmp_0; + s.callLocIdx = 990; s.pc = 110; return s.tmp_0; case 110: r0 = s.retval; - s.tmp_0 = tileworld_RunGame_start__P73661_mk(s); - s.tmp_0.arg0 = s.g___85193; - s.callLocIdx = 979; s.pc = 111; return s.tmp_0; + s.tmp_0 = tileworld_RunGame_start__P5958000_mk(s); + s.tmp_0.arg0 = s.g___11361; + s.callLocIdx = 991; s.pc = 111; return s.tmp_0; case 111: r0 = s.retval; { step = 67; continue; } { step = 39; continue; } case 34: - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 980; s.pc = 112; return s.tmp_2; + s.callLocIdx = 992; s.pc = 112; return s.tmp_2; case 112: r0 = s.retval; s.tmp_1 = r0; @@ -18974,10 +18976,10 @@ switch (step) { r0 = (s.caps[0]).fields["askDeleteRule"] = (true); { step = 38; continue; } case 35: - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 981; s.pc = 113; return s.tmp_2; + s.callLocIdx = 993; s.pc = 113; return s.tmp_2; case 113: r0 = s.retval; s.tmp_1 = r0; @@ -18985,27 +18987,27 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.tmp_3 = tileworld_Project_saveRule__P73585_mk(s); + s.tmp_3 = tileworld_Project_saveRule__P3705_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_3.arg0 = r0; r0 = s.caps[0].fields["rule"]; s.tmp_3.arg1 = r0; - s.callLocIdx = 982; s.pc = 114; return s.tmp_3; + s.callLocIdx = 994; s.pc = 114; return s.tmp_3; case 114: r0 = s.retval; - s.tmp_0 = game_pushScene__P72413_mk(s); - s.callLocIdx = 983; s.pc = 115; return s.tmp_0; + s.tmp_0 = game_pushScene__P2533_mk(s); + s.callLocIdx = 995; s.pc = 115; return s.tmp_0; case 115: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_ruleediting_RuleViewDisplay__C73686_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_ruleediting_RuleViewDisplay__C3806_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_ruleediting_RuleViewDisplay_constructor__P73687_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleViewDisplay_constructor__P3807_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["rule"]; s.tmp_1.arg2 = r0; - s.callLocIdx = 984; s.pc = 116; return s.tmp_1; + s.callLocIdx = 996; s.pc = 116; return s.tmp_1; case 116: r0 = s.retval; { step = 67; continue; } @@ -19017,10 +19019,10 @@ switch (step) { case 41: { step = 59; continue; } case 42: - s.tmp_2 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 985; s.pc = 117; return s.tmp_2; + s.callLocIdx = 997; s.pc = 117; return s.tmp_2; case 117: r0 = s.retval; s.tmp_1 = r0; @@ -19028,10 +19030,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 57; continue; } - s.tmp_5 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_5 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_5.arg0 = s.caps[0]; s.tmp_5.arg1 = true; - s.callLocIdx = 986; s.pc = 118; return s.tmp_5; + s.callLocIdx = 998; s.pc = 118; return s.tmp_5; case 118: r0 = s.retval; s.tmp_4 = r0; @@ -19039,17 +19041,17 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 43; continue; } - s.tmp_6 = tileworld_ruleediting_RuleEditor_tryEditCommand__P84384_mk(s); + s.tmp_6 = tileworld_ruleediting_RuleEditor_tryEditCommand__P6429_mk(s); s.tmp_6.arg0 = s.caps[0]; - s.callLocIdx = 987; s.pc = 119; return s.tmp_6; + s.callLocIdx = 999; s.pc = 119; return s.tmp_6; case 119: r0 = s.retval; { step = 56; continue; } case 43: - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 988; s.pc = 120; return s.tmp_2; + s.callLocIdx = 1000; s.pc = 120; return s.tmp_2; case 120: r0 = s.retval; s.tmp_1 = r0; @@ -19060,10 +19062,10 @@ switch (step) { r0 = s.tmp_0; { step = 45; continue; } case 44: - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 989; s.pc = 121; return s.tmp_4; + s.callLocIdx = 1001; s.pc = 121; return s.tmp_4; case 121: r0 = s.retval; s.tmp_3 = r0; @@ -19073,43 +19075,43 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 54; continue; } - s.tmp_6 = tileworld_ruleediting_RuleDisplay_rowToColCoord__P82986_mk(s); + s.tmp_6 = tileworld_ruleediting_RuleDisplay_rowToColCoord__P3873470_mk(s); s.tmp_6.arg0 = s.caps[0]; - s.tmp_8 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_8.arg0 = s.caps[0]; s.tmp_8.arg1 = true; - s.callLocIdx = 990; s.pc = 123; return s.tmp_8; + s.callLocIdx = 1002; s.pc = 123; return s.tmp_8; case 123: r0 = s.retval; s.tmp_7 = r0; r0 = (s.tmp_7 - 2); s.tmp_6.arg1 = r0; - s.callLocIdx = 991; s.pc = 122; return s.tmp_6; + s.callLocIdx = 1003; s.pc = 122; return s.tmp_6; case 122: r0 = s.retval; - s.col___85250 = (r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_rowToRowCoord__P82987_mk(s); + s.col___11418 = (r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_rowToRowCoord__P3873471_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_2 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 992; s.pc = 125; return s.tmp_2; + s.callLocIdx = 1004; s.pc = 125; return s.tmp_2; case 125: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 - 2); s.tmp_0.arg1 = r0; - s.callLocIdx = 993; s.pc = 124; return s.tmp_0; + s.callLocIdx = 1005; s.pc = 124; return s.tmp_0; case 124: r0 = s.retval; - s.row___85256 = (r0); - s.tmp_2 = tileworld_RuleView_findWitnessColRow__P73535_mk(s); + s.row___11424 = (r0); + s.tmp_2 = tileworld_RuleView_findWitnessColRow__P3655_mk(s); r0 = s.caps[0].fields["rule"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.col___85250; - s.tmp_2.arg2 = s.row___85256; + s.tmp_2.arg1 = s.col___11418; + s.tmp_2.arg2 = s.row___11424; s.tmp_2.arg3 = true; - s.callLocIdx = 994; s.pc = 126; return s.tmp_2; + s.callLocIdx = 1006; s.pc = 126; return s.tmp_2; case 126: r0 = s.retval; s.tmp_1 = r0; @@ -19132,7 +19134,7 @@ switch (step) { r0 = s.tmp_3; { step = 48; continue; } case 47: - r0 = (s.col___85250 != 2); + r0 = (s.col___11418 != 2); case 48: // jmp value (already in r0) s.tmp_6 = r0; @@ -19141,7 +19143,7 @@ switch (step) { r0 = s.tmp_6; { step = 50; continue; } case 49: - r0 = (s.row___85256 != 2); + r0 = (s.row___11424 != 2); case 50: // jmp value (already in r0) s.tmp_7 = r0; @@ -19153,39 +19155,39 @@ switch (step) { if (!r0) { step = 52; continue; } r0 = (s.caps[0]).fields["menu"] = (2); s.tmp_0 = r0 = s.caps[0]; - s.tmp_2 = tileworld_RuleView_getWhenDo__P73528_mk(s); + s.tmp_2 = tileworld_RuleView_getWhenDo__P3648_mk(s); r0 = s.caps[0].fields["rule"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.col___85250; - s.tmp_2.arg2 = s.row___85256; - s.callLocIdx = 996; s.pc = 127; return s.tmp_2; + s.tmp_2.arg1 = s.col___11418; + s.tmp_2.arg2 = s.row___11424; + s.callLocIdx = 1008; s.pc = 127; return s.tmp_2; case 127: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["whenDo"] = (s.tmp_1); - s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P82572_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P6307_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 997; s.pc = 128; return s.tmp_0; + s.callLocIdx = 1009; s.pc = 128; return s.tmp_0; case 128: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P82564_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P6299_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = tileworld_RuleView_getWitnessDirection__P73536_mk(s); + s.tmp_1 = tileworld_RuleView_getWitnessDirection__P3656_mk(s); r0 = s.caps[0].fields["rule"]; s.tmp_1.arg0 = r0; r0 = s.caps[0].fields["whenDo"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 998; s.pc = 130; return s.tmp_1; + s.callLocIdx = 1010; s.pc = 130; return s.tmp_1; case 130: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 999; s.pc = 129; return s.tmp_0; + s.callLocIdx = 1011; s.pc = 129; return s.tmp_0; case 129: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P82565_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P6300_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; - s.callLocIdx = 1000; s.pc = 131; return s.tmp_0; + s.callLocIdx = 1012; s.pc = 131; return s.tmp_0; case 131: r0 = s.retval; case 52: @@ -19208,12 +19210,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P85007.info = {"start":1585,"length":4868,"line":35,"column":64,"endLine":119,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":[]} +inline__P11185.info = {"start":1585,"length":4868,"line":35,"column":64,"endLine":119,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P85007_mk(s) { +function inline__P11185_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P85007, depth: s.depth + 1, + parent: s, fn: inline__P11185, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19227,21 +19229,21 @@ function inline__P85007_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - index___85015: undefined, - rules___85028: undefined, - rules___85107: undefined, - index___85109: undefined, - rules___85189: undefined, - g___85193: undefined, - col___85250: undefined, - row___85256: undefined, + index___11194: undefined, + rules___11208: undefined, + rules___11287: undefined, + index___11289: undefined, + rules___11357: undefined, + g___11361: undefined, + col___11418: undefined, + row___11424: undefined, } } -function inline__P85306(s) { +function inline__P11474(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19264,17 +19266,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_2 = tileworld_ruleediting_RuleEditor_mainMenu__P84373_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_mainMenu__P6418_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 1002; s.pc = 8; return s.tmp_2; + s.callLocIdx = 1014; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; { step = 5; continue; } case 2: - s.tmp_2 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1003; s.pc = 9; return s.tmp_2; + s.callLocIdx = 1015; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_1 = r0; @@ -19282,37 +19284,37 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_3 = tileworld_RuleVisualsBase_setTileSaved__P82572_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_setTileSaved__P6307_mk(s); s.tmp_3.arg0 = s.caps[0]; - s.callLocIdx = 1004; s.pc = 10; return s.tmp_3; + s.callLocIdx = 1016; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P82564_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P6299_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 2; - s.callLocIdx = 1005; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1017; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P82565_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P6300_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; - s.callLocIdx = 1006; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1018; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = tileworld_ruleediting_RuleEditor_saveAndPop__P84378_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_saveAndPop__P6423_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1007; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1019; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; { step = 7; continue; } case 4: case 5: case 6: - s.tmp_0 = tileworld_ruleediting_RuleEditor__C73701_v0_1_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor__C3821_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 14; return s.tmp_0; case 14: @@ -19322,12 +19324,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P85306.info = {"start":6520,"length":618,"line":121,"column":64,"endLine":137,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":[]} +inline__P11474.info = {"start":6520,"length":618,"line":121,"column":64,"endLine":137,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P85306_mk(s) { +function inline__P11474_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P85306, depth: s.depth + 1, + parent: s, fn: inline__P11474, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19339,7 +19341,7 @@ function inline__P85306_mk(s) { -function tileworld_ruleediting_RuleEditor_update__P84382(s) { +function tileworld_ruleediting_RuleEditor_update__P6427(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19349,16 +19351,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___85578 = undefined; + s.len___11511 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_update__P82983_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_update__P3873467_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1058; s.pc = 25; return s.tmp_0; + s.callLocIdx = 1070; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; r0 = s.arg0.fields["p"]; @@ -19380,10 +19382,10 @@ switch (step) { r0 = s.tmp_2; { step = 4; continue; } case 3: - s.tmp_4 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1059; s.pc = 26; return s.tmp_4; + s.callLocIdx = 1071; s.pc = 26; return s.tmp_4; case 26: r0 = s.retval; s.tmp_3 = r0; @@ -19396,10 +19398,10 @@ switch (step) { r0 = s.tmp_5; { step = 6; continue; } case 5: - s.tmp_7 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = true; - s.callLocIdx = 1060; s.pc = 27; return s.tmp_7; + s.callLocIdx = 1072; s.pc = 27; return s.tmp_7; case 27: r0 = s.retval; s.tmp_6 = r0; @@ -19411,49 +19413,49 @@ switch (step) { if (!r0) { step = 13; continue; } r0 = s.arg0.fields["commandLengths"]; s.tmp_9 = r0; - s.tmp_12 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_12 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_12.arg0 = s.arg0; s.tmp_12.arg1 = true; - s.callLocIdx = 1061; s.pc = 28; return s.tmp_12; + s.callLocIdx = 1073; s.pc = 28; return s.tmp_12; case 28: r0 = s.retval; s.tmp_11 = r0; r0 = (s.tmp_11 - 2); s.tmp_10 = r0; r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); - s.len___85578 = (r0); - r0 = (s.len___85578 != -1); + s.len___11511 = (r0); + r0 = (s.len___11511 != -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_RuleVisualsBase_col__P82566_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; - s.callLocIdx = 1062; s.pc = 29; return s.tmp_3; + s.callLocIdx = 1074; s.pc = 29; return s.tmp_3; case 29: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_2 - 6); s.tmp_1 = r0; - r0 = (s.tmp_1 < s.len___85578); + r0 = (s.tmp_1 < s.len___11511); case 8: // jmp value (already in r0) s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 11; continue; } - s.tmp_8 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_8.arg0 = s.arg0; s.tmp_8.arg1 = true; - s.callLocIdx = 1063; s.pc = 30; return s.tmp_8; + s.callLocIdx = 1075; s.pc = 30; return s.tmp_8; case 30: r0 = s.retval; s.tmp_7 = r0; r0 = (s.tmp_7 - 6); s.tmp_6 = r0; - r0 = (s.len___85578 - 1); + r0 = (s.len___11511 - 1); s.tmp_9 = r0; r0 = (s.tmp_6 == s.tmp_9); s.tmp_5 = r0; @@ -19466,14 +19468,14 @@ switch (step) { case 10: // jmp value (already in r0) s.tmp_10 = r0; - s.tmp_11 = Sprite_say__P71954_mk(s); + s.tmp_11 = Sprite_say__P2074_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_11.arg0 = r0; s.tmp_11.arg1 = s.tmp_10; s.tmp_11.arg2 = undefined; s.tmp_11.arg3 = 15; s.tmp_11.arg4 = 1; - s.callLocIdx = 1064; s.pc = 31; return s.tmp_11; + s.callLocIdx = 1076; s.pc = 31; return s.tmp_11; case 31: r0 = s.retval; case 11: @@ -19486,9 +19488,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_2 = tileworld_ruleediting_RuleEditor_showMainMenu__P84383_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_showMainMenu__P6428_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1065; s.pc = 32; return s.tmp_2; + s.callLocIdx = 1077; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; { step = 22; continue; } @@ -19502,25 +19504,25 @@ switch (step) { r0 = s.arg0.fields["dirMap"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_2, 15); - s.tmp_0 = tileworld_ruleediting_RuleEditor_attrMenu__P84394_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_attrMenu__P6439_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = false; - s.callLocIdx = 1066; s.pc = 34; return s.tmp_1; + s.callLocIdx = 1078; s.pc = 34; return s.tmp_1; case 34: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_3 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = false; - s.callLocIdx = 1067; s.pc = 35; return s.tmp_3; + s.callLocIdx = 1079; s.pc = 35; return s.tmp_3; case 35: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_2 - 2); s.tmp_0.arg2 = r0; - s.callLocIdx = 1068; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1080; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; { step = 21; continue; } @@ -19531,10 +19533,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - s.tmp_2 = tileworld_ruleediting_RuleEditor_modifyCommandMenu__P84386_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_modifyCommandMenu__P6431_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = false; - s.callLocIdx = 1069; s.pc = 36; return s.tmp_2; + s.callLocIdx = 1081; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; { step = 20; continue; } @@ -19545,9 +19547,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.tmp_2 = tileworld_ruleediting_RuleEditor_dirExprMenu__P84398_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_dirExprMenu__P6443_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1070; s.pc = 37; return s.tmp_2; + s.callLocIdx = 1082; s.pc = 37; return s.tmp_2; case 37: r0 = s.retval; case 18: @@ -19559,30 +19561,30 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_1 = Sprite_setFlag__P71959_mk(s); + s.tmp_1 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 128; s.tmp_1.arg2 = true; - s.callLocIdx = 1071; s.pc = 38; return s.tmp_1; + s.callLocIdx = 1083; s.pc = 38; return s.tmp_1; case 38: r0 = s.retval; - s.tmp_0 = game_showDialog__P72415_mk(s); + s.tmp_0 = game_showDialog__P2535_mk(s); s.tmp_0.arg0 = "OK to delete rule?"; r0 = pxsim_String_.mkEmpty(); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = "A = OK, B = CANCEL"; - s.callLocIdx = 1072; s.pc = 39; return s.tmp_0; + s.callLocIdx = 1084; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; { step = 24; continue; } case 23: - s.tmp_0 = Sprite_setFlag__P71959_mk(s); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = false; - s.callLocIdx = 1073; s.pc = 40; return s.tmp_0; + s.callLocIdx = 1085; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; case 24: @@ -19590,12 +19592,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_update__P84382.info = {"start":10424,"length":1240,"line":223,"column":8,"endLine":248,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"update","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_update__P6427.info = {"start":10424,"length":1240,"line":223,"column":8,"endLine":248,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"update","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_update__P84382_mk(s) { +function tileworld_ruleediting_RuleEditor_update__P6427_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_update__P84382, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_update__P6427, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19610,7 +19612,7 @@ function tileworld_ruleediting_RuleEditor_update__P84382_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - len___85578: undefined, + len___11511: undefined, arg0: undefined, } } @@ -19618,7 +19620,7 @@ function tileworld_ruleediting_RuleEditor_update__P84382_mk(s) { -function tileworld_ruleediting_RuleEditor_dirExprMenu__P84398(s) { +function tileworld_ruleediting_RuleEditor_dirExprMenu__P6443(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19633,42 +19635,42 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P86370); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P11583); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); - s.tmp_1.arg0 = globals.movedImages___73674; + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + s.tmp_1.arg0 = globals.movedImages___3873421; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1187; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1199; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = tileworld_RuleView_getWitnessDirection__P73536_mk(s); + s.tmp_1 = tileworld_RuleView_getWitnessDirection__P3656_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["whenDo"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1188; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1200; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.cursorOut___73609; - s.callLocIdx = 1189; s.pc = 2; return s.tmp_0; + s.tmp_0.arg3 = globals.cursorOut___3729; + s.callLocIdx = 1201; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_dirExprMenu__P84398.info = {"start":22106,"length":326,"line":502,"column":8,"endLine":509,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"dirExprMenu","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_dirExprMenu__P6443.info = {"start":22106,"length":326,"line":502,"column":8,"endLine":509,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"dirExprMenu","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_dirExprMenu__P84398_mk(s) { +function tileworld_ruleediting_RuleEditor_dirExprMenu__P6443_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_dirExprMenu__P84398, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_dirExprMenu__P6443, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19679,7 +19681,7 @@ function tileworld_ruleediting_RuleEditor_dirExprMenu__P84398_mk(s) { -function inline__P86370(s) { +function inline__P11583(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19715,12 +19717,12 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = s.arg1; s.tmp_4.arg2 = 0; s.tmp_4.arg3 = s.arg0; - s.callLocIdx = 1186; s.pc = 6; return s.tmp_4; + s.callLocIdx = 1198; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; case 5: @@ -19728,12 +19730,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P86370.info = {"start":22162,"length":172,"line":503,"column":32,"endLine":507,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P11583.info = {"start":22162,"length":172,"line":503,"column":32,"endLine":507,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P86370_mk(s) { +function inline__P11583_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P86370, depth: s.depth + 1, + parent: s, fn: inline__P11583, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19748,7 +19750,7 @@ function inline__P86370_mk(s) { -function tileworld_ruleediting_RuleEditor_modifyCommandMenu__P84386(s) { +function tileworld_ruleediting_RuleEditor_modifyCommandMenu__P6431(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19758,37 +19760,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.inst___85843 = undefined; - s.arg___85851 = undefined; + s.inst___11607 = undefined; + s.arg___11616 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getCmdInst__P73539_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getCmdInst__P3659_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["whenDo"]; s.tmp_0.arg1 = r0; r0 = s.arg0.fields["currentCommand"]; s.tmp_0.arg2 = r0; - s.callLocIdx = 1109; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1121; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.inst___85843 = (r0); - s.tmp_0 = tileworld_RuleView_getCmdArg__P73540_mk(s); + s.inst___11607 = (r0); + s.tmp_0 = tileworld_RuleView_getCmdArg__P3660_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["whenDo"]; s.tmp_0.arg1 = r0; r0 = s.arg0.fields["currentCommand"]; s.tmp_0.arg2 = r0; - s.callLocIdx = 1110; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1122; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.arg___85851 = (r0); + s.arg___11616 = (r0); r0 = s.arg0.fields["tokens"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); @@ -19797,31 +19799,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = tileworld_ruleediting_RuleEditor_makeCommandMenu__P84385_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleEditor_makeCommandMenu__P6430_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.inst___85843; - s.tmp_3.arg2 = s.arg___85851; + s.tmp_3.arg1 = s.inst___11607; + s.tmp_3.arg2 = s.arg___11616; s.tmp_3.arg3 = s.arg1; - s.callLocIdx = 1111; s.pc = 7; return s.tmp_3; + s.callLocIdx = 1123; s.pc = 7; return s.tmp_3; case 7: r0 = s.retval; { step = 4; continue; } case 1: - r0 = (s.inst___85843 != 255); + r0 = (s.inst___11607 != 255); 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___85843); + r0 = pxsim_Array__push(s.tmp_1, s.inst___11607); r0 = pxsim_Array__push(s.tmp_1, 100); r0 = (s.arg0).fields["tokens"] = (s.tmp_1); - s.tmp_0 = tileworld_ruleediting_RuleEditor_makeCommandMenu__P84385_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_makeCommandMenu__P6430_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.inst___85843; - s.tmp_0.arg2 = s.arg___85851; + s.tmp_0.arg1 = s.inst___11607; + s.tmp_0.arg2 = s.arg___11616; s.tmp_0.arg3 = s.arg1; - s.callLocIdx = 1112; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1124; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 2: @@ -19831,19 +19833,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_modifyCommandMenu__P84386.info = {"start":14845,"length":488,"line":326,"column":8,"endLine":335,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"modifyCommandMenu","argumentNames":["this","inEdit"]} +tileworld_ruleediting_RuleEditor_modifyCommandMenu__P6431.info = {"start":14845,"length":488,"line":326,"column":8,"endLine":335,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"modifyCommandMenu","argumentNames":["this","inEdit"]} -function tileworld_ruleediting_RuleEditor_modifyCommandMenu__P84386_mk(s) { +function tileworld_ruleediting_RuleEditor_modifyCommandMenu__P6431_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_modifyCommandMenu__P84386, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_modifyCommandMenu__P6431, depth: s.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___85843: undefined, - arg___85851: undefined, + inst___11607: undefined, + arg___11616: undefined, arg0: undefined, arg1: undefined, } } @@ -19852,7 +19854,7 @@ function tileworld_ruleediting_RuleEditor_modifyCommandMenu__P84386_mk(s) { -function tileworld_ruleediting_RuleEditor_makeCommandMenu__P84385(s) { +function tileworld_ruleediting_RuleEditor_makeCommandMenu__P6430(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19862,8 +19864,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___85795 = undefined; - s.row___85796 = undefined; + s.col___11649 = undefined; + s.row___11650 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -19872,35 +19874,35 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); - s.col___85795 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.col___85795, 3); - s.row___85796 = (0); - r0 = pxsim_pxtcore_mkAction(5, inline__P85800); + s.col___11649 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.col___11649, 3); + s.row___11650 = (0); + r0 = pxsim_pxtcore_mkAction(5, inline__P11654); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.col___85795); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.row___85796); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.col___11649); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.row___11650); r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.arg3); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["tokens"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1107; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1119; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg1 != 255); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = tileworld_ruleediting_RuleEditor_makeArgMenu__P84390_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleEditor_makeArgMenu__P6435_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.arg3; - s.callLocIdx = 1108; s.pc = 4; return s.tmp_1; + s.callLocIdx = 1120; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -19909,17 +19911,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_makeCommandMenu__P84385.info = {"start":13987,"length":848,"line":303,"column":8,"endLine":324,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeCommandMenu","argumentNames":["this","inst","arg","inEdit"]} +tileworld_ruleediting_RuleEditor_makeCommandMenu__P6430.info = {"start":13987,"length":848,"line":303,"column":8,"endLine":324,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeCommandMenu","argumentNames":["this","inst","arg","inEdit"]} -function tileworld_ruleediting_RuleEditor_makeCommandMenu__P84385_mk(s) { +function tileworld_ruleediting_RuleEditor_makeCommandMenu__P6430_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_makeCommandMenu__P84385, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_makeCommandMenu__P6430, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - col___85795: undefined, - row___85796: undefined, + col___11649: undefined, + row___11650: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -19930,7 +19932,7 @@ function tileworld_ruleediting_RuleEditor_makeCommandMenu__P84385_mk(s) { -function inline__P85800(s) { +function inline__P11654(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19948,57 +19950,57 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_Array__getAt(globals.categoryImages___84977, s.arg0); + r0 = pxsim_Array__getAt(globals.categoryImages___6406, s.arg0); { step = 2; continue; } case 1: - r0 = globals.garbageCan___73603; + r0 = globals.garbageCan___3723; case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_2.arg0 = s.caps[0]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = s.caps[2]; s.tmp_2.arg3 = s.tmp_1; - s.callLocIdx = 1102; s.pc = 7; return s.tmp_2; + s.callLocIdx = 1114; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P82570_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P6305_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.caps[2]; s.tmp_0.arg3 = 12; - s.callLocIdx = 1103; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1115; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; r0 = (s.caps[3] == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P6303_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___73609; - s.callLocIdx = 1104; s.pc = 9; return s.tmp_1; + s.tmp_1.arg3 = globals.cursorOut___3729; + s.callLocIdx = 1116; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.caps[4]); if (!r0) { step = 3; continue; } - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P82564_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P6299_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg1 = r0; - s.callLocIdx = 1105; s.pc = 10; return s.tmp_0; + s.callLocIdx = 1117; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P82565_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P6300_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.caps[2]; - s.callLocIdx = 1106; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1118; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; case 3: @@ -20020,12 +20022,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P85800.info = {"start":14230,"length":494,"line":308,"column":32,"endLine":320,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["ct"]} +inline__P11654.info = {"start":14230,"length":494,"line":308,"column":32,"endLine":320,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["ct"]} -function inline__P85800_mk(s) { +function inline__P11654_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P85800, depth: s.depth + 1, + parent: s, fn: inline__P11654, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20037,7 +20039,7 @@ function inline__P85800_mk(s) { -function tileworld_ruleediting_RuleEditor_makeArgMenu__P84390(s) { +function tileworld_ruleediting_RuleEditor_makeArgMenu__P6435(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20047,10 +20049,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___85922 = undefined; - s.row___85923 = undefined; - s.last___85928 = undefined; - s.i___85936 = undefined; + s.col___11699 = undefined; + s.row___11700 = undefined; + s.last___11705 = undefined; + s.i___11713 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20059,87 +20061,87 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); - s.col___85922 = (4); - s.row___85923 = (1); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); + s.col___11699 = (4); + s.row___11700 = (1); r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, 15); - s.tmp_1 = tileworld_ruleediting_RuleEditor_instToStartArg__P84387_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleEditor_instToStartArg__P6432_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 1117; s.pc = 7; return s.tmp_1; + s.callLocIdx = 1129; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = tileworld_ruleediting_RuleEditor_instToNumArgs__P84389_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleEditor_instToNumArgs__P6434_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 1118; s.pc = 8; return s.tmp_3; + s.callLocIdx = 1130; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.last___85928 = (r0); - s.tmp_0 = tileworld_ruleediting_RuleEditor_instToStartArg__P84387_mk(s); + s.last___11705 = (r0); + s.tmp_0 = tileworld_ruleediting_RuleEditor_instToStartArg__P6432_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1119; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1131; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.i___85936 = (r0); + s.i___11713 = (r0); case 1: - r0 = (s.i___85936 < s.last___85928); + r0 = (s.i___11713 < s.last___11705); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.col___85922; - s.tmp_1.arg2 = s.row___85923; - s.tmp_2 = tileworld_ruleediting_RuleDisplay_instToImage__P82989_mk(s); + s.tmp_1.arg1 = s.col___11699; + s.tmp_1.arg2 = s.row___11700; + s.tmp_2 = tileworld_ruleediting_RuleDisplay_instToImage__P3873473_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - s.tmp_2.arg2 = s.i___85936; - s.callLocIdx = 1120; s.pc = 11; return s.tmp_2; + s.tmp_2.arg2 = s.i___11713; + s.callLocIdx = 1132; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1.arg3 = r0; - s.callLocIdx = 1121; s.pc = 10; return s.tmp_1; + s.callLocIdx = 1133; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P82570_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P6305_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.col___85922; - s.tmp_0.arg2 = s.row___85923; + s.tmp_0.arg1 = s.col___11699; + s.tmp_0.arg2 = s.row___11700; s.tmp_0.arg3 = 12; - s.callLocIdx = 1122; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1134; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - r0 = (s.arg2 == s.i___85936); + r0 = (s.arg2 == s.i___11713); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.col___85922; - s.tmp_1.arg2 = s.row___85923; - s.tmp_1.arg3 = globals.cursorOut___73609; - s.callLocIdx = 1123; s.pc = 13; return s.tmp_1; + s.tmp_1.arg1 = s.col___11699; + s.tmp_1.arg2 = s.row___11700; + s.tmp_1.arg3 = globals.cursorOut___3729; + s.callLocIdx = 1135; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg3); if (!r0) { step = 2; continue; } - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P82564_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P6299_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.col___85922; - s.callLocIdx = 1124; s.pc = 14; return s.tmp_0; + s.tmp_0.arg1 = s.col___11699; + s.callLocIdx = 1136; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P82565_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P6300_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.row___85923; - s.callLocIdx = 1125; s.pc = 15; return s.tmp_0; + s.tmp_0.arg1 = s.row___11700; + s.callLocIdx = 1137; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; case 2: @@ -20148,32 +20150,32 @@ switch (step) { case 5: r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.col___85922, s.row___85923, s.i___85936); - r0 = (s.col___85922 + 1); - s.col___85922 = (r0); - r0 = (s.i___85936 + 1); - s.i___85936 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.col___11699, s.row___11700, s.i___11713); + r0 = (s.col___11699 + 1); + s.col___11699 = (r0); + r0 = (s.i___11713 + 1); + s.i___11713 = (r0); { step = 1; continue; } case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_makeArgMenu__P84390.info = {"start":16450,"length":755,"line":368,"column":8,"endLine":386,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeArgMenu","argumentNames":["this","inst","arg","inEdit"]} +tileworld_ruleediting_RuleEditor_makeArgMenu__P6435.info = {"start":16450,"length":755,"line":368,"column":8,"endLine":386,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeArgMenu","argumentNames":["this","inst","arg","inEdit"]} -function tileworld_ruleediting_RuleEditor_makeArgMenu__P84390_mk(s) { +function tileworld_ruleediting_RuleEditor_makeArgMenu__P6435_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_makeArgMenu__P84390, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_makeArgMenu__P6435, depth: s.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___85922: undefined, - row___85923: undefined, - last___85928: undefined, - i___85936: undefined, + col___11699: undefined, + row___11700: undefined, + last___11705: undefined, + i___11713: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20184,7 +20186,7 @@ function tileworld_ruleediting_RuleEditor_makeArgMenu__P84390_mk(s) { -function tileworld_ruleediting_RuleDisplay_instToImage__P82989(s) { +function tileworld_ruleediting_RuleDisplay_instToImage__P3873473(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20194,9 +20196,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ret___83425 = undefined; - s.ret___83441 = undefined; - s.ret___83458 = undefined; + s.ret___3873569 = undefined; + s.ret___3873585 = undefined; + s.ret___3873602 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20204,7 +20206,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); r0 = (s.arg1 == 255); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -20218,7 +20220,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 3; continue; } - r0 = globals.emptyTile___73606; + r0 = globals.emptyTile___3726; { step = 15; continue; } case 3: case 4: @@ -20240,7 +20242,7 @@ switch (step) { r0 = s.tmp_2; { step = 14; continue; } case 5: - r0 = pxsim_Array__getAt(globals.moveImages___73673, s.arg2); + r0 = pxsim_Array__getAt(globals.moveImages___3873413, s.arg2); { step = 15; continue; } case 6: r0 = s.arg0.fields["p"]; @@ -20250,15 +20252,15 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_4, s.arg2); s.tmp_3 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_3); - s.ret___83425 = (r0); - r0 = pxsim_ImageMethods.drawTransparentImage(s.ret___83425, globals.smallPaint___73642, 0, 0); - r0 = s.ret___83425; + s.ret___3873569 = (r0); + r0 = pxsim_ImageMethods.drawTransparentImage(s.ret___3873569, globals.smallPaint___3762, 0, 0); + r0 = s.ret___3873569; { step = 15; continue; } case 7: - r0 = globals.eat___73638; + r0 = globals.eat___3758; { step = 15; continue; } case 8: - r0 = pxsim_Array__getAt(globals.gameImages___73679, s.arg2); + r0 = pxsim_Array__getAt(globals.gameImages___3873449, s.arg2); { step = 15; continue; } case 9: case 10: @@ -20269,20 +20271,20 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_1, s.arg2); s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.ret___83441 = (r0); + s.ret___3873585 = (r0); r0 = (s.arg1 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = globals.spawn___73641; + r0 = globals.spawn___3761; { step = 12; continue; } case 11: - r0 = globals.exclude___73612; + r0 = globals.exclude___3732; case 12: // jmp value (already in r0) s.tmp_1 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(s.ret___83441, s.tmp_1, 0, 0); - r0 = s.ret___83441; + r0 = pxsim_ImageMethods.drawTransparentImage(s.ret___3873585, s.tmp_1, 0, 0); + r0 = s.ret___3873585; { step = 15; continue; } case 13: r0 = s.arg0.fields["p"]; @@ -20292,22 +20294,22 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_1, s.arg2); s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.ret___83458 = (r0); - r0 = pxsim_ImageMethods.drawTransparentImage(s.ret___83458, globals.portal___73643, 0, 0); - r0 = s.ret___83458; + s.ret___3873602 = (r0); + r0 = pxsim_ImageMethods.drawTransparentImage(s.ret___3873602, globals.portal___3763, 0, 0); + r0 = s.ret___3873602; { step = 15; continue; } case 14: - r0 = globals.emptyTile___73606; + r0 = globals.emptyTile___3726; case 15: return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_instToImage__P82989.info = {"start":6695,"length":1169,"line":159,"column":8,"endLine":185,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"instToImage","argumentNames":["this","inst","arg"]} +tileworld_ruleediting_RuleDisplay_instToImage__P3873473.info = {"start":6695,"length":1169,"line":159,"column":8,"endLine":185,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"instToImage","argumentNames":["this","inst","arg"]} -function tileworld_ruleediting_RuleDisplay_instToImage__P82989_mk(s) { +function tileworld_ruleediting_RuleDisplay_instToImage__P3873473_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_instToImage__P82989, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_instToImage__P3873473, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20315,9 +20317,9 @@ function tileworld_ruleediting_RuleDisplay_instToImage__P82989_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - ret___83425: undefined, - ret___83441: undefined, - ret___83458: undefined, + ret___3873569: undefined, + ret___3873585: undefined, + ret___3873602: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20327,7 +20329,7 @@ function tileworld_ruleediting_RuleDisplay_instToImage__P82989_mk(s) { -function tileworld_Project_spriteImages__P73580(s) { +function tileworld_Project_spriteImages__P3700(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20342,17 +20344,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = s.arg0.fields["_spritesI"]; return leave(s, r0) default: oops() } } } -tileworld_Project_spriteImages__P73580.info = {"start":3406,"length":48,"line":100,"column":8,"endLine":100,"endColumn":56,"fileName":"project.ts","functionName":"spriteImages","argumentNames":["this"]} +tileworld_Project_spriteImages__P3700.info = {"start":3406,"length":48,"line":100,"column":8,"endLine":100,"endColumn":56,"fileName":"project.ts","functionName":"spriteImages","argumentNames":["this"]} -function tileworld_Project_spriteImages__P73580_mk(s) { +function tileworld_Project_spriteImages__P3700_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_spriteImages__P73580, depth: s.depth + 1, + parent: s, fn: tileworld_Project_spriteImages__P3700, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -20361,7 +20363,7 @@ function tileworld_Project_spriteImages__P73580_mk(s) { -function tileworld_Project_backgroundImages__P73579(s) { +function tileworld_Project_backgroundImages__P3699(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20376,17 +20378,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = s.arg0.fields["_backgroundsI"]; return leave(s, r0) default: oops() } } } -tileworld_Project_backgroundImages__P73579.info = {"start":3341,"length":56,"line":99,"column":8,"endLine":99,"endColumn":64,"fileName":"project.ts","functionName":"backgroundImages","argumentNames":["this"]} +tileworld_Project_backgroundImages__P3699.info = {"start":3341,"length":56,"line":99,"column":8,"endLine":99,"endColumn":64,"fileName":"project.ts","functionName":"backgroundImages","argumentNames":["this"]} -function tileworld_Project_backgroundImages__P73579_mk(s) { +function tileworld_Project_backgroundImages__P3699_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_backgroundImages__P73579, depth: s.depth + 1, + parent: s, fn: tileworld_Project_backgroundImages__P3699, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -20395,7 +20397,7 @@ function tileworld_Project_backgroundImages__P73579_mk(s) { -function tileworld_ruleediting_RuleEditor_instToNumArgs__P84389(s) { +function tileworld_ruleediting_RuleEditor_instToNumArgs__P6434(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20411,7 +20413,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg1; r0 = pxsim_pxtcore.switch_eq(0, s.tmp_0); if (r0) { step = 1; continue; } @@ -20430,9 +20432,9 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 1: - s.tmp_3 = tileworld_ruleediting_RuleDisplay_getType__P82975_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_getType__P3873459_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1114; s.pc = 12; return s.tmp_3; + s.callLocIdx = 1126; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2 = r0; @@ -20479,12 +20481,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_instToNumArgs__P84389.info = {"start":15903,"length":537,"line":355,"column":8,"endLine":366,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToNumArgs","argumentNames":["this","inst"]} +tileworld_ruleediting_RuleEditor_instToNumArgs__P6434.info = {"start":15903,"length":537,"line":355,"column":8,"endLine":366,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToNumArgs","argumentNames":["this","inst"]} -function tileworld_ruleediting_RuleEditor_instToNumArgs__P84389_mk(s) { +function tileworld_ruleediting_RuleEditor_instToNumArgs__P6434_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_instToNumArgs__P84389, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_instToNumArgs__P6434, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20503,7 +20505,7 @@ function tileworld_ruleediting_RuleEditor_instToNumArgs__P84389_mk(s) { -function tileworld_Project_backCnt__P73576(s) { +function tileworld_Project_backCnt__P3696(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20518,19 +20520,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = s.arg0.fields["_backgroundsI"]; s.tmp_0 = r0; r0 = pxsim_Array__length(s.tmp_0); return leave(s, r0) default: oops() } } } -tileworld_Project_backCnt__P73576.info = {"start":3147,"length":54,"line":96,"column":8,"endLine":96,"endColumn":62,"fileName":"project.ts","functionName":"backCnt","argumentNames":["this"]} +tileworld_Project_backCnt__P3696.info = {"start":3147,"length":54,"line":96,"column":8,"endLine":96,"endColumn":62,"fileName":"project.ts","functionName":"backCnt","argumentNames":["this"]} -function tileworld_Project_backCnt__P73576_mk(s) { +function tileworld_Project_backCnt__P3696_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_backCnt__P73576, depth: s.depth + 1, + parent: s, fn: tileworld_Project_backCnt__P3696, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20540,7 +20542,7 @@ function tileworld_Project_backCnt__P73576_mk(s) { -function tileworld_ruleediting_RuleEditor_instToStartArg__P84387(s) { +function tileworld_ruleediting_RuleEditor_instToStartArg__P6432(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20556,16 +20558,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg1; r0 = pxsim_pxtcore.switch_eq(0, s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 4; continue; } case 1: - s.tmp_3 = tileworld_ruleediting_RuleDisplay_getType__P82975_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_getType__P3873459_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1113; s.pc = 6; return s.tmp_3; + s.callLocIdx = 1125; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; s.tmp_2 = r0; @@ -20588,12 +20590,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_instToStartArg__P84387.info = {"start":15381,"length":236,"line":338,"column":8,"endLine":344,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToStartArg","argumentNames":["this","inst"]} +tileworld_ruleediting_RuleEditor_instToStartArg__P6432.info = {"start":15381,"length":236,"line":338,"column":8,"endLine":344,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToStartArg","argumentNames":["this","inst"]} -function tileworld_ruleediting_RuleEditor_instToStartArg__P84387_mk(s) { +function tileworld_ruleediting_RuleEditor_instToStartArg__P6432_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_instToStartArg__P84387, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_instToStartArg__P6432, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20608,7 +20610,7 @@ function tileworld_ruleediting_RuleEditor_instToStartArg__P84387_mk(s) { -function tileworld_RuleVisualsBase_drawOutline__P82570(s) { +function tileworld_RuleVisualsBase_drawOutline__P6305(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20626,9 +20628,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(r0); - s.tmp_0 = helpers_imageDrawRect__P71611_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C3789_VT)) failedCast(r0); + s.tmp_0 = helpers_imageDrawRect__P1731_mk(s); + s.tmp_0.arg0 = globals.screen___1802; r0 = (s.arg1 << 4); s.tmp_0.arg1 = r0; r0 = (s.arg2 << 4); @@ -20638,19 +20640,19 @@ switch (step) { s.tmp_0.arg3 = 17; s.tmp_0.arg4 = 17; s.tmp_0.arg5 = s.arg3; - s.callLocIdx = 684; s.pc = 1; return s.tmp_0; + s.callLocIdx = 696; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_drawOutline__P82570.info = {"start":4635,"length":140,"line":120,"column":8,"endLine":122,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawOutline","argumentNames":["this","c","r","col"]} +tileworld_RuleVisualsBase_drawOutline__P6305.info = {"start":4635,"length":140,"line":120,"column":8,"endLine":122,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawOutline","argumentNames":["this","c","r","col"]} -function tileworld_RuleVisualsBase_drawOutline__P82570_mk(s) { +function tileworld_RuleVisualsBase_drawOutline__P6305_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_drawOutline__P82570, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_drawOutline__P6305, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20664,7 +20666,7 @@ function tileworld_RuleVisualsBase_drawOutline__P82570_mk(s) { -function helpers_imageDrawRect__P71611(s) { +function helpers_imageDrawRect__P1731(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20703,7 +20705,7 @@ switch (step) { s.arg3 = (r0); r0 = (s.arg4 - 1); s.arg4 = (r0); - s.tmp_0 = helpers_imageDrawLine__P71610_mk(s); + s.tmp_0 = helpers_imageDrawLine__P1730_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -20714,7 +20716,7 @@ switch (step) { s.callLocIdx = 94; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P71610_mk(s); + s.tmp_0 = helpers_imageDrawLine__P1730_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -20725,7 +20727,7 @@ switch (step) { s.callLocIdx = 95; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P71610_mk(s); + s.tmp_0 = helpers_imageDrawLine__P1730_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -20738,7 +20740,7 @@ switch (step) { s.callLocIdx = 96; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P71610_mk(s); + s.tmp_0 = helpers_imageDrawLine__P1730_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -20756,12 +20758,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawRect__P71611.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__P1731.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__P71611_mk(s) { +function helpers_imageDrawRect__P1731_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P71611, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P1731, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20777,7 +20779,7 @@ function helpers_imageDrawRect__P71611_mk(s) { -function tileworld_RuleView_getCmdArg__P73540(s) { +function tileworld_RuleView_getCmdArg__P3660(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20787,8 +20789,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___77457 = undefined; - s.arg___77466 = undefined; + s.wd___11937 = undefined; + s.arg___11949 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20796,13 +20798,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.wd___77457 = (r0); - r0 = s.wd___77457.fields["commandsLen"]; + s.wd___11937 = (r0); + r0 = s.wd___11937.fields["commandsLen"]; s.tmp_1 = r0; r0 = (s.arg2 >= s.tmp_1); s.tmp_0 = r0; @@ -20812,14 +20814,14 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = s.wd___77457.fields["commands"]; + r0 = s.wd___11937.fields["commands"]; s.tmp_2 = r0; r0 = (s.arg2 << 1); s.tmp_4 = r0; r0 = (s.tmp_4 + 1); s.tmp_3 = r0; r0 = pxsim.BufferMethods.getUint8(s.tmp_2, s.tmp_3); - s.arg___77466 = (r0); + s.arg___11949 = (r0); r0 = s.arg0.fields["rid"]; s.tmp_1 = r0; r0 = (s.tmp_1 == -1); @@ -20829,7 +20831,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_3 = tileworld_RuleView_getCmdInst__P73539_mk(s); + s.tmp_3 = tileworld_RuleView_getCmdInst__P3659_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.arg2; @@ -20843,27 +20845,27 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 5; continue; } - s.tmp_5 = tileworld_flipRotateDir__P73506_mk(s); - s.tmp_5.arg0 = s.arg___77466; + s.tmp_5 = tileworld_flipRotateDir__P3626_mk(s); + s.tmp_5.arg0 = s.arg___11949; r0 = s.arg0.fields["view"]; s.tmp_5.arg1 = r0; s.callLocIdx = 144; s.pc = 9; return s.tmp_5; case 9: r0 = s.retval; - s.arg___77466 = (r0); + s.arg___11949 = (r0); case 5: case 6: - r0 = s.arg___77466; + r0 = s.arg___11949; case 7: return leave(s, r0) default: oops() } } } -tileworld_RuleView_getCmdArg__P73540.info = {"start":6955,"length":390,"line":201,"column":8,"endLine":209,"endColumn":9,"fileName":"ruleview.ts","functionName":"getCmdArg","argumentNames":["this","wdid","cid"]} +tileworld_RuleView_getCmdArg__P3660.info = {"start":6955,"length":390,"line":201,"column":8,"endLine":209,"endColumn":9,"fileName":"ruleview.ts","functionName":"getCmdArg","argumentNames":["this","wdid","cid"]} -function tileworld_RuleView_getCmdArg__P73540_mk(s) { +function tileworld_RuleView_getCmdArg__P3660_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getCmdArg__P73540, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getCmdArg__P3660, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20871,8 +20873,8 @@ function tileworld_RuleView_getCmdArg__P73540_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - wd___77457: undefined, - arg___77466: undefined, + wd___11937: undefined, + arg___11949: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20882,7 +20884,7 @@ function tileworld_RuleView_getCmdArg__P73540_mk(s) { -function tileworld_flipRotateDir__P73506(s) { +function tileworld_flipRotateDir__P3626(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21019,12 +21021,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_flipRotateDir__P73506.info = {"start":5346,"length":790,"line":147,"column":4,"endLine":162,"endColumn":5,"fileName":"rule.ts","functionName":"flipRotateDir","argumentNames":["d","rt"]} +tileworld_flipRotateDir__P3626.info = {"start":5346,"length":790,"line":147,"column":4,"endLine":162,"endColumn":5,"fileName":"rule.ts","functionName":"flipRotateDir","argumentNames":["d","rt"]} -function tileworld_flipRotateDir__P73506_mk(s) { +function tileworld_flipRotateDir__P3626_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_flipRotateDir__P73506, depth: s.depth + 1, + parent: s, fn: tileworld_flipRotateDir__P3626, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21055,7 +21057,7 @@ function tileworld_flipRotateDir__P73506_mk(s) { -function tileworld_RuleView_getCmdInst__P73539(s) { +function tileworld_RuleView_getCmdInst__P3659(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21065,7 +21067,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___77439 = undefined; + s.wd___12047 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21073,13 +21075,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.wd___77439 = (r0); - r0 = s.wd___77439.fields["commandsLen"]; + s.wd___12047 = (r0); + r0 = s.wd___12047.fields["commandsLen"]; s.tmp_1 = r0; r0 = (s.arg2 >= s.tmp_1); s.tmp_0 = r0; @@ -21089,7 +21091,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - r0 = s.wd___77439.fields["commands"]; + r0 = s.wd___12047.fields["commands"]; s.tmp_2 = r0; r0 = (s.arg2 << 1); s.tmp_3 = r0; @@ -21098,18 +21100,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getCmdInst__P73539.info = {"start":6744,"length":201,"line":195,"column":8,"endLine":199,"endColumn":9,"fileName":"ruleview.ts","functionName":"getCmdInst","argumentNames":["this","wdid","cid"]} +tileworld_RuleView_getCmdInst__P3659.info = {"start":6744,"length":201,"line":195,"column":8,"endLine":199,"endColumn":9,"fileName":"ruleview.ts","functionName":"getCmdInst","argumentNames":["this","wdid","cid"]} -function tileworld_RuleView_getCmdInst__P73539_mk(s) { +function tileworld_RuleView_getCmdInst__P3659_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getCmdInst__P73539, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getCmdInst__P3659, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - wd___77439: undefined, + wd___12047: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21119,7 +21121,7 @@ function tileworld_RuleView_getCmdInst__P73539_mk(s) { -function tileworld_ruleediting_RuleEditor_attrMenu__P84394(s) { +function tileworld_ruleediting_RuleEditor_attrMenu__P6439(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21129,9 +21131,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.whenDo___86112 = undefined; - s.collision22___86131 = undefined; - s.aCol___86174 = undefined; + s.whenDo___12065 = undefined; + s.collision22___12084 = undefined; + s.aCol___12127 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21139,33 +21141,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); - s.whenDo___86112 = (r0); - s.tmp_0 = r0 = s.whenDo___86112; - s.tmp_2 = tileworld_RuleView_getWhenDo__P73528_mk(s); + s.whenDo___12065 = (r0); + s.tmp_0 = r0 = s.whenDo___12065; + s.tmp_2 = tileworld_RuleView_getWhenDo__P3648_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; - s.callLocIdx = 1150; s.pc = 9; return s.tmp_2; + s.callLocIdx = 1162; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.whenDo___86112); + r0 = pxsim_pxtrt_ldlocRef(s.whenDo___12065); 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___86112; - s.tmp_4 = tileworld_RuleView_makeWhenDo__P73529_mk(s); + s.tmp_2 = r0 = s.whenDo___12065; + s.tmp_4 = tileworld_RuleView_makeWhenDo__P3649_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg1; s.tmp_4.arg2 = s.arg2; - s.callLocIdx = 1151; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1163; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; s.tmp_3 = r0; @@ -21173,7 +21175,7 @@ switch (step) { case 1: case 2: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt_ldlocRef(s.whenDo___86112); + r0 = pxsim_pxtrt_ldlocRef(s.whenDo___12065); s.tmp_1 = r0; r0 = (s.tmp_0).fields["whenDo"] = (s.tmp_1); r0 = s.arg0.fields["rule"]; @@ -21201,32 +21203,32 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_4 = r0; - s.collision22___86131 = (s.tmp_4); - r0 = pxsim_pxtcore_mkAction(1, inline__P86146); + s.collision22___12084 = (s.tmp_4); + r0 = pxsim_pxtcore_mkAction(1, inline__P12099); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); - s.tmp_1.arg0 = globals.attrImages___73678; + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + s.tmp_1.arg0 = globals.attrImages___3873443; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1155; s.pc = 11; return s.tmp_1; + s.callLocIdx = 1167; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; r0 = pxsim_pxtrt.mklocRef(); - s.aCol___86174 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.aCol___86174, 0); - r0 = pxsim_pxtcore_mkAction(4, inline__P86179); + s.aCol___12127 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.aCol___12127, 0); + r0 = pxsim_pxtcore_mkAction(4, inline__P12133); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.collision22___86131); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.collision22___12084); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.whenDo___86112); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.aCol___86174); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.whenDo___12065); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.aCol___12127); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["all"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["allImages"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1161; s.pc = 12; return s.tmp_1; + s.callLocIdx = 1173; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; r0 = s.arg0.fields["attrSelected"]; @@ -21235,50 +21237,50 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = tileworld_ruleediting_RuleEditor_selectAttr__P84395_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_selectAttr__P6440_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 0; - s.callLocIdx = 1162; s.pc = 13; return s.tmp_2; + s.callLocIdx = 1174; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; case 7: case 8: - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_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___73609; - s.callLocIdx = 1163; s.pc = 14; return s.tmp_0; + s.tmp_0.arg3 = globals.cursorOut___3729; + s.callLocIdx = 1175; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 9; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.reset___73649; - s.callLocIdx = 1164; s.pc = 15; return s.tmp_0; + s.tmp_0.arg3 = globals.reset___3769; + s.callLocIdx = 1176; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_attrMenu__P84394.info = {"start":19195,"length":1412,"line":435,"column":8,"endLine":465,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrMenu","argumentNames":["this","col","row"]} +tileworld_ruleediting_RuleEditor_attrMenu__P6439.info = {"start":19195,"length":1412,"line":435,"column":8,"endLine":465,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrMenu","argumentNames":["this","col","row"]} -function tileworld_ruleediting_RuleEditor_attrMenu__P84394_mk(s) { +function tileworld_ruleediting_RuleEditor_attrMenu__P6439_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_attrMenu__P84394, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_attrMenu__P6439, depth: s.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___86112: undefined, - collision22___86131: undefined, - aCol___86174: undefined, + whenDo___12065: undefined, + collision22___12084: undefined, + aCol___12127: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21288,7 +21290,7 @@ function tileworld_ruleediting_RuleEditor_attrMenu__P84394_mk(s) { -function inline__P86146(s) { +function inline__P12099(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21331,19 +21333,19 @@ switch (step) { { step = 7; continue; } case 5: case 6: - s.tmp_5 = r0 = globals.screen___71682; + s.tmp_5 = r0 = globals.screen___1802; s.tmp_6 = r0 = s.arg0; r0 = (s.arg1 << 4); s.tmp_8 = r0; r0 = (s.tmp_8 + 4); s.tmp_7 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_5, s.tmp_6, s.tmp_7, 10); - s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P82570_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P6305_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = 0; s.tmp_0.arg3 = 12; - s.callLocIdx = 1154; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1166; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 7: @@ -21351,12 +21353,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P86146.info = {"start":19654,"length":364,"line":443,"column":31,"endLine":451,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P12099.info = {"start":19654,"length":364,"line":443,"column":31,"endLine":451,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P86146_mk(s) { +function inline__P12099_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P86146, depth: s.depth + 1, + parent: s, fn: inline__P12099, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21375,7 +21377,7 @@ function inline__P86146_mk(s) { -function inline__P86179(s) { +function inline__P12133(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21385,7 +21387,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.a___86189 = undefined; + s.a___12143 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21413,7 +21415,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_6 = tileworld_AllExport_getSetAttr__P73561_mk(s); + s.tmp_6 = tileworld_AllExport_getSetAttr__P3681_mk(s); r0 = s.caps[1].fields["all"]; s.tmp_6.arg0 = r0; r0 = s.caps[1].fields["rule"]; @@ -21422,30 +21424,30 @@ switch (step) { s.tmp_6.arg2 = r0; s.tmp_6.arg3 = s.arg1; s.tmp_6.arg4 = 65535; - s.callLocIdx = 1158; s.pc = 6; return s.tmp_6; + s.callLocIdx = 1170; s.pc = 6; return s.tmp_6; case 6: r0 = s.retval; - s.a___86189 = (r0); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.a___12143 = (r0); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.caps[1]; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 1; s.tmp_0.arg3 = s.arg0; - s.callLocIdx = 1159; s.pc = 7; return s.tmp_0; + s.callLocIdx = 1171; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.caps[1]; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 1; - s.tmp_1 = r0 = globals.attrImages___73678; - r0 = pxsim_Array_.indexOf(globals.attrValues___73677, s.a___86189, undefined); + s.tmp_1 = r0 = globals.attrImages___3873443; + r0 = pxsim_Array_.indexOf(globals.attrValues___3873441, s.a___12143, undefined); s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_1, s.tmp_2); s.tmp_0.arg3 = r0; - s.callLocIdx = 1160; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1172; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; s.tmp_0 = r0 = s.caps[3]; @@ -21459,12 +21461,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P86179.info = {"start":20088,"length":328,"line":453,"column":41,"endLine":460,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["image","i"]} +inline__P12133.info = {"start":20088,"length":328,"line":453,"column":41,"endLine":460,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["image","i"]} -function inline__P86179_mk(s) { +function inline__P12133_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P86179, depth: s.depth + 1, + parent: s, fn: inline__P12133, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21473,7 +21475,7 @@ function inline__P86179_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - a___86189: undefined, + a___12143: undefined, arg0: undefined, arg1: undefined, } } @@ -21482,7 +21484,7 @@ function inline__P86179_mk(s) { -function tileworld_ruleediting_RuleEditor_selectAttr__P84395(s) { +function tileworld_ruleediting_RuleEditor_selectAttr__P6440(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21498,18 +21500,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); r0 = (s.arg0).fields["attrSelected"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_selectAttr__P84395.info = {"start":20617,"length":76,"line":467,"column":8,"endLine":469,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"selectAttr","argumentNames":["this","a"]} +tileworld_ruleediting_RuleEditor_selectAttr__P6440.info = {"start":20617,"length":76,"line":467,"column":8,"endLine":469,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"selectAttr","argumentNames":["this","a"]} -function tileworld_ruleediting_RuleEditor_selectAttr__P84395_mk(s) { +function tileworld_ruleediting_RuleEditor_selectAttr__P6440_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_selectAttr__P84395, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_selectAttr__P6440, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -21519,7 +21521,7 @@ function tileworld_ruleediting_RuleEditor_selectAttr__P84395_mk(s) { -function tileworld_AllExport_getSetAttr__P73561(s) { +function tileworld_AllExport_getSetAttr__P3681(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21538,7 +21540,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_AllExport__C73556_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_AllExport__C3676_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg3; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; @@ -21550,7 +21552,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_5 = tileworld_RuleView_getSetBgAttr__P73532_mk(s); + s.tmp_5 = tileworld_RuleView_getSetBgAttr__P3652_mk(s); s.tmp_5.arg0 = s.arg1; s.tmp_5.arg1 = s.arg2; s.tmp_5.arg2 = s.arg3; @@ -21560,7 +21562,7 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_6 = tileworld_RuleView_getSetSpAttr__P73533_mk(s); + s.tmp_6 = tileworld_RuleView_getSetSpAttr__P3653_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = s.arg2; s.tmp_7 = r0 = s.arg3; @@ -21583,12 +21585,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_AllExport_getSetAttr__P73561.info = {"start":1278,"length":227,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"project.ts","functionName":"getSetAttr","argumentNames":["this","rv","whendo","aid","val"]} +tileworld_AllExport_getSetAttr__P3681.info = {"start":1278,"length":227,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"project.ts","functionName":"getSetAttr","argumentNames":["this","rv","whendo","aid","val"]} -function tileworld_AllExport_getSetAttr__P73561_mk(s) { +function tileworld_AllExport_getSetAttr__P3681_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_AllExport_getSetAttr__P73561, depth: s.depth + 1, + parent: s, fn: tileworld_AllExport_getSetAttr__P3681, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21613,7 +21615,7 @@ function tileworld_AllExport_getSetAttr__P73561_mk(s) { -function tileworld_RuleView_getSetSpAttr__P73533(s) { +function tileworld_RuleView_getSetSpAttr__P3653(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21631,8 +21633,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getSetBuffAttr__P76925_mk(s); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getSetBuffAttr__P5993_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; @@ -21648,12 +21650,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getSetSpAttr__P73533.info = {"start":4742,"length":172,"line":138,"column":8,"endLine":140,"endColumn":9,"fileName":"ruleview.ts","functionName":"getSetSpAttr","argumentNames":["this","wdid","index","val"]} +tileworld_RuleView_getSetSpAttr__P3653.info = {"start":4742,"length":172,"line":138,"column":8,"endLine":140,"endColumn":9,"fileName":"ruleview.ts","functionName":"getSetSpAttr","argumentNames":["this","wdid","index","val"]} -function tileworld_RuleView_getSetSpAttr__P73533_mk(s) { +function tileworld_RuleView_getSetSpAttr__P3653_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getSetSpAttr__P73533, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getSetSpAttr__P3653, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21667,7 +21669,7 @@ function tileworld_RuleView_getSetSpAttr__P73533_mk(s) { -function tileworld_RuleView_getSetBuffAttr__P76925(s) { +function tileworld_RuleView_getSetBuffAttr__P5993(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21677,11 +21679,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.byteIndex___77209 = undefined; - s.byte___77212 = undefined; - s.remainder___77217 = undefined; - s.mask___77224 = undefined; - s.newByte___77232 = undefined; + s.byteIndex___12226 = undefined; + s.byte___12229 = undefined; + s.remainder___12234 = undefined; + s.mask___12241 = undefined; + s.newByte___12249 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21690,41 +21692,41 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = (s.arg2 >> 2); - s.byteIndex___77209 = (r0); - r0 = pxsim.BufferMethods.getUint8(s.arg1, s.byteIndex___77209); - s.byte___77212 = (r0); + s.byteIndex___12226 = (r0); + r0 = pxsim.BufferMethods.getUint8(s.arg1, s.byteIndex___12226); + s.byte___12229 = (r0); s.tmp_0 = r0 = s.arg2; - r0 = (s.byteIndex___77209 << 2); + r0 = (s.byteIndex___12226 << 2); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.remainder___77217 = (r0); + s.remainder___12234 = (r0); r0 = (s.arg3 != 65535); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = (s.remainder___77217 << 1); + r0 = (s.remainder___12234 << 1); s.tmp_2 = r0; r0 = (3 << s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_1 ^ 255); - s.mask___77224 = (r0); - r0 = (s.byte___77212 & s.mask___77224); + s.mask___12241 = (r0); + r0 = (s.byte___12229 & s.mask___12241); s.tmp_0 = r0; r0 = (s.arg3 & 3); s.tmp_2 = r0; - r0 = (s.remainder___77217 << 1); + r0 = (s.remainder___12234 << 1); s.tmp_3 = r0; r0 = (s.tmp_2 << s.tmp_3); s.tmp_1 = r0; r0 = (s.tmp_0 | s.tmp_1); - s.newByte___77232 = (r0); - r0 = pxsim.BufferMethods.setUint8(s.arg1, s.byteIndex___77209, s.newByte___77232); + s.newByte___12249 = (r0); + r0 = pxsim.BufferMethods.setUint8(s.arg1, s.byteIndex___12226, s.newByte___12249); case 1: case 2: - s.tmp_1 = r0 = s.byte___77212; - r0 = (s.remainder___77217 << 1); + s.tmp_1 = r0 = s.byte___12229; + r0 = (s.remainder___12234 << 1); s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0 = r0; @@ -21732,22 +21734,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getSetBuffAttr__P76925.info = {"start":4042,"length":508,"line":122,"column":8,"endLine":132,"endColumn":9,"fileName":"ruleview.ts","functionName":"getSetBuffAttr","argumentNames":["this","buf","index","val"]} +tileworld_RuleView_getSetBuffAttr__P5993.info = {"start":4042,"length":508,"line":122,"column":8,"endLine":132,"endColumn":9,"fileName":"ruleview.ts","functionName":"getSetBuffAttr","argumentNames":["this","buf","index","val"]} -function tileworld_RuleView_getSetBuffAttr__P76925_mk(s) { +function tileworld_RuleView_getSetBuffAttr__P5993_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getSetBuffAttr__P76925, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getSetBuffAttr__P5993, depth: s.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___77209: undefined, - byte___77212: undefined, - remainder___77217: undefined, - mask___77224: undefined, - newByte___77232: undefined, + byteIndex___12226: undefined, + byte___12229: undefined, + remainder___12234: undefined, + mask___12241: undefined, + newByte___12249: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21758,7 +21760,7 @@ function tileworld_RuleView_getSetBuffAttr__P76925_mk(s) { -function tileworld_RuleView_getSetBgAttr__P73532(s) { +function tileworld_RuleView_getSetBgAttr__P3652(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21776,8 +21778,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getSetBuffAttr__P76925_mk(s); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getSetBuffAttr__P5993_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; @@ -21793,12 +21795,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getSetBgAttr__P73532.info = {"start":4560,"length":172,"line":134,"column":8,"endLine":136,"endColumn":9,"fileName":"ruleview.ts","functionName":"getSetBgAttr","argumentNames":["this","wdid","index","val"]} +tileworld_RuleView_getSetBgAttr__P3652.info = {"start":4560,"length":172,"line":134,"column":8,"endLine":136,"endColumn":9,"fileName":"ruleview.ts","functionName":"getSetBgAttr","argumentNames":["this","wdid","index","val"]} -function tileworld_RuleView_getSetBgAttr__P73532_mk(s) { +function tileworld_RuleView_getSetBgAttr__P3652_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getSetBgAttr__P73532, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getSetBgAttr__P3652, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21812,7 +21814,7 @@ function tileworld_RuleView_getSetBgAttr__P73532_mk(s) { -function tileworld_AllExport_getImages__P73558(s) { +function tileworld_AllExport_getImages__P3678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21827,17 +21829,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_AllExport__C73556_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_AllExport__C3676_VT)) failedCast(r0); r0 = s.arg0.fields["allImages"]; return leave(s, r0) default: oops() } } } -tileworld_AllExport_getImages__P73558.info = {"start":934,"length":65,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"project.ts","functionName":"getImages","argumentNames":["this"]} +tileworld_AllExport_getImages__P3678.info = {"start":934,"length":65,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"project.ts","functionName":"getImages","argumentNames":["this"]} -function tileworld_AllExport_getImages__P73558_mk(s) { +function tileworld_AllExport_getImages__P3678_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_AllExport_getImages__P73558, depth: s.depth + 1, + parent: s, fn: tileworld_AllExport_getImages__P3678, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -21846,7 +21848,7 @@ function tileworld_AllExport_getImages__P73558_mk(s) { -function tileworld_RuleView_makeWhenDo__P73529(s) { +function tileworld_RuleView_makeWhenDo__P3649(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21856,7 +21858,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___77147 = undefined; + s.wd___12293 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21864,10 +21866,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_WhenDo__C73488_VT); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_WhenDo__C3608_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_WhenDo_constructor__P73489_mk(s); + s.tmp_1 = tileworld_WhenDo_constructor__P3609_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -21879,8 +21881,8 @@ switch (step) { s.callLocIdx = 125; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - s.wd___77147 = (s.tmp_0); - s.tmp_0 = r0 = s.wd___77147; + s.wd___12293 = (s.tmp_0); + s.tmp_0 = r0 = s.wd___12293; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_backgroundsI"]; @@ -21890,7 +21892,7 @@ switch (step) { r0 = pxsim.control.createBuffer(s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["bgPred"] = (s.tmp_1); - s.tmp_0 = r0 = s.wd___77147; + s.tmp_0 = r0 = s.wd___12293; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_spritesI"]; @@ -21900,15 +21902,15 @@ switch (step) { r0 = pxsim.control.createBuffer(s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["spPred"] = (s.tmp_1); - r0 = (s.wd___77147).fields["commandsLen"] = (0); - s.tmp_0 = r0 = s.wd___77147; + r0 = (s.wd___12293).fields["commandsLen"] = (0); + s.tmp_0 = r0 = s.wd___12293; r0 = pxsim.control.createBuffer(8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["commands"] = (s.tmp_1); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.wd___77147); + r0 = pxsim_Array__push(s.tmp_0, s.wd___12293); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_1 = r0; @@ -21918,19 +21920,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_makeWhenDo__P73529.info = {"start":3418,"length":408,"line":104,"column":8,"endLine":112,"endColumn":9,"fileName":"ruleview.ts","functionName":"makeWhenDo","argumentNames":["this","col","row"]} +tileworld_RuleView_makeWhenDo__P3649.info = {"start":3418,"length":408,"line":104,"column":8,"endLine":112,"endColumn":9,"fileName":"ruleview.ts","functionName":"makeWhenDo","argumentNames":["this","col","row"]} -function tileworld_RuleView_makeWhenDo__P73529_mk(s) { +function tileworld_RuleView_makeWhenDo__P3649_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_makeWhenDo__P73529, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_makeWhenDo__P3649, depth: s.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, - wd___77147: undefined, + wd___12293: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21940,7 +21942,7 @@ function tileworld_RuleView_makeWhenDo__P73529_mk(s) { -function tileworld_WhenDo_constructor__P73489(s) { +function tileworld_WhenDo_constructor__P3609(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21962,7 +21964,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_WhenDo__C73488_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_WhenDo__C3608_VT)) failedCast(r0); r0 = (s.arg0).fields["col"] = (s.arg1); r0 = (s.arg0).fields["row"] = (s.arg2); r0 = (s.arg0).fields["bgPred"] = (s.arg3); @@ -21975,12 +21977,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_WhenDo_constructor__P73489.info = {"start":3368,"length":772,"line":101,"column":8,"endLine":111,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","col","row","bgPred","spPred","dir","commands","commandsLen"]} +tileworld_WhenDo_constructor__P3609.info = {"start":3368,"length":772,"line":101,"column":8,"endLine":111,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","col","row","bgPred","spPred","dir","commands","commandsLen"]} -function tileworld_WhenDo_constructor__P73489_mk(s) { +function tileworld_WhenDo_constructor__P3609_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_WhenDo_constructor__P73489, depth: s.depth + 1, + parent: s, fn: tileworld_WhenDo_constructor__P3609, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -21996,7 +21998,7 @@ function tileworld_WhenDo_constructor__P73489_mk(s) { -function tileworld_ruleediting_RuleEditor_showMainMenu__P84383(s) { +function tileworld_ruleediting_RuleEditor_showMainMenu__P6428(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22006,52 +22008,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rules___85666 = undefined; - s.index___85668 = undefined; + s.rules___12363 = undefined; + s.index___12365 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P82571_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P6306_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; s.tmp_0.arg3 = 11; - s.callLocIdx = 1074; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1086; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.code___73600; - s.callLocIdx = 1075; s.pc = 10; return s.tmp_0; + s.tmp_0.arg3 = globals.code___3720; + s.callLocIdx = 1087; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.map___73597; - s.callLocIdx = 1076; s.pc = 11; return s.tmp_0; + s.tmp_0.arg3 = globals.map___3717; + s.callLocIdx = 1088; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.play___73598; - s.callLocIdx = 1077; s.pc = 12; return s.tmp_0; + s.tmp_0.arg3 = globals.play___3718; + s.callLocIdx = 1089; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.flipHoriz___73628; - s.callLocIdx = 1078; s.pc = 13; return s.tmp_0; + s.tmp_0.arg3 = globals.flipHoriz___3748; + s.callLocIdx = 1090; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = s.arg0.fields["rule"]; @@ -22063,36 +22065,36 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = 5; s.tmp_3.arg2 = 0; - s.tmp_3.arg3 = globals.include2___73614; - s.callLocIdx = 1080; s.pc = 14; return s.tmp_3; + s.tmp_3.arg3 = globals.include2___3734; + s.callLocIdx = 1092; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; case 1: case 2: - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.garbageCan___73603; - s.callLocIdx = 1081; s.pc = 15; return s.tmp_0; + s.tmp_0.arg3 = globals.garbageCan___3723; + s.callLocIdx = 1093; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleEditor_currentRules__P84379_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_currentRules__P6424_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1082; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1094; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.rules___85666 = (r0); + s.rules___12363 = (r0); r0 = s.arg0.fields["rule"]; s.tmp_0 = r0; - r0 = pxsim_Array_.indexOf(s.rules___85666, s.tmp_0, undefined); - s.index___85668 = (r0); - s.tmp_1 = r0 = s.index___85668; - r0 = pxsim_Array__length(s.rules___85666); + r0 = pxsim_Array_.indexOf(s.rules___12363, s.tmp_0, undefined); + s.index___12365 = (r0); + s.tmp_1 = r0 = s.index___12365; + r0 = pxsim_Array__length(s.rules___12363); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -22100,28 +22102,28 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.rightArrow___73636; + r0 = globals.rightArrow___3756; { step = 4; continue; } case 3: - s.tmp_4 = tileworld_greyImage__P73424_mk(s); - s.tmp_4.arg0 = globals.rightArrow___73636; - s.callLocIdx = 1083; s.pc = 17; return s.tmp_4; + s.tmp_4 = tileworld_greyImage__P3544_mk(s); + s.tmp_4.arg0 = globals.rightArrow___3756; + s.callLocIdx = 1095; s.pc = 17; return s.tmp_4; case 17: r0 = s.retval; case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 9; s.tmp_6.arg2 = 0; s.tmp_6.arg3 = s.tmp_5; - s.callLocIdx = 1084; s.pc = 18; return s.tmp_6; + s.callLocIdx = 1096; s.pc = 18; return s.tmp_6; case 18: r0 = s.retval; - s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P82975_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P3873459_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1085; s.pc = 19; return s.tmp_2; + s.callLocIdx = 1097; s.pc = 19; return s.tmp_2; case 19: r0 = s.retval; s.tmp_1 = r0; @@ -22129,58 +22131,58 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = globals.addRule___73605; + r0 = globals.addRule___3725; { step = 6; continue; } case 5: - s.tmp_3 = tileworld_greyImage__P73424_mk(s); - s.tmp_3.arg0 = globals.addRule___73605; - s.callLocIdx = 1086; s.pc = 20; return s.tmp_3; + s.tmp_3 = tileworld_greyImage__P3544_mk(s); + s.tmp_3.arg0 = globals.addRule___3725; + s.callLocIdx = 1098; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; case 6: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_5 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_5.arg0 = s.arg0; s.tmp_5.arg1 = 8; s.tmp_5.arg2 = 0; s.tmp_5.arg3 = s.tmp_4; - s.callLocIdx = 1087; s.pc = 21; return s.tmp_5; + s.callLocIdx = 1099; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - r0 = (s.index___85668 > 0); + r0 = (s.index___12365 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = globals.leftArrow___73637; + r0 = globals.leftArrow___3757; { step = 8; continue; } case 7: - s.tmp_1 = tileworld_greyImage__P73424_mk(s); - s.tmp_1.arg0 = globals.leftArrow___73637; - s.callLocIdx = 1088; s.pc = 22; return s.tmp_1; + s.tmp_1 = tileworld_greyImage__P3544_mk(s); + s.tmp_1.arg0 = globals.leftArrow___3757; + s.callLocIdx = 1100; 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__P82568_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = 7; s.tmp_3.arg2 = 0; s.tmp_3.arg3 = s.tmp_2; - s.callLocIdx = 1089; s.pc = 23; return s.tmp_3; + s.callLocIdx = 1101; s.pc = 23; return s.tmp_3; case 23: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_showMainMenu__P84383.info = {"start":11682,"length":850,"line":250,"column":8,"endLine":267,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showMainMenu","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_showMainMenu__P6428.info = {"start":11682,"length":850,"line":250,"column":8,"endLine":267,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showMainMenu","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_showMainMenu__P84383_mk(s) { +function tileworld_ruleediting_RuleEditor_showMainMenu__P6428_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_showMainMenu__P84383, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_showMainMenu__P6428, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22189,8 +22191,8 @@ function tileworld_ruleediting_RuleEditor_showMainMenu__P84383_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - rules___85666: undefined, - index___85668: undefined, + rules___12363: undefined, + index___12365: undefined, arg0: undefined, } } @@ -22198,7 +22200,7 @@ function tileworld_ruleediting_RuleEditor_showMainMenu__P84383_mk(s) { -function tileworld_greyImage__P73424(s) { +function tileworld_greyImage__P3544(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22208,37 +22210,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ret___75942 = undefined; - s.x___75946 = undefined; - s.y___75952 = undefined; - s.pix___75958 = undefined; + s.ret___12397 = undefined; + s.x___12401 = undefined; + s.y___12407 = undefined; + s.pix___12413 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_ImageMethods.clone(s.arg0); - s.ret___75942 = (r0); - s.x___75946 = (0); + s.ret___12397 = (r0); + s.x___12401 = (0); case 1: - s.tmp_1 = r0 = s.x___75946; - r0 = pxsim_ImageMethods.width(s.ret___75942); + s.tmp_1 = r0 = s.x___12401; + r0 = pxsim_ImageMethods.width(s.ret___12397); 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___75952 = (0); + s.y___12407 = (0); case 2: - s.tmp_1 = r0 = s.y___75952; - r0 = pxsim_ImageMethods.height(s.ret___75942); + s.tmp_1 = r0 = s.y___12407; + r0 = pxsim_ImageMethods.height(s.ret___12397); 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___75942, s.x___75946, s.y___75952); - s.pix___75958 = (r0); - r0 = (s.pix___75958 == 0); + r0 = pxsim_ImageMethods.getPixel(s.ret___12397, s.x___12401, s.y___12407); + s.pix___12413 = (r0); + r0 = (s.pix___12413 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -22249,33 +22251,33 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - r0 = pxsim_ImageMethods.setPixel(s.ret___75942, s.x___75946, s.y___75952, s.tmp_1); - r0 = (s.y___75952 + 1); - s.y___75952 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.ret___12397, s.x___12401, s.y___12407, s.tmp_1); + r0 = (s.y___12407 + 1); + s.y___12407 = (r0); { step = 2; continue; } case 5: - r0 = (s.x___75946 + 1); - s.x___75946 = (r0); + r0 = (s.x___12401 + 1); + s.x___12401 = (r0); { step = 1; continue; } case 6: - r0 = s.ret___75942; + r0 = s.ret___12397; return leave(s, r0) default: oops() } } } -tileworld_greyImage__P73424.info = {"start":995,"length":323,"line":29,"column":4,"endLine":38,"endColumn":5,"fileName":"utilities.ts","functionName":"greyImage","argumentNames":["img"]} +tileworld_greyImage__P3544.info = {"start":995,"length":323,"line":29,"column":4,"endLine":38,"endColumn":5,"fileName":"utilities.ts","functionName":"greyImage","argumentNames":["img"]} -function tileworld_greyImage__P73424_mk(s) { +function tileworld_greyImage__P3544_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_greyImage__P73424, depth: s.depth + 1, + parent: s, fn: tileworld_greyImage__P3544, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ret___75942: undefined, - x___75946: undefined, - y___75952: undefined, - pix___75958: undefined, + ret___12397: undefined, + x___12401: undefined, + y___12407: undefined, + pix___12413: undefined, arg0: undefined, } } @@ -22283,7 +22285,7 @@ function tileworld_greyImage__P73424_mk(s) { -function tileworld_RuleView_getTransforms__P73520(s) { +function tileworld_RuleView_getTransforms__P3640(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22298,18 +22300,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["transforms"]; return leave(s, r0) default: oops() } } } -tileworld_RuleView_getTransforms__P73520.info = {"start":1545,"length":72,"line":45,"column":8,"endLine":47,"endColumn":9,"fileName":"ruleview.ts","functionName":"getTransforms","argumentNames":["this"]} +tileworld_RuleView_getTransforms__P3640.info = {"start":1545,"length":72,"line":45,"column":8,"endLine":47,"endColumn":9,"fileName":"ruleview.ts","functionName":"getTransforms","argumentNames":["this"]} -function tileworld_RuleView_getTransforms__P73520_mk(s) { +function tileworld_RuleView_getTransforms__P3640_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getTransforms__P73520, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getTransforms__P3640, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -22318,7 +22320,7 @@ function tileworld_RuleView_getTransforms__P73520_mk(s) { -function tileworld_RuleVisualsBase_fillTile__P82571(s) { +function tileworld_RuleVisualsBase_fillTile__P6306(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22336,9 +22338,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(r0); - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C3789_VT)) failedCast(r0); + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); + s.tmp_0.arg0 = globals.screen___1802; r0 = (s.arg1 << 4); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); @@ -22352,19 +22354,19 @@ switch (step) { s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 15; s.tmp_0.arg5 = s.arg3; - s.callLocIdx = 685; s.pc = 1; return s.tmp_0; + s.callLocIdx = 697; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_fillTile__P82571.info = {"start":4785,"length":138,"line":124,"column":8,"endLine":126,"endColumn":9,"fileName":"rulesBase.ts","functionName":"fillTile","argumentNames":["this","c","r","col"]} +tileworld_RuleVisualsBase_fillTile__P6306.info = {"start":4785,"length":138,"line":124,"column":8,"endLine":126,"endColumn":9,"fileName":"rulesBase.ts","functionName":"fillTile","argumentNames":["this","c","r","col"]} -function tileworld_RuleVisualsBase_fillTile__P82571_mk(s) { +function tileworld_RuleVisualsBase_fillTile__P6306_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_fillTile__P82571, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_fillTile__P6306, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22380,7 +22382,7 @@ function tileworld_RuleVisualsBase_fillTile__P82571_mk(s) { -function tileworld_ruleediting_RuleDisplay_update__P82983(s) { +function tileworld_ruleediting_RuleDisplay_update__P3873467(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22390,18 +22392,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.image___83302 = undefined; + s.image___3873720 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); r0 = (s.arg0).fields["collideRow"] = (-1); r0 = (s.arg0).fields["collideCol"] = (-1); - r0 = pxsim_ImageMethods.fill(globals.screen___71682, 0); - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + r0 = pxsim_ImageMethods.fill(globals.screen___1802, 0); + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = "When"; s.tmp_0.arg2 = 0; r0 = (32 + 8); @@ -22409,7 +22411,7 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 720; s.pc = 11; return s.tmp_0; + s.callLocIdx = 732; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = s.arg0.fields["p"]; @@ -22417,8 +22419,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_imagePrint__P71640_mk(s); - s.tmp_1.arg0 = globals.screen___71682; + s.tmp_1 = helpers_imagePrint__P1760_mk(s); + s.tmp_1.arg0 = globals.screen___1802; r0 = s.arg0.fields["rule"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["rid"]; @@ -22430,13 +22432,13 @@ switch (step) { s.tmp_1.arg4 = undefined; s.tmp_1.arg5 = undefined; s.tmp_1.arg6 = undefined; - s.callLocIdx = 722; s.pc = 12; return s.tmp_1; + s.callLocIdx = 734; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; case 1: case 2: - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = "Do"; s.tmp_0.arg2 = 70; r0 = (32 + 8); @@ -22444,37 +22446,37 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 723; s.pc = 13; return s.tmp_0; + s.callLocIdx = 735; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleDisplay_showRuleType__P82982_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_showRuleType__P3873466_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["rule"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["r"]; r0 = r0.fields["ruleType"]; s.tmp_0.arg1 = r0; - s.tmp_2 = tileworld_RuleView_getDirFromRule__P73527_mk(s); + s.tmp_2 = tileworld_RuleView_getDirFromRule__P3647_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 725; s.pc = 15; return s.tmp_2; + s.callLocIdx = 737; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 2; s.tmp_0.arg4 = 4; s.tmp_0.arg5 = true; - s.callLocIdx = 726; s.pc = 14; return s.tmp_0; + s.callLocIdx = 738; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleDisplay_makeContext__P82984_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_makeContext__P3873468_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 727; s.pc = 16; return s.tmp_0; + s.callLocIdx = 739; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P82975_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P3873459_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 728; s.pc = 17; return s.tmp_2; + s.callLocIdx = 740; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; s.tmp_1 = r0; @@ -22482,36 +22484,36 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_3 = tileworld_ruleediting_RuleDisplay_showRuleType__P82982_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_showRuleType__P3873466_mk(s); s.tmp_3.arg0 = s.arg0; r0 = s.arg0.fields["rule"]; s.tmp_4 = r0; r0 = s.tmp_4.fields["r"]; r0 = r0.fields["ruleType"]; s.tmp_3.arg1 = r0; - s.tmp_5 = tileworld_RuleView_getDirFromRule__P73527_mk(s); + s.tmp_5 = tileworld_RuleView_getDirFromRule__P3647_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 730; s.pc = 19; return s.tmp_5; + s.callLocIdx = 742; s.pc = 19; return s.tmp_5; case 19: r0 = s.retval; s.tmp_3.arg2 = r0; s.tmp_3.arg3 = 2; s.tmp_3.arg4 = 4; s.tmp_3.arg5 = true; - s.callLocIdx = 731; s.pc = 18; return s.tmp_3; + s.callLocIdx = 743; s.pc = 18; return s.tmp_3; case 18: r0 = s.retval; case 3: case 4: - s.tmp_0 = tileworld_ruleediting_RuleDisplay_showCommands__P82988_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_showCommands__P3873472_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 732; s.pc = 20; return s.tmp_0; + s.callLocIdx = 744; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P82975_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P3873459_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 733; s.pc = 21; return s.tmp_2; + s.callLocIdx = 745; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; s.tmp_1 = r0; @@ -22519,29 +22521,29 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_3 = tileworld_ruleediting_RuleDisplay_getDirectionImage__P82978_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_getDirectionImage__P3873462_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 734; s.pc = 22; return s.tmp_3; + s.callLocIdx = 746; s.pc = 22; return s.tmp_3; case 22: r0 = s.retval; - s.image___83302 = (r0); - r0 = pxsim_numops_toBoolDecr(s.image___83302); + s.image___3873720 = (r0); + r0 = pxsim_numops_toBoolDecr(s.image___3873720); if (!r0) { step = 5; continue; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 3; - s.tmp_0.arg3 = s.image___83302; - s.callLocIdx = 735; s.pc = 23; return s.tmp_0; + s.tmp_0.arg3 = s.image___3873720; + s.callLocIdx = 747; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; case 5: case 6: { step = 10; continue; } case 7: - s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P82975_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P3873459_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 736; s.pc = 24; return s.tmp_2; + s.callLocIdx = 748; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; s.tmp_1 = r0; @@ -22549,12 +22551,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_3 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 3; - s.tmp_3.arg3 = globals.negate___73650; - s.callLocIdx = 737; s.pc = 25; return s.tmp_3; + s.tmp_3.arg3 = globals.negate___3770; + s.callLocIdx = 749; s.pc = 25; return s.tmp_3; case 25: r0 = s.retval; case 8: @@ -22564,12 +22566,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_update__P82983.info = {"start":4346,"length":1043,"line":101,"column":8,"endLine":123,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"update","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_update__P3873467.info = {"start":4346,"length":1043,"line":101,"column":8,"endLine":123,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"update","argumentNames":["this"]} -function tileworld_ruleediting_RuleDisplay_update__P82983_mk(s) { +function tileworld_ruleediting_RuleDisplay_update__P3873467_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_update__P82983, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_update__P3873467, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22577,7 +22579,7 @@ function tileworld_ruleediting_RuleDisplay_update__P82983_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - image___83302: undefined, + image___3873720: undefined, arg0: undefined, } } @@ -22585,7 +22587,7 @@ function tileworld_ruleediting_RuleDisplay_update__P82983_mk(s) { -function tileworld_ruleediting_RuleDisplay_getDirectionImage__P82978(s) { +function tileworld_ruleediting_RuleDisplay_getDirectionImage__P3873462(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22595,23 +22597,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dir___83053 = undefined; + s.dir___3873732 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getDirFromRule__P73527_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getDirFromRule__P3647_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 702; s.pc = 3; return s.tmp_0; + s.callLocIdx = 714; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.dir___83053 = (r0); - s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P82975_mk(s); + s.dir___3873732 = (r0); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P3873459_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 703; s.pc = 4; return s.tmp_2; + s.callLocIdx = 715; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; s.tmp_1 = r0; @@ -22619,10 +22621,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_Array__getAt(globals.buttonImages___73676, s.dir___83053); + r0 = pxsim_Array__getAt(globals.buttonImages___3873431, s.dir___3873732); { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals.moveImages___73673, s.dir___83053); + r0 = pxsim_Array__getAt(globals.moveImages___3873413, s.dir___3873732); case 2: // jmp value (already in r0) s.tmp_3 = r0; @@ -22630,18 +22632,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_getDirectionImage__P82978.info = {"start":2005,"length":188,"line":53,"column":8,"endLine":56,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"getDirectionImage","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_getDirectionImage__P3873462.info = {"start":2005,"length":188,"line":53,"column":8,"endLine":56,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"getDirectionImage","argumentNames":["this"]} -function tileworld_ruleediting_RuleDisplay_getDirectionImage__P82978_mk(s) { +function tileworld_ruleediting_RuleDisplay_getDirectionImage__P3873462_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_getDirectionImage__P82978, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_getDirectionImage__P3873462, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - dir___83053: undefined, + dir___3873732: undefined, arg0: undefined, } } @@ -22649,7 +22651,7 @@ function tileworld_ruleediting_RuleDisplay_getDirectionImage__P82978_mk(s) { -function tileworld_ruleediting_RuleDisplay_showCommands__P82988(s) { +function tileworld_ruleediting_RuleDisplay_showCommands__P3873472(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22659,57 +22661,57 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.lr___83378 = undefined; - s.col___83382 = undefined; - s.row___83385 = undefined; - s.len___83388 = undefined; + s.lr___3873748 = undefined; + s.col___3873752 = undefined; + s.row___3873755 = undefined; + s.len___3873758 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_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___83378 = (0); + s.lr___3873748 = (0); case 1: - r0 = (s.lr___83378 < 5); + r0 = (s.lr___3873748 < 5); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = tileworld_ruleediting_RuleDisplay_rowToColCoord__P82986_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleDisplay_rowToColCoord__P3873470_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.lr___83378; - s.callLocIdx = 740; s.pc = 5; return s.tmp_1; + s.tmp_1.arg1 = s.lr___3873748; + s.callLocIdx = 752; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.col___83382 = (r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_rowToRowCoord__P82987_mk(s); + s.col___3873752 = (r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_rowToRowCoord__P3873471_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.lr___83378; - s.callLocIdx = 741; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = s.lr___3873748; + s.callLocIdx = 753; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.row___83385 = (r0); - s.tmp_1 = tileworld_ruleediting_RuleDisplay_active__P82985_mk(s); + s.row___3873755 = (r0); + s.tmp_1 = tileworld_ruleediting_RuleDisplay_active__P3873469_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.col___83382; - s.tmp_1.arg2 = s.row___83385; - s.callLocIdx = 742; s.pc = 7; return s.tmp_1; + s.tmp_1.arg1 = s.col___3873752; + s.tmp_1.arg2 = s.row___3873755; + s.callLocIdx = 754; 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_ruleediting_RuleDisplay_showCommandsAt__P82990_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_showCommandsAt__P3873474_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.lr___83378; - s.tmp_2.arg2 = s.col___83382; - s.tmp_2.arg3 = s.row___83385; + s.tmp_2.arg1 = s.lr___3873748; + s.tmp_2.arg2 = s.col___3873752; + s.tmp_2.arg3 = s.row___3873755; s.tmp_2.arg4 = true; - s.callLocIdx = 743; s.pc = 8; return s.tmp_2; + s.callLocIdx = 755; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; { step = 3; continue; } @@ -22718,33 +22720,33 @@ switch (step) { case 3: // jmp value (already in r0) s.tmp_3 = r0; - s.len___83388 = (s.tmp_3); + s.len___3873758 = (s.tmp_3); r0 = s.arg0.fields["commandLengths"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.len___83388); - r0 = (s.lr___83378 + 1); - s.lr___83378 = (r0); + r0 = pxsim_Array__push(s.tmp_0, s.len___3873758); + r0 = (s.lr___3873748 + 1); + s.lr___3873748 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_showCommands__P82988.info = {"start":6317,"length":368,"line":149,"column":8,"endLine":157,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"showCommands","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_showCommands__P3873472.info = {"start":6317,"length":368,"line":149,"column":8,"endLine":157,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"showCommands","argumentNames":["this"]} -function tileworld_ruleediting_RuleDisplay_showCommands__P82988_mk(s) { +function tileworld_ruleediting_RuleDisplay_showCommands__P3873472_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_showCommands__P82988, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_showCommands__P3873472, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - lr___83378: undefined, - col___83382: undefined, - row___83385: undefined, - len___83388: undefined, + lr___3873748: undefined, + col___3873752: undefined, + row___3873755: undefined, + len___3873758: undefined, arg0: undefined, } } @@ -22752,7 +22754,7 @@ function tileworld_ruleediting_RuleDisplay_showCommands__P82988_mk(s) { -function tileworld_ruleediting_RuleDisplay_showCommandsAt__P82990(s) { +function tileworld_ruleediting_RuleDisplay_showCommandsAt__P3873474(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22762,13 +22764,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.kind___83478 = undefined; - s.img___83484 = undefined; - s.whendo___83513 = undefined; - s.whendo___83579 = undefined; - s.col___83585 = undefined; - s.tokens___83586 = undefined; - s.cid___83596 = undefined; + s.kind___3873781 = undefined; + s.img___3873787 = undefined; + s.whendo___3873816 = undefined; + s.whendo___3873882 = undefined; + s.col___3873888 = undefined; + s.tokens___3873889 = undefined; + s.cid___3873898 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22778,56 +22780,56 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg4); if (!r0) { step = 13; continue; } - s.tmp_0 = tileworld_RuleView_findWitnessColRow__P73535_mk(s); + s.tmp_0 = tileworld_RuleView_findWitnessColRow__P3655_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; s.tmp_0.arg3 = true; - s.callLocIdx = 747; s.pc = 28; return s.tmp_0; + s.callLocIdx = 759; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.kind___83478 = (r0); - r0 = (s.kind___83478 == -1); + s.kind___3873781 = (r0); + r0 = (s.kind___3873781 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = globals.genericSprite___73611; + r0 = globals.genericSprite___3731; { step = 2; continue; } case 1: - s.tmp_1 = tileworld_ruleediting_RuleDisplay_getWhenDoImage__P82994_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleDisplay_getWhenDoImage__P3873478_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; s.tmp_1.arg2 = s.arg3; - s.callLocIdx = 748; s.pc = 29; return s.tmp_1; + s.callLocIdx = 760; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.img___83484 = (s.tmp_2); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.img___3873787 = (s.tmp_2); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_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.img___83484; - s.callLocIdx = 749; s.pc = 30; return s.tmp_0; + s.tmp_0.arg3 = s.img___3873787; + s.callLocIdx = 761; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - r0 = (s.kind___83478 != -1); + r0 = (s.kind___3873781 != -1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 3; continue; } r0 = s.tmp_0; { step = 8; continue; } case 3: - s.tmp_3 = tileworld_ruleediting_RuleDisplay_getType__P82975_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_getType__P3873459_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 750; s.pc = 31; return s.tmp_3; + s.callLocIdx = 762; s.pc = 31; return s.tmp_3; case 31: r0 = s.retval; s.tmp_2 = r0; @@ -22857,32 +22859,32 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 9; continue; } - s.tmp_7 = tileworld_RuleView_getWhenDo__P73528_mk(s); + s.tmp_7 = tileworld_RuleView_getWhenDo__P3648_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = s.arg2; s.tmp_7.arg2 = s.arg3; - s.callLocIdx = 751; s.pc = 32; return s.tmp_7; + s.callLocIdx = 763; s.pc = 32; return s.tmp_7; case 32: r0 = s.retval; - s.whendo___83513 = (r0); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.whendo___3873816 = (r0); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; r0 = (s.arg1 + 2); s.tmp_0.arg2 = r0; - s.tmp_1 = r0 = globals.movedImages___73674; - s.tmp_3 = tileworld_RuleView_getWitnessDirection__P73536_mk(s); + s.tmp_1 = r0 = globals.movedImages___3873421; + s.tmp_3 = tileworld_RuleView_getWitnessDirection__P3656_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.whendo___83513; - s.callLocIdx = 752; s.pc = 34; return s.tmp_3; + s.tmp_3.arg1 = s.whendo___3873816; + s.callLocIdx = 764; s.pc = 34; return s.tmp_3; case 34: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_1, s.tmp_2); s.tmp_0.arg3 = r0; - s.callLocIdx = 753; s.pc = 33; return s.tmp_0; + s.callLocIdx = 765; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; case 9: @@ -22892,8 +22894,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_imagePrint__P71640_mk(s); - s.tmp_1.arg0 = globals.screen___71682; + s.tmp_1 = helpers_imagePrint__P1760_mk(s); + s.tmp_1.arg0 = globals.screen___1802; r0 = (s.arg1 + 1); s.tmp_2 = r0; r0 = pxsim_numops.toString(s.tmp_2); @@ -22909,11 +22911,11 @@ switch (step) { s.tmp_1.arg4 = undefined; s.tmp_1.arg5 = undefined; s.tmp_1.arg6 = undefined; - s.callLocIdx = 754; s.pc = 35; return s.tmp_1; + s.callLocIdx = 766; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; r0 = (s.arg1 + 1); s.tmp_1 = r0; r0 = pxsim_numops.toString(s.tmp_1); @@ -22931,56 +22933,56 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 755; s.pc = 36; return s.tmp_0; + s.callLocIdx = 767; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; case 11: case 12: case 13: case 14: - s.tmp_0 = tileworld_RuleView_getWhenDo__P73528_mk(s); + s.tmp_0 = tileworld_RuleView_getWhenDo__P3648_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; - s.callLocIdx = 756; s.pc = 37; return s.tmp_0; + s.callLocIdx = 768; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.whendo___83579 = (r0); - s.col___83585 = (6); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_startTokens__P82992_mk(s); + s.whendo___3873882 = (r0); + s.col___3873888 = (6); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_startTokens__P3873476_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; - s.callLocIdx = 757; s.pc = 38; return s.tmp_0; + s.callLocIdx = 769; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - s.tokens___83586 = (r0); + s.tokens___3873889 = (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 = 15; continue; } - r0 = (s.arg0).fields["tokens"] = (s.tokens___83586); + r0 = (s.arg0).fields["tokens"] = (s.tokens___3873889); case 15: case 16: - s.cid___83596 = (0); + s.cid___3873898 = (0); case 17: - r0 = (s.whendo___83579 != -1); + r0 = (s.whendo___3873882 != -1); 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.cid___83596; + s.tmp_1 = r0 = s.cid___3873898; r0 = s.arg0.fields["rule"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_4 = r0; - r0 = pxsim_Array__getAt(s.tmp_4, s.whendo___83579); + r0 = pxsim_Array__getAt(s.tmp_4, s.whendo___3873882); r0 = r0.fields["commandsLen"]; s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -22989,40 +22991,40 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 20; continue; } - s.tmp_6 = tileworld_ruleediting_RuleDisplay_showCommand__P82991_mk(s); + s.tmp_6 = tileworld_ruleediting_RuleDisplay_showCommand__P3873475_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.col___83585; + s.tmp_6.arg1 = s.col___3873888; s.tmp_6.arg2 = s.arg1; - s.tmp_6.arg3 = s.whendo___83579; - s.tmp_6.arg4 = s.cid___83596; - s.tmp_6.arg5 = s.tokens___83586; + s.tmp_6.arg3 = s.whendo___3873882; + s.tmp_6.arg4 = s.cid___3873898; + s.tmp_6.arg5 = s.tokens___3873889; s.tmp_6.arg6 = s.arg4; - s.callLocIdx = 759; s.pc = 39; return s.tmp_6; + s.callLocIdx = 771; s.pc = 39; return s.tmp_6; case 39: r0 = s.retval; - r0 = (s.cid___83596 + 1); - s.cid___83596 = (r0); - s.tmp_0 = r0 = s.col___83585; + r0 = (s.cid___3873898 + 1); + s.cid___3873898 = (r0); + s.tmp_0 = r0 = s.col___3873888; r0 = (s.tmp_0 + 1); - s.col___83585 = (r0); + s.col___3873888 = (r0); r0 = s.tmp_0; { step = 17; continue; } case 20: - r0 = (s.whendo___83579 == -1); + r0 = (s.whendo___3873882 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 21; continue; } r0 = s.tmp_0; { step = 24; continue; } case 21: - r0 = (s.cid___83596 < 4); + r0 = (s.cid___3873898 < 4); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 22; continue; } r0 = s.tmp_1; { step = 23; continue; } case 22: - r0 = pxsim_Array__length(s.tokens___83586); + r0 = pxsim_Array__length(s.tokens___3873889); s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 23: @@ -23034,32 +23036,32 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 25; continue; } - s.tmp_5 = tileworld_ruleediting_RuleDisplay_showCommand__P82991_mk(s); + s.tmp_5 = tileworld_ruleediting_RuleDisplay_showCommand__P3873475_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.col___83585; + s.tmp_5.arg1 = s.col___3873888; s.tmp_5.arg2 = s.arg1; - s.tmp_5.arg3 = s.whendo___83579; - s.tmp_5.arg4 = s.cid___83596; - s.tmp_5.arg5 = s.tokens___83586; + s.tmp_5.arg3 = s.whendo___3873882; + s.tmp_5.arg4 = s.cid___3873898; + s.tmp_5.arg5 = s.tokens___3873889; s.tmp_5.arg6 = s.arg4; - s.callLocIdx = 760; s.pc = 40; return s.tmp_5; + s.callLocIdx = 772; s.pc = 40; return s.tmp_5; case 40: r0 = s.retval; - r0 = (s.cid___83596 + 1); + r0 = (s.cid___3873898 + 1); { step = 27; continue; } case 25: case 26: - r0 = s.cid___83596; + r0 = s.cid___3873898; case 27: return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_showCommandsAt__P82990.info = {"start":7910,"length":1972,"line":188,"column":8,"endLine":225,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"showCommandsAt","argumentNames":["this","crow","wcol","wrow","draw"]} +tileworld_ruleediting_RuleDisplay_showCommandsAt__P3873474.info = {"start":7910,"length":1972,"line":188,"column":8,"endLine":225,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"showCommandsAt","argumentNames":["this","crow","wcol","wrow","draw"]} -function tileworld_ruleediting_RuleDisplay_showCommandsAt__P82990_mk(s) { +function tileworld_ruleediting_RuleDisplay_showCommandsAt__P3873474_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_showCommandsAt__P82990, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_showCommandsAt__P3873474, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23069,13 +23071,13 @@ function tileworld_ruleediting_RuleDisplay_showCommandsAt__P82990_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - kind___83478: undefined, - img___83484: undefined, - whendo___83513: undefined, - whendo___83579: undefined, - col___83585: undefined, - tokens___83586: undefined, - cid___83596: undefined, + kind___3873781: undefined, + img___3873787: undefined, + whendo___3873816: undefined, + whendo___3873882: undefined, + col___3873888: undefined, + tokens___3873889: undefined, + cid___3873898: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23087,7 +23089,7 @@ function tileworld_ruleediting_RuleDisplay_showCommandsAt__P82990_mk(s) { -function tileworld_ruleediting_RuleDisplay_showCommand__P82991(s) { +function tileworld_ruleediting_RuleDisplay_showCommand__P3873475(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23097,8 +23099,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.inst___83663 = undefined; - s.arg___83669 = undefined; + s.inst___3873965 = undefined; + s.arg___3873971 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23110,69 +23112,69 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); r0 = (s.arg3 == -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__P82568_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P6303_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___73606; - s.callLocIdx = 761; s.pc = 7; return s.tmp_1; + s.tmp_1.arg3 = globals.emptyTile___3726; + s.callLocIdx = 773; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; case 1: case 2: { step = 6; continue; } case 3: - s.tmp_0 = tileworld_RuleView_getCmdInst__P73539_mk(s); + s.tmp_0 = tileworld_RuleView_getCmdInst__P3659_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg3; s.tmp_0.arg2 = s.arg4; - s.callLocIdx = 762; s.pc = 8; return s.tmp_0; + s.callLocIdx = 774; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.inst___83663 = (r0); - s.tmp_0 = tileworld_RuleView_getCmdArg__P73540_mk(s); + s.inst___3873965 = (r0); + s.tmp_0 = tileworld_RuleView_getCmdArg__P3660_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg3; s.tmp_0.arg2 = s.arg4; - s.callLocIdx = 763; s.pc = 9; return s.tmp_0; + s.callLocIdx = 775; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.arg___83669 = (r0); + s.arg___3873971 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg6); if (!r0) { step = 4; continue; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_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_ruleediting_RuleDisplay_instToImage__P82989_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleDisplay_instToImage__P3873473_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.inst___83663; - s.tmp_1.arg2 = s.arg___83669; - s.callLocIdx = 764; s.pc = 11; return s.tmp_1; + s.tmp_1.arg1 = s.inst___3873965; + s.tmp_1.arg2 = s.arg___3873971; + s.callLocIdx = 776; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg3 = r0; - s.callLocIdx = 765; s.pc = 10; return s.tmp_0; + s.callLocIdx = 777; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; case 4: case 5: - s.tmp_0 = tileworld_ruleediting_RuleDisplay_updateTokens__P82993_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_updateTokens__P3873477_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg5; - s.tmp_0.arg2 = s.inst___83663; - s.callLocIdx = 766; s.pc = 12; return s.tmp_0; + s.tmp_0.arg2 = s.inst___3873965; + s.callLocIdx = 778; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; r0 = (s.arg1 + 1); @@ -23182,17 +23184,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_showCommand__P82991.info = {"start":9892,"length":596,"line":227,"column":8,"endLine":240,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"showCommand","argumentNames":["this","col","row","whendo","cid","tokens","draw"]} +tileworld_ruleediting_RuleDisplay_showCommand__P3873475.info = {"start":9892,"length":596,"line":227,"column":8,"endLine":240,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"showCommand","argumentNames":["this","col","row","whendo","cid","tokens","draw"]} -function tileworld_ruleediting_RuleDisplay_showCommand__P82991_mk(s) { +function tileworld_ruleediting_RuleDisplay_showCommand__P3873475_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_showCommand__P82991, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_showCommand__P3873475, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - inst___83663: undefined, - arg___83669: undefined, + inst___3873965: undefined, + arg___3873971: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23206,7 +23208,7 @@ function tileworld_ruleediting_RuleDisplay_showCommand__P82991_mk(s) { -function tileworld_ruleediting_RuleDisplay_updateTokens__P82993(s) { +function tileworld_ruleediting_RuleDisplay_updateTokens__P3873477(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23223,7 +23225,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); r0 = (s.arg2 == 255); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -23246,12 +23248,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_updateTokens__P82993.info = {"start":11112,"length":474,"line":257,"column":8,"endLine":268,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"updateTokens","argumentNames":["this","tokens","inst"]} +tileworld_ruleediting_RuleDisplay_updateTokens__P3873477.info = {"start":11112,"length":474,"line":257,"column":8,"endLine":268,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"updateTokens","argumentNames":["this","tokens","inst"]} -function tileworld_ruleediting_RuleDisplay_updateTokens__P82993_mk(s) { +function tileworld_ruleediting_RuleDisplay_updateTokens__P3873477_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_updateTokens__P82993, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_updateTokens__P3873477, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23263,7 +23265,7 @@ function tileworld_ruleediting_RuleDisplay_updateTokens__P82993_mk(s) { -function tileworld_RuleView_getCmdsLen__P73538(s) { +function tileworld_RuleView_getCmdsLen__P3658(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23279,7 +23281,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_0 = r0; @@ -23288,12 +23290,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getCmdsLen__P73538.info = {"start":6639,"length":95,"line":191,"column":8,"endLine":193,"endColumn":9,"fileName":"ruleview.ts","functionName":"getCmdsLen","argumentNames":["this","wdid"]} +tileworld_RuleView_getCmdsLen__P3658.info = {"start":6639,"length":95,"line":191,"column":8,"endLine":193,"endColumn":9,"fileName":"ruleview.ts","functionName":"getCmdsLen","argumentNames":["this","wdid"]} -function tileworld_RuleView_getCmdsLen__P73538_mk(s) { +function tileworld_RuleView_getCmdsLen__P3658_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getCmdsLen__P73538, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getCmdsLen__P3658, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23304,7 +23306,7 @@ function tileworld_RuleView_getCmdsLen__P73538_mk(s) { -function tileworld_ruleediting_RuleDisplay_startTokens__P82992(s) { +function tileworld_ruleediting_RuleDisplay_startTokens__P3873476(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23314,7 +23316,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tokens___83693 = undefined; + s.tokens___3874020 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23322,16 +23324,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.tokens___83693 = (r0); - s.tmp_2 = tileworld_RuleView_findWitnessColRow__P73535_mk(s); + s.tokens___3874020 = (r0); + s.tmp_2 = tileworld_RuleView_findWitnessColRow__P3655_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; s.tmp_2.arg3 = true; - s.callLocIdx = 767; s.pc = 3; return s.tmp_2; + s.callLocIdx = 779; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -23343,7 +23345,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_3, 0); r0 = pxsim_Array__push(s.tmp_3, 3); - s.tokens___83693 = (s.tmp_3); + s.tokens___3874020 = (s.tmp_3); case 1: case 2: r0 = pxsim_Array__mk(); @@ -23353,29 +23355,29 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_0, 6); r0 = pxsim_Array__push(s.tmp_0, 5); r0 = pxsim_Array__push(s.tmp_0, 4); - s.tmp_1 = helpers_arrayConcat__P69991_mk(s); - s.tmp_1.arg0 = s.tokens___83693; + s.tmp_1 = helpers_arrayConcat__P111_mk(s); + s.tmp_1.arg0 = s.tokens___3874020; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 768; s.pc = 4; return s.tmp_1; + s.callLocIdx = 780; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - s.tokens___83693 = (r0); - r0 = s.tokens___83693; + s.tokens___3874020 = (r0); + r0 = s.tokens___3874020; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_startTokens__P82992.info = {"start":10630,"length":472,"line":244,"column":8,"endLine":255,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"startTokens","argumentNames":["this","col","row"]} +tileworld_ruleediting_RuleDisplay_startTokens__P3873476.info = {"start":10630,"length":472,"line":244,"column":8,"endLine":255,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"startTokens","argumentNames":["this","col","row"]} -function tileworld_ruleediting_RuleDisplay_startTokens__P82992_mk(s) { +function tileworld_ruleediting_RuleDisplay_startTokens__P3873476_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_startTokens__P82992, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_startTokens__P3873476, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - tokens___83693: undefined, + tokens___3874020: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23385,7 +23387,7 @@ function tileworld_ruleediting_RuleDisplay_startTokens__P82992_mk(s) { -function helpers_arrayConcat__P69991(s) { +function helpers_arrayConcat__P111(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23395,74 +23397,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___95329 = undefined; - s.value___95332 = undefined; - s.unnamed120___U2 = undefined; - s.unnamed121___U3 = undefined; - s.value___95339 = undefined; - s.unnamed122___U5 = undefined; - s.unnamed123___U6 = undefined; + s.out___12866 = undefined; + s.value___12869 = undefined; + s.unnamed40___U2 = undefined; + s.unnamed41___U3 = undefined; + s.value___12876 = 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___95329 = (r0); - s.value___95332 = (undefined); - s.unnamed120___U2 = (s.arg0); - s.unnamed121___U3 = (0); + s.out___12866 = (r0); + s.value___12869 = (undefined); + s.unnamed40___U2 = (s.arg0); + s.unnamed41___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed121___U3; - r0 = pxsim_Array__length(s.unnamed120___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.unnamed120___U2, s.unnamed121___U3); - s.value___95332 = (r0); - r0 = pxsim_Array__push(s.out___95329, s.value___95332); - r0 = (s.unnamed121___U3 + 1); - s.unnamed121___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed40___U2, s.unnamed41___U3); + s.value___12869 = (r0); + r0 = pxsim_Array__push(s.out___12866, s.value___12869); + r0 = (s.unnamed41___U3 + 1); + s.unnamed41___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed120___U2 = (undefined); - s.value___95339 = (undefined); - s.unnamed122___U5 = (s.arg1); - s.unnamed123___U6 = (0); + s.unnamed40___U2 = (undefined); + s.value___12876 = (undefined); + s.unnamed42___U5 = (s.arg1); + s.unnamed43___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed123___U6; - r0 = pxsim_Array__length(s.unnamed122___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.unnamed122___U5, s.unnamed123___U6); - s.value___95339 = (r0); - r0 = pxsim_Array__push(s.out___95329, s.value___95339); - r0 = (s.unnamed123___U6 + 1); - s.unnamed123___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed42___U5, s.unnamed43___U6); + s.value___12876 = (r0); + r0 = pxsim_Array__push(s.out___12866, s.value___12876); + r0 = (s.unnamed43___U6 + 1); + s.unnamed43___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed122___U5 = (undefined); - r0 = s.out___95329; + s.unnamed42___U5 = (undefined); + r0 = s.out___12866; return leave(s, r0) default: oops() } } } -helpers_arrayConcat__P69991.info = {"start":8639,"length":264,"line":288,"column":4,"endLine":297,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayConcat","argumentNames":["arr","otherArr"]} +helpers_arrayConcat__P111.info = {"start":8639,"length":264,"line":288,"column":4,"endLine":297,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayConcat","argumentNames":["arr","otherArr"]} -function helpers_arrayConcat__P69991_mk(s) { +function helpers_arrayConcat__P111_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P69991, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P111, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___95329: undefined, - value___95332: undefined, - unnamed120___U2: undefined, - unnamed121___U3: undefined, - value___95339: undefined, - unnamed122___U5: undefined, - unnamed123___U6: undefined, + out___12866: undefined, + value___12869: undefined, + unnamed40___U2: undefined, + unnamed41___U3: undefined, + value___12876: undefined, + unnamed42___U5: undefined, + unnamed43___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -23471,7 +23473,7 @@ function helpers_arrayConcat__P69991_mk(s) { -function tileworld_ruleediting_RuleDisplay_getWhenDoImage__P82994(s) { +function tileworld_ruleediting_RuleDisplay_getWhenDoImage__P3873478(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23481,12 +23483,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.whenDo___83745 = undefined; - s.include___83756 = undefined; - s.include2___83760 = undefined; - s.exclude___83773 = undefined; - s.exclude2___83777 = undefined; - s.index___83790 = undefined; + s.whenDo___3874048 = undefined; + s.include___3874059 = undefined; + s.include2___3874063 = undefined; + s.exclude___3874076 = undefined; + s.exclude2___3874080 = undefined; + s.index___3874093 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23494,134 +23496,134 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getWhenDo__P73528_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getWhenDo__P3648_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 769; s.pc = 22; return s.tmp_0; + s.callLocIdx = 781; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.whenDo___83745 = (r0); - r0 = (s.whenDo___83745 == -1); + s.whenDo___3874048 = (r0); + r0 = (s.whenDo___3874048 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = globals.ok___73615; + r0 = globals.ok___3735; { step = 21; continue; } case 1: case 2: - s.tmp_1 = tileworld_ruleediting_RuleDisplay_attrIndex__P82997_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleDisplay_attrIndex__P3873481_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.whenDo___83745; + s.tmp_1.arg1 = s.whenDo___3874048; s.tmp_1.arg2 = 1; s.tmp_1.arg3 = 0; - s.callLocIdx = 770; s.pc = 23; return s.tmp_1; + s.callLocIdx = 782; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.include___83756 = (r0); - r0 = (s.include___83756 == -1); + s.include___3874059 = (r0); + r0 = (s.include___3874059 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } r0 = -1; { step = 4; continue; } case 3: - s.tmp_1 = tileworld_ruleediting_RuleDisplay_attrIndex__P82997_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleDisplay_attrIndex__P3873481_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.whenDo___83745; + s.tmp_1.arg1 = s.whenDo___3874048; s.tmp_1.arg2 = 1; - r0 = (s.include___83756 + 1); + r0 = (s.include___3874059 + 1); s.tmp_1.arg3 = r0; - s.callLocIdx = 771; s.pc = 24; return s.tmp_1; + s.callLocIdx = 783; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.include2___83760 = (s.tmp_2); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_attrIndex__P82997_mk(s); + s.include2___3874063 = (s.tmp_2); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_attrIndex__P3873481_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.whenDo___83745; + s.tmp_0.arg1 = s.whenDo___3874048; s.tmp_0.arg2 = 3; s.tmp_0.arg3 = 0; - s.callLocIdx = 772; s.pc = 25; return s.tmp_0; + s.callLocIdx = 784; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.exclude___83773 = (r0); - r0 = (s.exclude___83773 == -1); + s.exclude___3874076 = (r0); + r0 = (s.exclude___3874076 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } r0 = -1; { step = 6; continue; } case 5: - s.tmp_1 = tileworld_ruleediting_RuleDisplay_attrIndex__P82997_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleDisplay_attrIndex__P3873481_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.whenDo___83745; + s.tmp_1.arg1 = s.whenDo___3874048; s.tmp_1.arg2 = 3; - r0 = (s.exclude___83773 + 1); + r0 = (s.exclude___3874076 + 1); s.tmp_1.arg3 = r0; - s.callLocIdx = 773; s.pc = 26; return s.tmp_1; + s.callLocIdx = 785; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.exclude2___83777 = (s.tmp_2); - r0 = (s.include___83756 == -1); + s.exclude2___3874080 = (s.tmp_2); + r0 = (s.include___3874059 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = s.exclude___83773; + r0 = s.exclude___3874076; { step = 8; continue; } case 7: - r0 = s.include___83756; + r0 = s.include___3874059; case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.index___83790 = (s.tmp_1); - r0 = (s.include___83756 != -1); + s.index___3874093 = (s.tmp_1); + r0 = (s.include___3874059 != -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.include2___83760 != -1); + r0 = (s.include2___3874063 != -1); case 10: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 11; continue; } - s.tmp_2 = tileworld_splitImage__P73425_mk(s); + s.tmp_2 = tileworld_splitImage__P3545_mk(s); r0 = s.arg0.fields["all"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["allImages"]; s.tmp_4 = r0; - r0 = pxsim_Array__getAt(s.tmp_4, s.include___83756); + r0 = pxsim_Array__getAt(s.tmp_4, s.include___3874059); s.tmp_2.arg0 = r0; r0 = s.arg0.fields["all"]; s.tmp_5 = r0; r0 = s.tmp_5.fields["allImages"]; s.tmp_6 = r0; - r0 = pxsim_Array__getAt(s.tmp_6, s.include2___83760); + r0 = pxsim_Array__getAt(s.tmp_6, s.include2___3874063); s.tmp_2.arg1 = r0; - s.callLocIdx = 776; s.pc = 27; return s.tmp_2; + s.callLocIdx = 788; s.pc = 27; return s.tmp_2; case 27: r0 = s.retval; { step = 21; continue; } { step = 20; continue; } case 11: - r0 = (s.include___83756 == -1); + r0 = (s.include___3874059 == -1); s.tmp_7 = r0; r0 = pxsim_numops_toBool(s.tmp_7); if (r0) { step = 12; continue; } r0 = s.tmp_7; { step = 13; continue; } case 12: - r0 = (s.exclude___83773 != -1); + r0 = (s.exclude___3874076 != -1); case 13: // jmp value (already in r0) s.tmp_8 = r0; @@ -23630,32 +23632,32 @@ switch (step) { r0 = s.tmp_8; { step = 15; continue; } case 14: - r0 = (s.exclude2___83777 != -1); + r0 = (s.exclude2___3874080 != -1); case 15: // jmp value (already in r0) s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 16; continue; } - s.tmp_10 = tileworld_splitImage__P73425_mk(s); + s.tmp_10 = tileworld_splitImage__P3545_mk(s); r0 = s.arg0.fields["all"]; s.tmp_11 = r0; r0 = s.tmp_11.fields["allImages"]; s.tmp_12 = r0; - r0 = pxsim_Array__getAt(s.tmp_12, s.exclude___83773); + r0 = pxsim_Array__getAt(s.tmp_12, s.exclude___3874076); s.tmp_10.arg0 = r0; r0 = s.arg0.fields["all"]; s.tmp_13 = r0; r0 = s.tmp_13.fields["allImages"]; s.tmp_14 = r0; - r0 = pxsim_Array__getAt(s.tmp_14, s.exclude2___83777); + r0 = pxsim_Array__getAt(s.tmp_14, s.exclude2___3874080); s.tmp_10.arg1 = r0; - s.callLocIdx = 779; s.pc = 28; return s.tmp_10; + s.callLocIdx = 791; s.pc = 28; return s.tmp_10; case 28: r0 = s.retval; { step = 21; continue; } { step = 19; continue; } case 16: - r0 = (s.index___83790 != -1); + r0 = (s.index___3874093 != -1); s.tmp_15 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_15); if (!r0) { step = 17; continue; } @@ -23663,11 +23665,11 @@ switch (step) { s.tmp_16 = r0; r0 = s.tmp_16.fields["allImages"]; s.tmp_17 = r0; - r0 = pxsim_Array__getAt(s.tmp_17, s.index___83790); + r0 = pxsim_Array__getAt(s.tmp_17, s.index___3874093); { step = 21; continue; } { step = 18; continue; } case 17: - r0 = globals.ok___73615; + r0 = globals.ok___3735; { step = 21; continue; } case 18: case 19: @@ -23677,12 +23679,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_getWhenDoImage__P82994.info = {"start":11596,"length":1170,"line":270,"column":8,"endLine":290,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"getWhenDoImage","argumentNames":["this","col","row"]} +tileworld_ruleediting_RuleDisplay_getWhenDoImage__P3873478.info = {"start":11596,"length":1170,"line":270,"column":8,"endLine":290,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"getWhenDoImage","argumentNames":["this","col","row"]} -function tileworld_ruleediting_RuleDisplay_getWhenDoImage__P82994_mk(s) { +function tileworld_ruleediting_RuleDisplay_getWhenDoImage__P3873478_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_getWhenDoImage__P82994, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_getWhenDoImage__P3873478, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23702,12 +23704,12 @@ function tileworld_ruleediting_RuleDisplay_getWhenDoImage__P82994_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - whenDo___83745: undefined, - include___83756: undefined, - include2___83760: undefined, - exclude___83773: undefined, - exclude2___83777: undefined, - index___83790: undefined, + whenDo___3874048: undefined, + include___3874059: undefined, + include2___3874063: undefined, + exclude___3874076: undefined, + exclude2___3874080: undefined, + index___3874093: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23717,7 +23719,7 @@ function tileworld_ruleediting_RuleDisplay_getWhenDoImage__P82994_mk(s) { -function tileworld_AllExport_getImage__P73559(s) { +function tileworld_AllExport_getImage__P3679(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23733,19 +23735,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_AllExport__C73556_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_AllExport__C3676_VT)) failedCast(r0); r0 = s.arg0.fields["allImages"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); return leave(s, r0) default: oops() } } } -tileworld_AllExport_getImage__P73559.info = {"start":1008,"length":84,"line":28,"column":8,"endLine":30,"endColumn":9,"fileName":"project.ts","functionName":"getImage","argumentNames":["this","index"]} +tileworld_AllExport_getImage__P3679.info = {"start":1008,"length":84,"line":28,"column":8,"endLine":30,"endColumn":9,"fileName":"project.ts","functionName":"getImage","argumentNames":["this","index"]} -function tileworld_AllExport_getImage__P73559_mk(s) { +function tileworld_AllExport_getImage__P3679_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_AllExport_getImage__P73559, depth: s.depth + 1, + parent: s, fn: tileworld_AllExport_getImage__P3679, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23756,7 +23758,7 @@ function tileworld_AllExport_getImage__P73559_mk(s) { -function tileworld_splitImage__P73425(s) { +function tileworld_splitImage__P3545(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23766,61 +23768,61 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ret___75978 = undefined; - s.x___75982 = undefined; - s.y___75991 = undefined; + s.ret___12995 = undefined; + s.x___12999 = undefined; + s.y___13008 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_ImageMethods.clone(s.arg0); - s.ret___75978 = (r0); - r0 = pxsim_ImageMethods.width(s.ret___75978); + s.ret___12995 = (r0); + r0 = pxsim_ImageMethods.width(s.ret___12995); s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); - s.x___75982 = (r0); + s.x___12999 = (r0); case 1: - s.tmp_1 = r0 = s.x___75982; - r0 = pxsim_ImageMethods.width(s.ret___75978); + s.tmp_1 = r0 = s.x___12999; + r0 = pxsim_ImageMethods.width(s.ret___12995); 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.y___75991 = (0); + s.y___13008 = (0); case 2: - s.tmp_1 = r0 = s.y___75991; - r0 = pxsim_ImageMethods.height(s.ret___75978); + s.tmp_1 = r0 = s.y___13008; + r0 = pxsim_ImageMethods.height(s.ret___12995); 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.ret___75978; - s.tmp_4 = r0 = s.x___75982; - s.tmp_5 = r0 = s.y___75991; - r0 = pxsim_ImageMethods.getPixel(s.arg1, s.x___75982, s.y___75991); + s.tmp_3 = r0 = s.ret___12995; + s.tmp_4 = r0 = s.x___12999; + s.tmp_5 = r0 = s.y___13008; + r0 = pxsim_ImageMethods.getPixel(s.arg1, s.x___12999, s.y___13008); s.tmp_6 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_3, s.tmp_4, s.tmp_5, s.tmp_6); - r0 = (s.y___75991 + 1); - s.y___75991 = (r0); + r0 = (s.y___13008 + 1); + s.y___13008 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___75982 + 1); - s.x___75982 = (r0); + r0 = (s.x___12999 + 1); + s.x___12999 = (r0); { step = 1; continue; } case 4: - r0 = s.ret___75978; + r0 = s.ret___12995; return leave(s, r0) default: oops() } } } -tileworld_splitImage__P73425.info = {"start":1324,"length":323,"line":40,"column":4,"endLine":48,"endColumn":5,"fileName":"utilities.ts","functionName":"splitImage","argumentNames":["imgLeft","imgRight"]} +tileworld_splitImage__P3545.info = {"start":1324,"length":323,"line":40,"column":4,"endLine":48,"endColumn":5,"fileName":"utilities.ts","functionName":"splitImage","argumentNames":["imgLeft","imgRight"]} -function tileworld_splitImage__P73425_mk(s) { +function tileworld_splitImage__P3545_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_splitImage__P73425, depth: s.depth + 1, + parent: s, fn: tileworld_splitImage__P3545, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23829,9 +23831,9 @@ function tileworld_splitImage__P73425_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - ret___75978: undefined, - x___75982: undefined, - y___75991: undefined, + ret___12995: undefined, + x___12999: undefined, + y___13008: undefined, arg0: undefined, arg1: undefined, } } @@ -23840,7 +23842,7 @@ function tileworld_splitImage__P73425_mk(s) { -function tileworld_ruleediting_RuleDisplay_attrIndex__P82997(s) { +function tileworld_ruleediting_RuleDisplay_attrIndex__P3873481(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23850,7 +23852,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___84052 = undefined; + s.i___3874157 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23859,14 +23861,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); - s.i___84052 = (s.arg3); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); + s.i___3874157 = (s.arg3); case 1: - s.tmp_1 = r0 = s.i___84052; - s.tmp_3 = tileworld_Project_allCnt__P73578_mk(s); + s.tmp_1 = r0 = s.i___3874157; + s.tmp_3 = tileworld_Project_allCnt__P3698_mk(s); r0 = s.arg0.fields["p"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 801; s.pc = 6; return s.tmp_3; + s.callLocIdx = 813; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; s.tmp_2 = r0; @@ -23874,15 +23876,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_6 = tileworld_AllExport_getSetAttr__P73561_mk(s); + s.tmp_6 = tileworld_AllExport_getSetAttr__P3681_mk(s); r0 = s.arg0.fields["all"]; s.tmp_6.arg0 = r0; r0 = s.arg0.fields["rule"]; s.tmp_6.arg1 = r0; s.tmp_6.arg2 = s.arg1; - s.tmp_6.arg3 = s.i___84052; + s.tmp_6.arg3 = s.i___3874157; s.tmp_6.arg4 = 65535; - s.callLocIdx = 802; s.pc = 7; return s.tmp_6; + s.callLocIdx = 814; s.pc = 7; return s.tmp_6; case 7: r0 = s.retval; s.tmp_5 = r0; @@ -23890,12 +23892,12 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 2; continue; } - r0 = s.i___84052; + r0 = s.i___3874157; { step = 5; continue; } case 2: case 3: - r0 = (s.i___84052 + 1); - s.i___84052 = (r0); + r0 = (s.i___3874157 + 1); + s.i___3874157 = (r0); { step = 1; continue; } case 4: r0 = -1; @@ -23903,12 +23905,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_attrIndex__P82997.info = {"start":15111,"length":272,"line":342,"column":8,"endLine":348,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"attrIndex","argumentNames":["this","whendo","a","begin"]} +tileworld_ruleediting_RuleDisplay_attrIndex__P3873481.info = {"start":15111,"length":272,"line":342,"column":8,"endLine":348,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"attrIndex","argumentNames":["this","whendo","a","begin"]} -function tileworld_ruleediting_RuleDisplay_attrIndex__P82997_mk(s) { +function tileworld_ruleediting_RuleDisplay_attrIndex__P3873481_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_attrIndex__P82997, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_attrIndex__P3873481, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23917,7 +23919,7 @@ function tileworld_ruleediting_RuleDisplay_attrIndex__P82997_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - i___84052: undefined, + i___3874157: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23928,7 +23930,7 @@ function tileworld_ruleediting_RuleDisplay_attrIndex__P82997_mk(s) { -function tileworld_Project_allCnt__P73578(s) { +function tileworld_Project_allCnt__P3698(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23943,7 +23945,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = s.arg0.fields["_backgroundsI"]; s.tmp_1 = r0; r0 = pxsim_Array__length(s.tmp_1); @@ -23956,12 +23958,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_allCnt__P73578.info = {"start":3271,"length":61,"line":98,"column":8,"endLine":98,"endColumn":69,"fileName":"project.ts","functionName":"allCnt","argumentNames":["this"]} +tileworld_Project_allCnt__P3698.info = {"start":3271,"length":61,"line":98,"column":8,"endLine":98,"endColumn":69,"fileName":"project.ts","functionName":"allCnt","argumentNames":["this"]} -function tileworld_Project_allCnt__P73578_mk(s) { +function tileworld_Project_allCnt__P3698_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_allCnt__P73578, depth: s.depth + 1, + parent: s, fn: tileworld_Project_allCnt__P3698, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23974,7 +23976,7 @@ function tileworld_Project_allCnt__P73578_mk(s) { -function tileworld_ruleediting_RuleDisplay_makeContext__P82984(s) { +function tileworld_ruleediting_RuleDisplay_makeContext__P3873468(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23984,82 +23986,82 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___83314 = undefined; - s.j___83318 = undefined; + s.i___3874182 = undefined; + s.j___3874186 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); - s.i___83314 = (1); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); + s.i___3874182 = (1); case 1: - r0 = (s.i___83314 <= 3); + r0 = (s.i___3874182 <= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.j___83318 = (1); + s.j___3874186 = (1); case 2: - r0 = (s.j___83318 <= 3); + r0 = (s.j___3874186 <= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tileworld_ruleediting_RuleDisplay_active__P82985_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_active__P3873469_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.i___83314; - s.tmp_2.arg2 = s.j___83318; - s.callLocIdx = 738; s.pc = 7; return s.tmp_2; + s.tmp_2.arg1 = s.i___3874182; + s.tmp_2.arg2 = s.j___3874186; + s.callLocIdx = 750; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 3; continue; } - s.tmp_3 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.i___83314; - r0 = (s.j___83318 + 2); + s.tmp_3.arg1 = s.i___3874182; + r0 = (s.j___3874186 + 2); s.tmp_3.arg2 = r0; - s.tmp_3.arg3 = globals.emptyTile___73606; - s.callLocIdx = 739; s.pc = 8; return s.tmp_3; + s.tmp_3.arg3 = globals.emptyTile___3726; + s.callLocIdx = 751; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleDisplay__C73682_v4_4_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleDisplay__C3873456_v4_4_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.i___83314; - s.tmp_0.arg2 = s.j___83318; + s.tmp_0.arg1 = s.i___3874182; + s.tmp_0.arg2 = s.j___3874186; s.tmp_0.arg3 = true; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.showAttributes; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; case 3: case 4: - r0 = (s.j___83318 + 1); - s.j___83318 = (r0); + r0 = (s.j___3874186 + 1); + s.j___3874186 = (r0); { step = 2; continue; } case 5: - r0 = (s.i___83314 + 1); - s.i___83314 = (r0); + r0 = (s.i___3874182 + 1); + s.i___3874182 = (r0); { step = 1; continue; } case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_makeContext__P82984.info = {"start":5399,"length":342,"line":125,"column":8,"endLine":134,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"makeContext","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_makeContext__P3873468.info = {"start":5399,"length":342,"line":125,"column":8,"endLine":134,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"makeContext","argumentNames":["this"]} -function tileworld_ruleediting_RuleDisplay_makeContext__P82984_mk(s) { +function tileworld_ruleediting_RuleDisplay_makeContext__P3873468_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_makeContext__P82984, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_makeContext__P3873468, depth: s.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___83314: undefined, - j___83318: undefined, + i___3874182: undefined, + j___3874186: undefined, arg0: undefined, } } @@ -24067,7 +24069,7 @@ function tileworld_ruleediting_RuleDisplay_makeContext__P82984_mk(s) { -function tileworld_ruleediting_RuleDisplay_showAttributes__P82995(s) { +function tileworld_ruleediting_RuleDisplay_showAttributes__P3873479(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24077,12 +24079,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.whenDo___83851 = undefined; - s.begin___83867 = undefined; - s.end___83868 = undefined; - s.project___83874 = undefined; - s.done___83879 = undefined; - s.x___83949 = undefined; + s.whenDo___3874210 = undefined; + s.begin___3874226 = undefined; + s.end___3874227 = undefined; + s.project___3874233 = undefined; + s.done___3874238 = undefined; + s.x___3874308 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24091,70 +24093,70 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getWhenDo__P73528_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getWhenDo__P3648_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 781; s.pc = 13; return s.tmp_0; + s.callLocIdx = 793; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.whenDo___83851 = (r0); - r0 = (s.whenDo___83851 >= 0); + s.whenDo___3874210 = (r0); + r0 = (s.whenDo___3874210 >= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P6303_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_2 = tileworld_ruleediting_RuleDisplay_getWhenDoImage__P82994_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_getWhenDoImage__P3873478_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; - s.callLocIdx = 782; s.pc = 15; return s.tmp_2; + s.callLocIdx = 794; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; s.tmp_1.arg3 = r0; - s.callLocIdx = 783; s.pc = 14; return s.tmp_1; + s.callLocIdx = 795; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - s.begin___83867 = (0); - s.tmp_1 = tileworld_Project_allCnt__P73578_mk(s); + s.begin___3874226 = (0); + s.tmp_1 = tileworld_Project_allCnt__P3698_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 784; s.pc = 16; return s.tmp_1; + s.callLocIdx = 796; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.end___83868 = (r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_projectAttrs__P82996_mk(s); + s.end___3874227 = (r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_projectAttrs__P3873480_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.whenDo___83851; - s.tmp_0.arg2 = s.begin___83867; - s.tmp_0.arg3 = s.end___83868; - s.callLocIdx = 785; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = s.whenDo___3874210; + s.tmp_0.arg2 = s.begin___3874226; + s.tmp_0.arg3 = s.end___3874227; + s.callLocIdx = 797; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.project___83874 = (r0); + s.project___3874233 = (r0); r0 = pxsim_Array__mk(); - s.done___83879 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P83883); + s.done___3874238 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P3874242); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg2); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); - s.tmp_1.arg0 = s.project___83874; + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + s.tmp_1.arg0 = s.project___3874233; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 786; s.pc = 18; return s.tmp_1; + s.callLocIdx = 798; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P82975_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P3873459_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 787; s.pc = 19; return s.tmp_2; + s.callLocIdx = 799; s.pc = 19; return s.tmp_2; case 19: r0 = s.retval; s.tmp_1 = r0; @@ -24165,13 +24167,13 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleView_findWitnessColRow__P73535_mk(s); + s.tmp_4 = tileworld_RuleView_findWitnessColRow__P3655_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg1; s.tmp_4.arg2 = s.arg2; s.tmp_4.arg3 = true; - s.callLocIdx = 788; s.pc = 20; return s.tmp_4; + s.callLocIdx = 800; s.pc = 20; return s.tmp_4; case 20: r0 = s.retval; s.tmp_3 = r0; @@ -24181,23 +24183,23 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 3; continue; } - s.tmp_6 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = s.arg1; r0 = (s.arg2 + 2); s.tmp_6.arg2 = r0; - s.tmp_7 = r0 = globals.movedImages___73674; - s.tmp_9 = tileworld_RuleView_getWitnessDirection__P73536_mk(s); + s.tmp_7 = r0 = globals.movedImages___3873421; + s.tmp_9 = tileworld_RuleView_getWitnessDirection__P3656_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_9.arg0 = r0; - s.tmp_9.arg1 = s.whenDo___83851; - s.callLocIdx = 789; s.pc = 22; return s.tmp_9; + s.tmp_9.arg1 = s.whenDo___3874210; + s.callLocIdx = 801; s.pc = 22; return s.tmp_9; case 22: r0 = s.retval; s.tmp_8 = r0; r0 = pxsim_Array__getAt(s.tmp_7, s.tmp_8); s.tmp_6.arg3 = r0; - s.callLocIdx = 790; s.pc = 21; return s.tmp_6; + s.callLocIdx = 802; s.pc = 21; return s.tmp_6; case 21: r0 = s.retval; case 3: @@ -24208,10 +24210,10 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 791; s.pc = 23; return s.tmp_2; + s.callLocIdx = 803; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; s.tmp_1 = r0; @@ -24224,10 +24226,10 @@ switch (step) { r0 = s.tmp_3; { step = 8; continue; } case 7: - s.tmp_6 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = true; - s.callLocIdx = 792; s.pc = 24; return s.tmp_6; + s.callLocIdx = 804; s.pc = 24; return s.tmp_6; case 24: r0 = s.retval; s.tmp_5 = r0; @@ -24240,30 +24242,30 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 9; continue; } r0 = pxsim_pxtrt.mklocRef(); - s.x___83949 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.x___83949, 0); - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.x___3874308 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.x___3874308, 0); + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 22; s.tmp_0.arg3 = 160; s.tmp_0.arg4 = 16; s.tmp_0.arg5 = 0; - s.callLocIdx = 793; s.pc = 25; return s.tmp_0; + s.callLocIdx = 805; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(3, inline__P83959); + r0 = pxsim_pxtcore_mkAction(3, inline__P3874318); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.whenDo___83851); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.x___83949); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.whenDo___3874210); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.x___3874308); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["all"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["allImages"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 798; s.pc = 26; return s.tmp_1; + s.callLocIdx = 810; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; case 9: @@ -24274,12 +24276,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_showAttributes__P82995.info = {"start":12776,"length":1668,"line":292,"column":8,"endLine":323,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"showAttributes","argumentNames":["this","col","row","show"]} +tileworld_ruleediting_RuleDisplay_showAttributes__P3873479.info = {"start":12776,"length":1668,"line":292,"column":8,"endLine":323,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"showAttributes","argumentNames":["this","col","row","show"]} -function tileworld_ruleediting_RuleDisplay_showAttributes__P82995_mk(s) { +function tileworld_ruleediting_RuleDisplay_showAttributes__P3873479_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_showAttributes__P82995, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_showAttributes__P3873479, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24291,12 +24293,12 @@ function tileworld_ruleediting_RuleDisplay_showAttributes__P82995_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - whenDo___83851: undefined, - begin___83867: undefined, - end___83868: undefined, - project___83874: undefined, - done___83879: undefined, - x___83949: undefined, + whenDo___3874210: undefined, + begin___3874226: undefined, + end___3874227: undefined, + project___3874233: undefined, + done___3874238: undefined, + x___3874308: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24307,7 +24309,7 @@ function tileworld_ruleediting_RuleDisplay_showAttributes__P82995_mk(s) { -function inline__P83883(s) { +function inline__P3874242(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24317,15 +24319,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___83885 = undefined; + s.i___3874244 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_Array_.indexOf(globals.attrValues___73677, s.arg0, undefined); - s.i___83885 = (r0); - s.tmp_0 = r0 = globals.screen___71682; - r0 = pxsim_Array__getAt(globals.attrImages___73678, s.i___83885); + r0 = pxsim_Array_.indexOf(globals.attrValues___3873441, s.arg0, undefined); + s.i___3874244 = (r0); + s.tmp_0 = r0 = globals.screen___1802; + r0 = pxsim_Array__getAt(globals.attrImages___3873443, s.i___3874244); s.tmp_1 = r0; r0 = (s.caps[0] << 4); s.tmp_3 = r0; @@ -24344,12 +24346,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P83883.info = {"start":13280,"length":192,"line":301,"column":32,"endLine":304,"endColumn":17,"fileName":"ruledisplay.ts","functionName":"inline","argumentNames":["a"]} +inline__P3874242.info = {"start":13280,"length":192,"line":301,"column":32,"endLine":304,"endColumn":17,"fileName":"ruledisplay.ts","functionName":"inline","argumentNames":["a"]} -function inline__P83883_mk(s) { +function inline__P3874242_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P83883, depth: s.depth + 1, + parent: s, fn: inline__P3874242, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24359,7 +24361,7 @@ function inline__P83883_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - i___83885: undefined, + i___3874244: undefined, arg0: undefined, } } @@ -24367,7 +24369,7 @@ function inline__P83883_mk(s) { -function inline__P83959(s) { +function inline__P3874318(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24377,13 +24379,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.a___83962 = undefined; + s.a___3874321 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_AllExport_getSetAttr__P73561_mk(s); + s.tmp_0 = tileworld_AllExport_getSetAttr__P3681_mk(s); r0 = s.caps[0].fields["all"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["rule"]; @@ -24391,34 +24393,34 @@ switch (step) { s.tmp_0.arg2 = s.caps[1]; s.tmp_0.arg3 = s.arg1; s.tmp_0.arg4 = 65535; - s.callLocIdx = 795; s.pc = 3; return s.tmp_0; + s.callLocIdx = 807; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.a___83962 = (r0); - r0 = (s.a___83962 != 0); + s.a___3874321 = (r0); + r0 = (s.a___3874321 != 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_1.arg0 = s.caps[0]; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_1.arg1 = r0; s.tmp_1.arg2 = 1; s.tmp_1.arg3 = s.arg0; - s.callLocIdx = 796; s.pc = 4; return s.tmp_1; + s.callLocIdx = 808; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 1; - s.tmp_1 = r0 = globals.attrImages___73678; - r0 = pxsim_Array_.indexOf(globals.attrValues___73677, s.a___83962, undefined); + s.tmp_1 = r0 = globals.attrImages___3873443; + r0 = pxsim_Array_.indexOf(globals.attrValues___3873441, s.a___3874321, undefined); s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_1, s.tmp_2); s.tmp_0.arg3 = r0; - s.callLocIdx = 797; s.pc = 5; return s.tmp_0; + s.callLocIdx = 809; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; s.tmp_0 = r0 = s.caps[2]; @@ -24433,17 +24435,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P83959.info = {"start":14039,"length":361,"line":313,"column":49,"endLine":320,"endColumn":21,"fileName":"ruledisplay.ts","functionName":"inline","argumentNames":["image","i"]} +inline__P3874318.info = {"start":14039,"length":361,"line":313,"column":49,"endLine":320,"endColumn":21,"fileName":"ruledisplay.ts","functionName":"inline","argumentNames":["image","i"]} -function inline__P83959_mk(s) { +function inline__P3874318_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P83959, depth: s.depth + 1, + parent: s, fn: inline__P3874318, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - a___83962: undefined, + a___3874321: undefined, arg0: undefined, arg1: undefined, } } @@ -24452,7 +24454,7 @@ function inline__P83959_mk(s) { -function tileworld_ruleediting_RuleDisplay_projectAttrs__P82996(s) { +function tileworld_ruleediting_RuleDisplay_projectAttrs__P3873480(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24462,9 +24464,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___83995 = undefined; - s.i___83997 = undefined; - s.a___84003 = undefined; + s.res___3874354 = undefined; + s.i___3874356 = undefined; + s.a___3874362 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24473,12 +24475,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); - s.tmp_1 = tileworld_RuleView_whendoTrue__P73546_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); + s.tmp_1 = tileworld_RuleView_whendoTrue__P3666_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 799; s.pc = 16; return s.tmp_1; + s.callLocIdx = 811; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; s.tmp_0 = r0; @@ -24489,33 +24491,33 @@ switch (step) { case 1: case 2: r0 = pxsim_Array__mk(); - s.res___83995 = (r0); - s.i___83997 = (s.arg2); + s.res___3874354 = (r0); + s.i___3874356 = (s.arg2); case 3: - r0 = (s.i___83997 <= s.arg3); + r0 = (s.i___3874356 <= s.arg3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_1 = tileworld_AllExport_getSetAttr__P73561_mk(s); + s.tmp_1 = tileworld_AllExport_getSetAttr__P3681_mk(s); r0 = s.arg0.fields["all"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["rule"]; s.tmp_1.arg1 = r0; s.tmp_1.arg2 = s.arg1; - s.tmp_1.arg3 = s.i___83997; + s.tmp_1.arg3 = s.i___3874356; s.tmp_1.arg4 = 65535; - s.callLocIdx = 800; s.pc = 17; return s.tmp_1; + s.callLocIdx = 812; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.a___84003 = (r0); - r0 = (s.a___84003 != 0); + s.a___3874362 = (r0); + r0 = (s.a___3874362 != 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: - r0 = pxsim_Array_.indexOf(s.res___83995, s.a___84003, undefined); + r0 = pxsim_Array_.indexOf(s.res___3874354, s.a___3874362, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 == -1); case 5: @@ -24523,20 +24525,20 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__push(s.res___83995, s.a___84003); + r0 = pxsim_Array__push(s.res___3874354, s.a___3874362); case 6: case 7: - r0 = (s.i___83997 + 1); - s.i___83997 = (r0); + r0 = (s.i___3874356 + 1); + s.i___3874356 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_Array__length(s.res___83995); + r0 = pxsim_Array__length(s.res___3874354); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = pxsim_Array__length(s.res___83995); + r0 = pxsim_Array__length(s.res___3874354); s.tmp_3 = r0; r0 = (s.tmp_3 == 1); s.tmp_2 = r0; @@ -24545,7 +24547,7 @@ switch (step) { r0 = s.tmp_2; { step = 10; continue; } case 9: - r0 = pxsim_Array_.indexOf(s.res___83995, 3, undefined); + r0 = pxsim_Array_.indexOf(s.res___3874354, 3, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 != -1); case 10: @@ -24565,17 +24567,17 @@ switch (step) { case 12: case 13: case 14: - r0 = s.res___83995; + r0 = s.res___3874354; case 15: return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_projectAttrs__P82996.info = {"start":14454,"length":647,"line":325,"column":8,"endLine":340,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"projectAttrs","argumentNames":["this","whendo","begin","end"]} +tileworld_ruleediting_RuleDisplay_projectAttrs__P3873480.info = {"start":14454,"length":647,"line":325,"column":8,"endLine":340,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"projectAttrs","argumentNames":["this","whendo","begin","end"]} -function tileworld_ruleediting_RuleDisplay_projectAttrs__P82996_mk(s) { +function tileworld_ruleediting_RuleDisplay_projectAttrs__P3873480_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_projectAttrs__P82996, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_projectAttrs__P3873480, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24584,9 +24586,9 @@ function tileworld_ruleediting_RuleDisplay_projectAttrs__P82996_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - res___83995: undefined, - i___83997: undefined, - a___84003: undefined, + res___3874354: undefined, + i___3874356: undefined, + a___3874362: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24597,7 +24599,7 @@ function tileworld_ruleediting_RuleDisplay_projectAttrs__P82996_mk(s) { -function tileworld_RuleView_whendoTrue__P73546(s) { +function tileworld_RuleView_whendoTrue__P3666(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24607,36 +24609,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___77653 = undefined; + s.wd___13290 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.wd___77653 = (r0); - s.tmp_0 = tileworld_isWhenDoTrue__P73509_mk(s); - s.tmp_0.arg0 = s.wd___77653; + s.wd___13290 = (r0); + s.tmp_0 = tileworld_isWhenDoTrue__P3629_mk(s); + s.tmp_0.arg0 = s.wd___13290; s.callLocIdx = 150; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tileworld_RuleView_whendoTrue__P73546.info = {"start":9153,"length":126,"line":262,"column":8,"endLine":265,"endColumn":9,"fileName":"ruleview.ts","functionName":"whendoTrue","argumentNames":["this","whendo"]} +tileworld_RuleView_whendoTrue__P3666.info = {"start":9153,"length":126,"line":262,"column":8,"endLine":265,"endColumn":9,"fileName":"ruleview.ts","functionName":"whendoTrue","argumentNames":["this","whendo"]} -function tileworld_RuleView_whendoTrue__P73546_mk(s) { +function tileworld_RuleView_whendoTrue__P3666_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_whendoTrue__P73546, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_whendoTrue__P3666, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - wd___77653: undefined, + wd___13290: undefined, arg0: undefined, arg1: undefined, } } @@ -24645,7 +24647,7 @@ function tileworld_RuleView_whendoTrue__P73546_mk(s) { -function tileworld_isWhenDoTrue__P73509(s) { +function tileworld_isWhenDoTrue__P3629(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24655,15 +24657,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___76487 = undefined; - s.i___76501 = undefined; + s.i___13298 = undefined; + s.i___13312 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___76487 = (0); + s.i___13298 = (0); case 1: - s.tmp_1 = r0 = s.i___76487; + s.tmp_1 = r0 = s.i___13298; r0 = s.arg0.fields["bgPred"]; s.tmp_3 = r0; r0 = pxsim.BufferMethods.length(s.tmp_3); @@ -24674,7 +24676,7 @@ switch (step) { if (!r0) { step = 4; continue; } r0 = s.arg0.fields["bgPred"]; s.tmp_5 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_5, s.i___76487); + r0 = pxsim.BufferMethods.getUint8(s.tmp_5, s.i___13298); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 2; continue; } @@ -24682,13 +24684,13 @@ switch (step) { { step = 9; continue; } case 2: case 3: - r0 = (s.i___76487 + 1); - s.i___76487 = (r0); + r0 = (s.i___13298 + 1); + s.i___13298 = (r0); { step = 1; continue; } case 4: - s.i___76501 = (0); + s.i___13312 = (0); case 5: - s.tmp_1 = r0 = s.i___76501; + s.tmp_1 = r0 = s.i___13312; r0 = s.arg0.fields["spPred"]; s.tmp_3 = r0; r0 = pxsim.BufferMethods.length(s.tmp_3); @@ -24699,7 +24701,7 @@ switch (step) { if (!r0) { step = 8; continue; } r0 = s.arg0.fields["spPred"]; s.tmp_5 = r0; - r0 = pxsim.BufferMethods.getUint8(s.tmp_5, s.i___76501); + r0 = pxsim.BufferMethods.getUint8(s.tmp_5, s.i___13312); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 6; continue; } @@ -24707,8 +24709,8 @@ switch (step) { { step = 9; continue; } case 6: case 7: - r0 = (s.i___76501 + 1); - s.i___76501 = (r0); + r0 = (s.i___13312 + 1); + s.i___13312 = (r0); { step = 5; continue; } case 8: r0 = true; @@ -24716,12 +24718,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_isWhenDoTrue__P73509.info = {"start":7342,"length":299,"line":194,"column":4,"endLine":202,"endColumn":5,"fileName":"rule.ts","functionName":"isWhenDoTrue","argumentNames":["wd"]} +tileworld_isWhenDoTrue__P3629.info = {"start":7342,"length":299,"line":194,"column":4,"endLine":202,"endColumn":5,"fileName":"rule.ts","functionName":"isWhenDoTrue","argumentNames":["wd"]} -function tileworld_isWhenDoTrue__P73509_mk(s) { +function tileworld_isWhenDoTrue__P3629_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_isWhenDoTrue__P73509, depth: s.depth + 1, + parent: s, fn: tileworld_isWhenDoTrue__P3629, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24729,8 +24731,8 @@ function tileworld_isWhenDoTrue__P73509_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - i___76487: undefined, - i___76501: undefined, + i___13298: undefined, + i___13312: undefined, arg0: undefined, } } @@ -24738,7 +24740,7 @@ function tileworld_isWhenDoTrue__P73509_mk(s) { -function tileworld_RuleView_getDirFromRule__P73527(s) { +function tileworld_RuleView_getDirFromRule__P3647(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24748,48 +24750,48 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rt___77058 = undefined; - s.wd___77067 = undefined; + s.rt___13327 = undefined; + s.wd___13336 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["ruleType"]; - s.rt___77058 = (r0); - r0 = (s.rt___77058 == 2); + s.rt___13327 = (r0); + r0 = (s.rt___13327 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = (s.rt___77058 == 1); + r0 = (s.rt___13327 == 1); case 2: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 5; continue; } - s.tmp_2 = tileworld_RuleView_getWhenDo__P73528_mk(s); + s.tmp_2 = tileworld_RuleView_getWhenDo__P3648_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 2; s.tmp_2.arg2 = 2; s.callLocIdx = 117; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; - s.wd___77067 = (r0); - r0 = (s.wd___77067 == -1); + s.wd___13336 = (r0); + r0 = (s.wd___13336 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } r0 = 6; { step = 4; continue; } case 3: - s.tmp_1 = tileworld_RuleView_getWitnessDirection__P73536_mk(s); + s.tmp_1 = tileworld_RuleView_getWitnessDirection__P3656_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.wd___77067; + s.tmp_1.arg1 = s.wd___13336; s.callLocIdx = 118; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -24800,11 +24802,11 @@ switch (step) { { step = 9; continue; } { step = 8; continue; } case 5: - r0 = (s.rt___77058 == 0); + r0 = (s.rt___13327 == 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 6; continue; } - s.tmp_4 = tileworld_RuleView_getRuleArg__P73525_mk(s); + s.tmp_4 = tileworld_RuleView_getRuleArg__P3645_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 119; s.pc = 12; return s.tmp_4; case 12: @@ -24818,20 +24820,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getDirFromRule__P73527.info = {"start":2246,"length":408,"line":74,"column":8,"endLine":83,"endColumn":9,"fileName":"ruleview.ts","functionName":"getDirFromRule","argumentNames":["this"]} +tileworld_RuleView_getDirFromRule__P3647.info = {"start":2246,"length":408,"line":74,"column":8,"endLine":83,"endColumn":9,"fileName":"ruleview.ts","functionName":"getDirFromRule","argumentNames":["this"]} -function tileworld_RuleView_getDirFromRule__P73527_mk(s) { +function tileworld_RuleView_getDirFromRule__P3647_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getDirFromRule__P73527, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getDirFromRule__P3647, depth: s.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, - rt___77058: undefined, - wd___77067: undefined, + rt___13327: undefined, + wd___13336: undefined, arg0: undefined, } } @@ -24839,7 +24841,7 @@ function tileworld_RuleView_getDirFromRule__P73527_mk(s) { -function tileworld_RuleView_getRuleArg__P73525(s) { +function tileworld_RuleView_getRuleArg__P3645(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24854,7 +24856,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["rid"]; s.tmp_1 = r0; r0 = (s.tmp_1 != -1); @@ -24872,7 +24874,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - s.tmp_4 = tileworld_flipRotateDir__P73506_mk(s); + s.tmp_4 = tileworld_flipRotateDir__P3626_mk(s); r0 = s.arg0.fields["r"]; r0 = r0.fields["ruleArg"]; s.tmp_4.arg0 = r0; @@ -24896,12 +24898,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getRuleArg__P73525.info = {"start":1949,"length":202,"line":65,"column":8,"endLine":68,"endColumn":9,"fileName":"ruleview.ts","functionName":"getRuleArg","argumentNames":["this"]} +tileworld_RuleView_getRuleArg__P3645.info = {"start":1949,"length":202,"line":65,"column":8,"endLine":68,"endColumn":9,"fileName":"ruleview.ts","functionName":"getRuleArg","argumentNames":["this"]} -function tileworld_RuleView_getRuleArg__P73525_mk(s) { +function tileworld_RuleView_getRuleArg__P3645_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getRuleArg__P73525, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getRuleArg__P3645, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24917,7 +24919,7 @@ function tileworld_RuleView_getRuleArg__P73525_mk(s) { -function tileworld_ruleediting_RuleDisplay_showRuleType__P82982(s) { +function tileworld_ruleediting_RuleDisplay_showRuleType__P3873466(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24927,9 +24929,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.selCol___83174 = undefined; - s.ax___83191 = undefined; - s.ay___83200 = undefined; + s.selCol___3874418 = undefined; + s.ax___3874435 = undefined; + s.ay___3874444 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24940,23 +24942,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); - s.selCol___83174 = (11); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); + s.selCol___3874418 = (11); r0 = pxsim_numops_toBoolDecr(s.arg5); if (!r0) { step = 1; continue; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.tmp_0.arg2 = s.arg4; - s.tmp_1 = tileworld_ruleediting_RuleDisplay__C73682_v3_1_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleDisplay__C3873456_v3_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.centerImage; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; s.tmp_0.arg3 = r0; - s.callLocIdx = 716; s.pc = 17; return s.tmp_0; + s.callLocIdx = 728; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; case 1: @@ -24965,13 +24967,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P6303_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.movedImages___73674, s.arg2); + r0 = pxsim_Array__getAt(globals.movedImages___3873421, s.arg2); s.tmp_1.arg3 = r0; - s.callLocIdx = 717; s.pc = 19; return s.tmp_1; + s.callLocIdx = 729; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; { step = 16; continue; } @@ -25002,7 +25004,7 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_4 = r0; - s.ax___83191 = (s.tmp_4); + s.ax___3874435 = (s.tmp_4); r0 = (s.arg2 == 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -25025,18 +25027,18 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_3 = r0; - s.ay___83200 = (s.tmp_3); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_showCollision__P82981_mk(s); + s.ay___3874444 = (s.tmp_3); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_showCollision__P3873465_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = (s.arg3 - s.ax___83191); + r0 = (s.arg3 - s.ax___3874435); s.tmp_0.arg1 = r0; - r0 = (s.arg4 - s.ay___83200); + r0 = (s.arg4 - s.ay___3874444); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg2; - r0 = pxsim_Array__getAt(globals.moveImages___73673, s.arg2); + r0 = pxsim_Array__getAt(globals.moveImages___3873413, s.arg2); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg1; - s.callLocIdx = 718; s.pc = 20; return s.tmp_0; + s.callLocIdx = 730; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; { step = 15; continue; } @@ -25045,12 +25047,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg3; s.tmp_1.arg2 = s.arg4; - s.tmp_1.arg3 = globals.negate___73650; - s.callLocIdx = 719; s.pc = 21; return s.tmp_1; + s.tmp_1.arg3 = globals.negate___3770; + s.callLocIdx = 731; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; case 13: @@ -25061,21 +25063,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_showRuleType__P82982.info = {"start":3598,"length":730,"line":87,"column":8,"endLine":99,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"showRuleType","argumentNames":["this","rt","rd","x","y","center"]} +tileworld_ruleediting_RuleDisplay_showRuleType__P3873466.info = {"start":3598,"length":730,"line":87,"column":8,"endLine":99,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"showRuleType","argumentNames":["this","rt","rd","x","y","center"]} -function tileworld_ruleediting_RuleDisplay_showRuleType__P82982_mk(s) { +function tileworld_ruleediting_RuleDisplay_showRuleType__P3873466_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_showRuleType__P82982, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_showRuleType__P3873466, depth: s.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, - selCol___83174: undefined, - ax___83191: undefined, - ay___83200: undefined, + selCol___3874418: undefined, + ax___3874435: undefined, + ay___3874444: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25088,7 +25090,7 @@ function tileworld_ruleediting_RuleDisplay_showRuleType__P82982_mk(s) { -function tileworld_ruleediting_RuleDisplay_showCollision__P82981(s) { +function tileworld_ruleediting_RuleDisplay_showCollision__P3873465(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25098,8 +25100,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___83136 = undefined; - s.y___83145 = undefined; + s.x___3874489 = undefined; + s.y___3874498 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25110,18 +25112,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); r0 = (s.arg0).fields["collideCol"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = (s.arg2 - 2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["collideRow"] = (s.tmp_1); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.tmp_0.arg3 = globals.collisionSprite___73610; - s.callLocIdx = 714; s.pc = 9; return s.tmp_0; + s.tmp_0.arg3 = globals.collisionSprite___3730; + s.callLocIdx = 726; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = (s.arg3 == 0); @@ -25146,7 +25148,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_3 = r0; - s.x___83136 = (s.tmp_3); + s.x___3874489 = (s.tmp_3); r0 = (s.arg3 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -25169,40 +25171,40 @@ switch (step) { case 8: // jmp value (already in r0) s.tmp_3 = r0; - s.y___83145 = (s.tmp_3); - s.tmp_0 = tileworld_RuleVisualsBase_drawImageAbs__P82569_mk(s); + s.y___3874498 = (s.tmp_3); + s.tmp_0 = tileworld_RuleVisualsBase_drawImageAbs__P6304_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 << 4); s.tmp_1 = r0; - r0 = (s.tmp_1 + s.x___83136); + r0 = (s.tmp_1 + s.x___3874489); 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___83145); + r0 = (s.tmp_2 + s.y___3874498); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg4; - s.callLocIdx = 715; s.pc = 10; return s.tmp_0; + s.callLocIdx = 727; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_showCollision__P82981.info = {"start":3076,"length":512,"line":78,"column":8,"endLine":85,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"showCollision","argumentNames":["this","col","row","dir","arrowImg","rt"]} +tileworld_ruleediting_RuleDisplay_showCollision__P3873465.info = {"start":3076,"length":512,"line":78,"column":8,"endLine":85,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"showCollision","argumentNames":["this","col","row","dir","arrowImg","rt"]} -function tileworld_ruleediting_RuleDisplay_showCollision__P82981_mk(s) { +function tileworld_ruleediting_RuleDisplay_showCollision__P3873465_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_showCollision__P82981, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_showCollision__P3873465, depth: s.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___83136: undefined, - y___83145: undefined, + x___3874489: undefined, + y___3874498: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25215,7 +25217,7 @@ function tileworld_ruleediting_RuleDisplay_showCollision__P82981_mk(s) { -function tileworld_RuleVisualsBase_drawImageAbs__P82569(s) { +function tileworld_RuleVisualsBase_drawImageAbs__P6304(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25233,18 +25235,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___71682, s.arg3, s.arg1, s.arg2); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C3789_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___1802, s.arg3, s.arg1, s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_drawImageAbs__P82569.info = {"start":4505,"length":120,"line":116,"column":8,"endLine":118,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawImageAbs","argumentNames":["this","x","y","img"]} +tileworld_RuleVisualsBase_drawImageAbs__P6304.info = {"start":4505,"length":120,"line":116,"column":8,"endLine":118,"endColumn":9,"fileName":"rulesBase.ts","functionName":"drawImageAbs","argumentNames":["this","x","y","img"]} -function tileworld_RuleVisualsBase_drawImageAbs__P82569_mk(s) { +function tileworld_RuleVisualsBase_drawImageAbs__P6304_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_drawImageAbs__P82569, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_drawImageAbs__P6304, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25256,7 +25258,7 @@ function tileworld_RuleVisualsBase_drawImageAbs__P82569_mk(s) { -function tileworld_ruleediting_RuleDisplay_centerImage__P82977(s) { +function tileworld_ruleediting_RuleDisplay_centerImage__P3873461(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25271,17 +25273,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); - r0 = globals.ok___73615; + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); + r0 = globals.ok___3735; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_centerImage__P82977.info = {"start":1937,"length":58,"line":49,"column":8,"endLine":51,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"centerImage","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_centerImage__P3873461.info = {"start":1937,"length":58,"line":49,"column":8,"endLine":51,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"centerImage","argumentNames":["this"]} -function tileworld_ruleediting_RuleDisplay_centerImage__P82977_mk(s) { +function tileworld_ruleediting_RuleDisplay_centerImage__P3873461_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_centerImage__P82977, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_centerImage__P3873461, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25290,7 +25292,7 @@ function tileworld_ruleediting_RuleDisplay_centerImage__P82977_mk(s) { -function tileworld_ruleediting_RuleEditor_saveAndPop__P84378(s) { +function tileworld_ruleediting_RuleEditor_saveAndPop__P6423(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25305,29 +25307,29 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_saveRule__P73585_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_saveRule__P3705_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 1022; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1034; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_popScene__P72414_mk(s); - s.callLocIdx = 1023; s.pc = 2; return s.tmp_0; + s.tmp_0 = game_popScene__P2534_mk(s); + s.callLocIdx = 1035; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_saveAndPop__P84378.info = {"start":8532,"length":101,"line":179,"column":8,"endLine":182,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"saveAndPop","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_saveAndPop__P6423.info = {"start":8532,"length":101,"line":179,"column":8,"endLine":182,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"saveAndPop","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_saveAndPop__P84378_mk(s) { +function tileworld_ruleediting_RuleEditor_saveAndPop__P6423_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_saveAndPop__P84378, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_saveAndPop__P6423, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25337,7 +25339,7 @@ function tileworld_ruleediting_RuleEditor_saveAndPop__P84378_mk(s) { -function tileworld_RuleView_getWitnessDirection__P73536(s) { +function tileworld_RuleView_getWitnessDirection__P3656(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25347,20 +25349,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dir___77397 = undefined; + s.dir___13505 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); r0 = r0.fields["dir"]; - s.dir___77397 = (r0); + s.dir___13505 = (r0); r0 = s.arg0.fields["rid"]; s.tmp_1 = r0; r0 = (s.tmp_1 != -1); @@ -25370,17 +25372,17 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = (s.dir___77397 >= 4); + r0 = (s.dir___13505 >= 4); 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.dir___77397; + r0 = s.dir___13505; { step = 4; continue; } case 3: - s.tmp_3 = tileworld_flipRotateDir__P73506_mk(s); - s.tmp_3.arg0 = s.dir___77397; + s.tmp_3 = tileworld_flipRotateDir__P3626_mk(s); + s.tmp_3.arg0 = s.dir___13505; r0 = s.arg0.fields["view"]; s.tmp_3.arg1 = r0; s.callLocIdx = 142; s.pc = 5; return s.tmp_3; @@ -25393,19 +25395,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getWitnessDirection__P73536.info = {"start":6320,"length":192,"line":182,"column":8,"endLine":185,"endColumn":9,"fileName":"ruleview.ts","functionName":"getWitnessDirection","argumentNames":["this","wdid"]} +tileworld_RuleView_getWitnessDirection__P3656.info = {"start":6320,"length":192,"line":182,"column":8,"endLine":185,"endColumn":9,"fileName":"ruleview.ts","functionName":"getWitnessDirection","argumentNames":["this","wdid"]} -function tileworld_RuleView_getWitnessDirection__P73536_mk(s) { +function tileworld_RuleView_getWitnessDirection__P3656_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getWitnessDirection__P73536, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getWitnessDirection__P3656, depth: s.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, - dir___77397: undefined, + dir___13505: undefined, arg0: undefined, arg1: undefined, } } @@ -25414,7 +25416,7 @@ function tileworld_RuleView_getWitnessDirection__P73536_mk(s) { -function tileworld_RuleView_getWhenDo__P73528(s) { +function tileworld_RuleView_getWhenDo__P3648(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25424,9 +25426,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ncol___77102 = undefined; - s.nrow___77107 = undefined; - s.whendo___77116 = undefined; + s.ncol___13534 = undefined; + s.nrow___13539 = undefined; + s.whendo___13548 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25434,7 +25436,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -25449,12 +25451,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_4 = tileworld_transformCol__P73507_mk(s); + s.tmp_4 = tileworld_transformCol__P3627_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_4.arg0 = r0; r0 = pxsim_pxtrt_ldlocRef(s.arg2); s.tmp_4.arg1 = r0; - s.tmp_5 = tileworld_RuleView_rawView__P76924_mk(s); + s.tmp_5 = tileworld_RuleView_rawView__P5992_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 120; s.pc = 7; return s.tmp_5; case 7: @@ -25463,13 +25465,13 @@ switch (step) { s.callLocIdx = 121; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; - s.ncol___77102 = (r0); - s.tmp_0 = tileworld_transformRow__P73508_mk(s); + s.ncol___13534 = (r0); + s.tmp_0 = tileworld_transformRow__P3628_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg2); s.tmp_0.arg0 = r0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_0.arg1 = r0; - s.tmp_1 = tileworld_RuleView_rawView__P76924_mk(s); + s.tmp_1 = tileworld_RuleView_rawView__P5992_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 122; s.pc = 9; return s.tmp_1; case 9: @@ -25478,16 +25480,16 @@ switch (step) { s.callLocIdx = 123; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.nrow___77107 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.arg1, s.ncol___77102); - r0 = pxsim_pxtrt_stlocRef(s.arg2, s.nrow___77107); + s.nrow___13539 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.arg1, s.ncol___13534); + r0 = pxsim_pxtrt_stlocRef(s.arg2, s.nrow___13539); case 1: case 2: - r0 = pxsim_pxtcore_mkAction(2, inline__P77121); + r0 = pxsim_pxtcore_mkAction(2, inline__P13553); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg2); - s.tmp_1 = helpers_arrayFind__P69989_mk(s); + s.tmp_1 = helpers_arrayFind__P109_mk(s); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_1.arg0 = r0; @@ -25495,8 +25497,8 @@ switch (step) { s.callLocIdx = 124; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.whendo___77116 = (r0); - r0 = (s.whendo___77116 == null); + s.whendo___13548 = (r0); + r0 = (s.whendo___13548 == null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -25507,7 +25509,7 @@ switch (step) { r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_1 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_1, s.whendo___77116, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_1, s.whendo___13548, undefined); { step = 5; continue; } case 4: r0 = undefined; @@ -25515,12 +25517,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getWhenDo__P73528.info = {"start":2903,"length":505,"line":90,"column":8,"endLine":102,"endColumn":9,"fileName":"ruleview.ts","functionName":"getWhenDo","argumentNames":["this","col","row"]} +tileworld_RuleView_getWhenDo__P3648.info = {"start":2903,"length":505,"line":90,"column":8,"endLine":102,"endColumn":9,"fileName":"ruleview.ts","functionName":"getWhenDo","argumentNames":["this","col","row"]} -function tileworld_RuleView_getWhenDo__P73528_mk(s) { +function tileworld_RuleView_getWhenDo__P3648_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getWhenDo__P73528, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getWhenDo__P3648, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25528,9 +25530,9 @@ function tileworld_RuleView_getWhenDo__P73528_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - ncol___77102: undefined, - nrow___77107: undefined, - whendo___77116: undefined, + ncol___13534: undefined, + nrow___13539: undefined, + whendo___13548: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25540,7 +25542,7 @@ function tileworld_RuleView_getWhenDo__P73528_mk(s) { -function inline__P77121(s) { +function inline__P13553(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25577,12 +25579,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P77121.info = {"start":3230,"length":36,"line":97,"column":44,"endLine":97,"endColumn":80,"fileName":"ruleview.ts","functionName":"inline","argumentNames":["wd"]} +inline__P13553.info = {"start":3230,"length":36,"line":97,"column":44,"endLine":97,"endColumn":80,"fileName":"ruleview.ts","functionName":"inline","argumentNames":["wd"]} -function inline__P77121_mk(s) { +function inline__P13553_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P77121, depth: s.depth + 1, + parent: s, fn: inline__P13553, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25597,7 +25599,7 @@ function inline__P77121_mk(s) { -function helpers_arrayFind__P69989(s) { +function helpers_arrayFind__P109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25607,28 +25609,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___97357 = undefined; - s.i___97360 = undefined; - s.v___97365 = undefined; + s.len___13578 = undefined; + s.i___13581 = undefined; + s.v___13586 = 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___97357 = (r0); - s.i___97360 = (0); + s.len___13578 = (r0); + s.i___13581 = (0); case 1: - r0 = (s.i___97360 < s.len___97357); + r0 = (s.i___13581 < s.len___13578); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___97360); - s.v___97365 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___13581); + s.v___13586 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___97365; - s.tmp_1.arg1 = s.i___97360; + s.tmp_1.arg0 = s.v___13586; + s.tmp_1.arg1 = s.i___13581; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 8; s.pc = 6; return s.tmp_1; case 6: @@ -25636,12 +25638,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = s.v___97365; + r0 = s.v___13586; { step = 5; continue; } case 2: case 3: - r0 = (s.i___97360 + 1); - s.i___97360 = (r0); + r0 = (s.i___13581 + 1); + s.i___13581 = (r0); { step = 1; continue; } case 4: r0 = undefined; @@ -25649,18 +25651,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayFind__P69989.info = {"start":8018,"length":292,"line":271,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFind","argumentNames":["arr","callbackfn"]} +helpers_arrayFind__P109.info = {"start":8018,"length":292,"line":271,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFind","argumentNames":["arr","callbackfn"]} -function helpers_arrayFind__P69989_mk(s) { +function helpers_arrayFind__P109_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFind__P69989, depth: s.depth + 1, + parent: s, fn: helpers_arrayFind__P109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___97357: undefined, - i___97360: undefined, - v___97365: undefined, + len___13578: undefined, + i___13581: undefined, + v___13586: undefined, arg0: undefined, arg1: undefined, } } @@ -25669,7 +25671,7 @@ function helpers_arrayFind__P69989_mk(s) { -function tileworld_transformRow__P73508(s) { +function tileworld_transformRow__P3628(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25760,12 +25762,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_transformRow__P73508.info = {"start":6710,"length":519,"line":178,"column":4,"endLine":189,"endColumn":5,"fileName":"rule.ts","functionName":"transformRow","argumentNames":["row","col","rt"]} +tileworld_transformRow__P3628.info = {"start":6710,"length":519,"line":178,"column":4,"endLine":189,"endColumn":5,"fileName":"rule.ts","functionName":"transformRow","argumentNames":["row","col","rt"]} -function tileworld_transformRow__P73508_mk(s) { +function tileworld_transformRow__P3628_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_transformRow__P73508, depth: s.depth + 1, + parent: s, fn: tileworld_transformRow__P3628, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25782,7 +25784,7 @@ function tileworld_transformRow__P73508_mk(s) { -function tileworld_RuleView_rawView__P76924(s) { +function tileworld_RuleView_rawView__P5992(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25797,7 +25799,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["view"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 3); @@ -25828,12 +25830,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_rawView__P76924.info = {"start":2672,"length":221,"line":85,"column":8,"endLine":88,"endColumn":9,"fileName":"ruleview.ts","functionName":"rawView","argumentNames":["this"]} +tileworld_RuleView_rawView__P5992.info = {"start":2672,"length":221,"line":85,"column":8,"endLine":88,"endColumn":9,"fileName":"ruleview.ts","functionName":"rawView","argumentNames":["this"]} -function tileworld_RuleView_rawView__P76924_mk(s) { +function tileworld_RuleView_rawView__P5992_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_rawView__P76924, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_rawView__P5992, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25848,7 +25850,7 @@ function tileworld_RuleView_rawView__P76924_mk(s) { -function tileworld_transformCol__P73507(s) { +function tileworld_transformCol__P3627(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25939,12 +25941,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_transformCol__P73507.info = {"start":6142,"length":562,"line":164,"column":4,"endLine":176,"endColumn":5,"fileName":"rule.ts","functionName":"transformCol","argumentNames":["col","row","rt"]} +tileworld_transformCol__P3627.info = {"start":6142,"length":562,"line":164,"column":4,"endLine":176,"endColumn":5,"fileName":"rule.ts","functionName":"transformCol","argumentNames":["col","row","rt"]} -function tileworld_transformCol__P73507_mk(s) { +function tileworld_transformCol__P3627_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_transformCol__P73507, depth: s.depth + 1, + parent: s, fn: tileworld_transformCol__P3627, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25961,7 +25963,7 @@ function tileworld_transformCol__P73507_mk(s) { -function tileworld_RuleView_getRuleType__P73523(s) { +function tileworld_RuleView_getRuleType__P3643(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25976,18 +25978,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["ruleType"]; return leave(s, r0) default: oops() } } } -tileworld_RuleView_getRuleType__P73523.info = {"start":1783,"length":68,"line":57,"column":8,"endLine":59,"endColumn":9,"fileName":"ruleview.ts","functionName":"getRuleType","argumentNames":["this"]} +tileworld_RuleView_getRuleType__P3643.info = {"start":1783,"length":68,"line":57,"column":8,"endLine":59,"endColumn":9,"fileName":"ruleview.ts","functionName":"getRuleType","argumentNames":["this"]} -function tileworld_RuleView_getRuleType__P73523_mk(s) { +function tileworld_RuleView_getRuleType__P3643_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getRuleType__P73523, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getRuleType__P3643, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25996,7 +25998,7 @@ function tileworld_RuleView_getRuleType__P73523_mk(s) { -function tileworld_RuleView_findWitnessColRow__P73535(s) { +function tileworld_RuleView_findWitnessColRow__P3655(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26006,7 +26008,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.whendo___77373 = undefined; + s.whendo___13715 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26015,7 +26017,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } @@ -26035,15 +26037,15 @@ switch (step) { { step = 9; continue; } case 3: case 4: - s.tmp_3 = tileworld_RuleView_getWhenDo__P73528_mk(s); + s.tmp_3 = tileworld_RuleView_getWhenDo__P3648_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.arg2; s.callLocIdx = 139; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; - s.whendo___77373 = (r0); - r0 = (s.whendo___77373 == -1); + s.whendo___13715 = (r0); + r0 = (s.whendo___13715 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -26051,9 +26053,9 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_3 = tileworld_RuleView_attrBgIndex__P76926_mk(s); + s.tmp_3 = tileworld_RuleView_attrBgIndex__P5994_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.whendo___77373; + s.tmp_3.arg1 = s.whendo___13715; s.tmp_3.arg2 = 1; s.callLocIdx = 140; s.pc = 11; return s.tmp_3; case 11: @@ -26067,9 +26069,9 @@ switch (step) { { step = 9; continue; } case 7: case 8: - s.tmp_4 = tileworld_RuleView_attrSpIndex__P76927_mk(s); + s.tmp_4 = tileworld_RuleView_attrSpIndex__P5995_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.whendo___77373; + s.tmp_4.arg1 = s.whendo___13715; s.tmp_4.arg2 = 1; s.callLocIdx = 141; s.pc = 12; return s.tmp_4; case 12: @@ -26078,19 +26080,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_findWitnessColRow__P73535.info = {"start":5853,"length":457,"line":171,"column":8,"endLine":180,"endColumn":9,"fileName":"ruleview.ts","functionName":"findWitnessColRow","argumentNames":["this","col","row","editor"]} +tileworld_RuleView_findWitnessColRow__P3655.info = {"start":5853,"length":457,"line":171,"column":8,"endLine":180,"endColumn":9,"fileName":"ruleview.ts","functionName":"findWitnessColRow","argumentNames":["this","col","row","editor"]} -function tileworld_RuleView_findWitnessColRow__P73535_mk(s) { +function tileworld_RuleView_findWitnessColRow__P3655_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_findWitnessColRow__P73535, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_findWitnessColRow__P3655, depth: s.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___77373: undefined, + whendo___13715: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26101,7 +26103,7 @@ function tileworld_RuleView_findWitnessColRow__P73535_mk(s) { -function tileworld_RuleView_attrSpIndex__P76927(s) { +function tileworld_RuleView_attrSpIndex__P5995(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26111,7 +26113,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___77343 = undefined; + s.i___13740 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26119,10 +26121,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); - s.i___77343 = (0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); + s.i___13740 = (0); case 1: - s.tmp_1 = r0 = s.i___77343; + s.tmp_1 = r0 = s.i___13740; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_spritesI"]; @@ -26133,10 +26135,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_7 = tileworld_RuleView_getSetSpAttr__P73533_mk(s); + s.tmp_7 = tileworld_RuleView_getSetSpAttr__P3653_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = s.arg1; - s.tmp_7.arg2 = s.i___77343; + s.tmp_7.arg2 = s.i___13740; s.tmp_7.arg3 = 65535; s.callLocIdx = 137; s.pc = 6; return s.tmp_7; case 6: @@ -26146,12 +26148,12 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 2; continue; } - r0 = s.i___77343; + r0 = s.i___13740; { step = 5; continue; } case 2: case 3: - r0 = (s.i___77343 + 1); - s.i___77343 = (r0); + r0 = (s.i___13740 + 1); + s.i___13740 = (r0); { step = 1; continue; } case 4: r0 = -1; @@ -26159,12 +26161,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_attrSpIndex__P76927.info = {"start":5602,"length":241,"line":163,"column":8,"endLine":169,"endColumn":9,"fileName":"ruleview.ts","functionName":"attrSpIndex","argumentNames":["this","whendo","a"]} +tileworld_RuleView_attrSpIndex__P5995.info = {"start":5602,"length":241,"line":163,"column":8,"endLine":169,"endColumn":9,"fileName":"ruleview.ts","functionName":"attrSpIndex","argumentNames":["this","whendo","a"]} -function tileworld_RuleView_attrSpIndex__P76927_mk(s) { +function tileworld_RuleView_attrSpIndex__P5995_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_attrSpIndex__P76927, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_attrSpIndex__P5995, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26174,7 +26176,7 @@ function tileworld_RuleView_attrSpIndex__P76927_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - i___77343: undefined, + i___13740: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26184,7 +26186,7 @@ function tileworld_RuleView_attrSpIndex__P76927_mk(s) { -function tileworld_RuleView_attrBgIndex__P76926(s) { +function tileworld_RuleView_attrBgIndex__P5994(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26194,7 +26196,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___77322 = undefined; + s.i___13761 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26202,10 +26204,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); - s.i___77322 = (0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); + s.i___13761 = (0); case 1: - s.tmp_1 = r0 = s.i___77322; + s.tmp_1 = r0 = s.i___13761; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_backgroundsI"]; @@ -26216,10 +26218,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_7 = tileworld_RuleView_getSetBgAttr__P73532_mk(s); + s.tmp_7 = tileworld_RuleView_getSetBgAttr__P3652_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = s.arg1; - s.tmp_7.arg2 = s.i___77322; + s.tmp_7.arg2 = s.i___13761; s.tmp_7.arg3 = 65535; s.callLocIdx = 135; s.pc = 6; return s.tmp_7; case 6: @@ -26229,12 +26231,12 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 2; continue; } - r0 = s.i___77322; + r0 = s.i___13761; { step = 5; continue; } case 2: case 3: - r0 = (s.i___77322 + 1); - s.i___77322 = (r0); + r0 = (s.i___13761 + 1); + s.i___13761 = (r0); { step = 1; continue; } case 4: r0 = -1; @@ -26242,12 +26244,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_attrBgIndex__P76926.info = {"start":5353,"length":239,"line":155,"column":8,"endLine":161,"endColumn":9,"fileName":"ruleview.ts","functionName":"attrBgIndex","argumentNames":["this","whendo","a"]} +tileworld_RuleView_attrBgIndex__P5994.info = {"start":5353,"length":239,"line":155,"column":8,"endLine":161,"endColumn":9,"fileName":"ruleview.ts","functionName":"attrBgIndex","argumentNames":["this","whendo","a"]} -function tileworld_RuleView_attrBgIndex__P76926_mk(s) { +function tileworld_RuleView_attrBgIndex__P5994_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_attrBgIndex__P76926, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_attrBgIndex__P5994, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26257,7 +26259,7 @@ function tileworld_RuleView_attrBgIndex__P76926_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - i___77322: undefined, + i___13761: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26267,7 +26269,7 @@ function tileworld_RuleView_attrBgIndex__P76926_mk(s) { -function tileworld_ruleediting_RuleDisplay_rowToRowCoord__P82987(s) { +function tileworld_ruleediting_RuleDisplay_rowToRowCoord__P3873471(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26283,7 +26285,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); r0 = (s.arg1 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -26310,12 +26312,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_rowToRowCoord__P82987.info = {"start":6121,"length":79,"line":145,"column":8,"endLine":145,"endColumn":87,"fileName":"ruledisplay.ts","functionName":"rowToRowCoord","argumentNames":["this","lr"]} +tileworld_ruleediting_RuleDisplay_rowToRowCoord__P3873471.info = {"start":6121,"length":79,"line":145,"column":8,"endLine":145,"endColumn":87,"fileName":"ruledisplay.ts","functionName":"rowToRowCoord","argumentNames":["this","lr"]} -function tileworld_ruleediting_RuleDisplay_rowToRowCoord__P82987_mk(s) { +function tileworld_ruleediting_RuleDisplay_rowToRowCoord__P3873471_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_rowToRowCoord__P82987, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_rowToRowCoord__P3873471, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26329,7 +26331,7 @@ function tileworld_ruleediting_RuleDisplay_rowToRowCoord__P82987_mk(s) { -function tileworld_ruleediting_RuleDisplay_rowToColCoord__P82986(s) { +function tileworld_ruleediting_RuleDisplay_rowToColCoord__P3873470(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26345,7 +26347,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); r0 = (s.arg1 % 2); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); @@ -26363,12 +26365,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_rowToColCoord__P82986.info = {"start":6044,"length":68,"line":144,"column":8,"endLine":144,"endColumn":76,"fileName":"ruledisplay.ts","functionName":"rowToColCoord","argumentNames":["this","lr"]} +tileworld_ruleediting_RuleDisplay_rowToColCoord__P3873470.info = {"start":6044,"length":68,"line":144,"column":8,"endLine":144,"endColumn":76,"fileName":"ruledisplay.ts","functionName":"rowToColCoord","argumentNames":["this","lr"]} -function tileworld_ruleediting_RuleDisplay_rowToColCoord__P82986_mk(s) { +function tileworld_ruleediting_RuleDisplay_rowToColCoord__P3873470_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_rowToColCoord__P82986, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_rowToColCoord__P3873470, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26381,7 +26383,7 @@ function tileworld_ruleediting_RuleDisplay_rowToColCoord__P82986_mk(s) { -function tileworld_ruleediting_RuleEditor_tryEditCommand__P84384(s) { +function tileworld_ruleediting_RuleEditor_tryEditCommand__P6429(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26391,27 +26393,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___85700 = undefined; - s.cmd___85707 = undefined; - s.len___85711 = undefined; - s.newCol___85734 = undefined; - s.newRow___85737 = undefined; + s.row___13792 = undefined; + s.cmd___13799 = undefined; + s.len___13803 = undefined; + s.newCol___13826 = undefined; + s.newRow___13829 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); - s.tmp_1 = tileworld_RuleVisualsBase_row__P82567_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); + s.tmp_1 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = true; - s.callLocIdx = 1090; s.pc = 16; return s.tmp_1; + s.callLocIdx = 1102; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 - 2); - s.row___85700 = (r0); - r0 = (s.row___85700 > 4); + s.row___13792 = (r0); + r0 = (s.row___13792 > 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -26419,27 +26421,27 @@ switch (step) { { step = 15; continue; } case 1: case 2: - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1091; s.pc = 17; return s.tmp_2; + s.callLocIdx = 1103; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 - 6); - s.cmd___85707 = (r0); + s.cmd___13799 = (r0); r0 = s.arg0.fields["commandLengths"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.row___85700); - s.len___85711 = (r0); - r0 = (s.len___85711 == -1); + r0 = pxsim_Array__getAt(s.tmp_0, s.row___13792); + s.len___13803 = (r0); + r0 = (s.len___13803 == -1); 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.cmd___85707 >= s.len___85711); + r0 = (s.cmd___13799 >= s.len___13803); case 4: // jmp value (already in r0) s.tmp_1 = r0; @@ -26456,25 +26458,25 @@ switch (step) { r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, 15); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_rowToColCoord__P82986_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_rowToColCoord__P3873470_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.row___85700; - s.callLocIdx = 1092; s.pc = 18; return s.tmp_0; + s.tmp_0.arg1 = s.row___13792; + s.callLocIdx = 1104; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.newCol___85734 = (r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_rowToRowCoord__P82987_mk(s); + s.newCol___13826 = (r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_rowToRowCoord__P3873471_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.row___85700; - s.callLocIdx = 1093; s.pc = 19; return s.tmp_0; + s.tmp_0.arg1 = s.row___13792; + s.callLocIdx = 1105; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.newRow___85737 = (r0); - s.tmp_3 = tileworld_ruleediting_RuleDisplay_active__P82985_mk(s); + s.newRow___13829 = (r0); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_active__P3873469_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.newCol___85734; - s.tmp_3.arg2 = s.newRow___85737; - s.callLocIdx = 1094; s.pc = 20; return s.tmp_3; + s.tmp_3.arg1 = s.newCol___13826; + s.tmp_3.arg2 = s.newRow___13829; + s.callLocIdx = 1106; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; s.tmp_2 = r0; @@ -26489,12 +26491,12 @@ switch (step) { case 7: case 8: s.tmp_4 = r0 = s.arg0; - s.tmp_6 = tileworld_RuleView_getWhenDo__P73528_mk(s); + s.tmp_6 = tileworld_RuleView_getWhenDo__P3648_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_6.arg0 = r0; - s.tmp_6.arg1 = s.newCol___85734; - s.tmp_6.arg2 = s.newRow___85737; - s.callLocIdx = 1095; s.pc = 21; return s.tmp_6; + s.tmp_6.arg1 = s.newCol___13826; + s.tmp_6.arg2 = s.newRow___13829; + s.callLocIdx = 1107; s.pc = 21; return s.tmp_6; case 21: r0 = s.retval; s.tmp_5 = r0; @@ -26506,31 +26508,31 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } s.tmp_2 = r0 = s.arg0; - s.tmp_4 = tileworld_RuleView_makeWhenDo__P73529_mk(s); + s.tmp_4 = tileworld_RuleView_makeWhenDo__P3649_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.newCol___85734; - s.tmp_4.arg2 = s.newRow___85737; - s.callLocIdx = 1096; s.pc = 22; return s.tmp_4; + s.tmp_4.arg1 = s.newCol___13826; + s.tmp_4.arg2 = s.newRow___13829; + s.callLocIdx = 1108; s.pc = 22; return s.tmp_4; case 22: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2).fields["whenDo"] = (s.tmp_3); case 9: case 10: - s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P82572_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P6307_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1097; s.pc = 23; return s.tmp_0; + s.callLocIdx = 1109; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - r0 = (s.arg0).fields["currentCommand"] = (s.cmd___85707); - s.tmp_2 = tileworld_RuleView_getCmdInst__P73539_mk(s); + r0 = (s.arg0).fields["currentCommand"] = (s.cmd___13799); + s.tmp_2 = tileworld_RuleView_getCmdInst__P3659_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["whenDo"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.cmd___85707; - s.callLocIdx = 1098; s.pc = 24; return s.tmp_2; + s.tmp_2.arg2 = s.cmd___13799; + s.callLocIdx = 1110; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; s.tmp_1 = r0; @@ -26538,13 +26540,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tmp_3 = tileworld_ruleediting_RuleDisplay_showCommandsAt__P82990_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_showCommandsAt__P3873474_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.row___85700; - s.tmp_3.arg2 = s.newCol___85734; - s.tmp_3.arg3 = s.newRow___85737; + s.tmp_3.arg1 = s.row___13792; + s.tmp_3.arg2 = s.newCol___13826; + s.tmp_3.arg3 = s.newRow___13829; s.tmp_3.arg4 = false; - s.callLocIdx = 1099; s.pc = 25; return s.tmp_3; + s.callLocIdx = 1111; s.pc = 25; return s.tmp_3; case 25: r0 = s.retval; r0 = s.arg0.fields["tokens"]; @@ -26564,12 +26566,12 @@ switch (step) { case 12: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = tileworld_ruleediting_RuleEditor_makeCommandMenu__P84385_mk(s); + s.tmp_5 = tileworld_ruleediting_RuleEditor_makeCommandMenu__P6430_mk(s); s.tmp_5.arg0 = s.arg0; s.tmp_5.arg1 = s.tmp_4; s.tmp_5.arg2 = 255; s.tmp_5.arg3 = true; - s.callLocIdx = 1100; s.pc = 26; return s.tmp_5; + s.callLocIdx = 1112; s.pc = 26; return s.tmp_5; case 26: r0 = s.retval; { step = 14; continue; } @@ -26578,10 +26580,10 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["tokens"] = (s.tmp_1); - s.tmp_0 = tileworld_ruleediting_RuleEditor_modifyCommandMenu__P84386_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_modifyCommandMenu__P6431_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1101; s.pc = 27; return s.tmp_0; + s.callLocIdx = 1113; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; case 14: @@ -26590,12 +26592,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_tryEditCommand__P84384.info = {"start":12542,"length":1435,"line":269,"column":8,"endLine":301,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"tryEditCommand","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_tryEditCommand__P6429.info = {"start":12542,"length":1435,"line":269,"column":8,"endLine":301,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"tryEditCommand","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_tryEditCommand__P84384_mk(s) { +function tileworld_ruleediting_RuleEditor_tryEditCommand__P6429_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_tryEditCommand__P84384, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_tryEditCommand__P6429, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26604,11 +26606,11 @@ function tileworld_ruleediting_RuleEditor_tryEditCommand__P84384_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - row___85700: undefined, - cmd___85707: undefined, - len___85711: undefined, - newCol___85734: undefined, - newRow___85737: undefined, + row___13792: undefined, + cmd___13799: undefined, + len___13803: undefined, + newCol___13826: undefined, + newRow___13829: undefined, arg0: undefined, } } @@ -26616,7 +26618,7 @@ function tileworld_ruleediting_RuleEditor_tryEditCommand__P84384_mk(s) { -function tileworld_ruleediting_RuleViewDisplay_constructor__P73687(s) { +function tileworld_ruleediting_RuleViewDisplay_constructor__P3807(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26633,66 +26635,66 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleViewDisplay__C73686_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleViewDisplay__C3806_VT)) failedCast(r0); r0 = (s.arg0).fields["baseRule"] = (s.arg2); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_constructor__P73683_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_constructor__P3873482_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 803; s.pc = 1; return s.tmp_0; + s.callLocIdx = 815; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P82564_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P6299_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 804; s.pc = 2; return s.tmp_0; + s.callLocIdx = 816; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P82565_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P6300_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 805; s.pc = 3; return s.tmp_0; + s.callLocIdx = 817; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = tileworld_RuleView_getDerivedRules__P73518_mk(s); + s.tmp_2 = tileworld_RuleView_getDerivedRules__P3638_mk(s); r0 = s.arg0.fields["baseRule"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 806; s.pc = 4; return s.tmp_2; + s.callLocIdx = 818; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["ruleViews"] = (s.tmp_1); - r0 = pxsim_pxtcore_mkAction(1, inline__P84112); + r0 = pxsim_pxtcore_mkAction(1, inline__P13900); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.A___71757; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.A___1877; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 813; s.pc = 5; return s.tmp_1; + s.callLocIdx = 825; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P84139); + r0 = pxsim_pxtcore_mkAction(1, inline__P13928); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.B___71758; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.B___1878; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 816; s.pc = 6; return s.tmp_1; + s.callLocIdx = 828; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleViewDisplay_constructor__P73687.info = {"start":450,"length":736,"line":8,"column":8,"endLine":24,"endColumn":9,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":["this","p","baseRule"]} +tileworld_ruleediting_RuleViewDisplay_constructor__P3807.info = {"start":450,"length":736,"line":8,"column":8,"endLine":24,"endColumn":9,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":["this","p","baseRule"]} -function tileworld_ruleediting_RuleViewDisplay_constructor__P73687_mk(s) { +function tileworld_ruleediting_RuleViewDisplay_constructor__P3807_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleViewDisplay_constructor__P73687, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleViewDisplay_constructor__P3807, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26706,7 +26708,7 @@ function tileworld_ruleediting_RuleViewDisplay_constructor__P73687_mk(s) { -function inline__P84112(s) { +function inline__P13900(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26716,10 +26718,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_2 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 807; s.pc = 7; return s.tmp_2; + s.callLocIdx = 819; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; @@ -26730,10 +26732,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 808; s.pc = 8; return s.tmp_4; + s.callLocIdx = 820; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; s.tmp_3 = r0; @@ -26746,10 +26748,10 @@ switch (step) { r0 = s.tmp_5; { step = 4; continue; } case 3: - s.tmp_7 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_7.arg0 = s.caps[0]; s.tmp_7.arg1 = true; - s.callLocIdx = 809; s.pc = 9; return s.tmp_7; + s.callLocIdx = 821; s.pc = 9; return s.tmp_7; case 9: r0 = s.retval; s.tmp_6 = r0; @@ -26759,14 +26761,14 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 5; continue; } - s.tmp_9 = tileworld_RuleView_setTransforms__P73521_mk(s); + s.tmp_9 = tileworld_RuleView_setTransforms__P3641_mk(s); r0 = s.caps[0].fields["baseRule"]; s.tmp_9.arg0 = r0; - s.tmp_10 = r0 = globals.transformMap___84081; - s.tmp_13 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_10 = r0 = globals.transformMap___6376; + s.tmp_13 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_13.arg0 = s.caps[0]; s.tmp_13.arg1 = true; - s.callLocIdx = 810; s.pc = 11; return s.tmp_13; + s.callLocIdx = 822; s.pc = 11; return s.tmp_13; case 11: r0 = s.retval; s.tmp_12 = r0; @@ -26774,14 +26776,14 @@ switch (step) { s.tmp_11 = r0; r0 = pxsim_Array__getAt(s.tmp_10, s.tmp_11); s.tmp_9.arg1 = r0; - s.callLocIdx = 811; s.pc = 10; return s.tmp_9; + s.callLocIdx = 823; s.pc = 10; return s.tmp_9; case 10: r0 = s.retval; s.tmp_0 = r0 = s.caps[0]; - s.tmp_2 = tileworld_RuleView_getDerivedRules__P73518_mk(s); + s.tmp_2 = tileworld_RuleView_getDerivedRules__P3638_mk(s); r0 = s.caps[0].fields["baseRule"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 812; s.pc = 12; return s.tmp_2; + s.callLocIdx = 824; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; @@ -26792,12 +26794,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P84112.info = {"start":719,"length":262,"line":13,"column":64,"endLine":18,"endColumn":13,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":[]} +inline__P13900.info = {"start":719,"length":262,"line":13,"column":64,"endLine":18,"endColumn":13,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":[]} -function inline__P84112_mk(s) { +function inline__P13900_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P84112, depth: s.depth + 1, + parent: s, fn: inline__P13900, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26819,7 +26821,7 @@ function inline__P84112_mk(s) { -function inline__P84139(s) { +function inline__P13928(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26829,28 +26831,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_Project_saveRule__P73585_mk(s); + s.tmp_0 = tileworld_Project_saveRule__P3705_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["baseRule"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 814; s.pc = 1; return s.tmp_0; + s.callLocIdx = 826; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_popScene__P72414_mk(s); - s.callLocIdx = 815; s.pc = 2; return s.tmp_0; + s.tmp_0 = game_popScene__P2534_mk(s); + s.callLocIdx = 827; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P84139.info = {"start":1048,"length":126,"line":19,"column":64,"endLine":23,"endColumn":13,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":[]} +inline__P13928.info = {"start":1048,"length":126,"line":19,"column":64,"endLine":23,"endColumn":13,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":[]} -function inline__P84139_mk(s) { +function inline__P13928_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P84139, depth: s.depth + 1, + parent: s, fn: inline__P13928, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26859,7 +26861,7 @@ function inline__P84139_mk(s) { -function tileworld_RuleView_setTransforms__P73521(s) { +function tileworld_RuleView_setTransforms__P3641(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26875,7 +26877,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; s.tmp_0 = r0; r0 = (s.tmp_0).fields["transforms"] = (s.arg1); @@ -26883,12 +26885,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_setTransforms__P73521.info = {"start":1627,"length":77,"line":49,"column":8,"endLine":51,"endColumn":9,"fileName":"ruleview.ts","functionName":"setTransforms","argumentNames":["this","n"]} +tileworld_RuleView_setTransforms__P3641.info = {"start":1627,"length":77,"line":49,"column":8,"endLine":51,"endColumn":9,"fileName":"ruleview.ts","functionName":"setTransforms","argumentNames":["this","n"]} -function tileworld_RuleView_setTransforms__P73521_mk(s) { +function tileworld_RuleView_setTransforms__P3641_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_setTransforms__P73521, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_setTransforms__P3641, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26899,7 +26901,7 @@ function tileworld_RuleView_setTransforms__P73521_mk(s) { -function tileworld_RuleView_getDerivedRules__P73518(s) { +function tileworld_RuleView_getDerivedRules__P3638(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26909,18 +26911,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ret___76941 = undefined; - s.rv___76952 = undefined; - s.t___76970 = undefined; - s.rv___76976 = undefined; + s.ret___13942 = undefined; + s.rv___13953 = undefined; + s.t___13971 = undefined; + s.rv___13977 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.ret___76941 = (r0); + s.ret___13942 = (r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["transforms"]; s.tmp_0 = r0; @@ -26940,9 +26942,9 @@ switch (step) { case 2: case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleView__C73515_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleView__C3635_VT); s.tmp_1 = r0; - s.tmp_2 = tileworld_RuleView_constructor__P73516_mk(s); + s.tmp_2 = tileworld_RuleView_constructor__P3636_mk(s); s.tmp_2.arg0 = s.tmp_1; r0 = s.arg0.fields["p"]; s.tmp_2.arg1 = r0; @@ -26952,23 +26954,23 @@ switch (step) { s.callLocIdx = 113; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; - s.rv___76952 = (s.tmp_1); + s.rv___13953 = (s.tmp_1); r0 = s.arg0.fields["r"]; r0 = r0.fields["transforms"]; s.tmp_0 = r0; - r0 = (s.rv___76952).fields["view"] = (s.tmp_0); - r0 = pxsim_Array__push(s.ret___76941, s.rv___76952); + r0 = (s.rv___13953).fields["view"] = (s.tmp_0); + r0 = pxsim_Array__push(s.ret___13942, s.rv___13953); { step = 8; continue; } case 5: - s.t___76970 = (3); + s.t___13971 = (3); case 6: - r0 = (s.t___76970 != 6); + r0 = (s.t___13971 != 6); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleView__C73515_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleView__C3635_VT); s.tmp_1 = r0; - s.tmp_2 = tileworld_RuleView_constructor__P73516_mk(s); + s.tmp_2 = tileworld_RuleView_constructor__P3636_mk(s); s.tmp_2.arg0 = s.tmp_1; r0 = s.arg0.fields["p"]; s.tmp_2.arg1 = r0; @@ -26978,32 +26980,32 @@ switch (step) { s.callLocIdx = 114; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; - s.rv___76976 = (s.tmp_1); - r0 = (s.rv___76976).fields["view"] = (s.t___76970); - r0 = pxsim_Array__push(s.ret___76941, s.rv___76976); - r0 = (s.t___76970 + 1); - s.t___76970 = (r0); + s.rv___13977 = (s.tmp_1); + r0 = (s.rv___13977).fields["view"] = (s.t___13971); + r0 = pxsim_Array__push(s.ret___13942, s.rv___13977); + r0 = (s.t___13971 + 1); + s.t___13971 = (r0); { step = 6; continue; } case 7: case 8: - r0 = s.ret___76941; + r0 = s.ret___13942; return leave(s, r0) default: oops() } } } -tileworld_RuleView_getDerivedRules__P73518.info = {"start":479,"length":920,"line":14,"column":8,"endLine":37,"endColumn":9,"fileName":"ruleview.ts","functionName":"getDerivedRules","argumentNames":["this"]} +tileworld_RuleView_getDerivedRules__P3638.info = {"start":479,"length":920,"line":14,"column":8,"endLine":37,"endColumn":9,"fileName":"ruleview.ts","functionName":"getDerivedRules","argumentNames":["this"]} -function tileworld_RuleView_getDerivedRules__P73518_mk(s) { +function tileworld_RuleView_getDerivedRules__P3638_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getDerivedRules__P73518, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getDerivedRules__P3638, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ret___76941: undefined, - rv___76952: undefined, - t___76970: undefined, - rv___76976: undefined, + ret___13942: undefined, + rv___13953: undefined, + t___13971: undefined, + rv___13977: undefined, arg0: undefined, } } @@ -27011,7 +27013,7 @@ function tileworld_RuleView_getDerivedRules__P73518_mk(s) { -function tileworld_RuleView_constructor__P73516(s) { +function tileworld_RuleView_constructor__P3636(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27029,7 +27031,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = (s.arg0).fields["p"] = (s.arg1); r0 = (s.arg0).fields["rid"] = (s.arg2); r0 = (s.arg0).fields["r"] = (s.arg3); @@ -27038,12 +27040,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_constructor__P73516.info = {"start":319,"length":81,"line":7,"column":8,"endLine":8,"endColumn":9,"fileName":"ruleview.ts","functionName":"inline","argumentNames":["this","p","rid","r"]} +tileworld_RuleView_constructor__P3636.info = {"start":319,"length":81,"line":7,"column":8,"endLine":8,"endColumn":9,"fileName":"ruleview.ts","functionName":"inline","argumentNames":["this","p","rid","r"]} -function tileworld_RuleView_constructor__P73516_mk(s) { +function tileworld_RuleView_constructor__P3636_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_constructor__P73516, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_constructor__P3636, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -27055,7 +27057,7 @@ function tileworld_RuleView_constructor__P73516_mk(s) { -function tileworld_Project_saveRule__P73585(s) { +function tileworld_Project_saveRule__P3705(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27071,7 +27073,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = s.arg1.fields["rid"]; s.tmp_1 = r0; r0 = (s.tmp_1 == -1); @@ -27081,7 +27083,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = tileworld_Project_storeRule__P77990_mk(s); + s.tmp_2 = tileworld_Project_storeRule__P5999_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg0.fields["prefix"]; s.tmp_2.arg1 = r0; @@ -27097,12 +27099,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_saveRule__P73585.info = {"start":4061,"length":178,"line":118,"column":8,"endLine":122,"endColumn":9,"fileName":"project.ts","functionName":"saveRule","argumentNames":["this","rv"]} +tileworld_Project_saveRule__P3705.info = {"start":4061,"length":178,"line":118,"column":8,"endLine":122,"endColumn":9,"fileName":"project.ts","functionName":"saveRule","argumentNames":["this","rv"]} -function tileworld_Project_saveRule__P73585_mk(s) { +function tileworld_Project_saveRule__P3705_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_saveRule__P73585, depth: s.depth + 1, + parent: s, fn: tileworld_Project_saveRule__P3705, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27115,7 +27117,7 @@ function tileworld_Project_saveRule__P73585_mk(s) { -function tileworld_RuleView_getBaseRule__P73517(s) { +function tileworld_RuleView_getBaseRule__P3637(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27130,17 +27132,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; return leave(s, r0) default: oops() } } } -tileworld_RuleView_getBaseRule__P73517.info = {"start":410,"length":59,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"ruleview.ts","functionName":"getBaseRule","argumentNames":["this"]} +tileworld_RuleView_getBaseRule__P3637.info = {"start":410,"length":59,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"ruleview.ts","functionName":"getBaseRule","argumentNames":["this"]} -function tileworld_RuleView_getBaseRule__P73517_mk(s) { +function tileworld_RuleView_getBaseRule__P3637_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getBaseRule__P73517, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getBaseRule__P3637, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27149,7 +27151,7 @@ function tileworld_RuleView_getBaseRule__P73517_mk(s) { -function tileworld_Project_storeRule__P77990(s) { +function tileworld_Project_storeRule__P5999(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27159,7 +27161,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___78251 = undefined; + s.buf___14020 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27168,8 +27170,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); - s.tmp_0 = tileworld_packRule__P73512_mk(s); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); + s.tmp_0 = tileworld_packRule__P3632_mk(s); s.tmp_0.arg0 = s.arg3; r0 = s.arg0.fields["_backgroundsI"]; s.tmp_1 = r0; @@ -27182,8 +27184,8 @@ switch (step) { s.callLocIdx = 197; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.buf___78251 = (r0); - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.buf___14020 = (r0); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg1) && (s.arg1).vtable) { setupResume(s, 3); pxsim_String__stringConv(s.arg1); @@ -27193,12 +27195,12 @@ switch (step) { case 3: r0 = s.retval; s.tmp_3 = r0; - if ((globals.RuleKey___78184) && (globals.RuleKey___78184).vtable) { + if ((globals.RuleKey___6015) && (globals.RuleKey___6015).vtable) { setupResume(s, 4); - pxsim_String__stringConv(globals.RuleKey___78184); + pxsim_String__stringConv(globals.RuleKey___6015); checkResumeConsumed(); return; - } else { s.retval = (globals.RuleKey___78184) + ""; } + } else { s.retval = (globals.RuleKey___6015) + ""; } case 4: r0 = s.retval; s.tmp_4 = r0; @@ -27226,20 +27228,20 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_5); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.buf___78251; + s.tmp_0.arg1 = s.buf___14020; s.callLocIdx = 198; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - r0 = s.buf___78251; + r0 = s.buf___14020; return leave(s, r0) default: oops() } } } -tileworld_Project_storeRule__P77990.info = {"start":5832,"length":240,"line":166,"column":8,"endLine":170,"endColumn":9,"fileName":"project.ts","functionName":"storeRule","argumentNames":["this","prefix","rid","rule"]} +tileworld_Project_storeRule__P5999.info = {"start":5832,"length":240,"line":166,"column":8,"endLine":170,"endColumn":9,"fileName":"project.ts","functionName":"storeRule","argumentNames":["this","prefix","rid","rule"]} -function tileworld_Project_storeRule__P77990_mk(s) { +function tileworld_Project_storeRule__P5999_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_storeRule__P77990, depth: s.depth + 1, + parent: s, fn: tileworld_Project_storeRule__P5999, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27248,7 +27250,7 @@ function tileworld_Project_storeRule__P77990_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - buf___78251: undefined, + buf___14020: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27259,7 +27261,7 @@ function tileworld_Project_storeRule__P77990_mk(s) { -function tileworld_packRule__P73512(s) { +function tileworld_packRule__P3632(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27269,25 +27271,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wds___76735 = undefined; - s.bytes___76750 = undefined; - s.i___76765 = undefined; + s.wds___14043 = undefined; + s.bytes___14058 = undefined; + s.i___14073 = 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 = helpers_arrayFilter__P69988_mk(s); + s.tmp_0 = helpers_arrayFilter__P108_mk(s); r0 = s.arg0.fields["whenDo"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P76739; + s.tmp_0.arg1 = inline__P14047; s.callLocIdx = 85; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.wds___76735 = (r0); - globals.bitIndex___76597 = (0); - r0 = pxsim_Array__length(s.wds___76735); + s.wds___14043 = (r0); + globals.bitIndex___5986 = (0); + r0 = pxsim_Array__length(s.wds___14043); s.tmp_1 = r0; r0 = (s.arg1 >> 2); s.tmp_4 = r0; @@ -27300,84 +27302,84 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.bytes___76750 = (r0); - s.i___76765 = (0); + s.bytes___14058 = (r0); + s.i___14073 = (0); case 1: - s.tmp_1 = r0 = s.i___76765; - r0 = pxsim_Array__length(s.wds___76735); + s.tmp_1 = r0 = s.i___14073; + r0 = pxsim_Array__length(s.wds___14043); 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 = s.bytes___76750; - r0 = pxsim_Array__getAt(s.wds___76735, s.i___76765); + s.tmp_3 = r0 = s.bytes___14058; + r0 = pxsim_Array__getAt(s.wds___14043, s.i___14073); r0 = r0.fields["commandsLen"]; s.tmp_5 = r0; r0 = (s.tmp_5 << 1); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); - s.bytes___76750 = (r0); - r0 = (s.i___76765 + 1); - s.i___76765 = (r0); + s.bytes___14058 = (r0); + r0 = (s.i___14073 + 1); + s.i___14073 = (r0); { step = 1; continue; } case 2: - r0 = pxsim.control.createBuffer(s.bytes___76750); - globals.ruleBuf___76595 = (r0); - s.tmp_0 = tileworld_writeBuf__P76687_mk(s); + r0 = pxsim.control.createBuffer(s.bytes___14058); + globals.ruleBuf___5984 = (r0); + s.tmp_0 = tileworld_writeBuf__P5988_mk(s); r0 = s.arg0.fields["ruleType"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.callLocIdx = 86; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P76687_mk(s); + s.tmp_0 = tileworld_writeBuf__P5988_mk(s); r0 = s.arg0.fields["ruleArg"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.callLocIdx = 87; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P76687_mk(s); + s.tmp_0 = tileworld_writeBuf__P5988_mk(s); r0 = s.arg0.fields["transforms"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.callLocIdx = 88; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P76687_mk(s); - r0 = pxsim_Array__length(s.wds___76735); + s.tmp_0 = tileworld_writeBuf__P5988_mk(s); + r0 = pxsim_Array__length(s.wds___14043); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.callLocIdx = 89; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(2, inline__P76800); + r0 = pxsim_pxtcore_mkAction(2, inline__P14108); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg2); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); - s.tmp_1.arg0 = s.wds___76735; + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + s.tmp_1.arg0 = s.wds___14043; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 96; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.tmp_0 = helpers_arrayForEach__P69987_mk(s); - s.tmp_0.arg0 = s.wds___76735; - s.tmp_0.arg1 = inline__P76826; + s.tmp_0 = helpers_arrayForEach__P107_mk(s); + s.tmp_0.arg0 = s.wds___14043; + s.tmp_0.arg1 = inline__P14134; s.callLocIdx = 98; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - r0 = globals.ruleBuf___76595; + r0 = globals.ruleBuf___5984; return leave(s, r0) default: oops() } } } -tileworld_packRule__P73512.info = {"start":10502,"length":1227,"line":297,"column":4,"endLine":325,"endColumn":5,"fileName":"rule.ts","functionName":"packRule","argumentNames":["r","bgLen","spLen"]} +tileworld_packRule__P3632.info = {"start":10502,"length":1227,"line":297,"column":4,"endLine":325,"endColumn":5,"fileName":"rule.ts","functionName":"packRule","argumentNames":["r","bgLen","spLen"]} -function tileworld_packRule__P73512_mk(s) { +function tileworld_packRule__P3632_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_packRule__P73512, depth: s.depth + 1, + parent: s, fn: tileworld_packRule__P3632, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27385,9 +27387,9 @@ function tileworld_packRule__P73512_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - wds___76735: undefined, - bytes___76750: undefined, - i___76765: undefined, + wds___14043: undefined, + bytes___14058: undefined, + i___14073: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27397,7 +27399,7 @@ function tileworld_packRule__P73512_mk(s) { -function inline__P76739(s) { +function inline__P14047(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27420,7 +27422,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_isWhenDoTrue__P73509_mk(s); + s.tmp_4 = tileworld_isWhenDoTrue__P3629_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 84; s.pc = 3; return s.tmp_4; case 3: @@ -27436,12 +27438,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P76739.info = {"start":10674,"length":45,"line":299,"column":34,"endLine":299,"endColumn":79,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} +inline__P14047.info = {"start":10674,"length":45,"line":299,"column":34,"endLine":299,"endColumn":79,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} -function inline__P76739_mk(s) { +function inline__P14047_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P76739, depth: s.depth + 1, + parent: s, fn: inline__P14047, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27456,7 +27458,7 @@ function inline__P76739_mk(s) { -function inline__P76800(s) { +function inline__P14108(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27470,21 +27472,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_writeBuf__P76687_mk(s); + s.tmp_0 = tileworld_writeBuf__P5988_mk(s); r0 = s.arg0.fields["col"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.callLocIdx = 90; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P76687_mk(s); + s.tmp_0 = tileworld_writeBuf__P5988_mk(s); r0 = s.arg0.fields["row"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.callLocIdx = 91; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_writeBufRaw__P76693_mk(s); + s.tmp_0 = tileworld_writeBufRaw__P5989_mk(s); r0 = s.arg0.fields["bgPred"]; s.tmp_0.arg0 = r0; r0 = (s.caps[0] >> 2); @@ -27492,7 +27494,7 @@ switch (step) { s.callLocIdx = 92; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = tileworld_writeBufRaw__P76693_mk(s); + s.tmp_0 = tileworld_writeBufRaw__P5989_mk(s); r0 = s.arg0.fields["spPred"]; s.tmp_0.arg0 = r0; r0 = (s.caps[1] >> 2); @@ -27500,14 +27502,14 @@ switch (step) { s.callLocIdx = 93; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P76687_mk(s); + s.tmp_0 = tileworld_writeBuf__P5988_mk(s); r0 = s.arg0.fields["dir"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.callLocIdx = 94; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P76687_mk(s); + s.tmp_0 = tileworld_writeBuf__P5988_mk(s); r0 = s.arg0.fields["commandsLen"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; @@ -27518,12 +27520,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P76800.info = {"start":11133,"length":370,"line":310,"column":20,"endLine":317,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} +inline__P14108.info = {"start":11133,"length":370,"line":310,"column":20,"endLine":317,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} -function inline__P76800_mk(s) { +function inline__P14108_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P76800, depth: s.depth + 1, + parent: s, fn: inline__P14108, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27533,7 +27535,7 @@ function inline__P76800_mk(s) { -function inline__P76826(s) { +function inline__P14134(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27553,7 +27555,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = tileworld_writeBufRaw__P76693_mk(s); + s.tmp_2 = tileworld_writeBufRaw__P5989_mk(s); r0 = s.arg0.fields["commands"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["commandsLen"]; @@ -27569,12 +27571,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P76826.info = {"start":11565,"length":132,"line":319,"column":20,"endLine":323,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} +inline__P14134.info = {"start":11565,"length":132,"line":319,"column":20,"endLine":323,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} -function inline__P76826_mk(s) { +function inline__P14134_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P76826, depth: s.depth + 1, + parent: s, fn: inline__P14134, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27587,7 +27589,7 @@ function inline__P76826_mk(s) { -function tileworld_writeBufRaw__P76693(s) { +function tileworld_writeBufRaw__P5989(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27597,43 +27599,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___76696 = undefined; + s.i___14148 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.i___76696 = (0); + s.i___14148 = (0); case 1: - r0 = (s.i___76696 < s.arg1); + r0 = (s.i___14148 < s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = tileworld_writeBuf__P76687_mk(s); - r0 = pxsim.BufferMethods.getUint8(s.arg0, s.i___76696); + s.tmp_1 = tileworld_writeBuf__P5988_mk(s); + r0 = pxsim.BufferMethods.getUint8(s.arg0, s.i___14148); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; s.callLocIdx = 81; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.i___76696 + 1); - s.i___76696 = (r0); + r0 = (s.i___14148 + 1); + s.i___14148 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_writeBufRaw__P76693.info = {"start":9945,"length":141,"line":277,"column":4,"endLine":281,"endColumn":5,"fileName":"rule.ts","functionName":"writeBufRaw","argumentNames":["b","cnt"]} +tileworld_writeBufRaw__P5989.info = {"start":9945,"length":141,"line":277,"column":4,"endLine":281,"endColumn":5,"fileName":"rule.ts","functionName":"writeBufRaw","argumentNames":["b","cnt"]} -function tileworld_writeBufRaw__P76693_mk(s) { +function tileworld_writeBufRaw__P5989_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_writeBufRaw__P76693, depth: s.depth + 1, + parent: s, fn: tileworld_writeBufRaw__P5989, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___76696: undefined, + i___14148: undefined, arg0: undefined, arg1: undefined, } } @@ -27642,7 +27644,7 @@ function tileworld_writeBufRaw__P76693_mk(s) { -function tileworld_writeBuf__P76687(s) { +function tileworld_writeBuf__P5988(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27657,7 +27659,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_readWriteBuf__P76598_mk(s); + s.tmp_0 = tileworld_readWriteBuf__P5987_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = true; @@ -27668,12 +27670,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_writeBuf__P76687.info = {"start":9798,"length":87,"line":272,"column":4,"endLine":274,"endColumn":5,"fileName":"rule.ts","functionName":"writeBuf","argumentNames":["v","bits"]} +tileworld_writeBuf__P5988.info = {"start":9798,"length":87,"line":272,"column":4,"endLine":274,"endColumn":5,"fileName":"rule.ts","functionName":"writeBuf","argumentNames":["v","bits"]} -function tileworld_writeBuf__P76687_mk(s) { +function tileworld_writeBuf__P5988_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_writeBuf__P76687, depth: s.depth + 1, + parent: s, fn: tileworld_writeBuf__P5988, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27684,7 +27686,7 @@ function tileworld_writeBuf__P76687_mk(s) { -function tileworld_readWriteBuf__P76598(s) { +function tileworld_readWriteBuf__P5987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27694,30 +27696,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.byteIndex___76602 = undefined; - s.shift___76610 = undefined; - s.byte___76620 = undefined; - s.mask___76625 = undefined; - s.i___76626 = undefined; - s.writeMask___76647 = undefined; - s.newVal___76651 = undefined; - s.ret___76674 = undefined; + s.byteIndex___14168 = undefined; + s.shift___14176 = undefined; + s.byte___14186 = undefined; + s.mask___14191 = undefined; + s.i___14192 = undefined; + s.writeMask___14213 = undefined; + s.newVal___14217 = undefined; + s.ret___14240 = 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___76597 >> 3); - s.byteIndex___76602 = (r0); - s.tmp_1 = r0 = s.byteIndex___76602; - r0 = pxsim.BufferMethods.length(globals.ruleBuf___76595); + r0 = (globals.bitIndex___5986 >> 3); + s.byteIndex___14168 = (r0); + s.tmp_1 = r0 = s.byteIndex___14168; + r0 = pxsim.BufferMethods.length(globals.ruleBuf___5984); 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__P70202_mk(s); + s.tmp_3 = control_assert__P322_mk(s); s.tmp_3.arg0 = false; s.tmp_3.arg1 = 43; s.callLocIdx = 77; s.pc = 11; return s.tmp_3; @@ -27725,18 +27727,18 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = r0 = globals.bitIndex___76597; - r0 = (s.byteIndex___76602 << 3); + s.tmp_0 = r0 = globals.bitIndex___5986; + r0 = (s.byteIndex___14168 << 3); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.shift___76610 = (r0); - r0 = (s.shift___76610 + s.arg1); + s.shift___14176 = (r0); + r0 = (s.shift___14176 + 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 = control_assert__P70202_mk(s); + s.tmp_2 = control_assert__P322_mk(s); s.tmp_2.arg0 = false; s.tmp_2.arg1 = 44; s.callLocIdx = 78; s.pc = 12; return s.tmp_2; @@ -27744,52 +27746,52 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim.BufferMethods.getUint8(globals.ruleBuf___76595, s.byteIndex___76602); - s.byte___76620 = (r0); - s.mask___76625 = (0); - s.i___76626 = (0); + r0 = pxsim.BufferMethods.getUint8(globals.ruleBuf___5984, s.byteIndex___14168); + s.byte___14186 = (r0); + s.mask___14191 = (0); + s.i___14192 = (0); case 5: - r0 = (s.i___76626 < s.arg1); + r0 = (s.i___14192 < s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = (s.mask___76625 << 1); + r0 = (s.mask___14191 << 1); s.tmp_1 = r0; r0 = (1 | s.tmp_1); - s.mask___76625 = (r0); - r0 = (s.i___76626 + 1); - s.i___76626 = (r0); + s.mask___14191 = (r0); + r0 = (s.i___14192 + 1); + s.i___14192 = (r0); { step = 5; continue; } case 6: - r0 = (s.arg0 & s.mask___76625); + r0 = (s.arg0 & s.mask___14191); s.arg0 = (r0); - r0 = (s.mask___76625 << s.shift___76610); - s.mask___76625 = (r0); - r0 = (s.mask___76625 ^ 4294967295); - s.writeMask___76647 = (r0); + r0 = (s.mask___14191 << s.shift___14176); + s.mask___14191 = (r0); + r0 = (s.mask___14191 ^ 4294967295); + s.writeMask___14213 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 7; continue; } - r0 = (s.byte___76620 & s.writeMask___76647); + r0 = (s.byte___14186 & s.writeMask___14213); s.tmp_0 = r0; - r0 = (s.arg0 << s.shift___76610); + r0 = (s.arg0 << s.shift___14176); s.tmp_1 = r0; r0 = (s.tmp_0 | s.tmp_1); - s.newVal___76651 = (r0); - r0 = pxsim.BufferMethods.setUint8(globals.ruleBuf___76595, s.byteIndex___76602, s.newVal___76651); + s.newVal___14217 = (r0); + r0 = pxsim.BufferMethods.setUint8(globals.ruleBuf___5984, s.byteIndex___14168, s.newVal___14217); case 7: case 8: - r0 = (globals.bitIndex___76597 + s.arg1); - globals.bitIndex___76597 = (r0); - r0 = pxsim.BufferMethods.getUint8(globals.ruleBuf___76595, s.byteIndex___76602); - s.byte___76620 = (r0); - r0 = (s.byte___76620 & s.mask___76625); - s.tmp_0 = r0; - r0 = (s.tmp_0 >> s.shift___76610); - s.ret___76674 = (r0); + r0 = (globals.bitIndex___5986 + s.arg1); + globals.bitIndex___5986 = (r0); + r0 = pxsim.BufferMethods.getUint8(globals.ruleBuf___5984, s.byteIndex___14168); + s.byte___14186 = (r0); + r0 = (s.byte___14186 & s.mask___14191); + s.tmp_0 = r0; + r0 = (s.tmp_0 >> s.shift___14176); + s.ret___14240 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 9; continue; } - s.tmp_0 = control_assert__P70202_mk(s); - r0 = (s.ret___76674 == s.arg0); + s.tmp_0 = control_assert__P322_mk(s); + r0 = (s.ret___14240 == s.arg0); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 42; s.callLocIdx = 79; s.pc = 13; return s.tmp_0; @@ -27797,29 +27799,29 @@ switch (step) { r0 = s.retval; case 9: case 10: - r0 = s.ret___76674; + r0 = s.ret___14240; return leave(s, r0) default: oops() } } } -tileworld_readWriteBuf__P76598.info = {"start":8703,"length":1089,"line":238,"column":4,"endLine":270,"endColumn":5,"fileName":"rule.ts","functionName":"readWriteBuf","argumentNames":["v","bits","write"]} +tileworld_readWriteBuf__P5987.info = {"start":8703,"length":1089,"line":238,"column":4,"endLine":270,"endColumn":5,"fileName":"rule.ts","functionName":"readWriteBuf","argumentNames":["v","bits","write"]} -function tileworld_readWriteBuf__P76598_mk(s) { +function tileworld_readWriteBuf__P5987_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_readWriteBuf__P76598, depth: s.depth + 1, + parent: s, fn: tileworld_readWriteBuf__P5987, depth: s.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___76602: undefined, - shift___76610: undefined, - byte___76620: undefined, - mask___76625: undefined, - i___76626: undefined, - writeMask___76647: undefined, - newVal___76651: undefined, - ret___76674: undefined, + byteIndex___14168: undefined, + shift___14176: undefined, + byte___14186: undefined, + mask___14191: undefined, + i___14192: undefined, + writeMask___14213: undefined, + newVal___14217: undefined, + ret___14240: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27829,7 +27831,7 @@ function tileworld_readWriteBuf__P76598_mk(s) { -function control_assert__P70202(s) { +function control_assert__P322(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27850,7 +27852,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = control_fail__P70203_mk(s); + s.tmp_2 = control_fail__P323_mk(s); if ((s.arg1) && (s.arg1).vtable) { setupResume(s, 4); pxsim_String__stringConv(s.arg1); @@ -27871,12 +27873,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_assert__P70202.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__P322.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__P70202_mk(s) { +function control_assert__P322_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_assert__P70202, depth: s.depth + 1, + parent: s, fn: control_assert__P322, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27890,7 +27892,7 @@ function control_assert__P70202_mk(s) { -function control_fail__P70203(s) { +function control_fail__P323(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27904,12 +27906,12 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_log__P70249_mk(s); + s.tmp_0 = console_log__P369_mk(s); s.tmp_0.arg0 = "Fatal failure: "; s.callLocIdx = 26; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = console_log__P70249_mk(s); + s.tmp_0 = console_log__P369_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 27; s.pc = 2; return s.tmp_0; case 2: @@ -27920,12 +27922,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_fail__P70203.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__P323.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__P70203_mk(s) { +function control_fail__P323_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_fail__P70203, depth: s.depth + 1, + parent: s, fn: control_fail__P323, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27935,7 +27937,7 @@ function control_fail__P70203_mk(s) { -function console_log__P70249(s) { +function console_log__P369(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27949,7 +27951,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P70245_mk(s); + s.tmp_0 = console_add__P365_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 38; s.pc = 1; return s.tmp_0; @@ -27959,12 +27961,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_log__P70249.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__P369.info = {"start":1450,"length":86,"line":58,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"log","argumentNames":["value"]} -function console_log__P70249_mk(s) { +function console_log__P369_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P70249, depth: s.depth + 1, + parent: s, fn: console_log__P369, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27974,7 +27976,7 @@ function console_log__P70249_mk(s) { -function console_add__P70245(s) { +function console_add__P365(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27984,58 +27986,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___97282 = undefined; - s.i___97291 = undefined; + s.text___14281 = undefined; + s.i___14290 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 < globals.minPriority___70244); + r0 = (s.arg0 < globals.minPriority___364); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } { step = 5; continue; } case 1: case 2: - s.tmp_1 = console_inspect__P70251_mk(s); + s.tmp_1 = console_inspect__P371_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 20; s.callLocIdx = 36; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___97282 = (r0); - if ((s.text___97282) && (s.text___97282).vtable) { + s.text___14281 = (r0); + if ((s.text___14281) && (s.text___14281).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___97282); + pxsim_String__stringConv(s.text___14281); checkResumeConsumed(); return; - } else { s.retval = (s.text___97282) + ""; } + } else { s.retval = (s.text___14281) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___97282 = (r0); - s.i___97291 = (0); + s.text___14281 = (r0); + s.i___14290 = (0); case 3: - s.tmp_1 = r0 = s.i___97291; - r0 = pxsim_Array__length(globals.listeners___73824); + s.tmp_1 = r0 = s.i___14290; + r0 = pxsim_Array__length(globals.listeners___3944); 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___73824, s.i___97291); + r0 = pxsim_Array__getAt(globals.listeners___3944, s.i___14290); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___97282; + s.tmp_3.arg1 = s.text___14281; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 37; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___97291 + 1); - s.i___97291 = (r0); + r0 = (s.i___14290 + 1); + s.i___14290 = (r0); { step = 3; continue; } case 4: case 5: @@ -28043,19 +28045,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_add__P70245.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__P365.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__P70245_mk(s) { +function console_add__P365_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P70245, depth: s.depth + 1, + parent: s, fn: console_add__P365, depth: s.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___97282: undefined, - i___97291: undefined, + text___14281: undefined, + i___14290: undefined, arg0: undefined, arg1: undefined, } } @@ -28064,7 +28066,7 @@ function console_add__P70245_mk(s) { -function inline__P73823(s) { +function inline__P3943(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28084,12 +28086,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P73823.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__P3943.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__P73823_mk(s) { +function inline__P3943_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P73823, depth: s.depth + 1, + parent: s, fn: inline__P3943, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -28099,7 +28101,7 @@ function inline__P73823_mk(s) { -function console_inspect__P70251(s) { +function console_inspect__P371(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28109,10 +28111,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.asArr___92349 = undefined; - s.asString___92367 = undefined; - s.keys___92379 = undefined; - s.snipped___92383 = undefined; + s.asArr___14328 = undefined; + s.asString___14346 = undefined; + s.keys___14358 = undefined; + s.snipped___14362 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28153,15 +28155,15 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___92349 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___92349); + s.asArr___14328 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___14328); 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__P69981_mk(s); - s.tmp_2.arg0 = s.asArr___92349; + s.tmp_2 = helpers_arrayJoin__P101_mk(s); + s.tmp_2.arg0 = s.asArr___14328; s.tmp_2.arg1 = ","; s.callLocIdx = 39; s.pc = 19; return s.tmp_2; case 19: @@ -28171,9 +28173,9 @@ switch (step) { case 3: r0 = pxsim_String_.mkEmpty(); s.tmp_4 = r0; - s.tmp_7 = helpers_arrayJoin__P69981_mk(s); - s.tmp_8 = helpers_arraySlice__P69992_mk(s); - s.tmp_8.arg0 = s.asArr___92349; + s.tmp_7 = helpers_arrayJoin__P101_mk(s); + s.tmp_8 = helpers_arraySlice__P112_mk(s); + s.tmp_8.arg0 = s.asArr___14328; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; s.callLocIdx = 40; s.pc = 21; return s.tmp_8; @@ -28213,46 +28215,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___92367 = (r0); - r0 = (s.asString___92367 != "[object Object]"); + s.asString___14346 = (r0); + r0 = (s.asString___14346 != "[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___92367 != "[Object]"); + r0 = (s.asString___14346 != "[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___92367; + r0 = s.asString___14346; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___92379 = (r0); - r0 = pxsim_Array__length(s.keys___92379); + s.keys___14358 = (r0); + r0 = pxsim_Array__length(s.keys___14358); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___92383 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___92383); + s.snipped___14362 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___14362); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P69992_mk(s); - s.tmp_0.arg0 = s.keys___92379; + s.tmp_0 = helpers_arraySlice__P112_mk(s); + s.tmp_0.arg0 = s.keys___14358; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 42; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.keys___92379 = (r0); + s.keys___14358 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, inline__P92400); + r0 = pxsim_pxtcore_mkAction(1, inline__P14379); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___92383); + r0 = pxsim_numops_toBoolDecr(s.snipped___14362); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -28261,8 +28263,8 @@ switch (step) { case 13: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_7 = helpers_arrayReduce__P69990_mk(s); - s.tmp_7.arg0 = s.keys___92379; + s.tmp_7 = helpers_arrayReduce__P110_mk(s); + s.tmp_7.arg0 = s.keys___14358; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; @@ -28311,12 +28313,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect__P70251.info = {"start":2271,"length":1190,"line":81,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]} +console_inspect__P371.info = {"start":2271,"length":1190,"line":81,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]} -function console_inspect__P70251_mk(s) { +function console_inspect__P371_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P70251, depth: s.depth + 1, + parent: s, fn: console_inspect__P371, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28329,10 +28331,10 @@ function console_inspect__P70251_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___92349: undefined, - asString___92367: undefined, - keys___92379: undefined, - snipped___92383: undefined, + asArr___14328: undefined, + asString___14346: undefined, + keys___14358: undefined, + snipped___14362: undefined, arg0: undefined, arg1: undefined, } } @@ -28341,7 +28343,7 @@ function console_inspect__P70251_mk(s) { -function inline__P92400(s) { +function inline__P14379(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28404,12 +28406,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P92400.info = {"start":3293,"length":61,"line":108,"column":20,"endLine":108,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]} +inline__P14379.info = {"start":3293,"length":61,"line":108,"column":20,"endLine":108,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]} -function inline__P92400_mk(s) { +function inline__P14379_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P92400, depth: s.depth + 1, + parent: s, fn: inline__P14379, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28427,7 +28429,7 @@ function inline__P92400_mk(s) { -function helpers_arrayReduce__P69990(s) { +function helpers_arrayReduce__P110(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28437,8 +28439,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___92427 = undefined; - s.i___92430 = undefined; + s.len___14406 = undefined; + s.i___14409 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28446,43 +28448,43 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___92427 = (r0); - s.i___92430 = (0); + s.len___14406 = (r0); + s.i___14409 = (0); case 1: - r0 = (s.i___92430 < s.len___92427); + r0 = (s.i___14409 < s.len___14406); 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___92430); + r0 = pxsim_Array__getAt(s.arg0, s.i___14409); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___92430; + s.tmp_1.arg2 = s.i___14409; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 9; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg2 = (r0); - r0 = (s.i___92430 + 1); - s.i___92430 = (r0); + r0 = (s.i___14409 + 1); + s.i___14409 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; return leave(s, r0) default: oops() } } } -helpers_arrayReduce__P69990.info = {"start":8316,"length":317,"line":280,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayReduce","argumentNames":["arr","callbackfn","initialValue"]} +helpers_arrayReduce__P110.info = {"start":8316,"length":317,"line":280,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayReduce","argumentNames":["arr","callbackfn","initialValue"]} -function helpers_arrayReduce__P69990_mk(s) { +function helpers_arrayReduce__P110_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P69990, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P110, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___92427: undefined, - i___92430: undefined, + len___14406: undefined, + i___14409: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28492,7 +28494,7 @@ function helpers_arrayReduce__P69990_mk(s) { -function helpers_arrayJoin__P69981(s) { +function helpers_arrayJoin__P101(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28502,9 +28504,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___97231 = undefined; - s.len___97232 = undefined; - s.i___97235 = undefined; + s.r___14434 = undefined; + s.len___14435 = undefined; + s.i___14438 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28527,16 +28529,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___97231 = (r0); + s.r___14434 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___97232 = (r0); - s.i___97235 = (0); + s.len___14435 = (r0); + s.i___14438 = (0); case 5: - r0 = (s.i___97235 < s.len___97232); + r0 = (s.i___14438 < s.len___14435); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___97235 > 0); + r0 = (s.i___14438 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -28549,12 +28551,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___97231) && (s.r___97231).vtable) { + if ((s.r___14434) && (s.r___14434).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___97231); + pxsim_String__stringConv(s.r___14434); checkResumeConsumed(); return; - } else { s.retval = (s.r___97231) + ""; } + } else { s.retval = (s.r___14434) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -28568,10 +28570,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___97231 = (r0); + s.r___14434 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___97235); + r0 = pxsim_Array__getAt(s.arg0, s.i___14438); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -28580,7 +28582,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___97235); + r0 = pxsim_Array__getAt(s.arg0, s.i___14438); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -28591,16 +28593,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___97235); + r0 = pxsim_Array__getAt(s.arg0, s.i___14438); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___97231) && (s.r___97231).vtable) { + if ((s.r___14434) && (s.r___14434).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___97231); + pxsim_String__stringConv(s.r___14434); checkResumeConsumed(); return; - } else { s.retval = (s.r___97231) + ""; } + } else { s.retval = (s.r___14434) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -28614,21 +28616,21 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___97231 = (r0); - r0 = (s.i___97235 + 1); - s.i___97235 = (r0); + s.r___14434 = (r0); + r0 = (s.i___14438 + 1); + s.i___14438 = (r0); { step = 5; continue; } case 14: - r0 = s.r___97231; + r0 = s.r___14434; return leave(s, r0) default: oops() } } } -helpers_arrayJoin__P69981.info = {"start":4133,"length":432,"line":157,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayJoin","argumentNames":["arr","sep"]} +helpers_arrayJoin__P101.info = {"start":4133,"length":432,"line":157,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayJoin","argumentNames":["arr","sep"]} -function helpers_arrayJoin__P69981_mk(s) { +function helpers_arrayJoin__P101_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P69981, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P101, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28637,9 +28639,9 @@ function helpers_arrayJoin__P69981_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___97231: undefined, - len___97232: undefined, - i___97235: undefined, + r___14434: undefined, + len___14435: undefined, + i___14438: undefined, arg0: undefined, arg1: undefined, } } @@ -28648,7 +28650,7 @@ function helpers_arrayJoin__P69981_mk(s) { -function tileworld_ruleediting_RuleDisplay_getKind__P82976(s) { +function tileworld_ruleediting_RuleDisplay_getKind__P3873460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28658,27 +28660,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.kinds___83040 = undefined; + s.kinds___3874566 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getSpriteKinds__P73544_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getSpriteKinds__P3664_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 701; s.pc = 4; return s.tmp_0; + s.callLocIdx = 713; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.kinds___83040 = (r0); - r0 = pxsim_Array__length(s.kinds___83040); + s.kinds___3874566 = (r0); + r0 = pxsim_Array__length(s.kinds___3874566); 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 = pxsim_Array__getAt(s.kinds___83040, 0); + r0 = pxsim_Array__getAt(s.kinds___3874566, 0); { step = 3; continue; } case 1: case 2: @@ -28687,16 +28689,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_getKind__P82976.info = {"start":1754,"length":173,"line":42,"column":8,"endLine":47,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"getKind","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_getKind__P3873460.info = {"start":1754,"length":173,"line":42,"column":8,"endLine":47,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"getKind","argumentNames":["this"]} -function tileworld_ruleediting_RuleDisplay_getKind__P82976_mk(s) { +function tileworld_ruleediting_RuleDisplay_getKind__P3873460_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_getKind__P82976, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_getKind__P3873460, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - kinds___83040: undefined, + kinds___3874566: undefined, arg0: undefined, } } @@ -28704,7 +28706,7 @@ function tileworld_ruleediting_RuleDisplay_getKind__P82976_mk(s) { -function tileworld_RuleView_getSpriteKinds__P73544(s) { +function tileworld_RuleView_getSpriteKinds__P3664(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28714,29 +28716,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___77608 = undefined; - s.ret___77610 = undefined; - s.i___77612 = undefined; - s.at___77619 = undefined; + s.wd___14488 = undefined; + s.ret___14490 = undefined; + s.i___14492 = undefined; + s.at___14499 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getWhenDo__P73528_mk(s); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getWhenDo__P3648_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 2; s.callLocIdx = 145; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.wd___77608 = (r0); + s.wd___14488 = (r0); r0 = pxsim_Array__mk(); - s.ret___77610 = (r0); - s.i___77612 = (0); + s.ret___14490 = (r0); + s.i___14492 = (0); case 1: - s.tmp_1 = r0 = s.i___77612; + s.tmp_1 = r0 = s.i___14492; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_spritesI"]; @@ -28747,45 +28749,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_5 = tileworld_RuleView_getSetSpAttr__P73533_mk(s); + s.tmp_5 = tileworld_RuleView_getSetSpAttr__P3653_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.wd___77608; - s.tmp_5.arg2 = s.i___77612; + s.tmp_5.arg1 = s.wd___14488; + s.tmp_5.arg2 = s.i___14492; s.tmp_5.arg3 = 65535; s.callLocIdx = 147; s.pc = 8; return s.tmp_5; case 8: r0 = s.retval; - s.at___77619 = (r0); - r0 = (s.at___77619 == 1); + s.at___14499 = (r0); + r0 = (s.at___14499 == 1); 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.at___77619 == 2); + r0 = (s.at___14499 == 2); 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.ret___77610, s.i___77612); + r0 = pxsim_Array__push(s.ret___14490, s.i___14492); case 4: case 5: - r0 = (s.i___77612 + 1); - s.i___77612 = (r0); + r0 = (s.i___14492 + 1); + s.i___14492 = (r0); { step = 1; continue; } case 6: - r0 = s.ret___77610; + r0 = s.ret___14490; return leave(s, r0) default: oops() } } } -tileworld_RuleView_getSpriteKinds__P73544.info = {"start":8504,"length":410,"line":244,"column":8,"endLine":254,"endColumn":9,"fileName":"ruleview.ts","functionName":"getSpriteKinds","argumentNames":["this"]} +tileworld_RuleView_getSpriteKinds__P3664.info = {"start":8504,"length":410,"line":244,"column":8,"endLine":254,"endColumn":9,"fileName":"ruleview.ts","functionName":"getSpriteKinds","argumentNames":["this"]} -function tileworld_RuleView_getSpriteKinds__P73544_mk(s) { +function tileworld_RuleView_getSpriteKinds__P3664_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getSpriteKinds__P73544, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getSpriteKinds__P3664, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28793,10 +28795,10 @@ function tileworld_RuleView_getSpriteKinds__P73544_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - wd___77608: undefined, - ret___77610: undefined, - i___77612: undefined, - at___77619: undefined, + wd___14488: undefined, + ret___14490: undefined, + i___14492: undefined, + at___14499: undefined, arg0: undefined, } } @@ -28804,7 +28806,7 @@ function tileworld_RuleView_getSpriteKinds__P73544_mk(s) { -function tileworld_ruleediting_RuleDisplay_getDir__P82974(s) { +function tileworld_ruleediting_RuleDisplay_getDir__P3873458(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28819,22 +28821,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getDirFromRule__P73527_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getDirFromRule__P3647_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 699; s.pc = 1; return s.tmp_0; + s.callLocIdx = 711; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_getDir__P82974.info = {"start":1582,"length":77,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"getDir","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_getDir__P3873458.info = {"start":1582,"length":77,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"getDir","argumentNames":["this"]} -function tileworld_ruleediting_RuleDisplay_getDir__P82974_mk(s) { +function tileworld_ruleediting_RuleDisplay_getDir__P3873458_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_getDir__P82974, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_getDir__P3873458, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28844,7 +28846,7 @@ function tileworld_ruleediting_RuleDisplay_getDir__P82974_mk(s) { -function tileworld_ruleediting_RuleDisplay_getType__P82975(s) { +function tileworld_ruleediting_RuleDisplay_getType__P3873459(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28859,7 +28861,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); r0 = s.arg0.fields["rule"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["r"]; @@ -28867,12 +28869,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_getType__P82975.info = {"start":1669,"length":75,"line":38,"column":8,"endLine":40,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"getType","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_getType__P3873459.info = {"start":1669,"length":75,"line":38,"column":8,"endLine":40,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"getType","argumentNames":["this"]} -function tileworld_ruleediting_RuleDisplay_getType__P82975_mk(s) { +function tileworld_ruleediting_RuleDisplay_getType__P3873459_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_getType__P82975, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_getType__P3873459, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28882,7 +28884,7 @@ function tileworld_ruleediting_RuleDisplay_getType__P82975_mk(s) { -function tileworld_ruleediting_RuleEditor_changeRule__P84376(s) { +function tileworld_ruleediting_RuleEditor_changeRule__P6421(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28898,31 +28900,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_saveRule__P73585_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_saveRule__P3705_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 1020; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1032; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleEditor_resetRule__P84377_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_resetRule__P6422_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1021; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1033; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_changeRule__P84376.info = {"start":8318,"length":116,"line":170,"column":8,"endLine":173,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"changeRule","argumentNames":["this","rv"]} +tileworld_ruleediting_RuleEditor_changeRule__P6421.info = {"start":8318,"length":116,"line":170,"column":8,"endLine":173,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"changeRule","argumentNames":["this","rv"]} -function tileworld_ruleediting_RuleEditor_changeRule__P84376_mk(s) { +function tileworld_ruleediting_RuleEditor_changeRule__P6421_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_changeRule__P84376, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_changeRule__P6421, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28933,7 +28935,7 @@ function tileworld_ruleediting_RuleEditor_changeRule__P84376_mk(s) { -function tileworld_ruleediting_RuleEditor_dirExprUpdate__P84399(s) { +function tileworld_ruleediting_RuleEditor_dirExprUpdate__P6444(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28948,11 +28950,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); - s.tmp_2 = tileworld_RuleVisualsBase_row__P82567_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); + s.tmp_2 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1190; s.pc = 10; return s.tmp_2; + s.callLocIdx = 1202; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; @@ -28963,10 +28965,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1191; s.pc = 11; return s.tmp_4; + s.callLocIdx = 1203; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; s.tmp_3 = r0; @@ -28991,10 +28993,10 @@ switch (step) { r0 = s.tmp_6; { step = 6; continue; } case 5: - s.tmp_10 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_10 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_10.arg0 = s.arg0; s.tmp_10.arg1 = true; - s.callLocIdx = 1193; s.pc = 12; return s.tmp_10; + s.callLocIdx = 1205; s.pc = 12; return s.tmp_10; case 12: r0 = s.retval; s.tmp_9 = r0; @@ -29007,19 +29009,19 @@ switch (step) { { step = 9; continue; } case 7: case 8: - s.tmp_12 = tileworld_RuleView_setWitnessDirection__P73537_mk(s); + s.tmp_12 = tileworld_RuleView_setWitnessDirection__P3657_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_12.arg0 = r0; r0 = s.arg0.fields["whenDo"]; s.tmp_12.arg1 = r0; - s.tmp_13 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_13 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_13.arg0 = s.arg0; s.tmp_13.arg1 = true; - s.callLocIdx = 1194; s.pc = 14; return s.tmp_13; + s.callLocIdx = 1206; s.pc = 14; return s.tmp_13; case 14: r0 = s.retval; s.tmp_12.arg2 = r0; - s.callLocIdx = 1195; s.pc = 13; return s.tmp_12; + s.callLocIdx = 1207; s.pc = 13; return s.tmp_12; case 13: r0 = s.retval; case 9: @@ -29027,12 +29029,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_dirExprUpdate__P84399.info = {"start":22442,"length":293,"line":511,"column":8,"endLine":517,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"dirExprUpdate","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_dirExprUpdate__P6444.info = {"start":22442,"length":293,"line":511,"column":8,"endLine":517,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"dirExprUpdate","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_dirExprUpdate__P84399_mk(s) { +function tileworld_ruleediting_RuleEditor_dirExprUpdate__P6444_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_dirExprUpdate__P84399, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_dirExprUpdate__P6444, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29055,7 +29057,7 @@ function tileworld_ruleediting_RuleEditor_dirExprUpdate__P84399_mk(s) { -function tileworld_RuleView_setWitnessDirection__P73537(s) { +function tileworld_RuleView_setWitnessDirection__P3657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29072,7 +29074,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_1 = r0; @@ -29083,12 +29085,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_setWitnessDirection__P73537.info = {"start":6522,"length":107,"line":187,"column":8,"endLine":189,"endColumn":9,"fileName":"ruleview.ts","functionName":"setWitnessDirection","argumentNames":["this","wdid","val"]} +tileworld_RuleView_setWitnessDirection__P3657.info = {"start":6522,"length":107,"line":187,"column":8,"endLine":189,"endColumn":9,"fileName":"ruleview.ts","functionName":"setWitnessDirection","argumentNames":["this","wdid","val"]} -function tileworld_RuleView_setWitnessDirection__P73537_mk(s) { +function tileworld_RuleView_setWitnessDirection__P3657_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_setWitnessDirection__P73537, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_setWitnessDirection__P3657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29101,7 +29103,7 @@ function tileworld_RuleView_setWitnessDirection__P73537_mk(s) { -function tileworld_ruleediting_RuleEditor_commandUpdate__P84391(s) { +function tileworld_ruleediting_RuleEditor_commandUpdate__P6436(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29111,65 +29113,65 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tok___85977 = undefined; - s.arg___85984 = undefined; - s.inst___85991 = undefined; - s.len___86010 = undefined; + s.tok___14570 = undefined; + s.arg___14577 = undefined; + s.inst___14584 = undefined; + s.len___14603 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); r0 = s.arg0.fields["ruleTypeMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1126; s.pc = 27; return s.tmp_2; + s.callLocIdx = 1138; s.pc = 27; return s.tmp_2; case 27: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1127; s.pc = 28; return s.tmp_4; + s.callLocIdx = 1139; s.pc = 28; return s.tmp_4; case 28: r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_3); - s.tok___85977 = (r0); + s.tok___14570 = (r0); r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1128; s.pc = 29; return s.tmp_2; + s.callLocIdx = 1140; s.pc = 29; return s.tmp_2; case 29: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1129; s.pc = 30; return s.tmp_4; + s.callLocIdx = 1141; s.pc = 30; return s.tmp_4; case 30: r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_3); - s.arg___85984 = (r0); - s.tmp_0 = tileworld_RuleView_getCmdInst__P73539_mk(s); + s.arg___14577 = (r0); + s.tmp_0 = tileworld_RuleView_getCmdInst__P3659_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["whenDo"]; s.tmp_0.arg1 = r0; r0 = s.arg0.fields["currentCommand"]; s.tmp_0.arg2 = r0; - s.callLocIdx = 1130; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1142; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.inst___85991 = (r0); - r0 = (s.tok___85977 == 100); + s.inst___14584 = (r0); + r0 = (s.tok___14570 == 100); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -29180,43 +29182,43 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 1; continue; } - s.tmp_2 = Sprite_say__P71954_mk(s); + s.tmp_2 = Sprite_say__P2074_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = "delete command"; s.tmp_2.arg2 = undefined; s.tmp_2.arg3 = 15; s.tmp_2.arg4 = 1; - s.callLocIdx = 1131; s.pc = 32; return s.tmp_2; + s.callLocIdx = 1143; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; case 1: case 2: { step = 4; continue; } case 3: - s.tmp_0 = tileworld_RuleView_removeCommand__P73543_mk(s); + s.tmp_0 = tileworld_RuleView_removeCommand__P3663_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["whenDo"]; s.tmp_0.arg1 = r0; r0 = s.arg0.fields["currentCommand"]; s.tmp_0.arg2 = r0; - s.callLocIdx = 1132; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1144; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.len___86010 = (r0); - s.tmp_0 = tileworld_ruleediting_RuleEditor_mainMenu__P84373_mk(s); + s.len___14603 = (r0); + s.tmp_0 = tileworld_ruleediting_RuleEditor_mainMenu__P6418_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1133; s.pc = 34; return s.tmp_0; + s.callLocIdx = 1145; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; case 4: { step = 26; continue; } case 5: - s.tmp_2 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1134; s.pc = 35; return s.tmp_2; + s.callLocIdx = 1146; s.pc = 35; return s.tmp_2; case 35: r0 = s.retval; s.tmp_1 = r0; @@ -29227,7 +29229,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = (s.tok___85977 != 15); + r0 = (s.tok___14570 != 15); case 7: // jmp value (already in r0) s.tmp_3 = r0; @@ -29240,58 +29242,58 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 8; continue; } - s.tmp_5 = Sprite_say__P71954_mk(s); + s.tmp_5 = Sprite_say__P2074_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_5.arg0 = r0; - r0 = pxsim_Array__getAt(globals.categoryText___84985, s.tok___85977); + r0 = pxsim_Array__getAt(globals.categoryText___6414, s.tok___14570); s.tmp_5.arg1 = r0; s.tmp_5.arg2 = undefined; s.tmp_5.arg3 = 15; s.tmp_5.arg4 = 1; - s.callLocIdx = 1135; s.pc = 36; return s.tmp_5; + s.callLocIdx = 1147; s.pc = 36; return s.tmp_5; case 36: r0 = s.retval; case 8: case 9: { step = 13; continue; } case 10: - r0 = (s.tok___85977 != s.inst___85991); + r0 = (s.tok___14570 != s.inst___14584); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = tileworld_ruleediting_RuleEditor_setCommand__P84392_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleEditor_setCommand__P6437_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.tok___85977; - s.tmp_2 = tileworld_ruleediting_RuleEditor_instToStartArg__P84387_mk(s); + s.tmp_1.arg1 = s.tok___14570; + s.tmp_2 = tileworld_ruleediting_RuleEditor_instToStartArg__P6432_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.tok___85977; - s.callLocIdx = 1136; s.pc = 38; return s.tmp_2; + s.tmp_2.arg1 = s.tok___14570; + s.callLocIdx = 1148; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; s.tmp_1.arg2 = r0; - s.callLocIdx = 1137; s.pc = 37; return s.tmp_1; + s.callLocIdx = 1149; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P82564_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P6299_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1138; s.pc = 39; return s.tmp_0; + s.callLocIdx = 1150; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P82565_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P6300_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; - s.callLocIdx = 1139; s.pc = 40; return s.tmp_0; + s.callLocIdx = 1151; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.tmp_0 = Sprite_say__P71954_mk(s); + s.tmp_0 = Sprite_say__P2074_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = null; s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; - s.callLocIdx = 1140; s.pc = 41; return s.tmp_0; + s.callLocIdx = 1152; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; case 11: @@ -29299,10 +29301,10 @@ switch (step) { case 13: { step = 25; continue; } case 14: - s.tmp_2 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1141; s.pc = 42; return s.tmp_2; + s.callLocIdx = 1153; s.pc = 42; return s.tmp_2; case 42: r0 = s.retval; s.tmp_1 = r0; @@ -29313,7 +29315,7 @@ switch (step) { r0 = s.tmp_0; { step = 16; continue; } case 15: - r0 = (s.arg___85984 != 15); + r0 = (s.arg___14577 != 15); case 16: // jmp value (already in r0) s.tmp_3 = r0; @@ -29321,35 +29323,35 @@ switch (step) { if (!r0) { step = 19; continue; } r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 17; continue; } - s.tmp_4 = Sprite_say__P71954_mk(s); + s.tmp_4 = Sprite_say__P2074_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_4.arg0 = r0; - s.tmp_6 = tileworld_ruleediting_RuleEditor_instToArgText__P84388_mk(s); + s.tmp_6 = tileworld_ruleediting_RuleEditor_instToArgText__P6433_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.inst___85991; - s.callLocIdx = 1142; s.pc = 44; return s.tmp_6; + s.tmp_6.arg1 = s.inst___14584; + s.callLocIdx = 1154; s.pc = 44; return s.tmp_6; case 44: r0 = s.retval; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.arg___85984); + r0 = pxsim_Array__getAt(s.tmp_5, s.arg___14577); s.tmp_4.arg1 = r0; s.tmp_4.arg2 = undefined; s.tmp_4.arg3 = 15; s.tmp_4.arg4 = 1; - s.callLocIdx = 1143; s.pc = 43; return s.tmp_4; + s.callLocIdx = 1155; s.pc = 43; return s.tmp_4; case 43: r0 = s.retval; { step = 18; continue; } case 17: - s.tmp_0 = tileworld_RuleView_setCmdArg__P73542_mk(s); + s.tmp_0 = tileworld_RuleView_setCmdArg__P3662_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["whenDo"]; s.tmp_0.arg1 = r0; r0 = s.arg0.fields["currentCommand"]; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.arg___85984; - s.callLocIdx = 1144; s.pc = 45; return s.tmp_0; + s.tmp_0.arg3 = s.arg___14577; + s.callLocIdx = 1156; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; case 18: @@ -29364,10 +29366,10 @@ switch (step) { r0 = s.tmp_0; { step = 21; continue; } case 20: - s.tmp_3 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; - s.callLocIdx = 1145; s.pc = 46; return s.tmp_3; + s.callLocIdx = 1157; s.pc = 46; return s.tmp_3; case 46: r0 = s.retval; s.tmp_2 = r0; @@ -29377,9 +29379,9 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 22; continue; } - s.tmp_5 = tileworld_ruleediting_RuleEditor_mainMenu__P84373_mk(s); + s.tmp_5 = tileworld_ruleediting_RuleEditor_mainMenu__P6418_mk(s); s.tmp_5.arg0 = s.arg0; - s.callLocIdx = 1146; s.pc = 47; return s.tmp_5; + s.callLocIdx = 1158; s.pc = 47; return s.tmp_5; case 47: r0 = s.retval; case 22: @@ -29391,12 +29393,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_commandUpdate__P84391.info = {"start":17215,"length":1445,"line":388,"column":8,"endLine":419,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"commandUpdate","argumentNames":["this","hover"]} +tileworld_ruleediting_RuleEditor_commandUpdate__P6436.info = {"start":17215,"length":1445,"line":388,"column":8,"endLine":419,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"commandUpdate","argumentNames":["this","hover"]} -function tileworld_ruleediting_RuleEditor_commandUpdate__P84391_mk(s) { +function tileworld_ruleediting_RuleEditor_commandUpdate__P6436_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_commandUpdate__P84391, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_commandUpdate__P6436, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29405,10 +29407,10 @@ function tileworld_ruleediting_RuleEditor_commandUpdate__P84391_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - tok___85977: undefined, - arg___85984: undefined, - inst___85991: undefined, - len___86010: undefined, + tok___14570: undefined, + arg___14577: undefined, + inst___14584: undefined, + len___14603: undefined, arg0: undefined, arg1: undefined, } } @@ -29417,7 +29419,7 @@ function tileworld_ruleediting_RuleEditor_commandUpdate__P84391_mk(s) { -function tileworld_RuleView_setCmdArg__P73542(s) { +function tileworld_RuleView_setCmdArg__P3662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29427,7 +29429,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___77528 = undefined; + s.wd___14677 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -29436,13 +29438,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.wd___77528 = (r0); - r0 = s.wd___77528.fields["commandsLen"]; + s.wd___14677 = (r0); + r0 = s.wd___14677.fields["commandsLen"]; s.tmp_1 = r0; r0 = (s.arg2 > s.tmp_1); s.tmp_0 = r0; @@ -29452,13 +29454,13 @@ switch (step) { { step = 5; continue; } case 1: case 2: - r0 = s.wd___77528.fields["commandsLen"]; + r0 = s.wd___14677.fields["commandsLen"]; s.tmp_3 = r0; r0 = (s.arg2 == s.tmp_3); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - s.tmp_4 = r0 = s.wd___77528; + s.tmp_4 = r0 = s.wd___14677; r0 = s.tmp_4.fields["commandsLen"]; s.tmp_6 = r0; r0 = (s.tmp_6 + 1); @@ -29466,7 +29468,7 @@ switch (step) { r0 = (s.tmp_4).fields["commandsLen"] = (s.tmp_5); case 3: case 4: - r0 = s.wd___77528.fields["commands"]; + r0 = s.wd___14677.fields["commands"]; s.tmp_0 = r0; r0 = (s.arg2 << 1); s.tmp_2 = r0; @@ -29480,12 +29482,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_setCmdArg__P73542.info = {"start":7697,"length":335,"line":221,"column":8,"endLine":229,"endColumn":9,"fileName":"ruleview.ts","functionName":"setCmdArg","argumentNames":["this","wdid","cid","n"]} +tileworld_RuleView_setCmdArg__P3662.info = {"start":7697,"length":335,"line":221,"column":8,"endLine":229,"endColumn":9,"fileName":"ruleview.ts","functionName":"setCmdArg","argumentNames":["this","wdid","cid","n"]} -function tileworld_RuleView_setCmdArg__P73542_mk(s) { +function tileworld_RuleView_setCmdArg__P3662_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_setCmdArg__P73542, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_setCmdArg__P3662, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29494,7 +29496,7 @@ function tileworld_RuleView_setCmdArg__P73542_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - wd___77528: undefined, + wd___14677: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29505,7 +29507,7 @@ function tileworld_RuleView_setCmdArg__P73542_mk(s) { -function tileworld_ruleediting_RuleEditor_instToArgText__P84388(s) { +function tileworld_ruleediting_RuleEditor_instToArgText__P6433(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29521,7 +29523,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg1; r0 = pxsim_pxtcore.switch_eq(0, s.tmp_0); if (r0) { step = 1; continue; } @@ -29530,10 +29532,10 @@ switch (step) { r0 = s.tmp_0; { step = 3; continue; } case 1: - r0 = globals.moveText___73675; + r0 = globals.moveText___3873429; { step = 4; continue; } case 2: - r0 = globals.gameText___73680; + r0 = globals.gameText___3873453; { step = 4; continue; } case 3: r0 = pxsim_Array__mk(); @@ -29541,12 +29543,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_instToArgText__P84388.info = {"start":15627,"length":266,"line":346,"column":8,"endLine":353,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToArgText","argumentNames":["this","inst"]} +tileworld_ruleediting_RuleEditor_instToArgText__P6433.info = {"start":15627,"length":266,"line":346,"column":8,"endLine":353,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToArgText","argumentNames":["this","inst"]} -function tileworld_ruleediting_RuleEditor_instToArgText__P84388_mk(s) { +function tileworld_ruleediting_RuleEditor_instToArgText__P6433_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_instToArgText__P84388, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_instToArgText__P6433, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29557,7 +29559,7 @@ function tileworld_ruleediting_RuleEditor_instToArgText__P84388_mk(s) { -function tileworld_ruleediting_RuleEditor_setCommand__P84392(s) { +function tileworld_ruleediting_RuleEditor_setCommand__P6437(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29574,8 +29576,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_setCmdInst__P73541_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_setCmdInst__P3661_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["whenDo"]; @@ -29583,10 +29585,10 @@ switch (step) { r0 = s.arg0.fields["currentCommand"]; s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg1; - s.callLocIdx = 1147; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1159; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_RuleView_setCmdArg__P73542_mk(s); + s.tmp_0 = tileworld_RuleView_setCmdArg__P3662_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["whenDo"]; @@ -29594,19 +29596,19 @@ switch (step) { r0 = s.arg0.fields["currentCommand"]; s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg2; - s.callLocIdx = 1148; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1160; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_setCommand__P84392.info = {"start":18670,"length":203,"line":421,"column":8,"endLine":424,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setCommand","argumentNames":["this","inst","arg"]} +tileworld_ruleediting_RuleEditor_setCommand__P6437.info = {"start":18670,"length":203,"line":421,"column":8,"endLine":424,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setCommand","argumentNames":["this","inst","arg"]} -function tileworld_ruleediting_RuleEditor_setCommand__P84392_mk(s) { +function tileworld_ruleediting_RuleEditor_setCommand__P6437_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_setCommand__P84392, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_setCommand__P6437, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29618,7 +29620,7 @@ function tileworld_ruleediting_RuleEditor_setCommand__P84392_mk(s) { -function tileworld_RuleView_setCmdInst__P73541(s) { +function tileworld_RuleView_setCmdInst__P3661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29628,7 +29630,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___77498 = undefined; + s.wd___14740 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -29637,13 +29639,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.wd___77498 = (r0); - r0 = s.wd___77498.fields["commandsLen"]; + s.wd___14740 = (r0); + r0 = s.wd___14740.fields["commandsLen"]; s.tmp_1 = r0; r0 = (s.arg2 > s.tmp_1); s.tmp_0 = r0; @@ -29653,13 +29655,13 @@ switch (step) { { step = 5; continue; } case 1: case 2: - r0 = s.wd___77498.fields["commandsLen"]; + r0 = s.wd___14740.fields["commandsLen"]; s.tmp_3 = r0; r0 = (s.arg2 == s.tmp_3); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - s.tmp_4 = r0 = s.wd___77498; + s.tmp_4 = r0 = s.wd___14740; r0 = s.tmp_4.fields["commandsLen"]; s.tmp_6 = r0; r0 = (s.tmp_6 + 1); @@ -29667,7 +29669,7 @@ switch (step) { r0 = (s.tmp_4).fields["commandsLen"] = (s.tmp_5); case 3: case 4: - r0 = s.wd___77498.fields["commands"]; + r0 = s.wd___14740.fields["commands"]; s.tmp_0 = r0; r0 = (s.arg2 << 1); s.tmp_1 = r0; @@ -29679,12 +29681,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_setCmdInst__P73541.info = {"start":7355,"length":332,"line":211,"column":8,"endLine":219,"endColumn":9,"fileName":"ruleview.ts","functionName":"setCmdInst","argumentNames":["this","wdid","cid","n"]} +tileworld_RuleView_setCmdInst__P3661.info = {"start":7355,"length":332,"line":211,"column":8,"endLine":219,"endColumn":9,"fileName":"ruleview.ts","functionName":"setCmdInst","argumentNames":["this","wdid","cid","n"]} -function tileworld_RuleView_setCmdInst__P73541_mk(s) { +function tileworld_RuleView_setCmdInst__P3661_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_setCmdInst__P73541, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_setCmdInst__P3661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29693,7 +29695,7 @@ function tileworld_RuleView_setCmdInst__P73541_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - wd___77498: undefined, + wd___14740: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29704,7 +29706,7 @@ function tileworld_RuleView_setCmdInst__P73541_mk(s) { -function tileworld_RuleView_removeCommand__P73543(s) { +function tileworld_RuleView_removeCommand__P3663(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29714,8 +29716,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___77560 = undefined; - s.i___77575 = undefined; + s.wd___14769 = undefined; + s.i___14784 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -29723,13 +29725,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.wd___77560 = (r0); - r0 = s.wd___77560.fields["commandsLen"]; + s.wd___14769 = (r0); + r0 = s.wd___14769.fields["commandsLen"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -29738,7 +29740,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.wd___77560.fields["commandsLen"]; + r0 = s.wd___14769.fields["commandsLen"]; s.tmp_2 = r0; r0 = (s.arg2 >= s.tmp_2); case 2: @@ -29746,14 +29748,14 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - r0 = s.wd___77560.fields["commandsLen"]; + r0 = s.wd___14769.fields["commandsLen"]; { step = 7; continue; } case 3: case 4: r0 = (s.arg2 << 1); - s.i___77575 = (r0); + s.i___14784 = (r0); case 5: - s.tmp_1 = r0 = s.i___77575; + s.tmp_1 = r0 = s.i___14784; r0 = (3 << 1); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -29762,37 +29764,37 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = s.wd___77560.fields["commands"]; + r0 = s.wd___14769.fields["commands"]; s.tmp_4 = r0; - s.tmp_5 = r0 = s.i___77575; - r0 = s.wd___77560.fields["commands"]; + s.tmp_5 = r0 = s.i___14784; + r0 = s.wd___14769.fields["commands"]; s.tmp_7 = r0; - r0 = (s.i___77575 + 2); + r0 = (s.i___14784 + 2); s.tmp_8 = r0; r0 = pxsim.BufferMethods.getUint8(s.tmp_7, s.tmp_8); s.tmp_6 = r0; r0 = pxsim.BufferMethods.setUint8(s.tmp_4, s.tmp_5, s.tmp_6); - r0 = (s.i___77575 + 1); - s.i___77575 = (r0); + r0 = (s.i___14784 + 1); + s.i___14784 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = r0 = s.wd___77560; + s.tmp_0 = r0 = s.wd___14769; r0 = s.tmp_0.fields["commandsLen"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["commandsLen"] = (s.tmp_1); - r0 = s.wd___77560.fields["commandsLen"]; + r0 = s.wd___14769.fields["commandsLen"]; case 7: return leave(s, r0) default: oops() } } } -tileworld_RuleView_removeCommand__P73543.info = {"start":8042,"length":419,"line":231,"column":8,"endLine":240,"endColumn":9,"fileName":"ruleview.ts","functionName":"removeCommand","argumentNames":["this","wdid","cid"]} +tileworld_RuleView_removeCommand__P3663.info = {"start":8042,"length":419,"line":231,"column":8,"endLine":240,"endColumn":9,"fileName":"ruleview.ts","functionName":"removeCommand","argumentNames":["this","wdid","cid"]} -function tileworld_RuleView_removeCommand__P73543_mk(s) { +function tileworld_RuleView_removeCommand__P3663_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_removeCommand__P73543, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_removeCommand__P3663, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29803,8 +29805,8 @@ function tileworld_RuleView_removeCommand__P73543_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - wd___77560: undefined, - i___77575: undefined, + wd___14769: undefined, + i___14784: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29814,7 +29816,7 @@ function tileworld_RuleView_removeCommand__P73543_mk(s) { -function tileworld_ruleediting_RuleEditor_attrUpdate__P84396(s) { +function tileworld_ruleediting_RuleEditor_attrUpdate__P6441(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29824,17 +29826,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collision22___86228 = undefined; - s.a___86251 = undefined; - s.i___86260 = undefined; - s.m___86288 = undefined; - s.val___86316 = undefined; + s.collision22___14817 = undefined; + s.a___14840 = undefined; + s.i___14849 = undefined; + s.m___14877 = undefined; + s.val___14905 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); r0 = s.arg0.fields["rule"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["r"]; @@ -29880,11 +29882,11 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_12 = r0; - s.collision22___86228 = (s.tmp_12); - s.tmp_2 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.collision22___14817 = (s.tmp_12); + s.tmp_2 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1168; s.pc = 32; return s.tmp_2; + s.callLocIdx = 1180; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; s.tmp_1 = r0; @@ -29892,10 +29894,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_3 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; - s.callLocIdx = 1169; s.pc = 33; return s.tmp_3; + s.callLocIdx = 1181; s.pc = 33; return s.tmp_3; case 33: r0 = s.retval; { step = 6; continue; } @@ -29904,18 +29906,18 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_4 = r0; - s.a___86251 = (s.tmp_4); - r0 = (s.a___86251 == 9); + s.a___14840 = (s.tmp_4); + r0 = (s.a___14840 == 9); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.i___86260 = (0); + s.i___14849 = (0); case 7: - s.tmp_1 = r0 = s.i___86260; - s.tmp_3 = tileworld_Project_allCnt__P73578_mk(s); + s.tmp_1 = r0 = s.i___14849; + s.tmp_3 = tileworld_Project_allCnt__P3698_mk(s); r0 = s.arg0.fields["p"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 1170; s.pc = 34; return s.tmp_3; + s.callLocIdx = 1182; s.pc = 34; return s.tmp_3; case 34: r0 = s.retval; s.tmp_2 = r0; @@ -29923,29 +29925,29 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_4 = tileworld_ruleediting_RuleEditor_setAttr__P84397_mk(s); + s.tmp_4 = tileworld_ruleediting_RuleEditor_setAttr__P6442_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___86260; + s.tmp_4.arg1 = s.i___14849; s.tmp_4.arg2 = 0; s.tmp_4.arg3 = false; - s.callLocIdx = 1171; s.pc = 35; return s.tmp_4; + s.callLocIdx = 1183; s.pc = 35; return s.tmp_4; case 35: r0 = s.retval; - r0 = (s.i___86260 + 1); - s.i___86260 = (r0); + r0 = (s.i___14849 + 1); + s.i___14849 = (r0); { step = 7; continue; } case 8: { step = 31; continue; } case 9: case 10: - r0 = (s.a___86251 != -1); + r0 = (s.a___14840 != -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: - r0 = (s.a___86251 < 3); + r0 = (s.a___14840 < 3); case 12: // jmp value (already in r0) s.tmp_1 = r0; @@ -29965,19 +29967,19 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 15; continue; } - s.tmp_5 = tileworld_ruleediting_RuleEditor_selectAttr__P84395_mk(s); + s.tmp_5 = tileworld_ruleediting_RuleEditor_selectAttr__P6440_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.a___86251; - s.callLocIdx = 1173; s.pc = 36; return s.tmp_5; + s.tmp_5.arg1 = s.a___14840; + s.callLocIdx = 1185; s.pc = 36; return s.tmp_5; case 36: r0 = s.retval; { step = 31; continue; } case 15: case 16: - s.tmp_2 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1174; s.pc = 37; return s.tmp_2; + s.callLocIdx = 1186; s.pc = 37; return s.tmp_2; case 37: r0 = s.retval; s.tmp_1 = r0; @@ -29985,10 +29987,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - s.tmp_3 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; - s.callLocIdx = 1175; s.pc = 38; return s.tmp_3; + s.callLocIdx = 1187; s.pc = 38; return s.tmp_3; case 38: r0 = s.retval; { step = 18; continue; } @@ -29997,15 +29999,15 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_4 = r0; - s.m___86288 = (s.tmp_4); - r0 = (s.m___86288 != -1); + s.m___14877 = (s.tmp_4); + r0 = (s.m___14877 != -1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 19; continue; } r0 = s.tmp_0; { step = 26; continue; } case 19: - r0 = pxsim_numops_toBoolDecr(s.collision22___86228); + r0 = pxsim_numops_toBoolDecr(s.collision22___14817); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -30014,11 +30016,11 @@ switch (step) { r0 = s.tmp_1; { step = 21; continue; } case 20: - s.tmp_3 = r0 = s.m___86288; - s.tmp_5 = tileworld_Project_allCnt__P73578_mk(s); + s.tmp_3 = r0 = s.m___14877; + s.tmp_5 = tileworld_Project_allCnt__P3698_mk(s); r0 = s.arg0.fields["p"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 1176; s.pc = 39; return s.tmp_5; + s.callLocIdx = 1188; s.pc = 39; return s.tmp_5; case 39: r0 = s.retval; s.tmp_4 = r0; @@ -30031,13 +30033,13 @@ switch (step) { r0 = s.tmp_6; { step = 25; continue; } case 22: - s.tmp_7 = r0 = s.collision22___86228; + s.tmp_7 = r0 = s.collision22___14817; r0 = pxsim_numops_toBool(s.tmp_7); if (r0) { step = 23; continue; } r0 = s.tmp_7; { step = 24; continue; } case 23: - s.tmp_8 = r0 = s.m___86288; + s.tmp_8 = r0 = s.m___14877; r0 = s.arg0.fields["p"]; s.tmp_10 = r0; r0 = s.tmp_10.fields["_backgroundsI"]; @@ -30060,18 +30062,18 @@ switch (step) { if (!r0) { step = 29; continue; } r0 = s.arg0.fields["attrSelected"]; s.tmp_15 = r0; - r0 = pxsim_Array__getAt(globals.attrValues___73677, s.tmp_15); - s.val___86316 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collision22___86228); + r0 = pxsim_Array__getAt(globals.attrValues___3873441, s.tmp_15); + s.val___14905 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collision22___14817); 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 = 27; continue; } - r0 = s.m___86288; + r0 = s.m___14877; { step = 28; continue; } case 27: - s.tmp_2 = r0 = s.m___86288; + s.tmp_2 = r0 = s.m___14877; r0 = s.arg0.fields["p"]; s.tmp_4 = r0; r0 = s.tmp_4.fields["_backgroundsI"]; @@ -30082,12 +30084,12 @@ switch (step) { case 28: // jmp value (already in r0) s.tmp_6 = r0; - s.tmp_7 = tileworld_ruleediting_RuleEditor_setAttr__P84397_mk(s); + s.tmp_7 = tileworld_ruleediting_RuleEditor_setAttr__P6442_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = s.tmp_6; - s.tmp_7.arg2 = s.val___86316; + s.tmp_7.arg2 = s.val___14905; s.tmp_7.arg3 = true; - s.callLocIdx = 1179; s.pc = 40; return s.tmp_7; + s.callLocIdx = 1191; s.pc = 40; return s.tmp_7; case 40: r0 = s.retval; case 29: @@ -30097,12 +30099,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_attrUpdate__P84396.info = {"start":20703,"length":967,"line":471,"column":8,"endLine":491,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrUpdate","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_attrUpdate__P6441.info = {"start":20703,"length":967,"line":471,"column":8,"endLine":491,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrUpdate","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_attrUpdate__P84396_mk(s) { +function tileworld_ruleediting_RuleEditor_attrUpdate__P6441_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_attrUpdate__P84396, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_attrUpdate__P6441, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30120,11 +30122,11 @@ function tileworld_ruleediting_RuleEditor_attrUpdate__P84396_mk(s) { tmp_13: undefined, tmp_14: undefined, tmp_15: undefined, - collision22___86228: undefined, - a___86251: undefined, - i___86260: undefined, - m___86288: undefined, - val___86316: undefined, + collision22___14817: undefined, + a___14840: undefined, + i___14849: undefined, + m___14877: undefined, + val___14905: undefined, arg0: undefined, } } @@ -30132,7 +30134,7 @@ function tileworld_ruleediting_RuleEditor_attrUpdate__P84396_mk(s) { -function tileworld_ruleediting_RuleEditor_setAttr__P84397(s) { +function tileworld_ruleediting_RuleEditor_setAttr__P6442(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30142,7 +30144,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.whenDo___86335 = undefined; + s.whenDo___14924 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30151,45 +30153,45 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getWhenDo__P73528_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getWhenDo__P3648_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; - s.tmp_1 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = false; - s.callLocIdx = 1180; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1192; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_3 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = false; - s.callLocIdx = 1181; s.pc = 7; return s.tmp_3; + s.callLocIdx = 1193; s.pc = 7; return s.tmp_3; case 7: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_2 - 2); s.tmp_0.arg2 = r0; - s.callLocIdx = 1182; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1194; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.whenDo___86335 = (r0); + s.whenDo___14924 = (r0); s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = tileworld_AllExport_getSetAttr__P73561_mk(s); + s.tmp_2 = tileworld_AllExport_getSetAttr__P3681_mk(s); r0 = s.arg0.fields["all"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["rule"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.whenDo___86335; + s.tmp_2.arg2 = s.whenDo___14924; s.tmp_2.arg3 = s.arg1; s.tmp_2.arg4 = 65535; - s.callLocIdx = 1183; s.pc = 8; return s.tmp_2; + s.callLocIdx = 1195; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; s.tmp_1 = r0; @@ -30202,33 +30204,33 @@ switch (step) { s.arg2 = (0); case 3: case 4: - s.tmp_0 = tileworld_AllExport_getSetAttr__P73561_mk(s); + s.tmp_0 = tileworld_AllExport_getSetAttr__P3681_mk(s); r0 = s.arg0.fields["all"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.whenDo___86335; + s.tmp_0.arg2 = s.whenDo___14924; s.tmp_0.arg3 = s.arg1; s.tmp_0.arg4 = s.arg2; - s.callLocIdx = 1184; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1196; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_setAttr__P84397.info = {"start":21680,"length":336,"line":493,"column":8,"endLine":498,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setAttr","argumentNames":["this","m","val","toggle"]} +tileworld_ruleediting_RuleEditor_setAttr__P6442.info = {"start":21680,"length":336,"line":493,"column":8,"endLine":498,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setAttr","argumentNames":["this","m","val","toggle"]} -function tileworld_ruleediting_RuleEditor_setAttr__P84397_mk(s) { +function tileworld_ruleediting_RuleEditor_setAttr__P6442_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_setAttr__P84397, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_setAttr__P6442, depth: s.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___86335: undefined, + whenDo___14924: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30239,7 +30241,7 @@ function tileworld_ruleediting_RuleEditor_setAttr__P84397_mk(s) { -function tileworld_RuleView_getWhenDoRow__P73531(s) { +function tileworld_RuleView_getWhenDoRow__P3651(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30255,7 +30257,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_0 = r0; @@ -30264,12 +30266,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getWhenDoRow__P73531.info = {"start":3939,"length":93,"line":118,"column":8,"endLine":120,"endColumn":9,"fileName":"ruleview.ts","functionName":"getWhenDoRow","argumentNames":["this","whendo"]} +tileworld_RuleView_getWhenDoRow__P3651.info = {"start":3939,"length":93,"line":118,"column":8,"endLine":120,"endColumn":9,"fileName":"ruleview.ts","functionName":"getWhenDoRow","argumentNames":["this","whendo"]} -function tileworld_RuleView_getWhenDoRow__P73531_mk(s) { +function tileworld_RuleView_getWhenDoRow__P3651_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getWhenDoRow__P73531, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getWhenDoRow__P3651, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30280,7 +30282,7 @@ function tileworld_RuleView_getWhenDoRow__P73531_mk(s) { -function tileworld_RuleView_getWhenDoCol__P73530(s) { +function tileworld_RuleView_getWhenDoCol__P3650(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30296,7 +30298,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_0 = r0; @@ -30305,12 +30307,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getWhenDoCol__P73530.info = {"start":3836,"length":93,"line":114,"column":8,"endLine":116,"endColumn":9,"fileName":"ruleview.ts","functionName":"getWhenDoCol","argumentNames":["this","whendo"]} +tileworld_RuleView_getWhenDoCol__P3650.info = {"start":3836,"length":93,"line":114,"column":8,"endLine":116,"endColumn":9,"fileName":"ruleview.ts","functionName":"getWhenDoCol","argumentNames":["this","whendo"]} -function tileworld_RuleView_getWhenDoCol__P73530_mk(s) { +function tileworld_RuleView_getWhenDoCol__P3650_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getWhenDoCol__P73530, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getWhenDoCol__P3650, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30321,7 +30323,7 @@ function tileworld_RuleView_getWhenDoCol__P73530_mk(s) { -function tileworld_ruleediting_RuleDisplay_active__P82985(s) { +function tileworld_ruleediting_RuleDisplay_active__P3873469(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30338,7 +30340,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); r0 = s.arg0.fields["collideCol"]; s.tmp_1 = r0; r0 = (s.tmp_1 != -1); @@ -30389,12 +30391,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_active__P82985.info = {"start":5751,"length":231,"line":136,"column":8,"endLine":141,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"active","argumentNames":["this","col","row"]} +tileworld_ruleediting_RuleDisplay_active__P3873469.info = {"start":5751,"length":231,"line":136,"column":8,"endLine":141,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"active","argumentNames":["this","col","row"]} -function tileworld_ruleediting_RuleDisplay_active__P82985_mk(s) { +function tileworld_ruleediting_RuleDisplay_active__P3873469_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_active__P82985, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_active__P3873469, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30414,7 +30416,7 @@ function tileworld_ruleediting_RuleDisplay_active__P82985_mk(s) { -function tileworld_ruleediting_RuleEditor_inWhenPredicate__P84381(s) { +function tileworld_ruleediting_RuleEditor_inWhenPredicate__P6426(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30429,11 +30431,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1054; s.pc = 7; return s.tmp_2; + s.callLocIdx = 1066; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; @@ -30444,10 +30446,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1055; s.pc = 8; return s.tmp_4; + s.callLocIdx = 1067; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; s.tmp_3 = r0; @@ -30460,10 +30462,10 @@ switch (step) { r0 = s.tmp_5; { step = 4; continue; } case 3: - s.tmp_8 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_8.arg0 = s.arg0; s.tmp_8.arg1 = true; - s.callLocIdx = 1056; s.pc = 9; return s.tmp_8; + s.callLocIdx = 1068; s.pc = 9; return s.tmp_8; case 9: r0 = s.retval; s.tmp_7 = r0; @@ -30478,10 +30480,10 @@ switch (step) { r0 = s.tmp_9; { step = 6; continue; } case 5: - s.tmp_12 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_12 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_12.arg0 = s.arg0; s.tmp_12.arg1 = true; - s.callLocIdx = 1057; s.pc = 10; return s.tmp_12; + s.callLocIdx = 1069; s.pc = 10; return s.tmp_12; case 10: r0 = s.retval; s.tmp_11 = r0; @@ -30495,12 +30497,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_inWhenPredicate__P84381.info = {"start":10238,"length":176,"line":218,"column":8,"endLine":221,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"inWhenPredicate","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_inWhenPredicate__P6426.info = {"start":10238,"length":176,"line":218,"column":8,"endLine":221,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"inWhenPredicate","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_inWhenPredicate__P84381_mk(s) { +function tileworld_ruleediting_RuleEditor_inWhenPredicate__P6426_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_inWhenPredicate__P84381, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_inWhenPredicate__P6426, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30523,7 +30525,7 @@ function tileworld_ruleediting_RuleEditor_inWhenPredicate__P84381_mk(s) { -function tileworld_ruleediting_RuleEditor_resetRule__P84377(s) { +function tileworld_ruleediting_RuleEditor_resetRule__P6422(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30539,18 +30541,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); r0 = (s.arg0).fields["rule"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_resetRule__P84377.info = {"start":8444,"length":78,"line":175,"column":8,"endLine":177,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"resetRule","argumentNames":["this","rv"]} +tileworld_ruleediting_RuleEditor_resetRule__P6422.info = {"start":8444,"length":78,"line":175,"column":8,"endLine":177,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"resetRule","argumentNames":["this","rv"]} -function tileworld_ruleediting_RuleEditor_resetRule__P84377_mk(s) { +function tileworld_ruleediting_RuleEditor_resetRule__P6422_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_resetRule__P84377, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_resetRule__P6422, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -30560,7 +30562,7 @@ function tileworld_ruleediting_RuleEditor_resetRule__P84377_mk(s) { -function tileworld_RuleView_getRuleId__P73522(s) { +function tileworld_RuleView_getRuleId__P3642(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30575,17 +30577,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); r0 = s.arg0.fields["rid"]; return leave(s, r0) default: oops() } } } -tileworld_RuleView_getRuleId__P73522.info = {"start":1714,"length":59,"line":53,"column":8,"endLine":55,"endColumn":9,"fileName":"ruleview.ts","functionName":"getRuleId","argumentNames":["this"]} +tileworld_RuleView_getRuleId__P3642.info = {"start":1714,"length":59,"line":53,"column":8,"endLine":55,"endColumn":9,"fileName":"ruleview.ts","functionName":"getRuleId","argumentNames":["this"]} -function tileworld_RuleView_getRuleId__P73522_mk(s) { +function tileworld_RuleView_getRuleId__P3642_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getRuleId__P73522, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getRuleId__P3642, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30594,7 +30596,7 @@ function tileworld_RuleView_getRuleId__P73522_mk(s) { -function tileworld_Project_removeRule__P73587(s) { +function tileworld_Project_removeRule__P3707(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30604,31 +30606,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___78159 = undefined; + s.r___15029 = 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__C73562_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P78163); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P15034); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFind__P69989_mk(s); + s.tmp_1 = helpers_arrayFind__P109_mk(s); r0 = s.arg0.fields["rules"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 187; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.r___78159 = (r0); - r0 = pxsim_numops_toBoolDecr(s.r___78159); + s.r___15029 = (r0); + r0 = pxsim_numops_toBoolDecr(s.r___15029); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["rules"]; s.tmp_0 = r0; - r0 = pxsim_Array_.removeElement(s.tmp_0, s.r___78159); - s.tmp_0 = settings_remove__P71716_mk(s); + r0 = pxsim_Array_.removeElement(s.tmp_0, s.r___15029); + s.tmp_0 = settings_remove__P1836_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_4 = r0; if ((s.tmp_4) && (s.tmp_4).vtable) { @@ -30640,12 +30642,12 @@ switch (step) { case 5: r0 = s.retval; s.tmp_3 = r0; - if ((globals.RuleKey___78184) && (globals.RuleKey___78184).vtable) { + if ((globals.RuleKey___6015) && (globals.RuleKey___6015).vtable) { setupResume(s, 6); - pxsim_String__stringConv(globals.RuleKey___78184); + pxsim_String__stringConv(globals.RuleKey___6015); checkResumeConsumed(); return; - } else { s.retval = (globals.RuleKey___78184) + ""; } + } else { s.retval = (globals.RuleKey___6015) + ""; } case 6: r0 = s.retval; s.tmp_5 = r0; @@ -30682,12 +30684,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_removeRule__P73587.info = {"start":4966,"length":259,"line":142,"column":8,"endLine":148,"endColumn":9,"fileName":"project.ts","functionName":"removeRule","argumentNames":["this","rid"]} +tileworld_Project_removeRule__P3707.info = {"start":4966,"length":259,"line":142,"column":8,"endLine":148,"endColumn":9,"fileName":"project.ts","functionName":"removeRule","argumentNames":["this","rid"]} -function tileworld_Project_removeRule__P73587_mk(s) { +function tileworld_Project_removeRule__P3707_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_removeRule__P73587, depth: s.depth + 1, + parent: s, fn: tileworld_Project_removeRule__P3707, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30697,7 +30699,7 @@ function tileworld_Project_removeRule__P73587_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - r___78159: undefined, + r___15029: undefined, arg0: undefined, arg1: undefined, } } @@ -30706,7 +30708,7 @@ function tileworld_Project_removeRule__P73587_mk(s) { -function inline__P78163(s) { +function inline__P15034(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30726,12 +30728,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P78163.info = {"start":5035,"length":25,"line":143,"column":36,"endLine":143,"endColumn":61,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P15034.info = {"start":5035,"length":25,"line":143,"column":36,"endLine":143,"endColumn":61,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -function inline__P78163_mk(s) { +function inline__P15034_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P78163, depth: s.depth + 1, + parent: s, fn: inline__P15034, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30741,7 +30743,7 @@ function inline__P78163_mk(s) { -function tileworld_ruleediting_RuleEditor_currentRules__P84379(s) { +function tileworld_ruleediting_RuleEditor_currentRules__P6424(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30756,24 +30758,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_getRulesForSpriteKind__P73593_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_getRulesForSpriteKind__P3713_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["kind"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 1024; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1036; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_currentRules__P84379.info = {"start":8643,"length":163,"line":184,"column":8,"endLine":187,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"currentRules","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_currentRules__P6424.info = {"start":8643,"length":163,"line":184,"column":8,"endLine":187,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"currentRules","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_currentRules__P84379_mk(s) { +function tileworld_ruleediting_RuleEditor_currentRules__P6424_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_currentRules__P84379, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_currentRules__P6424, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30783,7 +30785,7 @@ function tileworld_ruleediting_RuleEditor_currentRules__P84379_mk(s) { -function Sprite_say__P71954(s) { +function Sprite_say__P2074(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30793,24 +30795,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.textToDisplay___91257 = undefined; - s.SAYKEY___91265 = undefined; - s.key___91267 = undefined; - s.pixelsOffset___91289 = undefined; - s.holdTextSeconds___91290 = undefined; - s.bubblePadding___91291 = undefined; - s.maxTextWidth___91292 = undefined; - s.font___91293 = undefined; - s.startX___91296 = undefined; - s.startY___91297 = undefined; - s.bubbleWidth___91298 = undefined; - s.maxOffset___91306 = undefined; - s.bubbleOffset___91314 = undefined; - s.needsRedraw___91319 = undefined; - s.speed___91320 = undefined; - s.currentScene___91321 = undefined; - s.imgh___91368 = undefined; - s.sayImg___91390 = undefined; + s.textToDisplay___15087 = undefined; + s.SAYKEY___15095 = undefined; + s.key___15097 = undefined; + s.pixelsOffset___15119 = undefined; + s.holdTextSeconds___15120 = undefined; + s.bubblePadding___15121 = undefined; + s.maxTextWidth___15122 = undefined; + s.font___15123 = undefined; + s.startX___15126 = undefined; + s.startY___15127 = undefined; + s.bubbleWidth___15128 = undefined; + s.maxOffset___15136 = undefined; + s.bubbleOffset___15144 = undefined; + s.needsRedraw___15149 = undefined; + s.speed___15150 = undefined; + s.currentScene___15151 = undefined; + s.imgh___15198 = undefined; + s.sayImg___15220 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30820,7 +30822,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg2); @@ -30836,7 +30838,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = Sprite_destroy__P71967_mk(s); + s.tmp_1 = Sprite_destroy__P2087_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -30850,9 +30852,9 @@ switch (step) { { step = 27; continue; } case 3: case 4: - s.tmp_0 = helpers_arrayJoin__P69981_mk(s); - s.tmp_1 = helpers_stringSplit__P69997_mk(s); - s.tmp_2 = console_inspect__P70251_mk(s); + s.tmp_0 = helpers_arrayJoin__P101_mk(s); + s.tmp_1 = helpers_stringSplit__P117_mk(s); + s.tmp_2 = console_inspect__P371_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = 20; s.callLocIdx = 298; s.pc = 31; return s.tmp_2; @@ -30869,21 +30871,21 @@ switch (step) { s.callLocIdx = 300; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.textToDisplay___91257 = (r0); - s.SAYKEY___91265 = ("__saykey"); + s.textToDisplay___15087 = (r0); + s.SAYKEY___15095 = ("__saykey"); r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "text", s.textToDisplay___91257); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "text", s.textToDisplay___15087); 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__P70256_mk(s); + s.tmp_1 = JSON_stringify__P376_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = null; s.tmp_1.arg2 = 0; s.callLocIdx = 301; s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; - s.key___91267 = (r0); + s.key___15097 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.arg2); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); @@ -30902,16 +30904,16 @@ switch (step) { r0 = s.tmp_2; { step = 8; continue; } case 7: - s.tmp_5 = Sprite_data__P71921_mk(s); + s.tmp_5 = Sprite_data__P2041_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_5.arg0 = r0; s.callLocIdx = 302; 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___91265); + r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_4, s.SAYKEY___15095); s.tmp_3 = r0; - r0 = (s.tmp_3 == s.key___91267); + r0 = (s.tmp_3 == s.key___15097); case 8: // jmp value (already in r0) s.tmp_6 = r0; @@ -30921,28 +30923,28 @@ switch (step) { case 9: case 10: r0 = pxsim_pxtrt.mklocRef(); - s.pixelsOffset___91289 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pixelsOffset___91289, 0); + s.pixelsOffset___15119 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pixelsOffset___15119, 0); r0 = pxsim_pxtrt.mklocRef(); - s.holdTextSeconds___91290 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.holdTextSeconds___91290, 1.5); - s.bubblePadding___91291 = (4); - s.maxTextWidth___91292 = (100); - s.tmp_0 = image_getFontForText__P71627_mk(s); - s.tmp_0.arg0 = s.textToDisplay___91257; + s.holdTextSeconds___15120 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.holdTextSeconds___15120, 1.5); + s.bubblePadding___15121 = (4); + s.maxTextWidth___15122 = (100); + s.tmp_0 = image_getFontForText__P1747_mk(s); + s.tmp_0.arg0 = s.textToDisplay___15087; s.callLocIdx = 303; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.font___91293 = (r0); - s.startX___91296 = (2); - s.startY___91297 = (2); + s.font___15123 = (r0); + s.startX___15126 = (2); + s.startY___15127 = (2); r0 = pxsim_pxtrt.mklocRef(); - s.bubbleWidth___91298 = (r0); - s.tmp_0 = r0 = s.bubbleWidth___91298; - r0 = pxsim_String_.length(s.textToDisplay___91257); + s.bubbleWidth___15128 = (r0); + s.tmp_0 = r0 = s.bubbleWidth___15128; + r0 = pxsim_String_.length(s.textToDisplay___15087); s.tmp_3 = r0; s.tmp_5 = if_charWidth_1_mk(s); - s.tmp_5.arg0 = s.font___91293; + s.tmp_5.arg0 = s.font___15123; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charWidth"); } else { @@ -30956,16 +30958,16 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.bubblePadding___91291); + r0 = (s.tmp_2 + s.bubblePadding___15121); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.maxOffset___91306 = (r0); - s.tmp_0 = r0 = s.maxOffset___91306; - r0 = pxsim_String_.length(s.textToDisplay___91257); + s.maxOffset___15136 = (r0); + s.tmp_0 = r0 = s.maxOffset___15136; + r0 = pxsim_String_.length(s.textToDisplay___15087); s.tmp_3 = r0; s.tmp_5 = if_charWidth_1_mk(s); - s.tmp_5.arg0 = s.font___91293; + s.tmp_5.arg0 = s.font___15123; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charWidth"); } else { @@ -30979,7 +30981,7 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.maxTextWidth___91292); + r0 = (s.tmp_2 - s.maxTextWidth___15122); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = s.arg0.fields["_hitbox"]; @@ -30988,18 +30990,18 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.bubbleOffset___91314 = (r0); + s.bubbleOffset___15144 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.needsRedraw___91319 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.needsRedraw___91319, true); + s.needsRedraw___15149 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.needsRedraw___15149, true); r0 = pxsim_pxtrt.mklocRef(); - s.speed___91320 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.speed___91320, 45); - s.tmp_0 = game_currentScene__P72409_mk(s); + s.speed___15150 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.speed___15150, 45); + s.tmp_0 = game_currentScene__P2529_mk(s); s.callLocIdx = 307; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.currentScene___91321 = (r0); + s.currentScene___15151 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -31007,7 +31009,7 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 11: - r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___91306); + r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___15136); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); case 12: @@ -31015,10 +31017,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___91320; - r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___91306); + s.tmp_3 = r0 = s.speed___15150; + r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___15136); s.tmp_6 = r0; - r0 = (2 * s.maxTextWidth___91292); + r0 = (2 * s.maxTextWidth___15122); s.tmp_7 = r0; r0 = (s.tmp_6 + s.tmp_7); s.tmp_5 = r0; @@ -31029,9 +31031,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___91320; - s.tmp_2 = Math_max__P70005_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.speed___91320); + s.tmp_0 = r0 = s.speed___15150; + s.tmp_2 = Math_max__P125_mk(s); + r0 = pxsim_pxtrt_ldlocRef(s.speed___15150); s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 45; s.callLocIdx = 308; s.pc = 38; return s.tmp_2; @@ -31039,16 +31041,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___91290; - s.tmp_2 = r0 = s.maxTextWidth___91292; - r0 = pxsim_pxtrt_ldlocRef(s.speed___91320); + s.tmp_0 = r0 = s.holdTextSeconds___15120; + s.tmp_2 = r0 = s.maxTextWidth___15122; + r0 = pxsim_pxtrt_ldlocRef(s.speed___15150); 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___91290; - s.tmp_2 = Math_min__P70006_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.holdTextSeconds___91290); + s.tmp_0 = r0 = s.holdTextSeconds___15120; + s.tmp_2 = Math_min__P126_mk(s); + r0 = pxsim_pxtrt_ldlocRef(s.holdTextSeconds___15120); s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1.5; s.callLocIdx = 309; s.pc = 39; return s.tmp_2; @@ -31065,31 +31067,31 @@ switch (step) { s.tmp_1 = r0 = s.arg2; r0 = pxsim_pxtrt_ldlocRef(s.arg2); s.tmp_3 = r0; - r0 = s.currentScene___91321.fields["_millis"]; + r0 = s.currentScene___15151.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___91298); + r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___15128); s.tmp_1 = r0; - r0 = (s.maxTextWidth___91292 + s.bubblePadding___91291); + r0 = (s.maxTextWidth___15122 + s.bubblePadding___15121); 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___91298; - r0 = (s.maxTextWidth___91292 + s.bubblePadding___91291); + s.tmp_3 = r0 = s.bubbleWidth___15128; + r0 = (s.maxTextWidth___15122 + s.bubblePadding___15121); 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___91306, -1); + r0 = pxsim_pxtrt_stlocRef(s.maxOffset___15136, -1); case 18: s.tmp_1 = if_charHeight_1_mk(s); - s.tmp_1.arg0 = s.font___91293; + s.tmp_1.arg0 = s.font___15123; if (!s.tmp_1.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "charHeight"); } else { @@ -31101,8 +31103,8 @@ switch (step) { case 40: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 + s.bubblePadding___91291); - s.imgh___91368 = (r0); + r0 = (s.tmp_0 + s.bubblePadding___15121); + s.imgh___15198 = (r0); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -31120,7 +31122,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___91298); + r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___15128); s.tmp_6 = r0; r0 = (s.tmp_3 != s.tmp_6); case 20: @@ -31137,39 +31139,39 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_ImageMethods.height(s.tmp_9); s.tmp_8 = r0; - r0 = (s.tmp_8 != s.imgh___91368); + r0 = (s.tmp_8 != s.imgh___15198); 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___91298); + r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___15128); s.tmp_12 = r0; - r0 = pxsim.image.create(s.tmp_12, s.imgh___91368); - s.sayImg___91390 = (r0); + r0 = pxsim.image.create(s.tmp_12, s.imgh___15198); + s.sayImg___15220 = (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__P71936_mk(s); + s.tmp_1 = Sprite_setImage__P2056_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.sayImg___91390; + s.tmp_1.arg1 = s.sayImg___15220; s.callLocIdx = 314; 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__P71854_mk(s); - s.tmp_2.arg0 = s.sayImg___91390; + s.tmp_2 = sprites_create__P1974_mk(s); + s.tmp_2.arg0 = s.sayImg___15220; s.tmp_2.arg1 = -1; s.callLocIdx = 315; 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__P71959_mk(s); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 1; @@ -31177,7 +31179,7 @@ switch (step) { s.callLocIdx = 316; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.tmp_0 = Sprite_setFlag__P71959_mk(s); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 512; @@ -31199,39 +31201,39 @@ switch (step) { case 24: case 25: case 26: - s.tmp_1 = Sprite_data__P71921_mk(s); + s.tmp_1 = Sprite_data__P2041_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; s.callLocIdx = 318; 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___91265, s.key___91267); - r0 = pxsim_pxtcore_mkAction(18, inline__P91430); + r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_0, s.SAYKEY___15095, s.key___15097); + r0 = pxsim_pxtcore_mkAction(18, inline__P15260); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.bubbleOffset___91314); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.font___91293); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.bubblePadding___91291); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.bubbleOffset___15144); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.font___15123); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.bubblePadding___15121); r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.arg2); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.currentScene___91321); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.holdTextSeconds___91290); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.pixelsOffset___91289); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.maxTextWidth___91292); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.speed___91320); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.needsRedraw___91319); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.maxOffset___91306); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.currentScene___15151); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.holdTextSeconds___15120); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.pixelsOffset___15119); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.maxTextWidth___15122); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.speed___15150); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.needsRedraw___15149); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.maxOffset___15136); r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.arg4); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 13, s.textToDisplay___91257); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 14, s.startX___91296); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 15, s.startY___91297); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 13, s.textToDisplay___15087); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 14, s.startX___15126); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 15, s.startY___15127); r0 = pxsim_pxtrt_stclo(s.tmp_0, 16, s.arg3); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 17, s.bubbleWidth___91298); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 17, s.bubbleWidth___15128); 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___91321.fields["camera"]; + r0 = s.currentScene___15151.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); @@ -31249,12 +31251,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_say__P71954.info = {"start":13031,"length":6828,"line":467,"column":4,"endLine":618,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"say","argumentNames":["this","text","timeOnScreen","textColor","textBoxColor"]} +Sprite_say__P2074.info = {"start":13031,"length":6828,"line":467,"column":4,"endLine":618,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"say","argumentNames":["this","text","timeOnScreen","textColor","textBoxColor"]} -function Sprite_say__P71954_mk(s) { +function Sprite_say__P2074_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_say__P71954, depth: s.depth + 1, + parent: s, fn: Sprite_say__P2074, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31269,24 +31271,24 @@ function Sprite_say__P71954_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - textToDisplay___91257: undefined, - SAYKEY___91265: undefined, - key___91267: undefined, - pixelsOffset___91289: undefined, - holdTextSeconds___91290: undefined, - bubblePadding___91291: undefined, - maxTextWidth___91292: undefined, - font___91293: undefined, - startX___91296: undefined, - startY___91297: undefined, - bubbleWidth___91298: undefined, - maxOffset___91306: undefined, - bubbleOffset___91314: undefined, - needsRedraw___91319: undefined, - speed___91320: undefined, - currentScene___91321: undefined, - imgh___91368: undefined, - sayImg___91390: undefined, + textToDisplay___15087: undefined, + SAYKEY___15095: undefined, + key___15097: undefined, + pixelsOffset___15119: undefined, + holdTextSeconds___15120: undefined, + bubblePadding___15121: undefined, + maxTextWidth___15122: undefined, + font___15123: undefined, + startX___15126: undefined, + startY___15127: undefined, + bubbleWidth___15128: undefined, + maxOffset___15136: undefined, + bubbleOffset___15144: undefined, + needsRedraw___15149: undefined, + speed___15150: undefined, + currentScene___15151: undefined, + imgh___15198: undefined, + sayImg___15220: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31298,7 +31300,7 @@ function Sprite_say__P71954_mk(s) { -function inline__P91430(s) { +function inline__P15260(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31308,17 +31310,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___91468 = undefined; - s.oy___91471 = undefined; + s.ox___15298 = undefined; + s.oy___15301 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_0.arg0 = r0; - s.tmp_4 = Sprite_top__P71946_mk(s); + s.tmp_4 = Sprite_top__P2066_mk(s); s.tmp_4.arg0 = s.caps[0]; s.callLocIdx = 319; s.pc = 26; return s.tmp_4; case 26: @@ -31350,10 +31352,10 @@ switch (step) { s.callLocIdx = 321; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = Sprite_x__P71906_mk(s); + s.tmp_0 = Sprite_x__P2026_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P71905_mk(s); + s.tmp_1 = Sprite_x__P2025_mk(s); s.tmp_1.arg0 = s.caps[0]; s.callLocIdx = 322; s.pc = 29; return s.tmp_1; case 29: @@ -31411,10 +31413,10 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 23; continue; } - s.tmp_9 = Sprite__C71896_v4_2_mk(s); + s.tmp_9 = Sprite__C2016_v4_2_mk(s); s.tmp_9.arg0 = s.caps[0]; s.tmp_9.arg1 = s.arg1; - if (!checkSubtype(s.tmp_9.arg0, Sprite__C71896_VT)) failedCast(s.tmp_9.arg0); + if (!checkSubtype(s.tmp_9.arg0, Sprite__C2016_VT)) failedCast(s.tmp_9.arg0); s.tmp_9.fn = s.tmp_9.arg0.vtable.methods.isOutOfScreen; s.pc = 32; return s.tmp_9; case 32: @@ -31427,23 +31429,23 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 9; continue; } r0 = s.arg1.fields["_offsetX"]; - s.ox___91468 = (r0); + s.ox___15298 = (r0); r0 = s.arg1.fields["_offsetY"]; - s.oy___91471 = (r0); - s.tmp_3 = Sprite_left__P71942_mk(s); + s.oy___15301 = (r0); + s.tmp_3 = Sprite_left__P2062_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 329; s.pc = 33; return s.tmp_3; case 33: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___91468); + r0 = (s.tmp_2 - s.ox___15298); 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__P71943_mk(s); + s.tmp_4 = Sprite_left__P2063_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; @@ -31452,55 +31454,55 @@ switch (step) { r0 = s.retval; case 3: case 4: - s.tmp_3 = Sprite_right__P71944_mk(s); + s.tmp_3 = Sprite_right__P2064_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 331; s.pc = 35; return s.tmp_3; case 35: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___91468); + r0 = (s.tmp_2 - s.ox___15298); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + r0 = pxsim_ImageMethods.width(globals.screen___1802); 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__P71945_mk(s); + s.tmp_5 = Sprite_right__P2065_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_5.arg0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_5.arg1 = r0; s.callLocIdx = 332; s.pc = 36; return s.tmp_5; case 36: r0 = s.retval; case 5: case 6: - s.tmp_3 = Sprite_top__P71946_mk(s); + s.tmp_3 = Sprite_top__P2066_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 333; s.pc = 37; return s.tmp_3; case 37: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.oy___91471); + r0 = (s.tmp_2 - s.oy___15301); 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__P71908_mk(s); + s.tmp_4 = Sprite_y__P2028_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_4.arg0 = r0; - s.tmp_7 = Sprite_y__P71907_mk(s); + s.tmp_7 = Sprite_y__P2027_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_7.arg0 = r0; s.callLocIdx = 334; s.pc = 39; return s.tmp_7; case 39: r0 = s.retval; s.tmp_6 = r0; - s.tmp_10 = Sprite_y__P71907_mk(s); + s.tmp_10 = Sprite_y__P2027_mk(s); s.tmp_10.arg0 = s.caps[0]; s.callLocIdx = 335; s.pc = 40; return s.tmp_10; case 40: @@ -31528,7 +31530,7 @@ switch (step) { s.tmp_2 = r0 = s.caps[6]; r0 = pxsim_pxtrt_ldlocRef(s.caps[6]); s.tmp_4 = r0; - s.tmp_7 = game_eventContext__P72412_mk(s); + s.tmp_7 = game_eventContext__P2532_mk(s); s.callLocIdx = 337; s.pc = 41; return s.tmp_7; case 41: r0 = s.retval; @@ -31620,7 +31622,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - s.tmp_2 = helpers_imagePrint__P71640_mk(s); + s.tmp_2 = helpers_imagePrint__P1760_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_image"]; @@ -31636,7 +31638,7 @@ switch (step) { r0 = s.retval; { step = 20; continue; } case 19: - s.tmp_0 = helpers_imagePrint__P71640_mk(s); + s.tmp_0 = helpers_imagePrint__P1760_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_image"]; @@ -31655,7 +31657,7 @@ switch (step) { case 43: r0 = s.retval; case 20: - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_image"]; @@ -31683,7 +31685,7 @@ switch (step) { s.callLocIdx = 346; s.pc = 44; return s.tmp_0; case 44: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_image"]; @@ -31783,7 +31785,7 @@ switch (step) { { step = 24; continue; } case 23: r0 = (s.caps[0]).fields["updateSay"] = (undefined); - s.tmp_0 = Sprite_destroy__P71967_mk(s); + s.tmp_0 = Sprite_destroy__P2087_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; @@ -31797,12 +31799,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P91430.info = {"start":16001,"length":3804,"line":542,"column":25,"endLine":616,"endColumn":9,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["dt","camera"]} +inline__P15260.info = {"start":16001,"length":3804,"line":542,"column":25,"endLine":616,"endColumn":9,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["dt","camera"]} -function inline__P91430_mk(s) { +function inline__P15260_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P91430, depth: s.depth + 1, + parent: s, fn: inline__P15260, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31815,8 +31817,8 @@ function inline__P91430_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - ox___91468: undefined, - oy___91471: undefined, + ox___15298: undefined, + oy___15301: undefined, arg0: undefined, arg1: undefined, } } @@ -31825,7 +31827,7 @@ function inline__P91430_mk(s) { -function Sprite_destroy__P71967(s) { +function Sprite_destroy__P2087(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31842,7 +31844,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -31860,7 +31862,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__P72669_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P2789_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; @@ -31870,7 +31872,7 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite__destroyCore__P71968_mk(s); + s.tmp_0 = Sprite__destroyCore__P2088_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 438; s.pc = 7; return s.tmp_0; case 7: @@ -31881,12 +31883,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_destroy__P71967.info = {"start":28323,"length":293,"line":858,"column":4,"endLine":867,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} +Sprite_destroy__P2087.info = {"start":28323,"length":293,"line":858,"column":4,"endLine":867,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} -function Sprite_destroy__P71967_mk(s) { +function Sprite_destroy__P2087_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P71967, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P2087, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31902,7 +31904,7 @@ function Sprite_destroy__P71967_mk(s) { -function effects_ParticleEffect_destroy__P72669(s) { +function effects_ParticleEffect_destroy__P2789(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31920,15 +31922,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C72666_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P71959_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C2786_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = true; - s.callLocIdx = 1182; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1180; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = effects_ParticleEffect_start__P72668_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P2788_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -31945,7 +31947,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg4 = r0; - s.callLocIdx = 1183; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1181; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -31960,22 +31962,22 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg1).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = effects_ImageEffect_applyTo__P72695_mk(s); - s.tmp_0.arg0 = globals.dissolve___72698; + s.tmp_0 = effects_ImageEffect_applyTo__P2815_mk(s); + s.tmp_0.arg0 = globals.dissolve___2818; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1184; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1182; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -effects_ParticleEffect_destroy__P72669.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__P2789.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__P72669_mk(s) { +function effects_ParticleEffect_destroy__P2789_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P72669, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P2789, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31993,7 +31995,7 @@ function effects_ParticleEffect_destroy__P72669_mk(s) { -function inline__P95673(s) { +function inline__P16207(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32003,11 +32005,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___95676 = undefined; - s.x___95687 = undefined; - s.y___95693 = undefined; - s.w___95699 = undefined; - s.h___95703 = undefined; + s.i___16210 = undefined; + s.x___16221 = undefined; + s.y___16227 = undefined; + s.w___16233 = undefined; + s.h___16237 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32020,13 +32022,13 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___95676 = (r0); + s.i___16210 = (r0); case 1: - r0 = (s.i___95676 > 0); + r0 = (s.i___16210 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P72467_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P2587_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -32034,8 +32036,8 @@ switch (step) { s.callLocIdx = 39; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___95687 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P72467_mk(s); + s.x___16221 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P2587_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -32043,56 +32045,56 @@ switch (step) { s.callLocIdx = 40; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___95693 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P72467_mk(s); + s.y___16227 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P2587_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 41; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.w___95699 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P72467_mk(s); + s.w___16233 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P2587_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 42; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.h___95703 = (r0); - s.tmp_0 = helpers_imageDrawRect__P71611_mk(s); + s.h___16237 = (r0); + s.tmp_0 = helpers_imageDrawRect__P1731_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___95687; - s.tmp_0.arg2 = s.y___95693; - s.tmp_0.arg3 = s.w___95699; - s.tmp_0.arg4 = s.h___95703; + s.tmp_0.arg1 = s.x___16221; + s.tmp_0.arg2 = s.y___16227; + s.tmp_0.arg3 = s.w___16233; + s.tmp_0.arg4 = s.h___16237; s.tmp_0.arg5 = 0; s.callLocIdx = 43; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___95676 - 1); - s.i___95676 = (r0); + r0 = (s.i___16210 - 1); + s.i___16210 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P95673.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__P16207.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__P95673_mk(s) { +function inline__P16207_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P95673, depth: s.depth + 1, + parent: s, fn: inline__P16207, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___95676: undefined, - x___95687: undefined, - y___95693: undefined, - w___95699: undefined, - h___95703: undefined, + i___16210: undefined, + x___16221: undefined, + y___16227: undefined, + w___16233: undefined, + h___16237: undefined, arg0: undefined, arg1: undefined, } } @@ -32101,7 +32103,7 @@ function inline__P95673_mk(s) { -function effects_ImageEffect_applyTo__P72695(s) { +function effects_ImageEffect_applyTo__P2815(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32111,14 +32113,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___95724 = undefined; + s.clonedImage___16258 = 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__C72693_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C2813_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -32144,17 +32146,17 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___95724 = (r0); - s.tmp_0 = effects_ImageEffect_change__P72696_mk(s); + s.clonedImage___16258 = (r0); + s.tmp_0 = effects_ImageEffect_change__P2816_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___95724; - s.callLocIdx = 1195; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___16258; + s.callLocIdx = 1193; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P71936_mk(s); + s.tmp_0 = Sprite_setImage__P2056_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___95724; - s.callLocIdx = 1196; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___16258; + s.callLocIdx = 1194; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 5: @@ -32162,12 +32164,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_applyTo__P72695.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__P2815.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__P72695_mk(s) { +function effects_ImageEffect_applyTo__P2815_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P72695, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P2815, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32175,7 +32177,7 @@ function effects_ImageEffect_applyTo__P72695_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___95724: undefined, + clonedImage___16258: undefined, arg0: undefined, arg1: undefined, } } @@ -32184,7 +32186,7 @@ function effects_ImageEffect_applyTo__P72695_mk(s) { -function effects_ImageEffect_change__P72696(s) { +function effects_ImageEffect_change__P2816(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32200,7 +32202,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C72693_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C2813_VT)) failedCast(r0); s.tmp_0 = if_effect_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -32208,12 +32210,12 @@ switch (step) { s.tmp_0.arg2 = r0; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "effect"), 3); - s.callLocIdx = 1197; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1195; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["effect"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["effect"], 3); s.callLocIdx = 1197; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1197; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 1197; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["effect"], 3); s.callLocIdx = 1195; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1195; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 1195; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -32221,12 +32223,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_change__P72696.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__P2816.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__P72696_mk(s) { +function effects_ImageEffect_change__P2816_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P72696, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P2816, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32237,7 +32239,7 @@ function effects_ImageEffect_change__P72696_mk(s) { -function effects_ParticleEffect_start__P72668(s) { +function effects_ParticleEffect_start__P2788(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32247,7 +32249,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___95748 = undefined; + s.src___16282 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32257,7 +32259,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C72666_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C2786_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -32284,18 +32286,18 @@ switch (step) { s.tmp_4.arg2 = s.tmp_3; if (!s.tmp_4.arg0.vtable.iface) { setupLambda(s.tmp_4, pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "sourceFactory"), 3); - s.callLocIdx = 1180; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1178; s.pc = 10; return s.tmp_4; } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["sourceFactory"]; - if (s.tmp_4.fn == null) { setupLambda(s.tmp_4, s.tmp_4.arg0.fields["sourceFactory"], 3); s.callLocIdx = 1180; s.pc = 10; return s.tmp_4; } - else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 1180; s.pc = 10; return s.tmp_4;; } - else { s.callLocIdx = 1180; s.pc = 10; return s.tmp_4; } + if (s.tmp_4.fn == null) { setupLambda(s.tmp_4, s.tmp_4.arg0.fields["sourceFactory"], 3); s.callLocIdx = 1178; s.pc = 10; return s.tmp_4; } + else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 1178; s.pc = 10; return s.tmp_4;; } + else { s.callLocIdx = 1178; s.pc = 10; return s.tmp_4; } } case 10: r0 = s.retval; - s.src___95748 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P72566_mk(s); - s.tmp_0.arg0 = s.src___95748; + s.src___16282 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P2686_mk(s); + s.tmp_0.arg0 = s.src___16282; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -32304,7 +32306,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 1181; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1179; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -32320,7 +32322,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___95748).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___16282).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -32328,19 +32330,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_start__P72668.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__P2788.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__P72668_mk(s) { +function effects_ParticleEffect_start__P2788_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P72668, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P2788, depth: s.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___95748: undefined, + src___16282: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32352,7 +32354,7 @@ function effects_ParticleEffect_start__P72668_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P72566(s) { +function particles_ParticleSource_setRelativeToCamera__P2686(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32368,7 +32370,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C72555_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2675_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -32394,12 +32396,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRelativeToCamera__P72566.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__P2686.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__P72566_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P2686_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P72566, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P2686, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32414,7 +32416,7 @@ function particles_ParticleSource_setRelativeToCamera__P72566_mk(s) { -function Sprite__destroyCore__P71968(s) { +function Sprite__destroyCore__P2088(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32424,29 +32426,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___95578 = undefined; + s.scene___16107 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_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__P72409_mk(s); + s.tmp_0 = game_currentScene__P2529_mk(s); s.callLocIdx = 439; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.scene___95578 = (r0); + s.scene___16107 = (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__P71967_mk(s); + s.tmp_1 = Sprite_destroy__P2087_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -32456,7 +32458,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = s.scene___95578.fields["allSprites"]; + r0 = s.scene___16107.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -32468,7 +32470,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = s.scene___95578.fields["spritesByKind"]; + r0 = s.scene___16107.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -32478,8 +32480,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__P71998_mk(s); - r0 = s.scene___95578.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P2118_mk(s); + r0 = s.scene___16107.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; @@ -32491,11 +32493,11 @@ switch (step) { r0 = s.retval; case 5: case 6: - s.tmp_0 = PhysicsEngine__C72039_v1_2_mk(s); - r0 = s.scene___95578.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C2159_v1_2_mk(s); + r0 = s.scene___16107.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C72039_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2159_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: @@ -32519,15 +32521,15 @@ switch (step) { r0 = s.retval; case 7: case 8: - r0 = pxsim_pxtcore_mkAction(1, inline__P95614); + r0 = pxsim_pxtcore_mkAction(1, inline__P16143); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P95620); + r0 = pxsim_pxtcore_mkAction(1, inline__P16150); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P69987_mk(s); - s.tmp_3 = helpers_arrayFilter__P69988_mk(s); - r0 = s.scene___95578.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P107_mk(s); + s.tmp_3 = helpers_arrayFilter__P108_mk(s); + r0 = s.scene___16107.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 447; s.pc = 15; return s.tmp_3; @@ -32542,12 +32544,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore__P71968.info = {"start":28622,"length":693,"line":869,"column":4,"endLine":885,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} +Sprite__destroyCore__P2088.info = {"start":28622,"length":693,"line":869,"column":4,"endLine":885,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} -function Sprite__destroyCore__P71968_mk(s) { +function Sprite__destroyCore__P2088_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P71968, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P2088, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32557,7 +32559,7 @@ function Sprite__destroyCore__P71968_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___95578: undefined, + scene___16107: undefined, arg0: undefined, } } @@ -32565,7 +32567,7 @@ function Sprite__destroyCore__P71968_mk(s) { -function inline__P95614(s) { +function inline__P16143(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32587,12 +32589,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P95614.info = {"start":29238,"length":26,"line":883,"column":20,"endLine":883,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P16143.info = {"start":29238,"length":26,"line":883,"column":20,"endLine":883,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P95614_mk(s) { +function inline__P16143_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P95614, depth: s.depth + 1, + parent: s, fn: inline__P16143, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32603,7 +32605,7 @@ function inline__P95614_mk(s) { -function inline__P95620(s) { +function inline__P16150(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32635,12 +32637,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P95620.info = {"start":29287,"length":20,"line":884,"column":21,"endLine":884,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P16150.info = {"start":29287,"length":20,"line":884,"column":21,"endLine":884,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P95620_mk(s) { +function inline__P16150_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P95620, depth: s.depth + 1, + parent: s, fn: inline__P16150, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32650,7 +32652,7 @@ function inline__P95620_mk(s) { -function PhysicsEngine_removeSprite__P72042(s) { +function PhysicsEngine_removeSprite__P2162(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32666,17 +32668,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C72039_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2159_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_removeSprite__P72042.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__P2162.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__P72042_mk(s) { +function PhysicsEngine_removeSprite__P2162_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P72042, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P2162, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -32686,7 +32688,7 @@ function PhysicsEngine_removeSprite__P72042_mk(s) { -function sprites_SpriteSet_remove__P71998(s) { +function sprites_SpriteSet_remove__P2118(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32696,26 +32698,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___95628 = undefined; + s.i___16159 = 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__C71991_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2111_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___95628 = (r0); - r0 = (s.i___95628 > -1); + s.i___16159 = (r0); + r0 = (s.i___16159 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySplice__P69978_mk(s); + s.tmp_1 = helpers_arraySplice__P98_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___95628; + s.tmp_1.arg1 = s.i___16159; s.tmp_1.arg2 = 1; s.callLocIdx = 493; s.pc = 4; return s.tmp_1; case 4: @@ -32729,16 +32731,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_remove__P71998.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__P2118.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__P71998_mk(s) { +function sprites_SpriteSet_remove__P2118_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P71998, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P2118, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___95628: undefined, + i___16159: undefined, arg0: undefined, arg1: undefined, } } @@ -32747,7 +32749,7 @@ function sprites_SpriteSet_remove__P71998_mk(s) { -function Sprite_kind__P71950(s) { +function Sprite_kind__P2070(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32762,17 +32764,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -Sprite_kind__P71950.info = {"start":10604,"length":41,"line":387,"column":4,"endLine":389,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} +Sprite_kind__P2070.info = {"start":10604,"length":41,"line":387,"column":4,"endLine":389,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} -function Sprite_kind__P71950_mk(s) { +function Sprite_kind__P2070_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P71950, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P2070, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -32781,7 +32783,7 @@ function Sprite_kind__P71950_mk(s) { -function Sprite_isOutOfScreen__P71956(s) { +function Sprite_isOutOfScreen__P2076(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32791,15 +32793,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___91699 = undefined; - s.oy___91707 = undefined; + s.ox___15502 = undefined; + s.oy___15510 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -32813,7 +32815,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___91699 = (s.tmp_2); + s.ox___15502 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -32827,14 +32829,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___91707 = (s.tmp_2); - s.tmp_3 = Sprite_right__P71944_mk(s); + s.oy___15510 = (s.tmp_2); + s.tmp_3 = Sprite_right__P2064_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 358; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___91699); + r0 = (s.tmp_2 - s.ox___15502); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -32843,13 +32845,13 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_6 = Sprite_bottom__P71948_mk(s); + s.tmp_6 = Sprite_bottom__P2068_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 359; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___91707); + r0 = (s.tmp_5 - s.oy___15510); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -32860,15 +32862,15 @@ switch (step) { r0 = s.tmp_7; { step = 8; continue; } case 7: - s.tmp_10 = Sprite_left__P71942_mk(s); + s.tmp_10 = Sprite_left__P2062_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 360; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___91699); + r0 = (s.tmp_9 - s.ox___15502); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_11 = r0; r0 = (s.tmp_8 > s.tmp_11); case 8: @@ -32879,15 +32881,15 @@ switch (step) { r0 = s.tmp_12; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_top__P71946_mk(s); + s.tmp_15 = Sprite_top__P2066_mk(s); s.tmp_15.arg0 = s.arg0; s.callLocIdx = 361; s.pc = 14; return s.tmp_15; case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___91707); + r0 = (s.tmp_14 - s.oy___15510); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___71682); + r0 = pxsim_ImageMethods.height(globals.screen___1802); s.tmp_16 = r0; r0 = (s.tmp_13 > s.tmp_16); case 10: @@ -32897,12 +32899,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isOutOfScreen__P71956.info = {"start":20411,"length":358,"line":636,"column":4,"endLine":640,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} +Sprite_isOutOfScreen__P2076.info = {"start":20411,"length":358,"line":636,"column":4,"endLine":640,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} -function Sprite_isOutOfScreen__P71956_mk(s) { +function Sprite_isOutOfScreen__P2076_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P71956, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P2076, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32922,8 +32924,8 @@ function Sprite_isOutOfScreen__P71956_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___91699: undefined, - oy___91707: undefined, + ox___15502: undefined, + oy___15510: undefined, arg0: undefined, arg1: undefined, } } @@ -32932,7 +32934,7 @@ function Sprite_isOutOfScreen__P71956_mk(s) { -function Sprite_bottom__P71948(s) { +function Sprite_bottom__P2068(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32947,8 +32949,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P71946_mk(s); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P2066_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 288; s.pc = 1; return s.tmp_1; case 1: @@ -32962,13 +32964,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_bottom__P71948.info = {"start":10083,"length":59,"line":369,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} -Sprite_bottom__P71948.isGetter = true; +Sprite_bottom__P2068.info = {"start":10083,"length":59,"line":369,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} +Sprite_bottom__P2068.isGetter = true; -function Sprite_bottom__P71948_mk(s) { +function Sprite_bottom__P2068_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P71948, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P2068, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32981,7 +32983,7 @@ function Sprite_bottom__P71948_mk(s) { -function Sprite_height__P71941(s) { +function Sprite_height__P2061(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32996,20 +32998,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_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__P71941.info = {"start":8639,"length":54,"line":314,"column":4,"endLine":316,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} -Sprite_height__P71941.isGetter = true; +Sprite_height__P2061.info = {"start":8639,"length":54,"line":314,"column":4,"endLine":316,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} +Sprite_height__P2061.isGetter = true; -function Sprite_height__P71941_mk(s) { +function Sprite_height__P2061_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P71941, depth: s.depth + 1, + parent: s, fn: Sprite_height__P2061, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33019,7 +33021,7 @@ function Sprite_height__P71941_mk(s) { -function Sprite_right__P71945(s) { +function Sprite_right__P2065(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33035,8 +33037,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P71943_mk(s); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P2063_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -33052,12 +33054,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_right__P71945.info = {"start":9428,"length":71,"line":344,"column":4,"endLine":346,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} +Sprite_right__P2065.info = {"start":9428,"length":71,"line":344,"column":4,"endLine":346,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} -function Sprite_right__P71945_mk(s) { +function Sprite_right__P2065_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P71945, depth: s.depth + 1, + parent: s, fn: Sprite_right__P2065, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33071,7 +33073,7 @@ function Sprite_right__P71945_mk(s) { -function Sprite_width__P71940(s) { +function Sprite_width__P2060(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33086,20 +33088,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_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__P71940.info = {"start":8494,"length":52,"line":309,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} -Sprite_width__P71940.isGetter = true; +Sprite_width__P2060.info = {"start":8494,"length":52,"line":309,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} +Sprite_width__P2060.isGetter = true; -function Sprite_width__P71940_mk(s) { +function Sprite_width__P2060_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P71940, depth: s.depth + 1, + parent: s, fn: Sprite_width__P2060, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33109,7 +33111,7 @@ function Sprite_width__P71940_mk(s) { -function Sprite_right__P71944(s) { +function Sprite_right__P2064(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33124,8 +33126,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P71942_mk(s); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P2062_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 280; s.pc = 1; return s.tmp_1; case 1: @@ -33139,13 +33141,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_right__P71944.info = {"start":9279,"length":57,"line":339,"column":4,"endLine":341,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} -Sprite_right__P71944.isGetter = true; +Sprite_right__P2064.info = {"start":9279,"length":57,"line":339,"column":4,"endLine":341,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} +Sprite_right__P2064.isGetter = true; -function Sprite_right__P71944_mk(s) { +function Sprite_right__P2064_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P71944, depth: s.depth + 1, + parent: s, fn: Sprite_right__P2064, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33158,7 +33160,7 @@ function Sprite_right__P71944_mk(s) { -function Sprite_setImage__P71936(s) { +function Sprite_setImage__P2056(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33174,7 +33176,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -33185,7 +33187,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["_image"] = (s.arg1); - s.tmp_0 = Sprite_setHitbox__P71937_mk(s); + s.tmp_0 = Sprite_setHitbox__P2057_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 258; s.pc = 4; return s.tmp_0; case 4: @@ -33195,12 +33197,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setImage__P71936.info = {"start":6825,"length":133,"line":252,"column":4,"endLine":256,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} +Sprite_setImage__P2056.info = {"start":6825,"length":133,"line":252,"column":4,"endLine":256,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} -function Sprite_setImage__P71936_mk(s) { +function Sprite_setImage__P2056_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P71936, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P2056, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33212,7 +33214,7 @@ function Sprite_setImage__P71936_mk(s) { -function Sprite_setHitbox__P71937(s) { +function Sprite_setHitbox__P2057(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33222,29 +33224,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newHitBox___91747 = undefined; - s.oMinX___91755 = undefined; - s.oMinY___91759 = undefined; - s.oMaxX___91763 = undefined; - s.oMaxY___91770 = undefined; - s.nMinX___91777 = undefined; - s.nMinY___91780 = undefined; - s.nMaxX___91783 = undefined; - s.nMaxY___91789 = undefined; - s.xDiff___91795 = undefined; - s.yDiff___91806 = undefined; + s.newHitBox___15558 = undefined; + s.oMinX___15566 = undefined; + s.oMinY___15570 = undefined; + s.oMaxX___15574 = undefined; + s.oMaxY___15581 = undefined; + s.nMinX___15588 = undefined; + s.nMinY___15591 = undefined; + s.nMaxX___15594 = undefined; + s.nMaxY___15600 = undefined; + s.xDiff___15606 = undefined; + s.yDiff___15617 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); - s.tmp_0 = game_calculateHitBox__P71850_mk(s); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); + s.tmp_0 = game_calculateHitBox__P1970_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 259; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.newHitBox___91747 = (r0); + s.newHitBox___15558 = (r0); r0 = s.arg0.fields["_hitbox"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -33253,95 +33255,95 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___91747); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___15558); { step = 7; continue; } case 1: case 2: r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["ox"]; - s.oMinX___91755 = (r0); + s.oMinX___15566 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["oy"]; - s.oMinY___91759 = (r0); + s.oMinY___15570 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___91755 + s.tmp_0); - s.oMaxX___91763 = (r0); + r0 = (s.oMinX___15566 + s.tmp_0); + s.oMaxX___15574 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___91759 + s.tmp_0); - s.oMaxY___91770 = (r0); - r0 = s.newHitBox___91747.fields["ox"]; - s.nMinX___91777 = (r0); - r0 = s.newHitBox___91747.fields["oy"]; - s.nMinY___91780 = (r0); - r0 = s.newHitBox___91747.fields["width"]; - s.tmp_0 = r0; - r0 = (s.nMinX___91777 + s.tmp_0); - s.nMaxX___91783 = (r0); - r0 = s.newHitBox___91747.fields["height"]; - s.tmp_0 = r0; - r0 = (s.nMinY___91780 + s.tmp_0); - s.nMaxY___91789 = (r0); - s.tmp_1 = Fx_abs__P70040_mk(s); - r0 = (s.oMinX___91755 - s.nMinX___91777); + r0 = (s.oMinY___15570 + s.tmp_0); + s.oMaxY___15581 = (r0); + r0 = s.newHitBox___15558.fields["ox"]; + s.nMinX___15588 = (r0); + r0 = s.newHitBox___15558.fields["oy"]; + s.nMinY___15591 = (r0); + r0 = s.newHitBox___15558.fields["width"]; + s.tmp_0 = r0; + r0 = (s.nMinX___15588 + s.tmp_0); + s.nMaxX___15594 = (r0); + r0 = s.newHitBox___15558.fields["height"]; + s.tmp_0 = r0; + r0 = (s.nMinY___15591 + s.tmp_0); + s.nMaxY___15600 = (r0); + s.tmp_1 = Fx_abs__P160_mk(s); + r0 = (s.oMinX___15566 - s.nMinX___15588); s.tmp_1.arg0 = r0; s.callLocIdx = 265; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P70040_mk(s); - r0 = (s.oMaxX___91763 - s.nMaxX___91783); + s.tmp_3 = Fx_abs__P160_mk(s); + r0 = (s.oMaxX___15574 - s.nMaxX___15594); s.tmp_3.arg0 = r0; s.callLocIdx = 267; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.xDiff___91795 = (r0); - s.tmp_1 = Fx_abs__P70040_mk(s); - r0 = (s.oMinY___91759 - s.nMinY___91780); + s.xDiff___15606 = (r0); + s.tmp_1 = Fx_abs__P160_mk(s); + r0 = (s.oMinY___15570 - s.nMinY___15591); s.tmp_1.arg0 = r0; s.callLocIdx = 270; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P70040_mk(s); - r0 = (s.oMaxY___91770 - s.nMaxY___91789); + s.tmp_3 = Fx_abs__P160_mk(s); + r0 = (s.oMaxY___15581 - s.nMaxY___15600); s.tmp_3.arg0 = r0; s.callLocIdx = 272; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.yDiff___91806 = (r0); - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___91747); - r0 = (s.xDiff___91795 <= 512); + s.yDiff___15617 = (r0); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___15558); + r0 = (s.xDiff___15606 <= 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.arg0.fields["_hitbox"]; s.tmp_1 = r0; - r0 = (s.tmp_1).fields["ox"] = (s.oMinX___91755); + r0 = (s.tmp_1).fields["ox"] = (s.oMinX___15566); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxX___91763 - s.oMinX___91755); + r0 = (s.oMaxX___15574 - s.oMinX___15566); s.tmp_1 = r0; r0 = (s.tmp_0).fields["width"] = (s.tmp_1); case 3: case 4: - r0 = (s.yDiff___91806 <= 512); + r0 = (s.yDiff___15617 <= 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } r0 = s.arg0.fields["_hitbox"]; s.tmp_1 = r0; - r0 = (s.tmp_1).fields["oy"] = (s.oMinY___91759); + r0 = (s.tmp_1).fields["oy"] = (s.oMinY___15570); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxY___91770 - s.oMinY___91759); + r0 = (s.oMaxY___15581 - s.oMinY___15570); s.tmp_1 = r0; r0 = (s.tmp_0).fields["height"] = (s.tmp_1); case 5: @@ -33351,28 +33353,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setHitbox__P71937.info = {"start":6964,"length":1296,"line":258,"column":4,"endLine":297,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} +Sprite_setHitbox__P2057.info = {"start":6964,"length":1296,"line":258,"column":4,"endLine":297,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} -function Sprite_setHitbox__P71937_mk(s) { +function Sprite_setHitbox__P2057_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setHitbox__P71937, depth: s.depth + 1, + parent: s, fn: Sprite_setHitbox__P2057, depth: s.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___91747: undefined, - oMinX___91755: undefined, - oMinY___91759: undefined, - oMaxX___91763: undefined, - oMaxY___91770: undefined, - nMinX___91777: undefined, - nMinY___91780: undefined, - nMaxX___91783: undefined, - nMaxY___91789: undefined, - xDiff___91795: undefined, - yDiff___91806: undefined, + newHitBox___15558: undefined, + oMinX___15566: undefined, + oMinY___15570: undefined, + oMaxX___15574: undefined, + oMaxY___15581: undefined, + nMinX___15588: undefined, + nMinY___15591: undefined, + nMaxX___15594: undefined, + nMaxY___15600: undefined, + xDiff___15606: undefined, + yDiff___15617: undefined, arg0: undefined, } } @@ -33380,7 +33382,7 @@ function Sprite_setHitbox__P71937_mk(s) { -function game_calculateHitBox__P71850(s) { +function game_calculateHitBox__P1970(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33390,104 +33392,104 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___91855 = undefined; - s.minX___91858 = undefined; - s.minY___91861 = undefined; - s.maxX___91864 = undefined; - s.maxY___91865 = undefined; - s.c___91866 = undefined; - s.r___91872 = undefined; - s.width___91903 = undefined; - s.height___91909 = undefined; + s.i___15666 = undefined; + s.minX___15669 = undefined; + s.minY___15672 = undefined; + s.maxX___15675 = undefined; + s.maxY___15676 = undefined; + s.c___15677 = undefined; + s.r___15683 = undefined; + s.width___15714 = undefined; + s.height___15720 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0.fields["_image"]; - s.i___91855 = (r0); - r0 = pxsim_ImageMethods.width(s.i___91855); - s.minX___91858 = (r0); - r0 = pxsim_ImageMethods.height(s.i___91855); - s.minY___91861 = (r0); - s.maxX___91864 = (0); - s.maxY___91865 = (0); - s.c___91866 = (0); - case 1: - s.tmp_1 = r0 = s.c___91866; - r0 = pxsim_ImageMethods.width(s.i___91855); + s.i___15666 = (r0); + r0 = pxsim_ImageMethods.width(s.i___15666); + s.minX___15669 = (r0); + r0 = pxsim_ImageMethods.height(s.i___15666); + s.minY___15672 = (r0); + s.maxX___15675 = (0); + s.maxY___15676 = (0); + s.c___15677 = (0); + case 1: + s.tmp_1 = r0 = s.c___15677; + r0 = pxsim_ImageMethods.width(s.i___15666); 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___91872 = (0); + s.r___15683 = (0); case 2: - s.tmp_1 = r0 = s.r___91872; - r0 = pxsim_ImageMethods.height(s.i___91855); + s.tmp_1 = r0 = s.r___15683; + r0 = pxsim_ImageMethods.height(s.i___15666); 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___91855, s.c___91866, s.r___91872); + r0 = pxsim_ImageMethods.getPixel(s.i___15666, s.c___15677, s.r___15683); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Math_min__P70006_mk(s); - s.tmp_4.arg0 = s.minX___91858; - s.tmp_4.arg1 = s.c___91866; + s.tmp_4 = Math_min__P126_mk(s); + s.tmp_4.arg0 = s.minX___15669; + s.tmp_4.arg1 = s.c___15677; s.callLocIdx = 218; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; - s.minX___91858 = (r0); - s.tmp_0 = Math_min__P70006_mk(s); - s.tmp_0.arg0 = s.minY___91861; - s.tmp_0.arg1 = s.r___91872; + s.minX___15669 = (r0); + s.tmp_0 = Math_min__P126_mk(s); + s.tmp_0.arg0 = s.minY___15672; + s.tmp_0.arg1 = s.r___15683; s.callLocIdx = 219; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.minY___91861 = (r0); - s.tmp_0 = Math_max__P70005_mk(s); - s.tmp_0.arg0 = s.maxX___91864; - s.tmp_0.arg1 = s.c___91866; + s.minY___15672 = (r0); + s.tmp_0 = Math_max__P125_mk(s); + s.tmp_0.arg0 = s.maxX___15675; + s.tmp_0.arg1 = s.c___15677; s.callLocIdx = 220; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.maxX___91864 = (r0); - s.tmp_0 = Math_max__P70005_mk(s); - s.tmp_0.arg0 = s.maxY___91865; - s.tmp_0.arg1 = s.r___91872; + s.maxX___15675 = (r0); + s.tmp_0 = Math_max__P125_mk(s); + s.tmp_0.arg0 = s.maxY___15676; + s.tmp_0.arg1 = s.r___15683; s.callLocIdx = 221; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.maxY___91865 = (r0); + s.maxY___15676 = (r0); case 3: case 4: - r0 = (s.r___91872 + 1); - s.r___91872 = (r0); + r0 = (s.r___15683 + 1); + s.r___15683 = (r0); { step = 2; continue; } case 5: - r0 = (s.c___91866 + 1); - s.c___91866 = (r0); + r0 = (s.c___15677 + 1); + s.c___15677 = (r0); { step = 1; continue; } case 6: - r0 = (s.maxX___91864 - s.minX___91858); + r0 = (s.maxX___15675 - s.minX___15669); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.width___91903 = (r0); - r0 = (s.maxY___91865 - s.minY___91861); + s.width___15714 = (r0); + r0 = (s.maxY___15676 - s.minY___15672); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.height___91909 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C71839_VT); + s.height___15720 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C1959_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P71845_mk(s); + s.tmp_1 = game_Hitbox_constructor__P1965_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___91903; - s.tmp_1.arg3 = s.height___91909; - s.tmp_1.arg4 = s.minX___91858; - s.tmp_1.arg5 = s.minY___91861; + s.tmp_1.arg2 = s.width___15714; + s.tmp_1.arg3 = s.height___15720; + s.tmp_1.arg4 = s.minX___15669; + s.tmp_1.arg5 = s.minY___15672; s.callLocIdx = 222; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -33495,27 +33497,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_calculateHitBox__P71850.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__P1970.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__P71850_mk(s) { +function game_calculateHitBox__P1970_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P71850, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P1970, depth: s.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___91855: undefined, - minX___91858: undefined, - minY___91861: undefined, - maxX___91864: undefined, - maxY___91865: undefined, - c___91866: undefined, - r___91872: undefined, - width___91903: undefined, - height___91909: undefined, + i___15666: undefined, + minX___15669: undefined, + minY___15672: undefined, + maxX___15675: undefined, + maxY___15676: undefined, + c___15677: undefined, + r___15683: undefined, + width___15714: undefined, + height___15720: undefined, arg0: undefined, } } @@ -33523,7 +33525,7 @@ function game_calculateHitBox__P71850_mk(s) { -function game_Hitbox_constructor__P71845(s) { +function game_Hitbox_constructor__P1965(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33543,7 +33545,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C71839_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C1959_VT)) failedCast(r0); r0 = (s.arg0).fields["parent"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = (s.arg2 * 256); @@ -33573,12 +33575,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_constructor__P71845.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__P1965.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__P71845_mk(s) { +function game_Hitbox_constructor__P1965_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P71845, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P1965, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33595,7 +33597,7 @@ function game_Hitbox_constructor__P71845_mk(s) { -function Fx_abs__P70040(s) { +function Fx_abs__P160(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33625,12 +33627,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_abs__P70040.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__P160.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__P70040_mk(s) { +function Fx_abs__P160_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P70040, depth: s.depth + 1, + parent: s, fn: Fx_abs__P160, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33640,7 +33642,7 @@ function Fx_abs__P70040_mk(s) { -function Sprite_image__P71935(s) { +function Sprite_image__P2055(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33655,18 +33657,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -Sprite_image__P71935.info = {"start":6549,"length":54,"line":242,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} -Sprite_image__P71935.isGetter = true; +Sprite_image__P2055.info = {"start":6549,"length":54,"line":242,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} +Sprite_image__P2055.isGetter = true; -function Sprite_image__P71935_mk(s) { +function Sprite_image__P2055_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P71935, depth: s.depth + 1, + parent: s, fn: Sprite_image__P2055, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -33675,7 +33677,7 @@ function Sprite_image__P71935_mk(s) { -function Sprite_data__P71921(s) { +function Sprite_data__P2041(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33690,7 +33692,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -33709,13 +33711,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_data__P71921.info = {"start":4194,"length":92,"line":160,"column":4,"endLine":163,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} -Sprite_data__P71921.isGetter = true; +Sprite_data__P2041.info = {"start":4194,"length":92,"line":160,"column":4,"endLine":163,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} +Sprite_data__P2041.isGetter = true; -function Sprite_data__P71921_mk(s) { +function Sprite_data__P2041_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P71921, depth: s.depth + 1, + parent: s, fn: Sprite_data__P2041, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33729,7 +33731,7 @@ function Sprite_data__P71921_mk(s) { -function JSON_stringify__P70256(s) { +function JSON_stringify__P376(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33739,16 +33741,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ss___91991 = undefined; + s.ss___15773 = 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__C73835_VT); - s.ss___91991 = (r0); - s.tmp_0 = r0 = s.ss___91991; + r0 = pxsim_pxtcore_mkClassInstance(JSON_Stringifier__C3955_VT); + s.ss___15773 = (r0); + s.tmp_0 = r0 = s.ss___15773; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["currIndent"] = (s.tmp_1); @@ -33768,15 +33770,15 @@ switch (step) { s.arg2 = (10); case 3: case 4: - s.tmp_0 = r0 = s.ss___91991; + s.tmp_0 = r0 = s.ss___15773; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["indentStep"] = (s.tmp_1); - s.tmp_0 = r0 = s.ss___91991; + s.tmp_0 = r0 = s.ss___15773; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["currIndent"] = (s.tmp_1); - r0 = (s.ss___91991).fields["indent"] = (s.arg2); + r0 = (s.ss___15773).fields["indent"] = (s.arg2); case 5: s.tmp_0 = r0 = s.arg2; r0 = (s.tmp_0 - 1); @@ -33785,7 +33787,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___91991; + s.tmp_2 = r0 = s.ss___15773; r0 = s.tmp_2.fields["indentStep"]; s.tmp_5 = r0; if ((s.tmp_5) && (s.tmp_5).vtable) { @@ -33802,8 +33804,8 @@ switch (step) { r0 = (s.tmp_2).fields["indentStep"] = (s.tmp_3); { step = 5; continue; } case 6: - s.tmp_0 = JSON_Stringifier_go__P73837_mk(s); - s.tmp_0.arg0 = s.ss___91991; + s.tmp_0 = JSON_Stringifier_go__P3957_mk(s); + s.tmp_0.arg0 = s.ss___15773; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 50; s.pc = 8; return s.tmp_0; case 8: @@ -33811,12 +33813,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -JSON_stringify__P70256.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__P376.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__P70256_mk(s) { +function JSON_stringify__P376_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_stringify__P70256, depth: s.depth + 1, + parent: s, fn: JSON_stringify__P376, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33824,7 +33826,7 @@ function JSON_stringify__P70256_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - ss___91991: undefined, + ss___15773: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33834,7 +33836,7 @@ function JSON_stringify__P70256_mk(s) { -function JSON_Stringifier_go__P73837(s) { +function JSON_Stringifier_go__P3957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33844,28 +33846,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___92032 = undefined; - s.arr___92056 = undefined; - s.r___92062 = undefined; - s.i___92079 = undefined; - s.keys___92143 = undefined; - s.r___92150 = undefined; - s.i___92167 = undefined; - s.k___92173 = undefined; + s.t___15814 = undefined; + s.arr___15838 = undefined; + s.r___15844 = undefined; + s.i___15861 = undefined; + s.keys___15925 = undefined; + s.r___15932 = undefined; + s.i___15949 = undefined; + s.k___15955 = 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__C73835_VT)) failedCast(r0); + if (!checkSubtype(r0, JSON_Stringifier__C3955_VT)) failedCast(r0); r0 = pxsim_pxtcore.typeOf(s.arg1); - s.t___92032 = (r0); - r0 = (s.t___92032 == "string"); + s.t___15814 = (r0); + r0 = (s.t___15814 == "string"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = JSON_Stringifier_doString__P73836_mk(s); + s.tmp_1 = JSON_Stringifier_doString__P3956_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 44; s.pc = 38; return s.tmp_1; @@ -33874,14 +33876,14 @@ switch (step) { { step = 37; continue; } { step = 36; continue; } case 1: - r0 = (s.t___92032 == "boolean"); + r0 = (s.t___15814 == "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___92032 == "number"); + r0 = (s.t___15814 == "number"); case 3: // jmp value (already in r0) s.tmp_3 = r0; @@ -33915,8 +33917,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 19; continue; } - s.arr___92056 = (s.arg1); - r0 = pxsim_Array__length(s.arr___92056); + s.arr___15838 = (s.arg1); + r0 = pxsim_Array__length(s.arr___15838); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -33926,7 +33928,7 @@ switch (step) { { step = 37; continue; } { step = 18; continue; } case 7: - s.r___92062 = ("["); + s.r___15844 = ("["); r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -33957,34 +33959,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___92062) && (s.r___92062).vtable) { + if ((s.r___15844) && (s.r___15844).vtable) { setupResume(s, 42); - pxsim_String__stringConv(s.r___92062); + pxsim_String__stringConv(s.r___15844); checkResumeConsumed(); return; - } else { s.retval = (s.r___92062) + ""; } + } else { s.retval = (s.r___15844) + ""; } case 42: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.r___92062 = (r0); + s.r___15844 = (r0); case 8: case 9: - s.i___92079 = (0); + s.i___15861 = (0); case 10: - s.tmp_1 = r0 = s.i___92079; - r0 = pxsim_Array__length(s.arr___92056); + s.tmp_1 = r0 = s.i___15861; + r0 = pxsim_Array__length(s.arr___15838); 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___92062) && (s.r___92062).vtable) { + if ((s.r___15844) && (s.r___15844).vtable) { setupResume(s, 43); - pxsim_String__stringConv(s.r___92062); + pxsim_String__stringConv(s.r___15844); checkResumeConsumed(); return; - } else { s.retval = (s.r___92062) + ""; } + } else { s.retval = (s.r___15844) + ""; } case 43: r0 = s.retval; s.tmp_3 = r0; @@ -33999,9 +34001,9 @@ switch (step) { case 44: r0 = s.retval; s.tmp_6 = r0; - s.tmp_10 = JSON_Stringifier_go__P73837_mk(s); + s.tmp_10 = JSON_Stringifier_go__P3957_mk(s); s.tmp_10.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.arr___92056, s.i___92079); + r0 = pxsim_Array__getAt(s.arr___15838, s.i___15861); s.tmp_10.arg1 = r0; s.callLocIdx = 45; s.pc = 45; return s.tmp_10; case 45: @@ -34028,9 +34030,9 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___92062 = (r0); - s.tmp_1 = r0 = s.i___92079; - r0 = pxsim_Array__length(s.arr___92056); + s.r___15844 = (r0); + s.tmp_1 = r0 = s.i___15861; + r0 = pxsim_Array__length(s.arr___15838); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -34038,38 +34040,38 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - if ((s.r___92062) && (s.r___92062).vtable) { + if ((s.r___15844) && (s.r___15844).vtable) { setupResume(s, 48); - pxsim_String__stringConv(s.r___92062); + pxsim_String__stringConv(s.r___15844); checkResumeConsumed(); return; - } else { s.retval = (s.r___92062) + ""; } + } else { s.retval = (s.r___15844) + ""; } case 48: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ","); - s.r___92062 = (r0); + s.r___15844 = (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___92062) && (s.r___92062).vtable) { + if ((s.r___15844) && (s.r___15844).vtable) { setupResume(s, 49); - pxsim_String__stringConv(s.r___92062); + pxsim_String__stringConv(s.r___15844); checkResumeConsumed(); return; - } else { s.retval = (s.r___92062) + ""; } + } else { s.retval = (s.r___15844) + ""; } case 49: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "\n"); - s.r___92062 = (r0); + s.r___15844 = (r0); case 13: case 14: - r0 = (s.i___92079 + 1); - s.i___92079 = (r0); + r0 = (s.i___15861 + 1); + s.i___15861 = (r0); { step = 10; continue; } case 15: r0 = s.arg0.fields["indent"]; @@ -34077,7 +34079,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__P69995_mk(s); + s.tmp_3 = helpers_stringSlice__P115_mk(s); r0 = s.arg0.fields["currIndent"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["indent"]; @@ -34090,12 +34092,12 @@ switch (step) { r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); case 16: case 17: - if ((s.r___92062) && (s.r___92062).vtable) { + if ((s.r___15844) && (s.r___15844).vtable) { setupResume(s, 51); - pxsim_String__stringConv(s.r___92062); + pxsim_String__stringConv(s.r___15844); checkResumeConsumed(); return; - } else { s.retval = (s.r___92062) + ""; } + } else { s.retval = (s.r___15844) + ""; } case 51: r0 = s.retval; s.tmp_0 = r0; @@ -34122,15 +34124,15 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___92062 = (r0); - r0 = s.r___92062; + s.r___15844 = (r0); + r0 = s.r___15844; { step = 37; continue; } case 18: { step = 34; continue; } case 19: r0 = pxsim_pxtrt.keysOf(s.arg1); - s.keys___92143 = (r0); - r0 = pxsim_Array__length(s.keys___92143); + s.keys___15925 = (r0); + r0 = pxsim_Array__length(s.keys___15925); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -34140,7 +34142,7 @@ switch (step) { { step = 37; continue; } case 20: case 21: - s.r___92150 = ("{"); + s.r___15932 = ("{"); r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -34171,36 +34173,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___92150) && (s.r___92150).vtable) { + if ((s.r___15932) && (s.r___15932).vtable) { setupResume(s, 56); - pxsim_String__stringConv(s.r___92150); + pxsim_String__stringConv(s.r___15932); checkResumeConsumed(); return; - } else { s.retval = (s.r___92150) + ""; } + } else { s.retval = (s.r___15932) + ""; } case 56: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.r___92150 = (r0); + s.r___15932 = (r0); case 22: case 23: - s.i___92167 = (0); + s.i___15949 = (0); case 24: - s.tmp_1 = r0 = s.i___92167; - r0 = pxsim_Array__length(s.keys___92143); + s.tmp_1 = r0 = s.i___15949; + r0 = pxsim_Array__length(s.keys___15925); 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___92143, s.i___92167); - s.k___92173 = (r0); - if ((s.r___92150) && (s.r___92150).vtable) { + r0 = pxsim_Array__getAt(s.keys___15925, s.i___15949); + s.k___15955 = (r0); + if ((s.r___15932) && (s.r___15932).vtable) { setupResume(s, 57); - pxsim_String__stringConv(s.r___92150); + pxsim_String__stringConv(s.r___15932); checkResumeConsumed(); return; - } else { s.retval = (s.r___92150) + ""; } + } else { s.retval = (s.r___15932) + ""; } case 57: r0 = s.retval; s.tmp_0 = r0; @@ -34215,9 +34217,9 @@ switch (step) { case 58: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = JSON_Stringifier_doString__P73836_mk(s); + s.tmp_7 = JSON_Stringifier_doString__P3956_mk(s); s.tmp_7.arg0 = s.arg0; - s.tmp_7.arg1 = s.k___92173; + s.tmp_7.arg1 = s.k___15955; s.callLocIdx = 47; s.pc = 59; return s.tmp_7; case 59: r0 = s.retval; @@ -34243,48 +34245,48 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___92150 = (r0); + s.r___15932 = (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___92150) && (s.r___92150).vtable) { + if ((s.r___15932) && (s.r___15932).vtable) { setupResume(s, 62); - pxsim_String__stringConv(s.r___92150); + pxsim_String__stringConv(s.r___15932); checkResumeConsumed(); return; - } else { s.retval = (s.r___92150) + ""; } + } else { s.retval = (s.r___15932) + ""; } case 62: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, ": "); - s.r___92150 = (r0); + s.r___15932 = (r0); { step = 26; continue; } case 25: - if ((s.r___92150) && (s.r___92150).vtable) { + if ((s.r___15932) && (s.r___15932).vtable) { setupResume(s, 63); - pxsim_String__stringConv(s.r___92150); + pxsim_String__stringConv(s.r___15932); checkResumeConsumed(); return; - } else { s.retval = (s.r___92150) + ""; } + } else { s.retval = (s.r___15932) + ""; } case 63: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, ":"); - s.r___92150 = (r0); + s.r___15932 = (r0); case 26: - if ((s.r___92150) && (s.r___92150).vtable) { + if ((s.r___15932) && (s.r___15932).vtable) { setupResume(s, 64); - pxsim_String__stringConv(s.r___92150); + pxsim_String__stringConv(s.r___15932); checkResumeConsumed(); return; - } else { s.retval = (s.r___92150) + ""; } + } else { s.retval = (s.r___15932) + ""; } case 64: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = JSON_Stringifier_go__P73837_mk(s); + s.tmp_3 = JSON_Stringifier_go__P3957_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.arg1, s.k___92173); + r0 = pxsim_pxtrt.mapGetGeneric(s.arg1, s.k___15955); s.tmp_3.arg1 = r0; s.callLocIdx = 48; s.pc = 65; return s.tmp_3; case 65: @@ -34300,9 +34302,9 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___92150 = (r0); - s.tmp_1 = r0 = s.i___92167; - r0 = pxsim_Array__length(s.keys___92143); + s.r___15932 = (r0); + s.tmp_1 = r0 = s.i___15949; + r0 = pxsim_Array__length(s.keys___15925); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -34310,38 +34312,38 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - if ((s.r___92150) && (s.r___92150).vtable) { + if ((s.r___15932) && (s.r___15932).vtable) { setupResume(s, 67); - pxsim_String__stringConv(s.r___92150); + pxsim_String__stringConv(s.r___15932); checkResumeConsumed(); return; - } else { s.retval = (s.r___92150) + ""; } + } else { s.retval = (s.r___15932) + ""; } case 67: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ","); - s.r___92150 = (r0); + s.r___15932 = (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___92150) && (s.r___92150).vtable) { + if ((s.r___15932) && (s.r___15932).vtable) { setupResume(s, 68); - pxsim_String__stringConv(s.r___92150); + pxsim_String__stringConv(s.r___15932); checkResumeConsumed(); return; - } else { s.retval = (s.r___92150) + ""; } + } else { s.retval = (s.r___15932) + ""; } case 68: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "\n"); - s.r___92150 = (r0); + s.r___15932 = (r0); case 29: case 30: - r0 = (s.i___92167 + 1); - s.i___92167 = (r0); + r0 = (s.i___15949 + 1); + s.i___15949 = (r0); { step = 24; continue; } case 31: r0 = s.arg0.fields["indent"]; @@ -34349,7 +34351,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__P69995_mk(s); + s.tmp_3 = helpers_stringSlice__P115_mk(s); r0 = s.arg0.fields["currIndent"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["indent"]; @@ -34362,12 +34364,12 @@ switch (step) { r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); case 32: case 33: - if ((s.r___92150) && (s.r___92150).vtable) { + if ((s.r___15932) && (s.r___15932).vtable) { setupResume(s, 70); - pxsim_String__stringConv(s.r___92150); + pxsim_String__stringConv(s.r___15932); checkResumeConsumed(); return; - } else { s.retval = (s.r___92150) + ""; } + } else { s.retval = (s.r___15932) + ""; } case 70: r0 = s.retval; s.tmp_0 = r0; @@ -34394,8 +34396,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___92150 = (r0); - r0 = s.r___92150; + s.r___15932 = (r0); + r0 = s.r___15932; { step = 37; continue; } case 34: case 35: @@ -34405,12 +34407,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -JSON_Stringifier_go__P73837.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__P3957.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__P73837_mk(s) { +function JSON_Stringifier_go__P3957_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_Stringifier_go__P73837, depth: s.depth + 1, + parent: s, fn: JSON_Stringifier_go__P3957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34423,14 +34425,14 @@ function JSON_Stringifier_go__P73837_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - t___92032: undefined, - arr___92056: undefined, - r___92062: undefined, - i___92079: undefined, - keys___92143: undefined, - r___92150: undefined, - i___92167: undefined, - k___92173: undefined, + t___15814: undefined, + arr___15838: undefined, + r___15844: undefined, + i___15861: undefined, + keys___15925: undefined, + r___15932: undefined, + i___15949: undefined, + k___15955: undefined, arg0: undefined, arg1: undefined, } } @@ -34439,7 +34441,7 @@ function JSON_Stringifier_go__P73837_mk(s) { -function JSON_Stringifier_doString__P73836(s) { +function JSON_Stringifier_doString__P3956(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34449,68 +34451,68 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___92290 = undefined; - s.i___92291 = undefined; - s.c___92297 = undefined; + s.r___16041 = undefined; + s.i___16042 = undefined; + s.c___16048 = 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__C73835_VT)) failedCast(r0); - s.r___92290 = ("\""); - s.i___92291 = (0); + if (!checkSubtype(r0, JSON_Stringifier__C3955_VT)) failedCast(r0); + s.r___16041 = ("\""); + s.i___16042 = (0); case 1: - s.tmp_1 = r0 = s.i___92291; + s.tmp_1 = r0 = s.i___16042; 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___92291); - s.c___92297 = (r0); - r0 = (s.c___92297 == "\n"); + r0 = pxsim_String_.charAt(s.arg1, s.i___16042); + s.c___16048 = (r0); + r0 = (s.c___16048 == "\n"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.c___92297 = ("\\n"); + s.c___16048 = ("\\n"); { step = 13; continue; } case 2: - r0 = (s.c___92297 == "\r"); + r0 = (s.c___16048 == "\r"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.c___92297 = ("\\r"); + s.c___16048 = ("\\r"); { step = 12; continue; } case 3: - r0 = (s.c___92297 == "\t"); + r0 = (s.c___16048 == "\t"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.c___92297 = ("\\t"); + s.c___16048 = ("\\t"); { step = 11; continue; } case 4: - r0 = (s.c___92297 == "\b"); + r0 = (s.c___16048 == "\b"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.c___92297 = ("\\b"); + s.c___16048 = ("\\b"); { step = 10; continue; } case 5: - r0 = (s.c___92297 == "\\"); + r0 = (s.c___16048 == "\\"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.c___92297 = ("\\\\"); + s.c___16048 = ("\\\\"); { step = 9; continue; } case 6: - r0 = (s.c___92297 == "\""); + r0 = (s.c___16048 == "\""); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.c___92297 = ("\\\""); + s.c___16048 = ("\\\""); case 7: case 8: case 9: @@ -34518,36 +34520,36 @@ switch (step) { case 11: case 12: case 13: - if ((s.r___92290) && (s.r___92290).vtable) { + if ((s.r___16041) && (s.r___16041).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___92290); + pxsim_String__stringConv(s.r___16041); checkResumeConsumed(); return; - } else { s.retval = (s.r___92290) + ""; } + } else { s.retval = (s.r___16041) + ""; } case 15: r0 = s.retval; s.tmp_0 = r0; - if ((s.c___92297) && (s.c___92297).vtable) { + if ((s.c___16048) && (s.c___16048).vtable) { setupResume(s, 16); - pxsim_String__stringConv(s.c___92297); + pxsim_String__stringConv(s.c___16048); checkResumeConsumed(); return; - } else { s.retval = (s.c___92297) + ""; } + } else { s.retval = (s.c___16048) + ""; } case 16: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___92290 = (r0); - r0 = (s.i___92291 + 1); - s.i___92291 = (r0); + s.r___16041 = (r0); + r0 = (s.i___16042 + 1); + s.i___16042 = (r0); { step = 1; continue; } case 14: - if ((s.r___92290) && (s.r___92290).vtable) { + if ((s.r___16041) && (s.r___16041).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___92290); + pxsim_String__stringConv(s.r___16041); checkResumeConsumed(); return; - } else { s.retval = (s.r___92290) + ""; } + } else { s.retval = (s.r___16041) + ""; } case 17: r0 = s.retval; s.tmp_0 = r0; @@ -34555,19 +34557,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -JSON_Stringifier_doString__P73836.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__P3956.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__P73836_mk(s) { +function JSON_Stringifier_doString__P3956_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_Stringifier_doString__P73836, depth: s.depth + 1, + parent: s, fn: JSON_Stringifier_doString__P3956, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - r___92290: undefined, - i___92291: undefined, - c___92297: undefined, + r___16041: undefined, + i___16042: undefined, + c___16048: undefined, arg0: undefined, arg1: undefined, } } @@ -34576,7 +34578,7 @@ function JSON_Stringifier_doString__P73836_mk(s) { -function tileworld_ruleediting_RuleEditor_mainMenu__P84373(s) { +function tileworld_ruleediting_RuleEditor_mainMenu__P6418(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34591,7 +34593,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); r0 = s.arg0.fields["menu"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 3); @@ -34617,14 +34619,14 @@ switch (step) { r0 = s.tmp_2; { step = 4; continue; } case 1: - s.tmp_10 = tileworld_RuleView_getCmdInst__P73539_mk(s); + s.tmp_10 = tileworld_RuleView_getCmdInst__P3659_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_10.arg0 = r0; r0 = s.arg0.fields["whenDo"]; s.tmp_10.arg1 = r0; r0 = s.arg0.fields["currentCommand"]; s.tmp_10.arg2 = r0; - s.callLocIdx = 1010; s.pc = 9; return s.tmp_10; + s.callLocIdx = 1022; s.pc = 9; return s.tmp_10; case 9: r0 = s.retval; s.tmp_9 = r0; @@ -34635,14 +34637,14 @@ switch (step) { r0 = s.tmp_8; { step = 3; continue; } case 2: - s.tmp_12 = tileworld_RuleView_getCmdArg__P73540_mk(s); + s.tmp_12 = tileworld_RuleView_getCmdArg__P3660_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_12.arg0 = r0; r0 = s.arg0.fields["whenDo"]; s.tmp_12.arg1 = r0; r0 = s.arg0.fields["currentCommand"]; s.tmp_12.arg2 = r0; - s.callLocIdx = 1011; s.pc = 10; return s.tmp_12; + s.callLocIdx = 1023; s.pc = 10; return s.tmp_12; case 10: r0 = s.retval; s.tmp_11 = r0; @@ -34656,14 +34658,14 @@ switch (step) { s.tmp_14 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_14); if (!r0) { step = 5; continue; } - s.tmp_15 = tileworld_RuleView_removeCommand__P73543_mk(s); + s.tmp_15 = tileworld_RuleView_removeCommand__P3663_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_15.arg0 = r0; r0 = s.arg0.fields["whenDo"]; s.tmp_15.arg1 = r0; r0 = s.arg0.fields["currentCommand"]; s.tmp_15.arg2 = r0; - s.callLocIdx = 1012; s.pc = 11; return s.tmp_15; + s.callLocIdx = 1024; s.pc = 11; return s.tmp_15; case 11: r0 = s.retval; case 5: @@ -34674,21 +34676,21 @@ switch (step) { r0 = (s.arg0).fields["currentCommand"] = (-1); r0 = (s.arg0).fields["attrSelected"] = (-1); r0 = (s.arg0).fields["menu"] = (0); - s.tmp_0 = tileworld_ruleediting_RuleEditor_restoreCursor__P84375_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_restoreCursor__P6420_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1013; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1025; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_mainMenu__P84373.info = {"start":7160,"length":789,"line":140,"column":8,"endLine":156,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"mainMenu","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_mainMenu__P6418.info = {"start":7160,"length":789,"line":140,"column":8,"endLine":156,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"mainMenu","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_mainMenu__P84373_mk(s) { +function tileworld_ruleediting_RuleEditor_mainMenu__P6418_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_mainMenu__P84373, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_mainMenu__P6418, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34713,7 +34715,7 @@ function tileworld_ruleediting_RuleEditor_mainMenu__P84373_mk(s) { -function tileworld_ruleediting_RuleEditor_restoreCursor__P84375(s) { +function tileworld_ruleediting_RuleEditor_restoreCursor__P6420(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34728,7 +34730,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); r0 = s.arg0.fields["tileSaved"]; r0 = r0.fields["flags"]; s.tmp_3 = r0; @@ -34740,40 +34742,40 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = tileworld_RuleVisualsBase_setCol__P82564_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_setCol__P6299_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_6 = Sprite_x__P71905_mk(s); + s.tmp_6 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_6.arg0 = r0; - s.callLocIdx = 1015; s.pc = 4; return s.tmp_6; + s.callLocIdx = 1027; s.pc = 4; return s.tmp_6; case 4: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_5 >> 4); s.tmp_4.arg1 = r0; - s.callLocIdx = 1016; s.pc = 3; return s.tmp_4; + s.callLocIdx = 1028; s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P82565_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P6300_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_y__P71907_mk(s); + s.tmp_2 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 1017; s.pc = 6; return s.tmp_2; + s.callLocIdx = 1029; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 >> 4); s.tmp_0.arg1 = r0; - s.callLocIdx = 1018; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1030; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_setFlag__P71959_mk(s); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 1019; s.pc = 7; return s.tmp_0; + s.callLocIdx = 1031; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 1: @@ -34782,12 +34784,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_restoreCursor__P84375.info = {"start":8049,"length":259,"line":162,"column":8,"endLine":168,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"restoreCursor","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_restoreCursor__P6420.info = {"start":8049,"length":259,"line":162,"column":8,"endLine":168,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"restoreCursor","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_restoreCursor__P84375_mk(s) { +function tileworld_ruleediting_RuleEditor_restoreCursor__P6420_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_restoreCursor__P84375, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_restoreCursor__P6420, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34803,7 +34805,7 @@ function tileworld_ruleediting_RuleEditor_restoreCursor__P84375_mk(s) { -function tileworld_RuleVisualsBase_isTileSaved__P82573(s) { +function tileworld_RuleVisualsBase_isTileSaved__P6308(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34818,7 +34820,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C3789_VT)) failedCast(r0); r0 = s.arg0.fields["tileSaved"]; r0 = r0.fields["flags"]; s.tmp_2 = r0; @@ -34830,12 +34832,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_isTileSaved__P82573.info = {"start":5172,"length":102,"line":135,"column":8,"endLine":137,"endColumn":9,"fileName":"rulesBase.ts","functionName":"isTileSaved","argumentNames":["this"]} +tileworld_RuleVisualsBase_isTileSaved__P6308.info = {"start":5172,"length":102,"line":135,"column":8,"endLine":137,"endColumn":9,"fileName":"rulesBase.ts","functionName":"isTileSaved","argumentNames":["this"]} -function tileworld_RuleVisualsBase_isTileSaved__P82573_mk(s) { +function tileworld_RuleVisualsBase_isTileSaved__P6308_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_isTileSaved__P82573, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_isTileSaved__P6308, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34847,7 +34849,7 @@ function tileworld_RuleVisualsBase_isTileSaved__P82573_mk(s) { -function tileworld_Project_makeRule__P73586(s) { +function tileworld_Project_makeRule__P3706(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34857,8 +34859,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rv___78123 = undefined; - s.wd___78130 = undefined; + s.rv___16406 = undefined; + s.wd___16413 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34867,10 +34869,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_wrapRule__P77991_mk(s); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_wrapRule__P6000_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = tileworld_makeNewRule__P73502_mk(s); + s.tmp_1 = tileworld_makeNewRule__P3622_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = s.arg2; s.callLocIdx = 179; s.pc = 10; return s.tmp_1; @@ -34880,22 +34882,22 @@ switch (step) { s.callLocIdx = 180; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.rv___78123 = (r0); + s.rv___16406 = (r0); r0 = (s.arg3 != 65535); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tileworld_RuleView_makeWhenDo__P73529_mk(s); - s.tmp_1.arg0 = s.rv___78123; + s.tmp_1 = tileworld_RuleView_makeWhenDo__P3649_mk(s); + s.tmp_1.arg0 = s.rv___16406; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = 2; s.callLocIdx = 181; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - s.wd___78130 = (r0); - s.tmp_0 = tileworld_RuleView_getSetSpAttr__P73533_mk(s); - s.tmp_0.arg0 = s.rv___78123; - s.tmp_0.arg1 = s.wd___78130; + s.wd___16413 = (r0); + s.tmp_0 = tileworld_RuleView_getSetSpAttr__P3653_mk(s); + s.tmp_0.arg0 = s.rv___16406; + s.tmp_0.arg1 = s.wd___16413; s.tmp_0.arg2 = s.arg3; s.tmp_0.arg3 = 1; s.callLocIdx = 182; s.pc = 12; return s.tmp_0; @@ -34914,9 +34916,9 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 3; continue; } - s.tmp_2 = tileworld_RuleView_setWitnessDirection__P73537_mk(s); - s.tmp_2.arg0 = s.rv___78123; - s.tmp_2.arg1 = s.wd___78130; + s.tmp_2 = tileworld_RuleView_setWitnessDirection__P3657_mk(s); + s.tmp_2.arg0 = s.rv___16406; + s.tmp_2.arg1 = s.wd___16413; s.tmp_2.arg2 = s.arg2; s.callLocIdx = 183; s.pc = 13; return s.tmp_2; case 13: @@ -34927,8 +34929,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tileworld_RuleView_setTransforms__P73521_mk(s); - s.tmp_1.arg0 = s.rv___78123; + s.tmp_1 = tileworld_RuleView_setTransforms__P3641_mk(s); + s.tmp_1.arg0 = s.rv___16406; s.tmp_1.arg1 = 6; s.callLocIdx = 184; s.pc = 14; return s.tmp_1; case 14: @@ -34937,28 +34939,28 @@ switch (step) { case 6: case 7: case 8: - s.tmp_0 = tileworld_Project_saveRule__P73585_mk(s); + s.tmp_0 = tileworld_Project_saveRule__P3705_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.rv___78123; + s.tmp_0.arg1 = s.rv___16406; s.callLocIdx = 185; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = s.rv___78123; + r0 = s.rv___16406; return leave(s, r0) default: oops() } } } -tileworld_Project_makeRule__P73586.info = {"start":4249,"length":707,"line":124,"column":8,"endLine":140,"endColumn":9,"fileName":"project.ts","functionName":"makeRule","argumentNames":["this","rt","ra","kind"]} +tileworld_Project_makeRule__P3706.info = {"start":4249,"length":707,"line":124,"column":8,"endLine":140,"endColumn":9,"fileName":"project.ts","functionName":"makeRule","argumentNames":["this","rt","ra","kind"]} -function tileworld_Project_makeRule__P73586_mk(s) { +function tileworld_Project_makeRule__P3706_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_makeRule__P73586, depth: s.depth + 1, + parent: s, fn: tileworld_Project_makeRule__P3706, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rv___78123: undefined, - wd___78130: undefined, + rv___16406: undefined, + wd___16413: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34969,7 +34971,7 @@ function tileworld_Project_makeRule__P73586_mk(s) { -function tileworld_makeNewRule__P73502(s) { +function tileworld_makeNewRule__P3622(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34984,9 +34986,9 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Rule__C73500_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Rule__C3620_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_Rule_constructor__P73501_mk(s); + s.tmp_1 = tileworld_Rule_constructor__P3621_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; @@ -35000,12 +35002,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_makeNewRule__P73502.info = {"start":4724,"length":105,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"rule.ts","functionName":"makeNewRule","argumentNames":["rt","ra"]} +tileworld_makeNewRule__P3622.info = {"start":4724,"length":105,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"rule.ts","functionName":"makeNewRule","argumentNames":["rt","ra"]} -function tileworld_makeNewRule__P73502_mk(s) { +function tileworld_makeNewRule__P3622_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_makeNewRule__P73502, depth: s.depth + 1, + parent: s, fn: tileworld_makeNewRule__P3622, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35017,7 +35019,7 @@ function tileworld_makeNewRule__P73502_mk(s) { -function tileworld_Rule_constructor__P73501(s) { +function tileworld_Rule_constructor__P3621(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35036,7 +35038,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Rule__C73500_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Rule__C3620_VT)) failedCast(r0); r0 = (s.arg0).fields["ruleType"] = (s.arg1); r0 = (s.arg0).fields["ruleArg"] = (s.arg2); r0 = (s.arg0).fields["whenDo"] = (s.arg3); @@ -35045,12 +35047,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Rule_constructor__P73501.info = {"start":4384,"length":272,"line":118,"column":8,"endLine":123,"endColumn":13,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","ruleType","ruleArg","whenDo","transforms"]} +tileworld_Rule_constructor__P3621.info = {"start":4384,"length":272,"line":118,"column":8,"endLine":123,"endColumn":13,"fileName":"rule.ts","functionName":"inline","argumentNames":["this","ruleType","ruleArg","whenDo","transforms"]} -function tileworld_Rule_constructor__P73501_mk(s) { +function tileworld_Rule_constructor__P3621_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Rule_constructor__P73501, depth: s.depth + 1, + parent: s, fn: tileworld_Rule_constructor__P3621, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -35063,7 +35065,7 @@ function tileworld_Rule_constructor__P73501_mk(s) { -function tileworld_Project_wrapRule__P77991(s) { +function tileworld_Project_wrapRule__P6000(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35073,43 +35075,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rids___78379 = undefined; - s.rid___78394 = undefined; - s.i___78395 = undefined; - s.newRule___78413 = undefined; + s.rids___16451 = undefined; + s.rid___16466 = undefined; + s.i___16467 = undefined; + s.newRule___16485 = 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__C73562_VT)) failedCast(r0); - s.tmp_0 = helpers_arraySort__P69983_mk(s); - s.tmp_1 = helpers_arrayMap__P69984_mk(s); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); + s.tmp_0 = helpers_arraySort__P103_mk(s); + s.tmp_1 = helpers_arrayMap__P104_mk(s); r0 = s.arg0.fields["rules"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = inline__P78384; + s.tmp_1.arg1 = inline__P16456; s.callLocIdx = 225; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P78388; + s.tmp_0.arg1 = inline__P16460; s.callLocIdx = 226; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.rids___78379 = (r0); - s.rid___78394 = (0); - s.i___78395 = (0); + s.rids___16451 = (r0); + s.rid___16466 = (0); + s.i___16467 = (0); case 1: - s.tmp_1 = r0 = s.i___78395; - r0 = pxsim_Array__length(s.rids___78379); + s.tmp_1 = r0 = s.i___16467; + r0 = pxsim_Array__length(s.rids___16451); 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___78394; - r0 = pxsim_Array__getAt(s.rids___78379, s.i___78395); + s.tmp_4 = r0 = s.rid___16466; + r0 = pxsim_Array__getAt(s.rids___16451, s.i___16467); s.tmp_5 = r0; r0 = (s.tmp_4 != s.tmp_5); s.tmp_3 = r0; @@ -35118,38 +35120,38 @@ switch (step) { { step = 4; continue; } case 2: case 3: - r0 = pxsim_Array__getAt(s.rids___78379, s.i___78395); + r0 = pxsim_Array__getAt(s.rids___16451, s.i___16467); s.tmp_6 = r0; r0 = (s.tmp_6 + 1); - s.rid___78394 = (r0); - r0 = (s.i___78395 + 1); - s.i___78395 = (r0); + s.rid___16466 = (r0); + r0 = (s.i___16467 + 1); + s.i___16467 = (r0); { step = 1; continue; } case 4: - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleView__C73515_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleView__C3635_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_RuleView_constructor__P73516_mk(s); + s.tmp_1 = tileworld_RuleView_constructor__P3636_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.rid___78394; + s.tmp_1.arg2 = s.rid___16466; s.tmp_1.arg3 = s.arg1; s.callLocIdx = 227; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.newRule___78413 = (s.tmp_0); + s.newRule___16485 = (s.tmp_0); r0 = s.arg0.fields["rules"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.newRule___78413); - r0 = s.newRule___78413; + r0 = pxsim_Array__push(s.tmp_0, s.newRule___16485); + r0 = s.newRule___16485; return leave(s, r0) default: oops() } } } -tileworld_Project_wrapRule__P77991.info = {"start":7352,"length":477,"line":200,"column":8,"endLine":212,"endColumn":9,"fileName":"project.ts","functionName":"wrapRule","argumentNames":["this","r"]} +tileworld_Project_wrapRule__P6000.info = {"start":7352,"length":477,"line":200,"column":8,"endLine":212,"endColumn":9,"fileName":"project.ts","functionName":"wrapRule","argumentNames":["this","r"]} -function tileworld_Project_wrapRule__P77991_mk(s) { +function tileworld_Project_wrapRule__P6000_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_wrapRule__P77991, depth: s.depth + 1, + parent: s, fn: tileworld_Project_wrapRule__P6000, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35158,10 +35160,10 @@ function tileworld_Project_wrapRule__P77991_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - rids___78379: undefined, - rid___78394: undefined, - i___78395: undefined, - newRule___78413: undefined, + rids___16451: undefined, + rid___16466: undefined, + i___16467: undefined, + newRule___16485: undefined, arg0: undefined, arg1: undefined, } } @@ -35170,7 +35172,7 @@ function tileworld_Project_wrapRule__P77991_mk(s) { -function inline__P78384(s) { +function inline__P16456(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35188,12 +35190,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P78384.info = {"start":7472,"length":18,"line":202,"column":38,"endLine":202,"endColumn":56,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P16456.info = {"start":7472,"length":18,"line":202,"column":38,"endLine":202,"endColumn":56,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -function inline__P78384_mk(s) { +function inline__P16456_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P78384, depth: s.depth + 1, + parent: s, fn: inline__P16456, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35202,7 +35204,7 @@ function inline__P78384_mk(s) { -function inline__P78388(s) { +function inline__P16460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35221,12 +35223,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P78388.info = {"start":7497,"length":14,"line":202,"column":63,"endLine":202,"endColumn":77,"fileName":"project.ts","functionName":"inline","argumentNames":["a","b"]} +inline__P16460.info = {"start":7497,"length":14,"line":202,"column":63,"endLine":202,"endColumn":77,"fileName":"project.ts","functionName":"inline","argumentNames":["a","b"]} -function inline__P78388_mk(s) { +function inline__P16460_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P78388, depth: s.depth + 1, + parent: s, fn: inline__P16460, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -35236,7 +35238,7 @@ function inline__P78388_mk(s) { -function helpers_arrayMap__P69984(s) { +function helpers_arrayMap__P104(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35246,58 +35248,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___96959 = undefined; - s.len___96961 = undefined; - s.i___96964 = undefined; + s.res___16498 = undefined; + s.len___16500 = undefined; + s.i___16503 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___96959 = (r0); + s.res___16498 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___96961 = (r0); - s.i___96964 = (0); + s.len___16500 = (r0); + s.i___16503 = (0); case 1: - r0 = (s.i___96964 < s.len___96961); + r0 = (s.i___16503 < s.len___16500); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___96959; + s.tmp_1 = r0 = s.res___16498; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___96964); + r0 = pxsim_Array__getAt(s.arg0, s.i___16503); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___96964; + s.tmp_3.arg1 = s.i___16503; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 4; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___96964 + 1); - s.i___96964 = (r0); + r0 = (s.i___16503 + 1); + s.i___16503 = (r0); { step = 1; continue; } case 2: - r0 = s.res___96959; + r0 = s.res___16498; return leave(s, r0) default: oops() } } } -helpers_arrayMap__P69984.info = {"start":6528,"length":299,"line":229,"column":4,"endLine":236,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayMap","argumentNames":["arr","callbackfn"]} +helpers_arrayMap__P104.info = {"start":6528,"length":299,"line":229,"column":4,"endLine":236,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayMap","argumentNames":["arr","callbackfn"]} -function helpers_arrayMap__P69984_mk(s) { +function helpers_arrayMap__P104_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P69984, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P104, depth: s.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___96959: undefined, - len___96961: undefined, - i___96964: undefined, + res___16498: undefined, + len___16500: undefined, + i___16503: undefined, arg0: undefined, arg1: undefined, } } @@ -35306,7 +35308,7 @@ function helpers_arrayMap__P69984_mk(s) { -function tileworld_RuleVisualsBase_getRulesForTypeDir__P82563(s) { +function tileworld_RuleVisualsBase_getRulesForTypeDir__P6298(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35324,26 +35326,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P82783); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C3789_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P16525); 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_arrayFilter__P69988_mk(s); + s.tmp_1 = helpers_arrayFilter__P108_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 677; s.pc = 1; return s.tmp_1; + s.callLocIdx = 689; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_getRulesForTypeDir__P82563.info = {"start":3688,"length":186,"line":92,"column":8,"endLine":94,"endColumn":9,"fileName":"rulesBase.ts","functionName":"getRulesForTypeDir","argumentNames":["this","rules","rt","dir"]} +tileworld_RuleVisualsBase_getRulesForTypeDir__P6298.info = {"start":3688,"length":186,"line":92,"column":8,"endLine":94,"endColumn":9,"fileName":"rulesBase.ts","functionName":"getRulesForTypeDir","argumentNames":["this","rules","rt","dir"]} -function tileworld_RuleVisualsBase_getRulesForTypeDir__P82563_mk(s) { +function tileworld_RuleVisualsBase_getRulesForTypeDir__P6298_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_getRulesForTypeDir__P82563, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_getRulesForTypeDir__P6298, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35357,7 +35359,7 @@ function tileworld_RuleVisualsBase_getRulesForTypeDir__P82563_mk(s) { -function inline__P82783(s) { +function inline__P16525(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35381,9 +35383,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_3 = tileworld_RuleView_getDirFromRule__P73527_mk(s); + s.tmp_3 = tileworld_RuleView_getDirFromRule__P3647_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 676; s.pc = 3; return s.tmp_3; + s.callLocIdx = 688; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; @@ -35395,12 +35397,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P82783.info = {"start":3804,"length":58,"line":93,"column":32,"endLine":93,"endColumn":90,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["rv"]} +inline__P16525.info = {"start":3804,"length":58,"line":93,"column":32,"endLine":93,"endColumn":90,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["rv"]} -function inline__P82783_mk(s) { +function inline__P16525_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P82783, depth: s.depth + 1, + parent: s, fn: inline__P16525, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35414,7 +35416,7 @@ function inline__P82783_mk(s) { -function tileworld_Project_getRulesForSpriteKind__P73593(s) { +function tileworld_Project_getRulesForSpriteKind__P3713(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35430,11 +35432,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P78429); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P16543); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P69988_mk(s); + s.tmp_1 = helpers_arrayFilter__P108_mk(s); r0 = s.arg0.fields["rules"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -35444,12 +35446,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_getRulesForSpriteKind__P73593.info = {"start":7843,"length":122,"line":214,"column":8,"endLine":216,"endColumn":9,"fileName":"project.ts","functionName":"getRulesForSpriteKind","argumentNames":["this","kind"]} +tileworld_Project_getRulesForSpriteKind__P3713.info = {"start":7843,"length":122,"line":214,"column":8,"endLine":216,"endColumn":9,"fileName":"project.ts","functionName":"getRulesForSpriteKind","argumentNames":["this","kind"]} -function tileworld_Project_getRulesForSpriteKind__P73593_mk(s) { +function tileworld_Project_getRulesForSpriteKind__P3713_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getRulesForSpriteKind__P73593, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getRulesForSpriteKind__P3713, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35461,7 +35463,7 @@ function tileworld_Project_getRulesForSpriteKind__P73593_mk(s) { -function inline__P78429(s) { +function inline__P16543(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35475,7 +35477,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleView_hasSpriteKind__P73545_mk(s); + s.tmp_0 = tileworld_RuleView_hasSpriteKind__P3665_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.callLocIdx = 228; s.pc = 1; return s.tmp_0; @@ -35484,12 +35486,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P78429.info = {"start":7925,"length":28,"line":215,"column":37,"endLine":215,"endColumn":65,"fileName":"project.ts","functionName":"inline","argumentNames":["rv"]} +inline__P16543.info = {"start":7925,"length":28,"line":215,"column":37,"endLine":215,"endColumn":65,"fileName":"project.ts","functionName":"inline","argumentNames":["rv"]} -function inline__P78429_mk(s) { +function inline__P16543_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P78429, depth: s.depth + 1, + parent: s, fn: inline__P16543, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35499,7 +35501,7 @@ function inline__P78429_mk(s) { -function tileworld_RuleView_hasSpriteKind__P73545(s) { +function tileworld_RuleView_hasSpriteKind__P3665(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35509,32 +35511,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___77639 = undefined; + s.wd___16550 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getWhenDo__P73528_mk(s); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getWhenDo__P3648_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 2; s.callLocIdx = 148; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.wd___77639 = (r0); - r0 = (s.wd___77639 == -1); + s.wd___16550 = (r0); + r0 = (s.wd___16550 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = false; { step = 2; continue; } case 1: - s.tmp_2 = tileworld_RuleView_getSetSpAttr__P73533_mk(s); + s.tmp_2 = tileworld_RuleView_getSetSpAttr__P3653_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.wd___77639; + s.tmp_2.arg1 = s.wd___16550; s.tmp_2.arg2 = s.arg1; s.tmp_2.arg3 = 65535; s.callLocIdx = 149; s.pc = 4; return s.tmp_2; @@ -35549,18 +35551,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_hasSpriteKind__P73545.info = {"start":8924,"length":219,"line":256,"column":8,"endLine":260,"endColumn":9,"fileName":"ruleview.ts","functionName":"hasSpriteKind","argumentNames":["this","kind"]} +tileworld_RuleView_hasSpriteKind__P3665.info = {"start":8924,"length":219,"line":256,"column":8,"endLine":260,"endColumn":9,"fileName":"ruleview.ts","functionName":"hasSpriteKind","argumentNames":["this","kind"]} -function tileworld_RuleView_hasSpriteKind__P73545_mk(s) { +function tileworld_RuleView_hasSpriteKind__P3665_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_hasSpriteKind__P73545, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_hasSpriteKind__P3665, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - wd___77639: undefined, + wd___16550: undefined, arg0: undefined, arg1: undefined, } } @@ -35569,7 +35571,7 @@ function tileworld_RuleView_hasSpriteKind__P73545_mk(s) { -function tileworld_Project_spriteCnt__P73577(s) { +function tileworld_Project_spriteCnt__P3697(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35584,19 +35586,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = s.arg0.fields["_spritesI"]; s.tmp_0 = r0; r0 = pxsim_Array__length(s.tmp_0); return leave(s, r0) default: oops() } } } -tileworld_Project_spriteCnt__P73577.info = {"start":3210,"length":52,"line":97,"column":8,"endLine":97,"endColumn":60,"fileName":"project.ts","functionName":"spriteCnt","argumentNames":["this"]} +tileworld_Project_spriteCnt__P3697.info = {"start":3210,"length":52,"line":97,"column":8,"endLine":97,"endColumn":60,"fileName":"project.ts","functionName":"spriteCnt","argumentNames":["this"]} -function tileworld_Project_spriteCnt__P73577_mk(s) { +function tileworld_Project_spriteCnt__P3697_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_spriteCnt__P73577, depth: s.depth + 1, + parent: s, fn: tileworld_Project_spriteCnt__P3697, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35606,7 +35608,7 @@ function tileworld_Project_spriteCnt__P73577_mk(s) { -function tileworld_ruleediting_RuleRoom_update__P84259(s) { +function tileworld_ruleediting_RuleRoom_update__P6395(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35621,48 +35623,48 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C73690_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.fill(globals.screen___71682, 15); - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C3810_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.fill(globals.screen___1802, 15); + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); + s.tmp_0.arg0 = globals.screen___1802; 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; - s.callLocIdx = 877; s.pc = 1; return s.tmp_0; + s.callLocIdx = 889; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___71682, globals.code___73600, 0, 6); - s.tmp_0 = tileworld_ruleediting_RuleRoom_showRuleMenu__P84265_mk(s); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___1802, globals.code___3720, 0, 6); + s.tmp_0 = tileworld_ruleediting_RuleRoom_showRuleMenu__P6401_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 0; - s.callLocIdx = 878; s.pc = 2; return s.tmp_0; + s.callLocIdx = 890; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P84496); + r0 = pxsim_pxtcore_mkAction(1, inline__P16583); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["_spritesI"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 881; s.pc = 3; return s.tmp_1; + s.callLocIdx = 893; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_update__P84259.info = {"start":2827,"length":324,"line":62,"column":8,"endLine":70,"endColumn":9,"fileName":"spriteRules.ts","functionName":"update","argumentNames":["this"]} +tileworld_ruleediting_RuleRoom_update__P6395.info = {"start":2827,"length":324,"line":62,"column":8,"endLine":70,"endColumn":9,"fileName":"spriteRules.ts","functionName":"update","argumentNames":["this"]} -function tileworld_ruleediting_RuleRoom_update__P84259_mk(s) { +function tileworld_ruleediting_RuleRoom_update__P6395_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_update__P84259, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_update__P6395, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35674,7 +35676,7 @@ function tileworld_ruleediting_RuleRoom_update__P84259_mk(s) { -function inline__P84496(s) { +function inline__P16583(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35689,25 +35691,25 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; r0 = (1 + s.arg1); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg0; - s.callLocIdx = 880; s.pc = 1; return s.tmp_0; + s.callLocIdx = 892; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P84496.info = {"start":3066,"length":73,"line":67,"column":42,"endLine":69,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P16583.info = {"start":3066,"length":73,"line":67,"column":42,"endLine":69,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P84496_mk(s) { +function inline__P16583_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P84496, depth: s.depth + 1, + parent: s, fn: inline__P16583, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35718,7 +35720,7 @@ function inline__P84496_mk(s) { -function tileworld_ruleediting_RuleRoom_showRuleMenu__P84265(s) { +function tileworld_ruleediting_RuleRoom_showRuleMenu__P6401(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35735,28 +35737,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C73690_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C3810_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = tileworld_Project_getRulesForSpriteKind__P73593_mk(s); + s.tmp_2 = tileworld_Project_getRulesForSpriteKind__P3713_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["kind"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 901; s.pc = 1; return s.tmp_2; + s.callLocIdx = 913; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["rules"] = (s.tmp_1); - s.tmp_0 = tileworld_ruleediting_RuleRoom_make3by3__P84261_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_make3by3__P6397_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + 3); s.tmp_0.arg1 = r0; r0 = (s.arg2 + 1); s.tmp_0.arg2 = r0; - s.callLocIdx = 902; s.pc = 2; return s.tmp_0; + s.callLocIdx = 914; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 6; @@ -35765,10 +35767,10 @@ switch (step) { r0 = (s.arg2 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = true; - s.callLocIdx = 903; s.pc = 3; return s.tmp_0; + s.callLocIdx = 915; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 2; @@ -35779,10 +35781,10 @@ switch (step) { r0 = (s.arg2 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = true; - s.callLocIdx = 904; s.pc = 4; return s.tmp_0; + s.callLocIdx = 916; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 0; @@ -35793,10 +35795,10 @@ switch (step) { r0 = (s.arg2 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = true; - s.callLocIdx = 905; s.pc = 5; return s.tmp_0; + s.callLocIdx = 917; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 1; @@ -35804,10 +35806,10 @@ switch (step) { s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg2; s.tmp_0.arg5 = true; - s.callLocIdx = 906; s.pc = 6; return s.tmp_0; + s.callLocIdx = 918; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; @@ -35816,10 +35818,10 @@ switch (step) { r0 = (s.arg2 + 2); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = true; - s.callLocIdx = 907; s.pc = 7; return s.tmp_0; + s.callLocIdx = 919; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 4; @@ -35830,10 +35832,10 @@ switch (step) { r0 = (s.arg2 + 2); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 908; s.pc = 8; return s.tmp_0; + s.callLocIdx = 920; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 5; @@ -35844,27 +35846,27 @@ switch (step) { r0 = (s.arg2 + 2); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 909; s.pc = 9; return s.tmp_0; + s.callLocIdx = 921; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_stringColumn__P84264_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_stringColumn__P6400_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = "change"; s.tmp_0.arg2 = 3; s.tmp_0.arg3 = 0; - s.callLocIdx = 910; s.pc = 10; return s.tmp_0; + s.callLocIdx = 922; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_make3by3__P84261_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_make3by3__P6397_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + 3); s.tmp_0.arg1 = r0; r0 = (s.arg2 + 5); s.tmp_0.arg2 = r0; - s.callLocIdx = 911; s.pc = 11; return s.tmp_0; + s.callLocIdx = 923; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 2; @@ -35873,10 +35875,10 @@ switch (step) { r0 = (s.arg2 + 5); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 912; s.pc = 12; return s.tmp_0; + s.callLocIdx = 924; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 0; @@ -35885,10 +35887,10 @@ switch (step) { r0 = (s.arg2 + 5); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 913; s.pc = 13; return s.tmp_0; + s.callLocIdx = 925; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 1; @@ -35897,10 +35899,10 @@ switch (step) { r0 = (s.arg2 + 5); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 914; s.pc = 14; return s.tmp_0; + s.callLocIdx = 926; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 3; @@ -35909,44 +35911,44 @@ switch (step) { r0 = (s.arg2 + 5); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 915; s.pc = 15; return s.tmp_0; + s.callLocIdx = 927; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + 3); s.tmp_0.arg1 = r0; r0 = (s.arg2 + 5); s.tmp_0.arg2 = r0; - s.tmp_1 = tileworld_ruleediting_RuleRoom__C73690_v3_1_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleRoom__C3810_v3_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, tileworld_ruleediting_RuleRoom__C73690_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tileworld_ruleediting_RuleRoom__C3810_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.centerImage; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; s.tmp_0.arg3 = r0; - s.callLocIdx = 916; s.pc = 16; return s.tmp_0; + s.callLocIdx = 928; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_stringColumn__P84264_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_stringColumn__P6400_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = "smash"; s.tmp_0.arg2 = 3; s.tmp_0.arg3 = 4; - s.callLocIdx = 917; s.pc = 18; return s.tmp_0; + s.callLocIdx = 929; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_make3by3__P84261_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_make3by3__P6397_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + 7); s.tmp_0.arg1 = r0; r0 = (s.arg2 + 1); s.tmp_0.arg2 = r0; - s.callLocIdx = 918; s.pc = 19; return s.tmp_0; + s.callLocIdx = 930; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 2; @@ -35957,10 +35959,10 @@ switch (step) { r0 = (s.arg2 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 919; s.pc = 20; return s.tmp_0; + s.callLocIdx = 931; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; @@ -35971,10 +35973,10 @@ switch (step) { r0 = (s.arg2 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 920; s.pc = 21; return s.tmp_0; + s.callLocIdx = 932; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 3; @@ -35983,10 +35985,10 @@ switch (step) { r0 = (s.arg2 + 3); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 921; s.pc = 22; return s.tmp_0; + s.callLocIdx = 933; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 1; @@ -35995,10 +35997,10 @@ switch (step) { r0 = (s.arg2 - 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 922; s.pc = 23; return s.tmp_0; + s.callLocIdx = 934; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 4; @@ -36007,27 +36009,27 @@ switch (step) { r0 = (s.arg2 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 923; s.pc = 24; return s.tmp_0; + s.callLocIdx = 935; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_stringColumn__P84264_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_stringColumn__P6400_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = "press"; s.tmp_0.arg2 = 7; s.tmp_0.arg3 = 0; - s.callLocIdx = 924; s.pc = 25; return s.tmp_0; + s.callLocIdx = 936; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_make3by3__P84261_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_make3by3__P6397_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + 7); s.tmp_0.arg1 = r0; r0 = (s.arg2 + 5); s.tmp_0.arg2 = r0; - s.callLocIdx = 925; s.pc = 26; return s.tmp_0; + s.callLocIdx = 937; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 6; @@ -36038,27 +36040,27 @@ switch (step) { r0 = (s.arg2 + 4); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 926; s.pc = 27; return s.tmp_0; + s.callLocIdx = 938; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_stringColumn__P84264_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_stringColumn__P6400_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = "misc"; s.tmp_0.arg2 = 7; s.tmp_0.arg3 = 4; - s.callLocIdx = 927; s.pc = 28; return s.tmp_0; + s.callLocIdx = 939; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_showRuleMenu__P84265.info = {"start":5328,"length":2147,"line":118,"column":8,"endLine":152,"endColumn":9,"fileName":"spriteRules.ts","functionName":"showRuleMenu","argumentNames":["this","x","y"]} +tileworld_ruleediting_RuleRoom_showRuleMenu__P6401.info = {"start":5328,"length":2147,"line":118,"column":8,"endLine":152,"endColumn":9,"fileName":"spriteRules.ts","functionName":"showRuleMenu","argumentNames":["this","x","y"]} -function tileworld_ruleediting_RuleRoom_showRuleMenu__P84265_mk(s) { +function tileworld_ruleediting_RuleRoom_showRuleMenu__P6401_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_showRuleMenu__P84265, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_showRuleMenu__P6401, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36072,7 +36074,7 @@ function tileworld_ruleediting_RuleRoom_showRuleMenu__P84265_mk(s) { -function tileworld_ruleediting_RuleRoom_centerImage__P84260(s) { +function tileworld_ruleediting_RuleRoom_centerImage__P6396(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36087,24 +36089,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C73690_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_getSpriteImage__P73582_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C3810_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_getSpriteImage__P3702_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["kind"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 882; s.pc = 1; return s.tmp_0; + s.callLocIdx = 894; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_centerImage__P84260.info = {"start":3163,"length":90,"line":72,"column":8,"endLine":74,"endColumn":9,"fileName":"spriteRules.ts","functionName":"centerImage","argumentNames":["this"]} +tileworld_ruleediting_RuleRoom_centerImage__P6396.info = {"start":3163,"length":90,"line":72,"column":8,"endLine":74,"endColumn":9,"fileName":"spriteRules.ts","functionName":"centerImage","argumentNames":["this"]} -function tileworld_ruleediting_RuleRoom_centerImage__P84260_mk(s) { +function tileworld_ruleediting_RuleRoom_centerImage__P6396_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_centerImage__P84260, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_centerImage__P6396, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36114,7 +36116,7 @@ function tileworld_ruleediting_RuleRoom_centerImage__P84260_mk(s) { -function tileworld_Project_getSpriteImage__P73582(s) { +function tileworld_Project_getSpriteImage__P3702(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36130,7 +36132,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = (0 <= s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -36162,12 +36164,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_getSpriteImage__P73582.info = {"start":3614,"length":134,"line":106,"column":8,"endLine":108,"endColumn":9,"fileName":"project.ts","functionName":"getSpriteImage","argumentNames":["this","kind"]} +tileworld_Project_getSpriteImage__P3702.info = {"start":3614,"length":134,"line":106,"column":8,"endLine":108,"endColumn":9,"fileName":"project.ts","functionName":"getSpriteImage","argumentNames":["this","kind"]} -function tileworld_Project_getSpriteImage__P73582_mk(s) { +function tileworld_Project_getSpriteImage__P3702_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getSpriteImage__P73582, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getSpriteImage__P3702, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36184,7 +36186,7 @@ function tileworld_Project_getSpriteImage__P73582_mk(s) { -function tileworld_ruleediting_RuleRoom_stringColumn__P84264(s) { +function tileworld_ruleediting_RuleRoom_stringColumn__P6400(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36194,7 +36196,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___84680 = undefined; + s.i___16833 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36203,19 +36205,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C73690_VT)) failedCast(r0); - s.i___84680 = (0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C3810_VT)) failedCast(r0); + s.i___16833 = (0); case 1: - s.tmp_1 = r0 = s.i___84680; + s.tmp_1 = r0 = s.i___16833; 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 = 2; continue; } - s.tmp_3 = helpers_imagePrint__P71640_mk(s); - s.tmp_3.arg0 = globals.screen___71682; - r0 = pxsim_String_.charAt(s.arg1, s.i___84680); + s.tmp_3 = helpers_imagePrint__P1760_mk(s); + s.tmp_3.arg0 = globals.screen___1802; + r0 = pxsim_String_.charAt(s.arg1, s.i___16833); s.tmp_3.arg1 = r0; r0 = (s.arg2 << 4); s.tmp_4 = r0; @@ -36223,7 +36225,7 @@ switch (step) { s.tmp_3.arg2 = r0; r0 = (s.arg3 << 4); s.tmp_6 = r0; - r0 = (s.i___84680 << 3); + r0 = (s.i___16833 << 3); s.tmp_7 = r0; r0 = (s.tmp_6 + s.tmp_7); s.tmp_5 = r0; @@ -36232,23 +36234,23 @@ switch (step) { s.tmp_3.arg4 = undefined; s.tmp_3.arg5 = undefined; s.tmp_3.arg6 = undefined; - s.callLocIdx = 900; s.pc = 3; return s.tmp_3; + s.callLocIdx = 912; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - r0 = (s.i___84680 + 1); - s.i___84680 = (r0); + r0 = (s.i___16833 + 1); + s.i___16833 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_stringColumn__P84264.info = {"start":5101,"length":215,"line":112,"column":8,"endLine":116,"endColumn":9,"fileName":"spriteRules.ts","functionName":"stringColumn","argumentNames":["this","s","col","row"]} +tileworld_ruleediting_RuleRoom_stringColumn__P6400.info = {"start":5101,"length":215,"line":112,"column":8,"endLine":116,"endColumn":9,"fileName":"spriteRules.ts","functionName":"stringColumn","argumentNames":["this","s","col","row"]} -function tileworld_ruleediting_RuleRoom_stringColumn__P84264_mk(s) { +function tileworld_ruleediting_RuleRoom_stringColumn__P6400_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_stringColumn__P84264, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_stringColumn__P6400, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36258,7 +36260,7 @@ function tileworld_ruleediting_RuleRoom_stringColumn__P84264_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - i___84680: undefined, + i___16833: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36269,7 +36271,7 @@ function tileworld_ruleediting_RuleRoom_stringColumn__P84264_mk(s) { -function tileworld_ruleediting_RuleRoom_doBoth__P84263(s) { +function tileworld_ruleediting_RuleRoom_doBoth__P6399(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36279,12 +36281,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scol___84562 = undefined; - s.rules___84563 = undefined; - s.tcol___84577 = undefined; - s.trow___84583 = undefined; - s.tcol___84607 = undefined; - s.trow___84616 = undefined; + s.scol___16867 = undefined; + s.rules___16868 = undefined; + s.tcol___16881 = undefined; + s.trow___16887 = undefined; + s.tcol___16911 = undefined; + s.trow___16920 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36295,18 +36297,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C73690_VT)) failedCast(r0); - s.scol___84562 = (13); - s.tmp_0 = tileworld_RuleVisualsBase_getRulesForTypeDir__P82563_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C3810_VT)) failedCast(r0); + s.scol___16867 = (13); + s.tmp_0 = tileworld_RuleVisualsBase_getRulesForTypeDir__P6298_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["rules"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; - s.callLocIdx = 884; s.pc = 23; return s.tmp_0; + s.callLocIdx = 896; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.rules___84563 = (r0); + s.rules___16868 = (r0); r0 = (s.arg1 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -36321,52 +36323,52 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 5; continue; } s.tmp_2 = r0 = s.arg3; - s.tmp_4 = tileworld_moveXdelta__P73503_mk(s); + s.tmp_4 = tileworld_moveXdelta__P3623_mk(s); s.tmp_4.arg0 = s.arg2; - s.callLocIdx = 885; s.pc = 24; return s.tmp_4; + s.callLocIdx = 897; s.pc = 24; return s.tmp_4; case 24: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.tcol___84577 = (r0); + s.tcol___16881 = (r0); s.tmp_0 = r0 = s.arg4; - s.tmp_2 = tileworld_moveYdelta__P73504_mk(s); + s.tmp_2 = tileworld_moveYdelta__P3624_mk(s); s.tmp_2.arg0 = s.arg2; - s.callLocIdx = 886; s.pc = 25; return s.tmp_2; + s.callLocIdx = 898; s.pc = 25; return s.tmp_2; case 25: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.trow___84583 = (r0); - s.tmp_0 = tileworld_ruleediting_RuleRoom_setRuleType__P84262_mk(s); + s.trow___16887 = (r0); + s.tmp_0 = tileworld_ruleediting_RuleRoom_setRuleType__P6398_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___84577; - s.tmp_0.arg4 = s.trow___84583; - s.callLocIdx = 887; s.pc = 26; return s.tmp_0; + s.tmp_0.arg3 = s.tcol___16881; + s.tmp_0.arg4 = s.trow___16887; + s.callLocIdx = 899; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - r0 = pxsim_Array__length(s.rules___84563); + r0 = pxsim_Array__length(s.rules___16868); 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 = tileworld_RuleVisualsBase_fillTile__P82571_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_fillTile__P6306_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.tcol___84577; - s.tmp_2.arg2 = s.trow___84583; - s.tmp_2.arg3 = s.scol___84562; - s.callLocIdx = 888; s.pc = 27; return s.tmp_2; + s.tmp_2.arg1 = s.tcol___16881; + s.tmp_2.arg2 = s.trow___16887; + s.tmp_2.arg3 = s.scol___16867; + s.callLocIdx = 900; s.pc = 27; return s.tmp_2; case 27: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P82570_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P6305_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.tcol___84577; - s.tmp_0.arg2 = s.trow___84583; + s.tmp_0.arg1 = s.tcol___16881; + s.tmp_0.arg2 = s.trow___16887; s.tmp_0.arg3 = 1; - s.callLocIdx = 889; s.pc = 28; return s.tmp_0; + s.callLocIdx = 901; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; case 3: @@ -36382,9 +36384,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 6; continue; } s.tmp_2 = r0 = s.arg3; - s.tmp_4 = tileworld_moveXdelta__P73503_mk(s); + s.tmp_4 = tileworld_moveXdelta__P3623_mk(s); s.tmp_4.arg0 = s.arg2; - s.callLocIdx = 890; s.pc = 29; return s.tmp_4; + s.callLocIdx = 902; s.pc = 29; return s.tmp_4; case 29: r0 = s.retval; s.tmp_3 = r0; @@ -36395,15 +36397,15 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_5 = r0; - s.tcol___84607 = (s.tmp_5); + s.tcol___16911 = (s.tmp_5); r0 = (s.arg2 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } s.tmp_1 = r0 = s.arg4; - s.tmp_3 = tileworld_moveYdelta__P73504_mk(s); + s.tmp_3 = tileworld_moveYdelta__P3624_mk(s); s.tmp_3.arg0 = s.arg2; - s.callLocIdx = 891; s.pc = 30; return s.tmp_3; + s.callLocIdx = 903; s.pc = 30; return s.tmp_3; case 30: r0 = s.retval; s.tmp_2 = r0; @@ -36414,47 +36416,47 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_4 = r0; - s.trow___84616 = (s.tmp_4); - s.tmp_0 = tileworld_ruleediting_RuleRoom_setRuleType__P84262_mk(s); + s.trow___16920 = (s.tmp_4); + s.tmp_0 = tileworld_ruleediting_RuleRoom_setRuleType__P6398_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___84607; - s.tmp_0.arg4 = s.trow___84616; - s.callLocIdx = 892; s.pc = 31; return s.tmp_0; + s.tmp_0.arg3 = s.tcol___16911; + s.tmp_0.arg4 = s.trow___16920; + s.callLocIdx = 904; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - r0 = pxsim_Array__length(s.rules___84563); + r0 = pxsim_Array__length(s.rules___16868); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.tmp_2 = tileworld_RuleVisualsBase_fillTile__P82571_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_fillTile__P6306_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.tcol___84607; - s.tmp_2.arg2 = s.trow___84616; - s.tmp_2.arg3 = s.scol___84562; - s.callLocIdx = 893; s.pc = 32; return s.tmp_2; + s.tmp_2.arg1 = s.tcol___16911; + s.tmp_2.arg2 = s.trow___16920; + s.tmp_2.arg3 = s.scol___16867; + s.callLocIdx = 905; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P82570_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P6305_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.tcol___84607; - s.tmp_0.arg2 = s.trow___84616; + s.tmp_0.arg1 = s.tcol___16911; + s.tmp_0.arg2 = s.trow___16920; s.tmp_0.arg3 = 1; - s.callLocIdx = 894; s.pc = 33; return s.tmp_0; + s.callLocIdx = 906; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; case 10: case 11: - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.tcol___84607; - s.tmp_0.arg2 = s.trow___84616; - r0 = pxsim_Array__getAt(globals.buttonImages___73676, s.arg2); + s.tmp_0.arg1 = s.tcol___16911; + s.tmp_0.arg2 = s.trow___16920; + r0 = pxsim_Array__getAt(globals.buttonImages___3873431, s.arg2); s.tmp_0.arg3 = r0; - s.callLocIdx = 895; s.pc = 34; return s.tmp_0; + s.callLocIdx = 907; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; { step = 19; continue; } @@ -36472,35 +36474,35 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 17; continue; } - s.tmp_2 = tileworld_ruleediting_RuleRoom_setRuleType__P84262_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleRoom_setRuleType__P6398_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; s.tmp_2.arg3 = s.arg3; s.tmp_2.arg4 = s.arg4; - s.callLocIdx = 896; s.pc = 35; return s.tmp_2; + s.callLocIdx = 908; s.pc = 35; return s.tmp_2; case 35: r0 = s.retval; - r0 = pxsim_Array__length(s.rules___84563); + r0 = pxsim_Array__length(s.rules___16868); 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; } - s.tmp_2 = tileworld_RuleVisualsBase_fillTile__P82571_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_fillTile__P6306_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___84562; - s.callLocIdx = 897; s.pc = 36; return s.tmp_2; + s.tmp_2.arg3 = s.scol___16867; + s.callLocIdx = 909; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P82570_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P6305_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.tmp_0.arg2 = s.arg4; s.tmp_0.arg3 = 1; - s.callLocIdx = 898; s.pc = 37; return s.tmp_0; + s.callLocIdx = 910; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; case 15: @@ -36513,14 +36515,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 21; continue; } - s.tmp_1 = tileworld_ruleediting_RuleDisplay_showRuleType__P82982_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleDisplay_showRuleType__P3873466_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.arg3; s.tmp_1.arg4 = s.arg4; s.tmp_1.arg5 = s.arg5; - s.callLocIdx = 899; s.pc = 38; return s.tmp_1; + s.callLocIdx = 911; s.pc = 38; return s.tmp_1; case 38: r0 = s.retval; case 21: @@ -36529,12 +36531,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_doBoth__P84263.info = {"start":3764,"length":1325,"line":90,"column":8,"endLine":110,"endColumn":9,"fileName":"spriteRules.ts","functionName":"doBoth","argumentNames":["this","rt","rd","col","row","center"]} +tileworld_ruleediting_RuleRoom_doBoth__P6399.info = {"start":3764,"length":1325,"line":90,"column":8,"endLine":110,"endColumn":9,"fileName":"spriteRules.ts","functionName":"doBoth","argumentNames":["this","rt","rd","col","row","center"]} -function tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s) { +function tileworld_ruleediting_RuleRoom_doBoth__P6399_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_doBoth__P84263, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_doBoth__P6399, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36542,12 +36544,12 @@ function tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scol___84562: undefined, - rules___84563: undefined, - tcol___84577: undefined, - trow___84583: undefined, - tcol___84607: undefined, - trow___84616: undefined, + scol___16867: undefined, + rules___16868: undefined, + tcol___16881: undefined, + trow___16887: undefined, + tcol___16911: undefined, + trow___16920: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36560,7 +36562,7 @@ function tileworld_ruleediting_RuleRoom_doBoth__P84263_mk(s) { -function tileworld_ruleediting_RuleRoom_setRuleType__P84262(s) { +function tileworld_ruleediting_RuleRoom_setRuleType__P6398(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36579,7 +36581,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C73690_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C3810_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); @@ -36590,12 +36592,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_setRuleType__P84262.info = {"start":3522,"length":194,"line":84,"column":8,"endLine":87,"endColumn":9,"fileName":"spriteRules.ts","functionName":"setRuleType","argumentNames":["this","rt","rd","col","row"]} +tileworld_ruleediting_RuleRoom_setRuleType__P6398.info = {"start":3522,"length":194,"line":84,"column":8,"endLine":87,"endColumn":9,"fileName":"spriteRules.ts","functionName":"setRuleType","argumentNames":["this","rt","rd","col","row"]} -function tileworld_ruleediting_RuleRoom_setRuleType__P84262_mk(s) { +function tileworld_ruleediting_RuleRoom_setRuleType__P6398_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_setRuleType__P84262, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_setRuleType__P6398, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36609,7 +36611,7 @@ function tileworld_ruleediting_RuleRoom_setRuleType__P84262_mk(s) { -function tileworld_moveYdelta__P73504(s) { +function tileworld_moveYdelta__P3624(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36649,12 +36651,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_moveYdelta__P73504.info = {"start":4981,"length":137,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"rule.ts","functionName":"moveYdelta","argumentNames":["dir"]} +tileworld_moveYdelta__P3624.info = {"start":4981,"length":137,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"rule.ts","functionName":"moveYdelta","argumentNames":["dir"]} -function tileworld_moveYdelta__P73504_mk(s) { +function tileworld_moveYdelta__P3624_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_moveYdelta__P73504, depth: s.depth + 1, + parent: s, fn: tileworld_moveYdelta__P3624, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36667,7 +36669,7 @@ function tileworld_moveYdelta__P73504_mk(s) { -function tileworld_moveXdelta__P73503(s) { +function tileworld_moveXdelta__P3623(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36707,12 +36709,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_moveXdelta__P73503.info = {"start":4835,"length":140,"line":132,"column":4,"endLine":134,"endColumn":5,"fileName":"rule.ts","functionName":"moveXdelta","argumentNames":["dir"]} +tileworld_moveXdelta__P3623.info = {"start":4835,"length":140,"line":132,"column":4,"endLine":134,"endColumn":5,"fileName":"rule.ts","functionName":"moveXdelta","argumentNames":["dir"]} -function tileworld_moveXdelta__P73503_mk(s) { +function tileworld_moveXdelta__P3623_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_moveXdelta__P73503, depth: s.depth + 1, + parent: s, fn: tileworld_moveXdelta__P3623, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36725,7 +36727,7 @@ function tileworld_moveXdelta__P73503_mk(s) { -function tileworld_ruleediting_RuleRoom_make3by3__P84261(s) { +function tileworld_ruleediting_RuleRoom_make3by3__P6397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36735,8 +36737,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___84513 = undefined; - s.j___84519 = undefined; + s.i___17020 = undefined; + s.j___17026 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36744,52 +36746,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C73690_VT)) failedCast(r0); - s.i___84513 = (-1); + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C3810_VT)) failedCast(r0); + s.i___17020 = (-1); case 1: - r0 = (s.i___84513 <= 1); + r0 = (s.i___17020 <= 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.j___84519 = (-1); + s.j___17026 = (-1); case 2: - r0 = (s.j___84519 <= 1); + r0 = (s.j___17026 <= 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_1.arg0 = s.arg0; - r0 = (s.arg1 + s.i___84513); + r0 = (s.arg1 + s.i___17020); s.tmp_1.arg1 = r0; - r0 = (s.arg2 + s.j___84519); + r0 = (s.arg2 + s.j___17026); s.tmp_1.arg2 = r0; - s.tmp_1.arg3 = globals.emptyTile___73606; - s.callLocIdx = 883; s.pc = 5; return s.tmp_1; + s.tmp_1.arg3 = globals.emptyTile___3726; + s.callLocIdx = 895; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = (s.j___84519 + 1); - s.j___84519 = (r0); + r0 = (s.j___17026 + 1); + s.j___17026 = (r0); { step = 2; continue; } case 3: - r0 = (s.i___84513 + 1); - s.i___84513 = (r0); + r0 = (s.i___17020 + 1); + s.i___17020 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_make3by3__P84261.info = {"start":3265,"length":245,"line":76,"column":8,"endLine":82,"endColumn":9,"fileName":"spriteRules.ts","functionName":"make3by3","argumentNames":["this","col","row"]} +tileworld_ruleediting_RuleRoom_make3by3__P6397.info = {"start":3265,"length":245,"line":76,"column":8,"endLine":82,"endColumn":9,"fileName":"spriteRules.ts","functionName":"make3by3","argumentNames":["this","col","row"]} -function tileworld_ruleediting_RuleRoom_make3by3__P84261_mk(s) { +function tileworld_ruleediting_RuleRoom_make3by3__P6397_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_make3by3__P84261, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_make3by3__P6397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___84513: undefined, - j___84519: undefined, + i___17020: undefined, + j___17026: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36799,7 +36801,7 @@ function tileworld_ruleediting_RuleRoom_make3by3__P84261_mk(s) { -function sprites_create__P71854(s) { +function sprites_create__P1974(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36809,51 +36811,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___95407 = undefined; - s.sprite___95410 = undefined; + s.scene___17046 = undefined; + s.sprite___17049 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P72409_mk(s); + s.tmp_0 = game_currentScene__P2529_mk(s); s.callLocIdx = 223; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___95407 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C71896_VT); + s.scene___17046 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C2016_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P71933_mk(s); + s.tmp_1 = Sprite_constructor__P2053_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 224; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___95410 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P71951_mk(s); - s.tmp_0.arg0 = s.sprite___95410; + s.sprite___17049 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P2071_mk(s); + s.tmp_0.arg0 = s.sprite___17049; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 225; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = PhysicsEngine__C72039_v0_2_mk(s); - r0 = s.scene___95407.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C2159_v0_2_mk(s); + r0 = s.scene___17046.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___95410; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C72039_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___17049; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2159_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__P95425); + r0 = pxsim_pxtcore_mkAction(1, inline__P17064); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, inline__P95432); + r0 = pxsim_pxtcore_mkAction(1, inline__P17070); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___95410); - s.tmp_2 = helpers_arrayForEach__P69987_mk(s); - s.tmp_3 = helpers_arrayFilter__P69988_mk(s); - r0 = s.scene___95407.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___17049); + s.tmp_2 = helpers_arrayForEach__P107_mk(s); + s.tmp_3 = helpers_arrayFilter__P108_mk(s); + r0 = s.scene___17046.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 226; s.pc = 6; return s.tmp_3; @@ -36864,23 +36866,23 @@ switch (step) { s.callLocIdx = 228; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___95410; + r0 = s.sprite___17049; return leave(s, r0) default: oops() } } } -sprites_create__P71854.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__P1974.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__P71854_mk(s) { +function sprites_create__P1974_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P71854, depth: s.depth + 1, + parent: s, fn: sprites_create__P1974, depth: s.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___95407: undefined, - sprite___95410: undefined, + scene___17046: undefined, + sprite___17049: undefined, arg0: undefined, arg1: undefined, } } @@ -36889,7 +36891,7 @@ function sprites_create__P71854_mk(s) { -function inline__P95425(s) { +function inline__P17064(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36909,12 +36911,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P95425.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P17064.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__P95425_mk(s) { +function inline__P17064_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P95425, depth: s.depth + 1, + parent: s, fn: inline__P17064, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36924,7 +36926,7 @@ function inline__P95425_mk(s) { -function inline__P95432(s) { +function inline__P17070(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36956,12 +36958,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P95432.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P17070.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__P95432_mk(s) { +function inline__P17070_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P95432, depth: s.depth + 1, + parent: s, fn: inline__P17070, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36971,7 +36973,7 @@ function inline__P95432_mk(s) { -function PhysicsEngine_addSprite__P72041(s) { +function PhysicsEngine_addSprite__P2161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36987,17 +36989,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C72039_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2159_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_addSprite__P72041.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__P2161.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__P72041_mk(s) { +function PhysicsEngine_addSprite__P2161_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P72041, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P2161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37007,7 +37009,7 @@ function PhysicsEngine_addSprite__P72041_mk(s) { -function Sprite_setKind__P71951(s) { +function Sprite_setKind__P2071(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37017,15 +37019,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___96177 = undefined; - s.overlapMap___96206 = undefined; + s.spritesByKind___17088 = undefined; + s.overlapMap___17117 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -37044,12 +37046,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P72409_mk(s); + s.tmp_3 = game_currentScene__P2529_mk(s); s.callLocIdx = 292; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___96177 = (r0); + s.spritesByKind___17088 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -37061,16 +37063,16 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___96177, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___17088, 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__P71998_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P2118_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___96177, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___17088, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; s.callLocIdx = 293; s.pc = 17; return s.tmp_4; @@ -37082,7 +37084,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___96177, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___17088, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -37090,18 +37092,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__C71991_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C2111_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P71993_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P2113_mk(s); s.tmp_5.arg0 = s.tmp_4; s.callLocIdx = 294; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___96177, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___17088, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P71996_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___96177, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P2116_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___17088, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 295; s.pc = 19; return s.tmp_0; @@ -37109,13 +37111,13 @@ switch (step) { r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P72409_mk(s); + s.tmp_0 = game_currentScene__P2529_mk(s); s.callLocIdx = 296; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___96206 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___96206, s.arg1); + s.overlapMap___17117 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___17117, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -37123,7 +37125,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___96206; + s.tmp_3 = r0 = s.overlapMap___17117; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -37131,7 +37133,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___96206, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___17117, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -37140,12 +37142,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setKind__P71951.info = {"start":10872,"length":663,"line":398,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} +Sprite_setKind__P2071.info = {"start":10872,"length":663,"line":398,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} -function Sprite_setKind__P71951_mk(s) { +function Sprite_setKind__P2071_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P71951, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P2071, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37153,8 +37155,8 @@ function Sprite_setKind__P71951_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___96177: undefined, - overlapMap___96206: undefined, + spritesByKind___17088: undefined, + overlapMap___17117: undefined, arg0: undefined, arg1: undefined, } } @@ -37163,7 +37165,7 @@ function Sprite_setKind__P71951_mk(s) { -function sprites_SpriteSet_add__P71996(s) { +function sprites_SpriteSet_add__P2116(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37179,7 +37181,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C71991_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2111_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -37210,12 +37212,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_add__P71996.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__P2116.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__P71996_mk(s) { +function sprites_SpriteSet_add__P2116_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P71996, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P2116, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37231,7 +37233,7 @@ function sprites_SpriteSet_add__P71996_mk(s) { -function sprites_SpriteSet_contains__P71999(s) { +function sprites_SpriteSet_contains__P2119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37247,7 +37249,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C71991_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2111_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -37256,12 +37258,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_contains__P71999.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__P2119.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__P71999_mk(s) { +function sprites_SpriteSet_contains__P2119_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P71999, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P2119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37273,7 +37275,7 @@ function sprites_SpriteSet_contains__P71999_mk(s) { -function sprites_SpriteSet_constructor__P71993(s) { +function sprites_SpriteSet_constructor__P2113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37288,7 +37290,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C71991_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2111_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -37297,12 +37299,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_constructor__P71993.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__P2113.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__P71993_mk(s) { +function sprites_SpriteSet_constructor__P2113_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P71993, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P2113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37313,7 +37315,7 @@ function sprites_SpriteSet_constructor__P71993_mk(s) { -function Sprite_constructor__P71933(s) { +function Sprite_constructor__P2053(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37329,15 +37331,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P71740_mk(s); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P1860_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 247; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -37351,7 +37353,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___71682); + r0 = pxsim_ImageMethods.height(globals.screen___1802); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -37370,50 +37372,50 @@ switch (step) { r0 = s.arg0.fields["_y"]; s.tmp_0 = r0; r0 = (s.arg0).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = Sprite_vx__P71910_mk(s); + s.tmp_0 = Sprite_vx__P2030_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 250; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P71912_mk(s); + s.tmp_0 = Sprite_vy__P2032_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 251; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_ax__P71914_mk(s); + s.tmp_0 = Sprite_ax__P2034_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 252; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_ay__P71916_mk(s); + s.tmp_0 = Sprite_ay__P2036_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 253; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_fx__P71918_mk(s); + s.tmp_0 = Sprite_fx__P2038_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 254; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_fy__P71920_mk(s); + s.tmp_0 = Sprite_fy__P2040_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 255; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = (s.arg0).fields["flags"] = (0); - s.tmp_0 = Sprite_setImage__P71936_mk(s); + s.tmp_0 = Sprite_setImage__P2056_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 256; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P71951_mk(s); + s.tmp_0 = Sprite_setKind__P2071_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; s.callLocIdx = 257; s.pc = 9; return s.tmp_0; @@ -37433,12 +37435,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_constructor__P71933.info = {"start":5178,"length":618,"line":202,"column":4,"endLine":222,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} +Sprite_constructor__P2053.info = {"start":5178,"length":618,"line":202,"column":4,"endLine":222,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} -function Sprite_constructor__P71933_mk(s) { +function Sprite_constructor__P2053_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P71933, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P2053, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37455,7 +37457,7 @@ function Sprite_constructor__P71933_mk(s) { -function Sprite_fy__P71920(s) { +function Sprite_fy__P2040(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37471,9 +37473,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P70005_mk(s); + s.tmp_3 = Math_max__P125_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 245; s.pc = 1; return s.tmp_3; @@ -37489,12 +37491,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fy__P71920.info = {"start":4057,"length":64,"line":151,"column":4,"endLine":153,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} +Sprite_fy__P2040.info = {"start":4057,"length":64,"line":151,"column":4,"endLine":153,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} -function Sprite_fy__P71920_mk(s) { +function Sprite_fy__P2040_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P71920, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P2040, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37509,7 +37511,7 @@ function Sprite_fy__P71920_mk(s) { -function Sprite_fy__P71919(s) { +function Sprite_fy__P2039(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37524,20 +37526,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = s.arg0.fields["_fy"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_fy__P71919.info = {"start":3895,"length":60,"line":146,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} -Sprite_fy__P71919.isGetter = true; +Sprite_fy__P2039.info = {"start":3895,"length":60,"line":146,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} +Sprite_fy__P2039.isGetter = true; -function Sprite_fy__P71919_mk(s) { +function Sprite_fy__P2039_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P71919, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P2039, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37547,7 +37549,7 @@ function Sprite_fy__P71919_mk(s) { -function Sprite_fx__P71918(s) { +function Sprite_fx__P2038(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37563,9 +37565,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P70005_mk(s); + s.tmp_3 = Math_max__P125_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 242; s.pc = 1; return s.tmp_3; @@ -37581,12 +37583,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fx__P71918.info = {"start":3714,"length":64,"line":141,"column":4,"endLine":143,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} +Sprite_fx__P2038.info = {"start":3714,"length":64,"line":141,"column":4,"endLine":143,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} -function Sprite_fx__P71918_mk(s) { +function Sprite_fx__P2038_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P71918, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P2038, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37601,7 +37603,7 @@ function Sprite_fx__P71918_mk(s) { -function Sprite_fx__P71917(s) { +function Sprite_fx__P2037(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37616,20 +37618,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = s.arg0.fields["_fx"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_fx__P71917.info = {"start":3552,"length":60,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} -Sprite_fx__P71917.isGetter = true; +Sprite_fx__P2037.info = {"start":3552,"length":60,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} +Sprite_fx__P2037.isGetter = true; -function Sprite_fx__P71917_mk(s) { +function Sprite_fx__P2037_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P71917, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P2037, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37639,7 +37641,7 @@ function Sprite_fx__P71917_mk(s) { -function Sprite_ay__P71916(s) { +function Sprite_ay__P2036(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37655,7 +37657,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -37666,12 +37668,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ay__P71916.info = {"start":3383,"length":51,"line":130,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} +Sprite_ay__P2036.info = {"start":3383,"length":51,"line":130,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} -function Sprite_ay__P71916_mk(s) { +function Sprite_ay__P2036_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P71916, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P2036, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37684,7 +37686,7 @@ function Sprite_ay__P71916_mk(s) { -function Sprite_ay__P71915(s) { +function Sprite_ay__P2035(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37699,20 +37701,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_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__P71915.info = {"start":3217,"length":60,"line":125,"column":4,"endLine":127,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} -Sprite_ay__P71915.isGetter = true; +Sprite_ay__P2035.info = {"start":3217,"length":60,"line":125,"column":4,"endLine":127,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} +Sprite_ay__P2035.isGetter = true; -function Sprite_ay__P71915_mk(s) { +function Sprite_ay__P2035_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P71915, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P2035, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37722,7 +37724,7 @@ function Sprite_ay__P71915_mk(s) { -function Sprite_ax__P71914(s) { +function Sprite_ax__P2034(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37738,7 +37740,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -37749,12 +37751,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ax__P71914.info = {"start":3044,"length":51,"line":119,"column":4,"endLine":121,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} +Sprite_ax__P2034.info = {"start":3044,"length":51,"line":119,"column":4,"endLine":121,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} -function Sprite_ax__P71914_mk(s) { +function Sprite_ax__P2034_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P71914, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P2034, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37767,7 +37769,7 @@ function Sprite_ax__P71914_mk(s) { -function Sprite_ax__P71913(s) { +function Sprite_ax__P2033(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37782,20 +37784,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_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__P71913.info = {"start":2878,"length":60,"line":114,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} -Sprite_ax__P71913.isGetter = true; +Sprite_ax__P2033.info = {"start":2878,"length":60,"line":114,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} +Sprite_ax__P2033.isGetter = true; -function Sprite_ax__P71913_mk(s) { +function Sprite_ax__P2033_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P71913, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P2033, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37805,7 +37807,7 @@ function Sprite_ax__P71913_mk(s) { -function Sprite_vy__P71912(s) { +function Sprite_vy__P2032(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37821,7 +37823,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -37832,12 +37834,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vy__P71912.info = {"start":2705,"length":51,"line":108,"column":4,"endLine":110,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} +Sprite_vy__P2032.info = {"start":2705,"length":51,"line":108,"column":4,"endLine":110,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} -function Sprite_vy__P71912_mk(s) { +function Sprite_vy__P2032_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P71912, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P2032, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37850,7 +37852,7 @@ function Sprite_vy__P71912_mk(s) { -function Sprite_vy__P71911(s) { +function Sprite_vy__P2031(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37865,20 +37867,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_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__P71911.info = {"start":2543,"length":60,"line":103,"column":4,"endLine":105,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} -Sprite_vy__P71911.isGetter = true; +Sprite_vy__P2031.info = {"start":2543,"length":60,"line":103,"column":4,"endLine":105,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} +Sprite_vy__P2031.isGetter = true; -function Sprite_vy__P71911_mk(s) { +function Sprite_vy__P2031_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P71911, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P2031, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37888,7 +37890,7 @@ function Sprite_vy__P71911_mk(s) { -function Sprite_vx__P71910(s) { +function Sprite_vx__P2030(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37904,7 +37906,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -37915,12 +37917,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vx__P71910.info = {"start":2374,"length":51,"line":97,"column":4,"endLine":99,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} +Sprite_vx__P2030.info = {"start":2374,"length":51,"line":97,"column":4,"endLine":99,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} -function Sprite_vx__P71910_mk(s) { +function Sprite_vx__P2030_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P71910, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P2030, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37933,7 +37935,7 @@ function Sprite_vx__P71910_mk(s) { -function Sprite_vx__P71909(s) { +function Sprite_vx__P2029(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37948,20 +37950,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_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__P71909.info = {"start":2212,"length":60,"line":92,"column":4,"endLine":94,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} -Sprite_vx__P71909.isGetter = true; +Sprite_vx__P2029.info = {"start":2212,"length":60,"line":92,"column":4,"endLine":94,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} +Sprite_vx__P2029.isGetter = true; -function Sprite_vx__P71909_mk(s) { +function Sprite_vx__P2029_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P71909, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P2029, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37971,7 +37973,7 @@ function Sprite_vx__P71909_mk(s) { -function tileworld_RuleVisualsBase_setTileSaved__P82572(s) { +function tileworld_RuleVisualsBase_setTileSaved__P6307(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37986,31 +37988,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(r0); - s.tmp_0 = Sprite_x__P71906_mk(s); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C3789_VT)) failedCast(r0); + s.tmp_0 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P71905_mk(s); + s.tmp_1 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 686; s.pc = 2; return s.tmp_1; + s.callLocIdx = 698; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 687; s.pc = 1; return s.tmp_0; + s.callLocIdx = 699; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P71907_mk(s); + s.tmp_1 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 688; s.pc = 4; return s.tmp_1; + s.callLocIdx = 700; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 689; s.pc = 3; return s.tmp_0; + s.callLocIdx = 701; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; s.tmp_0 = if_z_2_mk(s); @@ -38023,28 +38025,28 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.callLocIdx = 690; s.pc = 5; return s.tmp_0; } + else { s.callLocIdx = 702; s.pc = 5; return s.tmp_0; } } case 5: r0 = s.retval; - s.tmp_0 = Sprite_setFlag__P71959_mk(s); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = false; - s.callLocIdx = 691; s.pc = 6; return s.tmp_0; + s.callLocIdx = 703; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_setTileSaved__P82572.info = {"start":4933,"length":229,"line":128,"column":8,"endLine":133,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setTileSaved","argumentNames":["this"]} +tileworld_RuleVisualsBase_setTileSaved__P6307.info = {"start":4933,"length":229,"line":128,"column":8,"endLine":133,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setTileSaved","argumentNames":["this"]} -function tileworld_RuleVisualsBase_setTileSaved__P82572_mk(s) { +function tileworld_RuleVisualsBase_setTileSaved__P6307_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_setTileSaved__P82572, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_setTileSaved__P6307, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38055,7 +38057,7 @@ function tileworld_RuleVisualsBase_setTileSaved__P82572_mk(s) { -function tileworld_ruleediting_RuleDisplay_constructor__P73683(s) { +function tileworld_ruleediting_RuleDisplay_constructor__P3873482(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38072,52 +38074,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); r0 = (s.arg0).fields["rule"] = (s.arg2); - s.tmp_0 = tileworld_RuleVisualsBase_constructor__P73670_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_constructor__P3790_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 692; s.pc = 1; return s.tmp_0; + s.callLocIdx = 704; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_AllExport__C73556_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_AllExport__C3676_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_AllExport_constructor__P73557_mk(s); + s.tmp_1 = tileworld_AllExport_constructor__P3677_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 693; s.pc = 2; return s.tmp_1; + s.callLocIdx = 705; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = (s.arg0).fields["all"] = (s.tmp_0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P71854_mk(s); - s.tmp_2.arg0 = globals.cursorOut___73609; + s.tmp_2 = sprites_create__P1974_mk(s); + s.tmp_2.arg0 = globals.cursorOut___3729; s.tmp_2.arg1 = undefined; - s.callLocIdx = 694; s.pc = 3; return s.tmp_2; + s.callLocIdx = 706; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["otherCursor"] = (s.tmp_1); - s.tmp_0 = Sprite_setFlag__P71959_mk(s); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 695; s.pc = 4; return s.tmp_0; + s.callLocIdx = 707; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_x__P71906_mk(s); + s.tmp_0 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 88; - s.callLocIdx = 696; s.pc = 5; return s.tmp_0; + s.callLocIdx = 708; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 46; - s.callLocIdx = 697; s.pc = 6; return s.tmp_0; + s.callLocIdx = 709; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; s.tmp_0 = if_z_2_mk(s); @@ -38130,7 +38132,7 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.callLocIdx = 698; s.pc = 7; return s.tmp_0; } + else { s.callLocIdx = 710; s.pc = 7; return s.tmp_0; } } case 7: r0 = s.retval; @@ -38138,12 +38140,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_constructor__P73683.info = {"start":1170,"length":402,"line":22,"column":8,"endLine":32,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"inline","argumentNames":["this","p","rule"]} +tileworld_ruleediting_RuleDisplay_constructor__P3873482.info = {"start":1170,"length":402,"line":22,"column":8,"endLine":32,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"inline","argumentNames":["this","p","rule"]} -function tileworld_ruleediting_RuleDisplay_constructor__P73683_mk(s) { +function tileworld_ruleediting_RuleDisplay_constructor__P3873482_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_constructor__P73683, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_constructor__P3873482, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38157,7 +38159,7 @@ function tileworld_ruleediting_RuleDisplay_constructor__P73683_mk(s) { -function tileworld_AllExport_constructor__P73557(s) { +function tileworld_AllExport_constructor__P3677(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38173,16 +38175,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_AllExport__C73556_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_AllExport__C3676_VT)) failedCast(r0); r0 = (s.arg0).fields["p"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["allImages"] = (s.tmp_1); - r0 = pxsim_pxtcore_mkAction(1, inline__P77921); + r0 = pxsim_pxtcore_mkAction(1, inline__P17338); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["_backgroundsI"]; @@ -38191,10 +38193,10 @@ switch (step) { s.callLocIdx = 156; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P77932); + r0 = pxsim_pxtcore_mkAction(1, inline__P17349); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["_spritesI"]; @@ -38207,12 +38209,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_AllExport_constructor__P73557.info = {"start":693,"length":232,"line":20,"column":8,"endLine":24,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_AllExport_constructor__P3677.info = {"start":693,"length":232,"line":20,"column":8,"endLine":24,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["this","p"]} -function tileworld_AllExport_constructor__P73557_mk(s) { +function tileworld_AllExport_constructor__P3677_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_AllExport_constructor__P73557, depth: s.depth + 1, + parent: s, fn: tileworld_AllExport_constructor__P3677, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38225,7 +38227,7 @@ function tileworld_AllExport_constructor__P73557_mk(s) { -function inline__P77921(s) { +function inline__P17338(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38246,12 +38248,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P77921.info = {"start":806,"length":31,"line":22,"column":46,"endLine":22,"endColumn":77,"fileName":"project.ts","functionName":"inline","argumentNames":["img"]} +inline__P17338.info = {"start":806,"length":31,"line":22,"column":46,"endLine":22,"endColumn":77,"fileName":"project.ts","functionName":"inline","argumentNames":["img"]} -function inline__P77921_mk(s) { +function inline__P17338_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P77921, depth: s.depth + 1, + parent: s, fn: inline__P17338, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38261,7 +38263,7 @@ function inline__P77921_mk(s) { -function inline__P77932(s) { +function inline__P17349(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38282,12 +38284,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P77932.info = {"start":882,"length":31,"line":23,"column":42,"endLine":23,"endColumn":73,"fileName":"project.ts","functionName":"inline","argumentNames":["img"]} +inline__P17349.info = {"start":882,"length":31,"line":23,"column":42,"endLine":23,"endColumn":73,"fileName":"project.ts","functionName":"inline","argumentNames":["img"]} -function inline__P77932_mk(s) { +function inline__P17349_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P77932, depth: s.depth + 1, + parent: s, fn: inline__P17349, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38297,7 +38299,7 @@ function inline__P77932_mk(s) { -function tileworld_ImageEditor_constructor__P73664(s) { +function tileworld_ImageEditor_constructor__P3784(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38313,14 +38315,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C73663_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C3783_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__P73668_mk(s); + s.tmp_0 = tileworld_BackgroundBase_constructor__P3788_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 532; s.pc = 1; return s.tmp_0; + s.callLocIdx = 544; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -38332,230 +38334,230 @@ 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__P71854_mk(s); - s.tmp_2.arg0 = globals.colorOut___81766; + s.tmp_2 = sprites_create__P1974_mk(s); + s.tmp_2.arg0 = globals.colorOut___6272; s.tmp_2.arg1 = undefined; - s.callLocIdx = 534; s.pc = 2; return s.tmp_2; + s.callLocIdx = 546; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["colorCursor"] = (s.tmp_1); - s.tmp_0 = Sprite_x__P71906_mk(s); + s.tmp_0 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_0.arg0 = r0; r0 = (5 + 4); s.tmp_0.arg1 = r0; - s.callLocIdx = 535; s.pc = 3; return s.tmp_0; + s.callLocIdx = 547; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 94; - s.callLocIdx = 536; s.pc = 4; return s.tmp_0; + s.callLocIdx = 548; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_cursorAnimation__P73423_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3543_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.colorIn___81769; - s.callLocIdx = 537; s.pc = 5; return s.tmp_0; + s.tmp_0.arg1 = globals.colorIn___6275; + s.callLocIdx = 549; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = (s.arg0).fields["selectedColor"] = (0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P71854_mk(s); - s.tmp_2.arg0 = globals.paintOut___81772; + s.tmp_2 = sprites_create__P1974_mk(s); + s.tmp_2.arg0 = globals.paintOut___6278; s.tmp_2.arg1 = undefined; - s.callLocIdx = 538; s.pc = 6; return s.tmp_2; + s.callLocIdx = 550; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["paintCursor"] = (s.tmp_1); - s.tmp_0 = tileworld_cursorAnimation__P73423_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3543_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.paintIn___81775; - s.callLocIdx = 539; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = globals.paintIn___6281; + s.callLocIdx = 551; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = Sprite_x__P71906_mk(s); + s.tmp_0 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 32; - s.callLocIdx = 540; s.pc = 8; return s.tmp_0; + s.callLocIdx = 552; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 26; - s.callLocIdx = 541; s.pc = 9; return s.tmp_0; + s.callLocIdx = 553; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P71854_mk(s); - s.tmp_2.arg0 = globals.cursorIn___73608; + s.tmp_2 = sprites_create__P1974_mk(s); + s.tmp_2.arg0 = globals.cursorIn___3728; s.tmp_2.arg1 = undefined; - s.callLocIdx = 542; s.pc = 10; return s.tmp_2; + s.callLocIdx = 554; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["menuCursor"] = (s.tmp_1); - s.tmp_0 = Sprite_x__P71906_mk(s); + s.tmp_0 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 8; - s.callLocIdx = 543; s.pc = 11; return s.tmp_0; + s.callLocIdx = 555; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 12; - s.callLocIdx = 544; s.pc = 12; return s.tmp_0; + s.callLocIdx = 556; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = tileworld_cursorAnimation__P73423_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3543_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.cursorOut___73609; - s.callLocIdx = 545; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = globals.cursorOut___3729; + s.callLocIdx = 557; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = tileworld_ImageEditor_setCursor__P81784_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P6290_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; - s.callLocIdx = 546; s.pc = 14; return s.tmp_0; + s.callLocIdx = 558; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = tileworld_ImageEditor__C73663_v0_1_mk(s); + s.tmp_0 = tileworld_ImageEditor__C3783_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ImageEditor__C73663_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ImageEditor__C3783_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81879); + r0 = pxsim_pxtcore_mkAction(1, inline__P17449); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.left___71759; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.left___1879; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 548; s.pc = 16; return s.tmp_1; + s.callLocIdx = 560; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81884); + r0 = pxsim_pxtcore_mkAction(1, inline__P17455); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.left___71759; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.left___1879; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 550; s.pc = 17; return s.tmp_1; + s.callLocIdx = 562; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81889); + r0 = pxsim_pxtcore_mkAction(1, inline__P17460); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.right___71761; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.right___1881; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 552; s.pc = 18; return s.tmp_1; + s.callLocIdx = 564; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81894); + r0 = pxsim_pxtcore_mkAction(1, inline__P17465); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.right___71761; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.right___1881; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 554; s.pc = 19; return s.tmp_1; + s.callLocIdx = 566; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81899); + r0 = pxsim_pxtcore_mkAction(1, inline__P17470); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.up___71760; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.up___1880; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 556; s.pc = 20; return s.tmp_1; + s.callLocIdx = 568; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81904); + r0 = pxsim_pxtcore_mkAction(1, inline__P17475); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.up___71760; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.up___1880; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 558; s.pc = 21; return s.tmp_1; + s.callLocIdx = 570; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81909); + r0 = pxsim_pxtcore_mkAction(1, inline__P17480); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.down___71762; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.down___1882; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 560; s.pc = 22; return s.tmp_1; + s.callLocIdx = 572; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81914); + r0 = pxsim_pxtcore_mkAction(1, inline__P17485); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.down___71762; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.down___1882; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 562; s.pc = 23; return s.tmp_1; + s.callLocIdx = 574; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81919); + r0 = pxsim_pxtcore_mkAction(1, inline__P17490); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.A___71757; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.A___1877; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 564; s.pc = 24; return s.tmp_1; + s.callLocIdx = 576; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81927); + r0 = pxsim_pxtcore_mkAction(1, inline__P17498); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.A___71757; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.A___1877; s.tmp_1.arg1 = 2048; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 565; s.pc = 25; return s.tmp_1; + s.callLocIdx = 577; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81933); + r0 = pxsim_pxtcore_mkAction(1, inline__P17504); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.B___71758; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.B___1878; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 569; s.pc = 26; return s.tmp_1; + s.callLocIdx = 581; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_constructor__P73664.info = {"start":1515,"length":2170,"line":63,"column":8,"endLine":105,"endColumn":9,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_ImageEditor_constructor__P3784.info = {"start":1515,"length":2170,"line":63,"column":8,"endLine":105,"endColumn":9,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":["this","p"]} -function tileworld_ImageEditor_constructor__P73664_mk(s) { +function tileworld_ImageEditor_constructor__P3784_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_constructor__P73664, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_constructor__P3784, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38569,7 +38571,7 @@ function tileworld_ImageEditor_constructor__P73664_mk(s) { -function inline__P81879(s) { +function inline__P17449(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38579,21 +38581,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveLeft__P81779_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveLeft__P6285_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 547; s.pc = 1; return s.tmp_0; + s.callLocIdx = 559; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81879.info = {"start":2428,"length":21,"line":86,"column":67,"endLine":86,"endColumn":88,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P17449.info = {"start":2428,"length":21,"line":86,"column":67,"endLine":86,"endColumn":88,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P81879_mk(s) { +function inline__P17449_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81879, depth: s.depth + 1, + parent: s, fn: inline__P17449, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38602,7 +38604,7 @@ function inline__P81879_mk(s) { -function inline__P81884(s) { +function inline__P17455(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38612,21 +38614,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveLeft__P81779_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveLeft__P6285_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 549; s.pc = 1; return s.tmp_0; + s.callLocIdx = 561; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81884.info = {"start":2520,"length":21,"line":87,"column":68,"endLine":87,"endColumn":89,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P17455.info = {"start":2520,"length":21,"line":87,"column":68,"endLine":87,"endColumn":89,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P81884_mk(s) { +function inline__P17455_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81884, depth: s.depth + 1, + parent: s, fn: inline__P17455, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38635,7 +38637,7 @@ function inline__P81884_mk(s) { -function inline__P81889(s) { +function inline__P17460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38645,21 +38647,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveRight__P81780_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveRight__P6286_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 551; s.pc = 1; return s.tmp_0; + s.callLocIdx = 563; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81889.info = {"start":2612,"length":22,"line":88,"column":68,"endLine":88,"endColumn":90,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P17460.info = {"start":2612,"length":22,"line":88,"column":68,"endLine":88,"endColumn":90,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P81889_mk(s) { +function inline__P17460_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81889, depth: s.depth + 1, + parent: s, fn: inline__P17460, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38668,7 +38670,7 @@ function inline__P81889_mk(s) { -function inline__P81894(s) { +function inline__P17465(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38678,21 +38680,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveRight__P81780_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveRight__P6286_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 553; s.pc = 1; return s.tmp_0; + s.callLocIdx = 565; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81894.info = {"start":2706,"length":22,"line":89,"column":69,"endLine":89,"endColumn":91,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P17465.info = {"start":2706,"length":22,"line":89,"column":69,"endLine":89,"endColumn":91,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P81894_mk(s) { +function inline__P17465_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81894, depth: s.depth + 1, + parent: s, fn: inline__P17465, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38701,7 +38703,7 @@ function inline__P81894_mk(s) { -function inline__P81899(s) { +function inline__P17470(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38711,21 +38713,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveUp__P81781_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveUp__P6287_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 555; s.pc = 1; return s.tmp_0; + s.callLocIdx = 567; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81899.info = {"start":2796,"length":19,"line":90,"column":65,"endLine":90,"endColumn":84,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P17470.info = {"start":2796,"length":19,"line":90,"column":65,"endLine":90,"endColumn":84,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P81899_mk(s) { +function inline__P17470_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81899, depth: s.depth + 1, + parent: s, fn: inline__P17470, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38734,7 +38736,7 @@ function inline__P81899_mk(s) { -function inline__P81904(s) { +function inline__P17475(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38744,21 +38746,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveUp__P81781_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveUp__P6287_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 557; s.pc = 1; return s.tmp_0; + s.callLocIdx = 569; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81904.info = {"start":2884,"length":19,"line":91,"column":66,"endLine":91,"endColumn":85,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P17475.info = {"start":2884,"length":19,"line":91,"column":66,"endLine":91,"endColumn":85,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P81904_mk(s) { +function inline__P17475_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81904, depth: s.depth + 1, + parent: s, fn: inline__P17475, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38767,7 +38769,7 @@ function inline__P81904_mk(s) { -function inline__P81909(s) { +function inline__P17480(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38777,21 +38779,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveDown__P81782_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveDown__P6288_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 559; s.pc = 1; return s.tmp_0; + s.callLocIdx = 571; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81909.info = {"start":2973,"length":21,"line":92,"column":67,"endLine":92,"endColumn":88,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P17480.info = {"start":2973,"length":21,"line":92,"column":67,"endLine":92,"endColumn":88,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P81909_mk(s) { +function inline__P17480_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81909, depth: s.depth + 1, + parent: s, fn: inline__P17480, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38800,7 +38802,7 @@ function inline__P81909_mk(s) { -function inline__P81914(s) { +function inline__P17485(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38810,21 +38812,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveDown__P81782_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveDown__P6288_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 561; s.pc = 1; return s.tmp_0; + s.callLocIdx = 573; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81914.info = {"start":3065,"length":21,"line":93,"column":68,"endLine":93,"endColumn":89,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P17485.info = {"start":3065,"length":21,"line":93,"column":68,"endLine":93,"endColumn":89,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P81914_mk(s) { +function inline__P17485_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81914, depth: s.depth + 1, + parent: s, fn: inline__P17485, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38833,7 +38835,7 @@ function inline__P81914_mk(s) { -function inline__P81919(s) { +function inline__P17490(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38844,21 +38846,21 @@ switch (step) { case 0: r0 = (s.caps[0]).fields["Adown"] = (true); - s.tmp_0 = tileworld_ImageEditor_paintPixel__P81778_mk(s); + s.tmp_0 = tileworld_ImageEditor_paintPixel__P6284_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 563; s.pc = 1; return s.tmp_0; + s.callLocIdx = 575; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81919.info = {"start":3154,"length":46,"line":95,"column":64,"endLine":95,"endColumn":110,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P17490.info = {"start":3154,"length":46,"line":95,"column":64,"endLine":95,"endColumn":110,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P81919_mk(s) { +function inline__P17490_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81919, depth: s.depth + 1, + parent: s, fn: inline__P17490, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38867,7 +38869,7 @@ function inline__P81919_mk(s) { -function inline__P81927(s) { +function inline__P17498(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38882,12 +38884,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P81927.info = {"start":3268,"length":29,"line":96,"column":65,"endLine":96,"endColumn":94,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P17498.info = {"start":3268,"length":29,"line":96,"column":65,"endLine":96,"endColumn":94,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P81927_mk(s) { +function inline__P17498_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81927, depth: s.depth + 1, + parent: s, fn: inline__P17498, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -38895,7 +38897,7 @@ function inline__P81927_mk(s) { -function inline__P81933(s) { +function inline__P17504(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38911,9 +38913,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = tileworld_ImageEditor_saveAndPop__P81783_mk(s); + s.tmp_2 = tileworld_ImageEditor_saveAndPop__P6289_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 566; s.pc = 5; return s.tmp_2; + s.callLocIdx = 578; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; { step = 4; continue; } @@ -38924,18 +38926,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_2 = tileworld_ImageEditor_setCursor__P81784_mk(s); + s.tmp_2 = tileworld_ImageEditor_setCursor__P6290_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = 0; - s.callLocIdx = 567; s.pc = 6; return s.tmp_2; + s.callLocIdx = 579; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; { step = 3; continue; } case 2: - s.tmp_0 = tileworld_ImageEditor_setCursor__P81784_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P6290_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 2; - s.callLocIdx = 568; s.pc = 7; return s.tmp_0; + s.callLocIdx = 580; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 3: @@ -38944,12 +38946,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P81933.info = {"start":3364,"length":309,"line":97,"column":64,"endLine":104,"endColumn":13,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P17504.info = {"start":3364,"length":309,"line":97,"column":64,"endLine":104,"endColumn":13,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P81933_mk(s) { +function inline__P17504_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81933, depth: s.depth + 1, + parent: s, fn: inline__P17504, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38960,7 +38962,7 @@ function inline__P81933_mk(s) { -function tileworld_ImageEditor_saveAndPop__P81783(s) { +function tileworld_ImageEditor_saveAndPop__P6289(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38975,29 +38977,29 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C73663_VT)) failedCast(r0); - s.tmp_0 = tileworld_AllExport_saveImage__P73560_mk(s); + if (!checkSubtype(r0, tileworld_ImageEditor__C3783_VT)) failedCast(r0); + s.tmp_0 = tileworld_AllExport_saveImage__P3680_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["kind"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 617; s.pc = 1; return s.tmp_0; + s.callLocIdx = 629; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_popScene__P72414_mk(s); - s.callLocIdx = 618; s.pc = 2; return s.tmp_0; + s.tmp_0 = game_popScene__P2534_mk(s); + s.callLocIdx = 630; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_saveAndPop__P81783.info = {"start":7392,"length":102,"line":196,"column":8,"endLine":199,"endColumn":9,"fileName":"imageeditor.ts","functionName":"saveAndPop","argumentNames":["this"]} +tileworld_ImageEditor_saveAndPop__P6289.info = {"start":7392,"length":102,"line":196,"column":8,"endLine":199,"endColumn":9,"fileName":"imageeditor.ts","functionName":"saveAndPop","argumentNames":["this"]} -function tileworld_ImageEditor_saveAndPop__P81783_mk(s) { +function tileworld_ImageEditor_saveAndPop__P6289_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_saveAndPop__P81783, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_saveAndPop__P6289, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39007,7 +39009,7 @@ function tileworld_ImageEditor_saveAndPop__P81783_mk(s) { -function tileworld_AllExport_saveImage__P73560(s) { +function tileworld_AllExport_saveImage__P3680(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39023,7 +39025,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_AllExport__C73556_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_AllExport__C3676_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; @@ -39035,7 +39037,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_5 = tileworld_Project_saveBackgroundImage__P73583_mk(s); + s.tmp_5 = tileworld_Project_saveBackgroundImage__P3703_mk(s); r0 = s.arg0.fields["p"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg1; @@ -39044,7 +39046,7 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_6 = tileworld_Project_saveSpriteImage__P73584_mk(s); + s.tmp_6 = tileworld_Project_saveSpriteImage__P3704_mk(s); r0 = s.arg0.fields["p"]; s.tmp_6.arg0 = r0; s.tmp_7 = r0 = s.arg1; @@ -39065,12 +39067,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_AllExport_saveImage__P73560.info = {"start":1101,"length":168,"line":31,"column":8,"endLine":33,"endColumn":9,"fileName":"project.ts","functionName":"saveImage","argumentNames":["this","index"]} +tileworld_AllExport_saveImage__P3680.info = {"start":1101,"length":168,"line":31,"column":8,"endLine":33,"endColumn":9,"fileName":"project.ts","functionName":"saveImage","argumentNames":["this","index"]} -function tileworld_AllExport_saveImage__P73560_mk(s) { +function tileworld_AllExport_saveImage__P3680_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_AllExport_saveImage__P73560, depth: s.depth + 1, + parent: s, fn: tileworld_AllExport_saveImage__P3680, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39091,7 +39093,7 @@ function tileworld_AllExport_saveImage__P73560_mk(s) { -function tileworld_Project_saveSpriteImage__P73584(s) { +function tileworld_Project_saveSpriteImage__P3704(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39101,19 +39103,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___78097 = undefined; + s.buf___17549 = 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__C73562_VT)) failedCast(r0); - s.tmp_0 = tileworld_saveImage__P78089_mk(s); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); + s.tmp_0 = tileworld_saveImage__P6018_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.tmp_1 = tileworld_Project_getSpriteImage__P73582_mk(s); + s.tmp_1 = tileworld_Project_getSpriteImage__P3702_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 173; s.pc = 2; return s.tmp_1; @@ -39124,21 +39126,21 @@ switch (step) { s.callLocIdx = 174; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.buf___78097 = (r0); + s.buf___17549 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_saveSpriteImage__P73584.info = {"start":3917,"length":134,"line":114,"column":8,"endLine":116,"endColumn":9,"fileName":"project.ts","functionName":"saveSpriteImage","argumentNames":["this","kind"]} +tileworld_Project_saveSpriteImage__P3704.info = {"start":3917,"length":134,"line":114,"column":8,"endLine":116,"endColumn":9,"fileName":"project.ts","functionName":"saveSpriteImage","argumentNames":["this","kind"]} -function tileworld_Project_saveSpriteImage__P73584_mk(s) { +function tileworld_Project_saveSpriteImage__P3704_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_saveSpriteImage__P73584, depth: s.depth + 1, + parent: s, fn: tileworld_Project_saveSpriteImage__P3704, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___78097: undefined, + buf___17549: undefined, arg0: undefined, arg1: undefined, } } @@ -39147,7 +39149,7 @@ function tileworld_Project_saveSpriteImage__P73584_mk(s) { -function tileworld_saveImage__P78089(s) { +function tileworld_saveImage__P6018(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39157,7 +39159,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___78977 = undefined; + s.buf___17560 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -39165,22 +39167,22 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_imageToBuffer__P73427_mk(s); + s.tmp_0 = tileworld_imageToBuffer__P3547_mk(s); s.tmp_0.arg0 = s.arg2; s.callLocIdx = 279; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.buf___78977 = (r0); + s.buf___17560 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg3); if (!r0) { step = 1; continue; } - r0 = globals.BackImageKey___78587; + r0 = globals.BackImageKey___6013; { step = 2; continue; } case 1: - r0 = globals.SpriteImageKey___78589; + r0 = globals.SpriteImageKey___6014; case 2: // jmp value (already in r0) s.tmp_0 = r0; - s.tmp_1 = settings_writeBuffer__P71707_mk(s); + s.tmp_1 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 5); pxsim_String__stringConv(s.arg0); @@ -39223,20 +39225,20 @@ 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___78977; + s.tmp_1.arg1 = s.buf___17560; s.callLocIdx = 280; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - r0 = s.buf___78977; + r0 = s.buf___17560; return leave(s, r0) default: oops() } } } -tileworld_saveImage__P78089.info = {"start":13753,"length":255,"line":351,"column":4,"endLine":355,"endColumn":5,"fileName":"project.ts","functionName":"saveImage","argumentNames":["prefix","kind","img","background"]} +tileworld_saveImage__P6018.info = {"start":13753,"length":255,"line":351,"column":4,"endLine":355,"endColumn":5,"fileName":"project.ts","functionName":"saveImage","argumentNames":["prefix","kind","img","background"]} -function tileworld_saveImage__P78089_mk(s) { +function tileworld_saveImage__P6018_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_saveImage__P78089, depth: s.depth + 1, + parent: s, fn: tileworld_saveImage__P6018, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39246,7 +39248,7 @@ function tileworld_saveImage__P78089_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - buf___78977: undefined, + buf___17560: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39257,7 +39259,7 @@ function tileworld_saveImage__P78089_mk(s) { -function tileworld_imageToBuffer__P73427(s) { +function tileworld_imageToBuffer__P3547(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39267,13 +39269,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___76098 = undefined; - s.index___76109 = undefined; - s.pixel___76126 = undefined; - s.length___76127 = undefined; - s.x___76128 = undefined; - s.y___76134 = undefined; - s.newPixel___76140 = undefined; + s.buf___17583 = undefined; + s.index___17594 = undefined; + s.pixel___17611 = undefined; + s.length___17612 = undefined; + s.x___17613 = undefined; + s.y___17619 = undefined; + s.newPixel___17625 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -39287,129 +39289,129 @@ switch (step) { r0 = (2 + s.tmp_1); s.tmp_0 = r0; r0 = pxsim.control.createBuffer(s.tmp_0); - s.buf___76098 = (r0); - s.index___76109 = (0); - s.tmp_0 = r0 = s.index___76109; + s.buf___17583 = (r0); + s.index___17594 = (0); + s.tmp_0 = r0 = s.index___17594; r0 = (s.tmp_0 + 1); - s.index___76109 = (r0); - s.tmp_1 = r0 = s.buf___76098; + s.index___17594 = (r0); + s.tmp_1 = r0 = s.buf___17583; 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___76109; + s.tmp_0 = r0 = s.index___17594; r0 = (s.tmp_0 + 1); - s.index___76109 = (r0); - s.tmp_1 = r0 = s.buf___76098; + s.index___17594 = (r0); + s.tmp_1 = r0 = s.buf___17583; 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___76126 = (17); - s.length___76127 = (0); - s.x___76128 = (0); + s.pixel___17611 = (17); + s.length___17612 = (0); + s.x___17613 = (0); case 1: - s.tmp_1 = r0 = s.x___76128; + s.tmp_1 = r0 = s.x___17613; 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___76134 = (0); + s.y___17619 = (0); case 2: - s.tmp_1 = r0 = s.y___76134; + s.tmp_1 = r0 = s.y___17619; 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___76128, s.y___76134); - s.newPixel___76140 = (r0); - r0 = (s.newPixel___76140 != s.pixel___76126); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___17613, s.y___17619); + s.newPixel___17625 = (r0); + r0 = (s.newPixel___17625 != s.pixel___17611); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.length___76127 > 0); + r0 = (s.length___17612 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 3; continue; } - s.tmp_2 = r0 = s.index___76109; + s.tmp_2 = r0 = s.index___17594; r0 = (s.tmp_2 + 1); - s.index___76109 = (r0); - s.tmp_3 = r0 = s.buf___76098; - r0 = (s.length___76127 & 15); + s.index___17594 = (r0); + s.tmp_3 = r0 = s.buf___17583; + r0 = (s.length___17612 & 15); s.tmp_6 = r0; r0 = (s.tmp_6 << 4); s.tmp_5 = r0; - r0 = (s.pixel___76126 & 15); + r0 = (s.pixel___17611 & 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___76126 = (s.newPixel___76140); - s.length___76127 = (1); + s.pixel___17611 = (s.newPixel___17625); + s.length___17612 = (1); { step = 8; continue; } case 5: - r0 = (s.length___76127 == 14); + r0 = (s.length___17612 == 14); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_1 = r0 = s.index___76109; + s.tmp_1 = r0 = s.index___17594; r0 = (s.tmp_1 + 1); - s.index___76109 = (r0); - s.tmp_2 = r0 = s.buf___76098; - r0 = (s.pixel___76126 & 15); + s.index___17594 = (r0); + s.tmp_2 = r0 = s.buf___17583; + r0 = (s.pixel___17611 & 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___76126 = (17); - s.length___76127 = (0); + s.pixel___17611 = (17); + s.length___17612 = (0); { step = 7; continue; } case 6: - r0 = (s.length___76127 + 1); - s.length___76127 = (r0); + r0 = (s.length___17612 + 1); + s.length___17612 = (r0); case 7: case 8: - r0 = (s.y___76134 + 1); - s.y___76134 = (r0); + r0 = (s.y___17619 + 1); + s.y___17619 = (r0); { step = 2; continue; } case 9: - r0 = (s.x___76128 + 1); - s.x___76128 = (r0); + r0 = (s.x___17613 + 1); + s.x___17613 = (r0); { step = 1; continue; } case 10: - r0 = (s.length___76127 > 0); + r0 = (s.length___17612 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = r0 = s.index___76109; + s.tmp_1 = r0 = s.index___17594; r0 = (s.tmp_1 + 1); - s.index___76109 = (r0); - s.tmp_2 = r0 = s.buf___76098; - r0 = (s.length___76127 & 15); + s.index___17594 = (r0); + s.tmp_2 = r0 = s.buf___17583; + r0 = (s.length___17612 & 15); s.tmp_5 = r0; r0 = (s.tmp_5 << 4); s.tmp_4 = r0; - r0 = (s.pixel___76126 & 15); + r0 = (s.pixel___17611 & 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___76098, 0, s.index___76109); + r0 = pxsim.BufferMethods.slice(s.buf___17583, 0, s.index___17594); return leave(s, r0) default: oops() } } } -tileworld_imageToBuffer__P73427.info = {"start":2350,"length":1465,"line":68,"column":4,"endLine":106,"endColumn":5,"fileName":"utilities.ts","functionName":"imageToBuffer","argumentNames":["img"]} +tileworld_imageToBuffer__P3547.info = {"start":2350,"length":1465,"line":68,"column":4,"endLine":106,"endColumn":5,"fileName":"utilities.ts","functionName":"imageToBuffer","argumentNames":["img"]} -function tileworld_imageToBuffer__P73427_mk(s) { +function tileworld_imageToBuffer__P3547_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_imageToBuffer__P73427, depth: s.depth + 1, + parent: s, fn: tileworld_imageToBuffer__P3547, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39419,13 +39421,13 @@ function tileworld_imageToBuffer__P73427_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - buf___76098: undefined, - index___76109: undefined, - pixel___76126: undefined, - length___76127: undefined, - x___76128: undefined, - y___76134: undefined, - newPixel___76140: undefined, + buf___17583: undefined, + index___17594: undefined, + pixel___17611: undefined, + length___17612: undefined, + x___17613: undefined, + y___17619: undefined, + newPixel___17625: undefined, arg0: undefined, } } @@ -39433,7 +39435,7 @@ function tileworld_imageToBuffer__P73427_mk(s) { -function tileworld_Project_saveBackgroundImage__P73583(s) { +function tileworld_Project_saveBackgroundImage__P3703(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39443,19 +39445,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___78087 = undefined; + s.buf___17693 = 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__C73562_VT)) failedCast(r0); - s.tmp_0 = tileworld_saveImage__P78089_mk(s); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); + s.tmp_0 = tileworld_saveImage__P6018_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.tmp_1 = tileworld_Project_getBackgroundImage__P73581_mk(s); + s.tmp_1 = tileworld_Project_getBackgroundImage__P3701_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 171; s.pc = 2; return s.tmp_1; @@ -39466,21 +39468,21 @@ switch (step) { s.callLocIdx = 172; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.buf___78087 = (r0); + s.buf___17693 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_saveBackgroundImage__P73583.info = {"start":3758,"length":141,"line":110,"column":8,"endLine":112,"endColumn":9,"fileName":"project.ts","functionName":"saveBackgroundImage","argumentNames":["this","kind"]} +tileworld_Project_saveBackgroundImage__P3703.info = {"start":3758,"length":141,"line":110,"column":8,"endLine":112,"endColumn":9,"fileName":"project.ts","functionName":"saveBackgroundImage","argumentNames":["this","kind"]} -function tileworld_Project_saveBackgroundImage__P73583_mk(s) { +function tileworld_Project_saveBackgroundImage__P3703_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_saveBackgroundImage__P73583, depth: s.depth + 1, + parent: s, fn: tileworld_Project_saveBackgroundImage__P3703, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___78087: undefined, + buf___17693: undefined, arg0: undefined, arg1: undefined, } } @@ -39489,7 +39491,7 @@ function tileworld_Project_saveBackgroundImage__P73583_mk(s) { -function tileworld_Project_getBackgroundImage__P73581(s) { +function tileworld_Project_getBackgroundImage__P3701(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39505,7 +39507,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = (0 <= s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -39537,12 +39539,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_getBackgroundImage__P73581.info = {"start":3464,"length":140,"line":102,"column":8,"endLine":104,"endColumn":9,"fileName":"project.ts","functionName":"getBackgroundImage","argumentNames":["this","kind"]} +tileworld_Project_getBackgroundImage__P3701.info = {"start":3464,"length":140,"line":102,"column":8,"endLine":104,"endColumn":9,"fileName":"project.ts","functionName":"getBackgroundImage","argumentNames":["this","kind"]} -function tileworld_Project_getBackgroundImage__P73581_mk(s) { +function tileworld_Project_getBackgroundImage__P3701_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getBackgroundImage__P73581, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getBackgroundImage__P3701, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39559,7 +39561,7 @@ function tileworld_Project_getBackgroundImage__P73581_mk(s) { -function tileworld_ImageEditor_paintPixel__P81778(s) { +function tileworld_ImageEditor_paintPixel__P6284(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39569,17 +39571,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___81958 = undefined; - s.row___81969 = undefined; - s.col___81998 = undefined; - s.row___82013 = undefined; - s.col___82034 = undefined; + s.col___17721 = undefined; + s.row___17732 = undefined; + s.col___17761 = undefined; + s.row___17776 = undefined; + s.col___17797 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C73663_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C3783_VT)) failedCast(r0); r0 = s.arg0.fields["Adown"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -39597,10 +39599,10 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_8 = Sprite_x__P71905_mk(s); + s.tmp_8 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_8.arg0 = r0; - s.callLocIdx = 570; s.pc = 14; return s.tmp_8; + s.callLocIdx = 582; s.pc = 14; return s.tmp_8; case 14: r0 = s.retval; s.tmp_7 = r0; @@ -39609,11 +39611,11 @@ switch (step) { r0 = (s.tmp_6 / 8); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.col___81958 = (r0); - s.tmp_4 = Sprite_y__P71907_mk(s); + s.col___17721 = (r0); + s.tmp_4 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 571; s.pc = 15; return s.tmp_4; + s.callLocIdx = 583; s.pc = 15; return s.tmp_4; case 15: r0 = s.retval; s.tmp_3 = r0; @@ -39624,17 +39626,17 @@ switch (step) { r0 = (s.tmp_1 / 8); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.row___81969 = (r0); + s.row___17732 = (r0); s.tmp_0 = r0 = s.arg0; - r0 = (s.row___81969 * 2); + r0 = (s.row___17732 * 2); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.col___81958); + r0 = (s.tmp_2 + s.col___17721); s.tmp_1 = r0; r0 = (s.tmp_0).fields["selectedColor"] = (s.tmp_1); - s.tmp_0 = tileworld_ImageEditor_setCursor__P81784_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P6290_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; - s.callLocIdx = 572; s.pc = 16; return s.tmp_0; + s.callLocIdx = 584; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; { step = 12; continue; } @@ -39646,10 +39648,10 @@ 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__P71905_mk(s); + s.tmp_3 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 573; s.pc = 17; return s.tmp_3; + s.callLocIdx = 585; s.pc = 17; return s.tmp_3; case 17: r0 = s.retval; s.tmp_2 = r0; @@ -39658,11 +39660,11 @@ switch (step) { r0 = (s.tmp_1 / 6); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.col___81998 = (r0); - s.tmp_3 = Sprite_y__P71907_mk(s); + s.col___17761 = (r0); + s.tmp_3 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 574; s.pc = 18; return s.tmp_3; + s.callLocIdx = 586; s.pc = 18; return s.tmp_3; case 18: r0 = s.retval; s.tmp_2 = r0; @@ -39671,31 +39673,31 @@ switch (step) { r0 = (s.tmp_1 / 6); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.row___82013 = (r0); + s.row___17776 = (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___81998, s.row___82013, s.tmp_1); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.col___17761, s.row___17776, s.tmp_1); { step = 11; continue; } case 4: - s.tmp_1 = Sprite_x__P71905_mk(s); + s.tmp_1 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 575; s.pc = 19; return s.tmp_1; + s.callLocIdx = 587; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 >> 4); - s.col___82034 = (r0); - r0 = (2 <= s.col___82034); + s.col___17797 = (r0); + r0 = (2 <= s.col___17797); 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___82034; + s.tmp_1 = r0 = s.col___17797; r0 = s.arg0.fields["p"]; s.tmp_5 = r0; r0 = s.tmp_5.fields["allImages"]; @@ -39714,18 +39716,18 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 7; continue; } - s.tmp_8 = tileworld_AllExport_saveImage__P73560_mk(s); + s.tmp_8 = tileworld_AllExport_saveImage__P3680_mk(s); r0 = s.arg0.fields["p"]; s.tmp_8.arg0 = r0; r0 = s.arg0.fields["kind"]; s.tmp_8.arg1 = r0; - s.callLocIdx = 577; s.pc = 20; return s.tmp_8; + s.callLocIdx = 589; s.pc = 20; return s.tmp_8; case 20: r0 = s.retval; case 7: case 8: s.tmp_0 = r0 = s.arg0; - r0 = (s.col___82034 - 2); + r0 = (s.col___17797 - 2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["kind"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -39743,9 +39745,9 @@ switch (step) { case 10: case 11: case 12: - s.tmp_0 = tileworld_ImageEditor__C73663_v0_1_mk(s); + s.tmp_0 = tileworld_ImageEditor__C3783_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ImageEditor__C73663_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ImageEditor__C3783_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 21; return s.tmp_0; case 21: @@ -39755,12 +39757,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_paintPixel__P81778.info = {"start":3695,"length":1186,"line":107,"column":8,"endLine":131,"endColumn":9,"fileName":"imageeditor.ts","functionName":"paintPixel","argumentNames":["this"]} +tileworld_ImageEditor_paintPixel__P6284.info = {"start":3695,"length":1186,"line":107,"column":8,"endLine":131,"endColumn":9,"fileName":"imageeditor.ts","functionName":"paintPixel","argumentNames":["this"]} -function tileworld_ImageEditor_paintPixel__P81778_mk(s) { +function tileworld_ImageEditor_paintPixel__P6284_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_paintPixel__P81778, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_paintPixel__P6284, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39771,11 +39773,11 @@ function tileworld_ImageEditor_paintPixel__P81778_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - col___81958: undefined, - row___81969: undefined, - col___81998: undefined, - row___82013: undefined, - col___82034: undefined, + col___17721: undefined, + row___17732: undefined, + col___17761: undefined, + row___17776: undefined, + col___17797: undefined, arg0: undefined, } } @@ -39783,7 +39785,7 @@ function tileworld_ImageEditor_paintPixel__P81778_mk(s) { -function tileworld_ImageEditor_moveDown__P81782(s) { +function tileworld_ImageEditor_moveDown__P6288(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39798,17 +39800,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C73663_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C3783_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__P71907_mk(s); + s.tmp_4 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 609; s.pc = 9; return s.tmp_4; + s.callLocIdx = 621; s.pc = 9; return s.tmp_4; case 9: r0 = s.retval; s.tmp_3 = r0; @@ -39822,19 +39824,19 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_8 = Sprite_y__P71908_mk(s); + s.tmp_8 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_9 = r0; s.tmp_8.arg0 = r0; - s.tmp_11 = Sprite_y__P71907_mk(s); + s.tmp_11 = Sprite_y__P2027_mk(s); s.tmp_11.arg0 = s.tmp_9; - s.callLocIdx = 610; s.pc = 11; return s.tmp_11; + s.callLocIdx = 622; s.pc = 11; return s.tmp_11; case 11: r0 = s.retval; s.tmp_10 = r0; r0 = (s.tmp_10 + 8); s.tmp_8.arg1 = r0; - s.callLocIdx = 611; s.pc = 10; return s.tmp_8; + s.callLocIdx = 623; s.pc = 10; return s.tmp_8; case 10: r0 = s.retval; case 1: @@ -39847,18 +39849,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = tileworld_ImageEditor_setCursor__P81784_mk(s); + s.tmp_2 = tileworld_ImageEditor_setCursor__P6290_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 1; - s.callLocIdx = 612; s.pc = 12; return s.tmp_2; + s.callLocIdx = 624; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; { step = 7; continue; } case 4: - s.tmp_2 = Sprite_y__P71907_mk(s); + s.tmp_2 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 613; s.pc = 13; return s.tmp_2; + s.callLocIdx = 625; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; @@ -39866,40 +39868,40 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_3 = Sprite_y__P71908_mk(s); + s.tmp_3 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_4 = r0; s.tmp_3.arg0 = r0; - s.tmp_6 = Sprite_y__P71907_mk(s); + s.tmp_6 = Sprite_y__P2027_mk(s); s.tmp_6.arg0 = s.tmp_4; - s.callLocIdx = 614; s.pc = 15; return s.tmp_6; + s.callLocIdx = 626; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_5 + 6); s.tmp_3.arg1 = r0; - s.callLocIdx = 615; s.pc = 14; return s.tmp_3; + s.callLocIdx = 627; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; case 5: case 6: case 7: case 8: - s.tmp_0 = tileworld_ImageEditor_paintPixel__P81778_mk(s); + s.tmp_0 = tileworld_ImageEditor_paintPixel__P6284_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 616; s.pc = 16; return s.tmp_0; + s.callLocIdx = 628; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_moveDown__P81782.info = {"start":6846,"length":536,"line":183,"column":8,"endLine":194,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveDown","argumentNames":["this"]} +tileworld_ImageEditor_moveDown__P6288.info = {"start":6846,"length":536,"line":183,"column":8,"endLine":194,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveDown","argumentNames":["this"]} -function tileworld_ImageEditor_moveDown__P81782_mk(s) { +function tileworld_ImageEditor_moveDown__P6288_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_moveDown__P81782, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_moveDown__P6288, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39920,7 +39922,7 @@ function tileworld_ImageEditor_moveDown__P81782_mk(s) { -function tileworld_ImageEditor_moveUp__P81781(s) { +function tileworld_ImageEditor_moveUp__P6287(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39935,17 +39937,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C73663_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C3783_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__P71907_mk(s); + s.tmp_4 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 601; s.pc = 9; return s.tmp_4; + s.callLocIdx = 613; s.pc = 9; return s.tmp_4; case 9: r0 = s.retval; s.tmp_3 = r0; @@ -39957,19 +39959,19 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_7 = Sprite_y__P71908_mk(s); + s.tmp_7 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_8 = r0; s.tmp_7.arg0 = r0; - s.tmp_10 = Sprite_y__P71907_mk(s); + s.tmp_10 = Sprite_y__P2027_mk(s); s.tmp_10.arg0 = s.tmp_8; - s.callLocIdx = 602; s.pc = 11; return s.tmp_10; + s.callLocIdx = 614; s.pc = 11; return s.tmp_10; case 11: r0 = s.retval; s.tmp_9 = r0; r0 = (s.tmp_9 - 8); s.tmp_7.arg1 = r0; - s.callLocIdx = 603; s.pc = 10; return s.tmp_7; + s.callLocIdx = 615; s.pc = 10; return s.tmp_7; case 10: r0 = s.retval; case 1: @@ -39982,10 +39984,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_4 = Sprite_y__P71907_mk(s); + s.tmp_4 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 604; s.pc = 12; return s.tmp_4; + s.callLocIdx = 616; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; s.tmp_3 = r0; @@ -39993,48 +39995,48 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_5 = Sprite_y__P71908_mk(s); + s.tmp_5 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_6 = r0; s.tmp_5.arg0 = r0; - s.tmp_8 = Sprite_y__P71907_mk(s); + s.tmp_8 = Sprite_y__P2027_mk(s); s.tmp_8.arg0 = s.tmp_6; - s.callLocIdx = 605; s.pc = 14; return s.tmp_8; + s.callLocIdx = 617; s.pc = 14; return s.tmp_8; case 14: r0 = s.retval; s.tmp_7 = r0; r0 = (s.tmp_7 - 6); s.tmp_5.arg1 = r0; - s.callLocIdx = 606; s.pc = 13; return s.tmp_5; + s.callLocIdx = 618; s.pc = 13; return s.tmp_5; case 13: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = tileworld_ImageEditor_setCursor__P81784_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P6290_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; - s.callLocIdx = 607; s.pc = 15; return s.tmp_0; + s.callLocIdx = 619; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; case 5: case 6: case 7: case 8: - s.tmp_0 = tileworld_ImageEditor_paintPixel__P81778_mk(s); + s.tmp_0 = tileworld_ImageEditor_paintPixel__P6284_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 608; s.pc = 16; return s.tmp_0; + s.callLocIdx = 620; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_moveUp__P81781.info = {"start":6292,"length":544,"line":169,"column":8,"endLine":181,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveUp","argumentNames":["this"]} +tileworld_ImageEditor_moveUp__P6287.info = {"start":6292,"length":544,"line":169,"column":8,"endLine":181,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveUp","argumentNames":["this"]} -function tileworld_ImageEditor_moveUp__P81781_mk(s) { +function tileworld_ImageEditor_moveUp__P6287_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_moveUp__P81781, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_moveUp__P6287, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40054,7 +40056,7 @@ function tileworld_ImageEditor_moveUp__P81781_mk(s) { -function tileworld_ImageEditor_moveRight__P81780(s) { +function tileworld_ImageEditor_moveRight__P6286(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40069,17 +40071,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C73663_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C3783_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__P71905_mk(s); + s.tmp_4 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 590; s.pc = 11; return s.tmp_4; + s.callLocIdx = 602; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; s.tmp_3 = r0; @@ -40087,27 +40089,27 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_5 = Sprite_x__P71906_mk(s); + s.tmp_5 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_6 = r0; s.tmp_5.arg0 = r0; - s.tmp_8 = Sprite_x__P71905_mk(s); + s.tmp_8 = Sprite_x__P2025_mk(s); s.tmp_8.arg0 = s.tmp_6; - s.callLocIdx = 591; s.pc = 13; return s.tmp_8; + s.callLocIdx = 603; s.pc = 13; return s.tmp_8; case 13: r0 = s.retval; s.tmp_7 = r0; r0 = (s.tmp_7 + 8); s.tmp_5.arg1 = r0; - s.callLocIdx = 592; s.pc = 12; return s.tmp_5; + s.callLocIdx = 604; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = tileworld_ImageEditor_setCursor__P81784_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P6290_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; - s.callLocIdx = 593; s.pc = 14; return s.tmp_0; + s.callLocIdx = 605; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 2: @@ -40119,10 +40121,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_4 = Sprite_x__P71905_mk(s); + s.tmp_4 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 594; s.pc = 15; return s.tmp_4; + s.callLocIdx = 606; s.pc = 15; return s.tmp_4; case 15: r0 = s.retval; s.tmp_3 = r0; @@ -40130,29 +40132,29 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_5 = Sprite_x__P71906_mk(s); + s.tmp_5 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_6 = r0; s.tmp_5.arg0 = r0; - s.tmp_8 = Sprite_x__P71905_mk(s); + s.tmp_8 = Sprite_x__P2025_mk(s); s.tmp_8.arg0 = s.tmp_6; - s.callLocIdx = 595; s.pc = 17; return s.tmp_8; + s.callLocIdx = 607; s.pc = 17; return s.tmp_8; case 17: r0 = s.retval; s.tmp_7 = r0; r0 = (s.tmp_7 + 16); s.tmp_5.arg1 = r0; - s.callLocIdx = 596; s.pc = 16; return s.tmp_5; + s.callLocIdx = 608; s.pc = 16; return s.tmp_5; case 16: r0 = s.retval; case 4: case 5: { step = 9; continue; } case 6: - s.tmp_2 = Sprite_x__P71905_mk(s); + s.tmp_2 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 597; s.pc = 18; return s.tmp_2; + s.callLocIdx = 609; s.pc = 18; return s.tmp_2; case 18: r0 = s.retval; s.tmp_1 = r0; @@ -40162,40 +40164,40 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_x__P71906_mk(s); + s.tmp_4 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_5 = r0; s.tmp_4.arg0 = r0; - s.tmp_7 = Sprite_x__P71905_mk(s); + s.tmp_7 = Sprite_x__P2025_mk(s); s.tmp_7.arg0 = s.tmp_5; - s.callLocIdx = 598; s.pc = 20; return s.tmp_7; + s.callLocIdx = 610; s.pc = 20; return s.tmp_7; case 20: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 6); s.tmp_4.arg1 = r0; - s.callLocIdx = 599; s.pc = 19; return s.tmp_4; + s.callLocIdx = 611; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; case 7: case 8: case 9: case 10: - s.tmp_0 = tileworld_ImageEditor_paintPixel__P81778_mk(s); + s.tmp_0 = tileworld_ImageEditor_paintPixel__P6284_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 600; s.pc = 21; return s.tmp_0; + s.callLocIdx = 612; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_moveRight__P81780.info = {"start":5579,"length":703,"line":151,"column":8,"endLine":167,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveRight","argumentNames":["this"]} +tileworld_ImageEditor_moveRight__P6286.info = {"start":5579,"length":703,"line":151,"column":8,"endLine":167,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveRight","argumentNames":["this"]} -function tileworld_ImageEditor_moveRight__P81780_mk(s) { +function tileworld_ImageEditor_moveRight__P6286_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_moveRight__P81780, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_moveRight__P6286, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40213,7 +40215,7 @@ function tileworld_ImageEditor_moveRight__P81780_mk(s) { -function tileworld_ImageEditor_moveLeft__P81779(s) { +function tileworld_ImageEditor_moveLeft__P6285(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40228,17 +40230,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C73663_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C3783_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__P71905_mk(s); + s.tmp_4 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 579; s.pc = 11; return s.tmp_4; + s.callLocIdx = 591; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; s.tmp_3 = r0; @@ -40246,19 +40248,19 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_5 = Sprite_x__P71906_mk(s); + s.tmp_5 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_6 = r0; s.tmp_5.arg0 = r0; - s.tmp_8 = Sprite_x__P71905_mk(s); + s.tmp_8 = Sprite_x__P2025_mk(s); s.tmp_8.arg0 = s.tmp_6; - s.callLocIdx = 580; s.pc = 13; return s.tmp_8; + s.callLocIdx = 592; s.pc = 13; return s.tmp_8; case 13: r0 = s.retval; s.tmp_7 = r0; r0 = (s.tmp_7 - 8); s.tmp_5.arg1 = r0; - s.callLocIdx = 581; s.pc = 12; return s.tmp_5; + s.callLocIdx = 593; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; case 1: @@ -40271,10 +40273,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_4 = Sprite_x__P71905_mk(s); + s.tmp_4 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 582; s.pc = 14; return s.tmp_4; + s.callLocIdx = 594; s.pc = 14; return s.tmp_4; case 14: r0 = s.retval; s.tmp_3 = r0; @@ -40282,29 +40284,29 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_5 = Sprite_x__P71906_mk(s); + s.tmp_5 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_6 = r0; s.tmp_5.arg0 = r0; - s.tmp_8 = Sprite_x__P71905_mk(s); + s.tmp_8 = Sprite_x__P2025_mk(s); s.tmp_8.arg0 = s.tmp_6; - s.callLocIdx = 583; s.pc = 16; return s.tmp_8; + s.callLocIdx = 595; s.pc = 16; return s.tmp_8; case 16: r0 = s.retval; s.tmp_7 = r0; r0 = (s.tmp_7 - 16); s.tmp_5.arg1 = r0; - s.callLocIdx = 584; s.pc = 15; return s.tmp_5; + s.callLocIdx = 596; s.pc = 15; return s.tmp_5; case 15: r0 = s.retval; case 4: case 5: { step = 9; continue; } case 6: - s.tmp_2 = Sprite_x__P71905_mk(s); + s.tmp_2 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 585; s.pc = 17; return s.tmp_2; + s.callLocIdx = 597; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; s.tmp_1 = r0; @@ -40312,47 +40314,47 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_3 = Sprite_x__P71906_mk(s); + s.tmp_3 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_4 = r0; s.tmp_3.arg0 = r0; - s.tmp_6 = Sprite_x__P71905_mk(s); + s.tmp_6 = Sprite_x__P2025_mk(s); s.tmp_6.arg0 = s.tmp_4; - s.callLocIdx = 586; s.pc = 19; return s.tmp_6; + s.callLocIdx = 598; s.pc = 19; return s.tmp_6; case 19: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_5 - 6); s.tmp_3.arg1 = r0; - s.callLocIdx = 587; s.pc = 18; return s.tmp_3; + s.callLocIdx = 599; s.pc = 18; return s.tmp_3; case 18: r0 = s.retval; { step = 8; continue; } case 7: - s.tmp_0 = tileworld_ImageEditor_setCursor__P81784_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P6290_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 588; s.pc = 20; return s.tmp_0; + s.callLocIdx = 600; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; case 8: case 9: case 10: - s.tmp_0 = tileworld_ImageEditor_paintPixel__P81778_mk(s); + s.tmp_0 = tileworld_ImageEditor_paintPixel__P6284_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 589; s.pc = 21; return s.tmp_0; + s.callLocIdx = 601; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_moveLeft__P81779.info = {"start":4891,"length":678,"line":133,"column":8,"endLine":149,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveLeft","argumentNames":["this"]} +tileworld_ImageEditor_moveLeft__P6285.info = {"start":4891,"length":678,"line":133,"column":8,"endLine":149,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveLeft","argumentNames":["this"]} -function tileworld_ImageEditor_moveLeft__P81779_mk(s) { +function tileworld_ImageEditor_moveLeft__P6285_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_moveLeft__P81779, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_moveLeft__P6285, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40370,7 +40372,7 @@ function tileworld_ImageEditor_moveLeft__P81779_mk(s) { -function tileworld_ImageEditor_update__P81785(s) { +function tileworld_ImageEditor_update__P6291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40380,73 +40382,73 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___82355 = undefined; - s.col___82359 = undefined; - s.color___82363 = undefined; - s.yOffset___82368 = undefined; - s.row___82438 = undefined; - s.y___82445 = undefined; - s.col___82451 = undefined; - s.x___82458 = undefined; - s.color___82466 = undefined; + s.row___18085 = undefined; + s.col___18089 = undefined; + s.color___18093 = undefined; + s.yOffset___18098 = undefined; + s.row___18168 = undefined; + s.y___18175 = undefined; + s.col___18181 = undefined; + s.x___18188 = undefined; + s.color___18196 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C73663_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.fill(globals.screen___71682, 0); - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + if (!checkSubtype(r0, tileworld_ImageEditor__C3783_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.fill(globals.screen___1802, 0); + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 4; s.tmp_0.arg3 = 16; s.tmp_0.arg4 = 16; s.tmp_0.arg5 = 11; - s.callLocIdx = 622; s.pc = 13; return s.tmp_0; + s.callLocIdx = 634; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___71682, globals.paint___73601, 0, 4); - r0 = pxsim_pxtcore_mkAction(1, inline__P82328); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___1802, globals.paint___3721, 0, 4); + r0 = pxsim_pxtcore_mkAction(1, inline__P18058); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["allImages"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 624; s.pc = 14; return s.tmp_1; + s.callLocIdx = 636; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - s.row___82355 = (0); + s.row___18085 = (0); case 1: - r0 = (s.row___82355 < 8); + r0 = (s.row___18085 < 8); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.col___82359 = (0); + s.col___18089 = (0); case 2: - r0 = (s.col___82359 < 2); + r0 = (s.col___18089 < 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.row___82355 * 2); + r0 = (s.row___18085 * 2); s.tmp_1 = r0; - r0 = (s.tmp_1 + s.col___82359); - s.color___82363 = (r0); + r0 = (s.tmp_1 + s.col___18089); + s.color___18093 = (r0); r0 = (38 + 4); - s.yOffset___82368 = (r0); - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); - s.tmp_0.arg0 = globals.screen___71682; - r0 = (s.col___82359 * 8); + s.yOffset___18098 = (r0); + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); + s.tmp_0.arg0 = globals.screen___1802; + r0 = (s.col___18089 * 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___82368; - r0 = (s.row___82355 * 8); + s.tmp_4 = r0 = s.yOffset___18098; + r0 = (s.row___18085 * 8); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -40454,66 +40456,66 @@ switch (step) { s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 6; s.tmp_0.arg4 = 6; - s.tmp_0.arg5 = s.color___82363; - s.callLocIdx = 625; s.pc = 15; return s.tmp_0; + s.tmp_0.arg5 = s.color___18093; + s.callLocIdx = 637; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = s.arg0.fields["selectedColor"]; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.color___82363); + r0 = (s.tmp_1 == s.color___18093); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = helpers_imageDrawRect__P71611_mk(s); - s.tmp_2.arg0 = globals.screen___71682; - r0 = (s.col___82359 * 8); + s.tmp_2 = helpers_imageDrawRect__P1731_mk(s); + s.tmp_2.arg0 = globals.screen___1802; + r0 = (s.col___18089 * 8); s.tmp_3 = r0; r0 = (5 + s.tmp_3); s.tmp_2.arg1 = r0; - s.tmp_4 = r0 = s.yOffset___82368; - r0 = (s.row___82355 * 8); + s.tmp_4 = r0 = s.yOffset___18098; + r0 = (s.row___18085 * 8); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_2.arg2 = r0; s.tmp_2.arg3 = 8; s.tmp_2.arg4 = 8; s.tmp_2.arg5 = 1; - s.callLocIdx = 626; s.pc = 16; return s.tmp_2; + s.callLocIdx = 638; s.pc = 16; return s.tmp_2; case 16: r0 = s.retval; case 3: case 4: - r0 = (s.col___82359 + 1); - s.col___82359 = (r0); + r0 = (s.col___18089 + 1); + s.col___18089 = (r0); { step = 2; continue; } case 5: - r0 = (s.row___82355 + 1); - s.row___82355 = (r0); + r0 = (s.row___18085 + 1); + s.row___18085 = (r0); { step = 1; continue; } case 6: - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 43; s.tmp_0.arg3 = 3; s.tmp_0.arg4 = 3; s.tmp_0.arg5 = 13; - s.callLocIdx = 627; s.pc = 17; return s.tmp_0; + s.callLocIdx = 639; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = 9; s.tmp_0.arg2 = 46; s.tmp_0.arg3 = 3; s.tmp_0.arg4 = 3; s.tmp_0.arg5 = 13; - s.callLocIdx = 628; s.pc = 18; return s.tmp_0; + s.callLocIdx = 640; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.row___82438 = (0); + s.row___18168 = (0); case 7: - s.tmp_1 = r0 = s.row___82438; + s.tmp_1 = r0 = s.row___18168; r0 = s.arg0.fields["image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -40522,13 +40524,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - r0 = (s.row___82438 * 6); + r0 = (s.row___18168 * 6); s.tmp_4 = r0; r0 = (24 + s.tmp_4); - s.y___82445 = (r0); - s.col___82451 = (0); + s.y___18175 = (r0); + s.col___18181 = (0); case 8: - s.tmp_1 = r0 = s.col___82451; + s.tmp_1 = r0 = s.col___18181; r0 = s.arg0.fields["image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); @@ -40537,66 +40539,66 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.col___82451 * 6); + r0 = (s.col___18181 * 6); s.tmp_4 = r0; r0 = (30 + s.tmp_4); - s.x___82458 = (r0); + s.x___18188 = (r0); r0 = s.arg0.fields["image"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.col___82451, s.row___82438); - s.color___82466 = (r0); - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); - s.tmp_0.arg0 = globals.screen___71682; - s.tmp_0.arg1 = s.x___82458; - s.tmp_0.arg2 = s.y___82445; + r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.col___18181, s.row___18168); + s.color___18196 = (r0); + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); + s.tmp_0.arg0 = globals.screen___1802; + s.tmp_0.arg1 = s.x___18188; + s.tmp_0.arg2 = s.y___18175; s.tmp_0.arg3 = 5; s.tmp_0.arg4 = 5; - s.tmp_0.arg5 = s.color___82466; - s.callLocIdx = 629; s.pc = 19; return s.tmp_0; + s.tmp_0.arg5 = s.color___18196; + s.callLocIdx = 641; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = (s.color___82466 == 0); + r0 = (s.color___18196 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_1 = helpers_imageFillRect__P71608_mk(s); - s.tmp_1.arg0 = globals.screen___71682; - s.tmp_1.arg1 = s.x___82458; - s.tmp_1.arg2 = s.y___82445; + s.tmp_1 = helpers_imageFillRect__P1728_mk(s); + s.tmp_1.arg0 = globals.screen___1802; + s.tmp_1.arg1 = s.x___18188; + s.tmp_1.arg2 = s.y___18175; r0 = (3 - 1); s.tmp_1.arg3 = r0; r0 = (3 - 1); s.tmp_1.arg4 = r0; s.tmp_1.arg5 = 13; - s.callLocIdx = 630; s.pc = 20; return s.tmp_1; + s.callLocIdx = 642; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); - s.tmp_0.arg0 = globals.screen___71682; - r0 = (s.x___82458 + 3); + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); + s.tmp_0.arg0 = globals.screen___1802; + r0 = (s.x___18188 + 3); s.tmp_0.arg1 = r0; - r0 = (s.y___82445 + 3); + r0 = (s.y___18175 + 3); s.tmp_0.arg2 = r0; r0 = (3 - 1); s.tmp_0.arg3 = r0; r0 = (3 - 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 13; - s.callLocIdx = 631; s.pc = 21; return s.tmp_0; + s.callLocIdx = 643; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; case 9: case 10: - r0 = (s.col___82451 + 1); - s.col___82451 = (r0); + r0 = (s.col___18181 + 1); + s.col___18181 = (r0); { step = 8; continue; } case 11: - r0 = (s.row___82438 + 1); - s.row___82438 = (r0); + r0 = (s.row___18168 + 1); + s.row___18168 = (r0); { step = 7; continue; } case 12: - s.tmp_0 = helpers_imageDrawRect__P71611_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imageDrawRect__P1731_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = 28; s.tmp_0.arg2 = 22; r0 = (96 + 4); @@ -40604,19 +40606,19 @@ switch (step) { r0 = (96 + 4); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 632; s.pc = 22; return s.tmp_0; + s.callLocIdx = 644; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_update__P81785.info = {"start":7850,"length":2296,"line":208,"column":8,"endLine":251,"endColumn":9,"fileName":"imageeditor.ts","functionName":"update","argumentNames":["this"]} +tileworld_ImageEditor_update__P6291.info = {"start":7850,"length":2296,"line":208,"column":8,"endLine":251,"endColumn":9,"fileName":"imageeditor.ts","functionName":"update","argumentNames":["this"]} -function tileworld_ImageEditor_update__P81785_mk(s) { +function tileworld_ImageEditor_update__P6291_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_update__P81785, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_update__P6291, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40624,15 +40626,15 @@ function tileworld_ImageEditor_update__P81785_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - row___82355: undefined, - col___82359: undefined, - color___82363: undefined, - yOffset___82368: undefined, - row___82438: undefined, - y___82445: undefined, - col___82451: undefined, - x___82458: undefined, - color___82466: undefined, + row___18085: undefined, + col___18089: undefined, + color___18093: undefined, + yOffset___18098: undefined, + row___18168: undefined, + y___18175: undefined, + col___18181: undefined, + x___18188: undefined, + color___18196: undefined, arg0: undefined, } } @@ -40640,7 +40642,7 @@ function tileworld_ImageEditor_update__P81785_mk(s) { -function inline__P82328(s) { +function inline__P18058(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40655,7 +40657,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = r0 = globals.screen___71682; + s.tmp_0 = r0 = globals.screen___1802; s.tmp_1 = r0 = s.arg0; r0 = (2 + s.arg1); s.tmp_3 = r0; @@ -40668,8 +40670,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___71682; - s.tmp_3 = r0 = globals.cursorOut___73609; + s.tmp_2 = r0 = globals.screen___1802; + s.tmp_3 = r0 = globals.cursorOut___3729; r0 = (2 + s.arg1); s.tmp_5 = r0; r0 = (s.tmp_5 * 16); @@ -40681,12 +40683,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P82328.info = {"start":8044,"length":232,"line":212,"column":39,"endLine":217,"endColumn":13,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":["img","index"]} +inline__P18058.info = {"start":8044,"length":232,"line":212,"column":39,"endLine":217,"endColumn":13,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":["img","index"]} -function inline__P82328_mk(s) { +function inline__P18058_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P82328, depth: s.depth + 1, + parent: s, fn: inline__P18058, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40702,7 +40704,7 @@ function inline__P82328_mk(s) { -function tileworld_ImageEditor_setCursor__P81784(s) { +function tileworld_ImageEditor_setCursor__P6290(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40718,32 +40720,32 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C73663_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P71959_mk(s); + if (!checkSubtype(r0, tileworld_ImageEditor__C3783_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; r0 = (s.arg1 != 0); s.tmp_0.arg2 = r0; - s.callLocIdx = 619; s.pc = 1; return s.tmp_0; + s.callLocIdx = 631; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_setFlag__P71959_mk(s); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; r0 = (s.arg1 != 1); s.tmp_0.arg2 = r0; - s.callLocIdx = 620; s.pc = 2; return s.tmp_0; + s.callLocIdx = 632; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_setFlag__P71959_mk(s); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; r0 = (s.arg1 != 2); s.tmp_0.arg2 = r0; - s.callLocIdx = 621; s.pc = 3; return s.tmp_0; + s.callLocIdx = 633; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = (s.arg0).fields["cursorType"] = (s.arg1); @@ -40751,12 +40753,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_setCursor__P81784.info = {"start":7512,"length":328,"line":201,"column":8,"endLine":206,"endColumn":9,"fileName":"imageeditor.ts","functionName":"setCursor","argumentNames":["this","ct"]} +tileworld_ImageEditor_setCursor__P6290.info = {"start":7512,"length":328,"line":201,"column":8,"endLine":206,"endColumn":9,"fileName":"imageeditor.ts","functionName":"setCursor","argumentNames":["this","ct"]} -function tileworld_ImageEditor_setCursor__P81784_mk(s) { +function tileworld_ImageEditor_setCursor__P6290_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_setCursor__P81784, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_setCursor__P6290, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40767,7 +40769,7 @@ function tileworld_ImageEditor_setCursor__P81784_mk(s) { -function tileworld_cursorAnimation__P73423(s) { +function tileworld_cursorAnimation__P3543(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40777,39 +40779,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.anim___75927 = undefined; + s.anim___18309 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = animation_createAnimation__P72813_mk(s); + s.tmp_0 = animation_createAnimation__P2933_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 300; s.callLocIdx = 66; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.anim___75927 = (r0); - s.tmp_0 = animation_Animation_addAnimationFrame__P72810_mk(s); - s.tmp_0.arg0 = s.anim___75927; + s.anim___18309 = (r0); + s.tmp_0 = animation_Animation_addAnimationFrame__P2930_mk(s); + s.tmp_0.arg0 = s.anim___18309; r0 = s.arg0.fields["_image"]; s.tmp_0.arg1 = r0; s.callLocIdx = 68; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = animation_Animation_addAnimationFrame__P72810_mk(s); - s.tmp_0.arg0 = s.anim___75927; + s.tmp_0 = animation_Animation_addAnimationFrame__P2930_mk(s); + s.tmp_0.arg0 = s.anim___18309; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 69; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = animation_attachAnimation__P72814_mk(s); + s.tmp_0 = animation_attachAnimation__P2934_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.anim___75927; + s.tmp_0.arg1 = s.anim___18309; s.callLocIdx = 70; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = animation_setAction__P72815_mk(s); + s.tmp_0 = animation_setAction__P2935_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 71; s.pc = 5; return s.tmp_0; @@ -40819,15 +40821,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_cursorAnimation__P73423.info = {"start":670,"length":297,"line":20,"column":4,"endLine":26,"endColumn":5,"fileName":"utilities.ts","functionName":"cursorAnimation","argumentNames":["cursor","second"]} +tileworld_cursorAnimation__P3543.info = {"start":670,"length":297,"line":20,"column":4,"endLine":26,"endColumn":5,"fileName":"utilities.ts","functionName":"cursorAnimation","argumentNames":["cursor","second"]} -function tileworld_cursorAnimation__P73423_mk(s) { +function tileworld_cursorAnimation__P3543_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_cursorAnimation__P73423, depth: s.depth + 1, + parent: s, fn: tileworld_cursorAnimation__P3543, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - anim___75927: undefined, + anim___18309: undefined, arg0: undefined, arg1: undefined, } } @@ -40836,7 +40838,7 @@ function tileworld_cursorAnimation__P73423_mk(s) { -function animation_setAction__P72815(s) { +function animation_setAction__P2935(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40856,12 +40858,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_setAction__P72815.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__P2935.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__P72815_mk(s) { +function animation_setAction__P2935_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_setAction__P72815, depth: s.depth + 1, + parent: s, fn: animation_setAction__P2935, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -40871,7 +40873,7 @@ function animation_setAction__P72815_mk(s) { -function animation_attachAnimation__P72814(s) { +function animation_attachAnimation__P2934(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40886,22 +40888,22 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = animation_Animation_registerSprite__P72811_mk(s); + s.tmp_0 = animation_Animation_registerSprite__P2931_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1234; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1232; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -animation_attachAnimation__P72814.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__P2934.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__P72814_mk(s) { +function animation_attachAnimation__P2934_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_attachAnimation__P72814, depth: s.depth + 1, + parent: s, fn: animation_attachAnimation__P2934, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40912,7 +40914,7 @@ function animation_attachAnimation__P72814_mk(s) { -function animation_Animation_registerSprite__P72811(s) { +function animation_Animation_registerSprite__P2931(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40928,7 +40930,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Animation__C72796_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Animation__C2916_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_2 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.arg1, undefined); @@ -40946,12 +40948,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_Animation_registerSprite__P72811.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__P2931.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__P72811_mk(s) { +function animation_Animation_registerSprite__P2931_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Animation_registerSprite__P72811, depth: s.depth + 1, + parent: s, fn: animation_Animation_registerSprite__P2931, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40965,7 +40967,7 @@ function animation_Animation_registerSprite__P72811_mk(s) { -function animation_Animation_addAnimationFrame__P72810(s) { +function animation_Animation_addAnimationFrame__P2930(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40981,7 +40983,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Animation__C72796_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Animation__C2916_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["index"]; s.tmp_2 = r0; @@ -40995,12 +40997,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_Animation_addAnimationFrame__P72810.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__P2930.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__P72810_mk(s) { +function animation_Animation_addAnimationFrame__P2930_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Animation_addAnimationFrame__P72810, depth: s.depth + 1, + parent: s, fn: animation_Animation_addAnimationFrame__P2930, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41014,7 +41016,7 @@ function animation_Animation_addAnimationFrame__P72810_mk(s) { -function animation_createAnimation__P72813(s) { +function animation_createAnimation__P2933(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41029,25 +41031,25 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(animation_Animation__C72796_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Animation__C2916_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Animation_constructor__P72803_mk(s); + s.tmp_1 = animation_Animation_constructor__P2923_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; - s.callLocIdx = 1233; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1231; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -animation_createAnimation__P72813.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__P2933.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__P72813_mk(s) { +function animation_createAnimation__P2933_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_createAnimation__P72813, depth: s.depth + 1, + parent: s, fn: animation_createAnimation__P2933, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41059,7 +41061,7 @@ function animation_createAnimation__P72813_mk(s) { -function animation_Animation_constructor__P72803(s) { +function animation_Animation_constructor__P2923(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41076,7 +41078,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Animation__C72796_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Animation__C2916_VT)) failedCast(r0); r0 = (s.arg0).fields["interval"] = (s.arg2); r0 = (s.arg0).fields["index"] = (-1); r0 = (s.arg0).fields["action"] = (s.arg1); @@ -41092,21 +41094,21 @@ 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__P72804_mk(s); + s.tmp_0 = animation_Animation__init__P2924_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1223; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1221; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -animation_Animation_constructor__P72803.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__P2923.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__P72803_mk(s) { +function animation_Animation_constructor__P2923_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Animation_constructor__P72803, depth: s.depth + 1, + parent: s, fn: animation_Animation_constructor__P2923, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41119,7 +41121,7 @@ function animation_Animation_constructor__P72803_mk(s) { -function animation_Animation__init__P72804(s) { +function animation_Animation__init__P2924(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41134,39 +41136,39 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Animation__C72796_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals.animations___74669); + if (!checkSubtype(r0, animation_Animation__C2916_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals.animations___4789); 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___74669 = (r0); - s.tmp_0 = control_EventContext_registerFrameHandler__P70272_mk(s); - s.tmp_1 = game_eventContext__P72412_mk(s); - s.callLocIdx = 1224; s.pc = 4; return s.tmp_1; + globals.animations___4789 = (r0); + s.tmp_0 = control_EventContext_registerFrameHandler__P392_mk(s); + s.tmp_1 = game_eventContext__P2532_mk(s); + s.callLocIdx = 1222; 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__P97472; - s.callLocIdx = 1227; s.pc = 3; return s.tmp_0; + s.tmp_0.arg2 = inline__P18397; + s.callLocIdx = 1225; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - r0 = pxsim_Array__push(globals.animations___74669, s.arg0); + r0 = pxsim_Array__push(globals.animations___4789, s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -animation_Animation__init__P72804.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__P2924.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__P72804_mk(s) { +function animation_Animation__init__P2924_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Animation__init__P72804, depth: s.depth + 1, + parent: s, fn: animation_Animation__init__P2924, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41177,7 +41179,7 @@ function animation_Animation__init__P72804_mk(s) { -function inline__P97472(s) { +function inline__P18397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41187,22 +41189,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P69987_mk(s); - s.tmp_0.arg0 = globals.animations___74669; - s.tmp_0.arg1 = inline__P97475; - s.callLocIdx = 1226; s.pc = 1; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P107_mk(s); + s.tmp_0.arg0 = globals.animations___4789; + s.tmp_0.arg1 = inline__P18400; + s.callLocIdx = 1224; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P97472.info = {"start":1618,"length":88,"line":59,"column":90,"endLine":61,"endColumn":17,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":[]} +inline__P18397.info = {"start":1618,"length":88,"line":59,"column":90,"endLine":61,"endColumn":17,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":[]} -function inline__P97472_mk(s) { +function inline__P18397_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P97472, depth: s.depth + 1, + parent: s, fn: inline__P18397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -41211,7 +41213,7 @@ function inline__P97472_mk(s) { -function inline__P97475(s) { +function inline__P18400(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41225,21 +41227,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = animation_Animation_update__P72805_mk(s); + s.tmp_0 = animation_Animation_update__P2925_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1225; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1223; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P97475.info = {"start":1665,"length":21,"line":60,"column":39,"endLine":60,"endColumn":60,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["anim"]} +inline__P18400.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__P97475_mk(s) { +function inline__P18400_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P97475, depth: s.depth + 1, + parent: s, fn: inline__P18400, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41249,7 +41251,7 @@ function inline__P97475_mk(s) { -function animation_Animation_update__P72805(s) { +function animation_Animation_update__P2925(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41259,23 +41261,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currentTime___97483 = undefined; - s.dt___97486 = undefined; + s.currentTime___18408 = undefined; + s.dt___18411 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Animation__C72796_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Animation__C2916_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.currentTime___97483 = (r0); + s.currentTime___18408 = (r0); r0 = s.arg0.fields["lastTime"]; s.tmp_0 = r0; - r0 = (s.currentTime___97483 - s.tmp_0); - s.dt___97486 = (r0); + r0 = (s.currentTime___18408 - s.tmp_0); + s.dt___18411 = (r0); r0 = s.arg0.fields["interval"]; s.tmp_1 = r0; - r0 = (s.dt___97486 >= s.tmp_1); + r0 = (s.dt___18411 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } @@ -41302,39 +41304,39 @@ 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___97483); + r0 = (s.arg0).fields["lastTime"] = (s.currentTime___18408); case 3: case 4: s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P69988_mk(s); + s.tmp_2 = helpers_arrayFilter__P108_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P97518; - s.callLocIdx = 1228; s.pc = 5; return s.tmp_2; + s.tmp_2.arg1 = inline__P18443; + s.callLocIdx = 1226; 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__P97529); + r0 = pxsim_pxtcore_mkAction(1, inline__P18454); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1232; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1230; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -animation_Animation_update__P72805.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__P2925.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__P72805_mk(s) { +function animation_Animation_update__P2925_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Animation_update__P72805, depth: s.depth + 1, + parent: s, fn: animation_Animation_update__P2925, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41346,8 +41348,8 @@ function animation_Animation_update__P72805_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - currentTime___97483: undefined, - dt___97486: undefined, + currentTime___18408: undefined, + dt___18411: undefined, arg0: undefined, } } @@ -41355,7 +41357,7 @@ function animation_Animation_update__P72805_mk(s) { -function inline__P97518(s) { +function inline__P18443(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41379,12 +41381,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P97518.info = {"start":2134,"length":50,"line":74,"column":47,"endLine":74,"endColumn":97,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P18443.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__P97518_mk(s) { +function inline__P18443_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P97518, depth: s.depth + 1, + parent: s, fn: inline__P18443, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41396,7 +41398,7 @@ function inline__P97518_mk(s) { -function inline__P97529(s) { +function inline__P18454(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41406,7 +41408,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newImage___97536 = undefined; + s.newImage___18461 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -41424,17 +41426,17 @@ switch (step) { r0 = s.caps[0].fields["index"]; s.tmp_4 = r0; r0 = pxsim_Array__getAt(s.tmp_3, s.tmp_4); - s.newImage___97536 = (r0); + s.newImage___18461 = (r0); r0 = s.arg0.fields["_image"]; s.tmp_1 = r0; - r0 = (s.tmp_1 !== s.newImage___97536); + r0 = (s.tmp_1 !== s.newImage___18461); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = Sprite_setImage__P71936_mk(s); + s.tmp_2 = Sprite_setImage__P2056_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.newImage___97536; - s.callLocIdx = 1231; s.pc = 5; return s.tmp_2; + s.tmp_2.arg1 = s.newImage___18461; + s.callLocIdx = 1229; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 1: @@ -41445,19 +41447,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P97529.info = {"start":2221,"length":334,"line":76,"column":33,"endLine":84,"endColumn":13,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P18454.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__P97529_mk(s) { +function inline__P18454_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P97529, depth: s.depth + 1, + parent: s, fn: inline__P18454, depth: s.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___97536: undefined, + newImage___18461: undefined, arg0: undefined, } } @@ -41465,7 +41467,7 @@ function inline__P97529_mk(s) { -function animation_Animation_getImage__P72806(s) { +function animation_Animation_getImage__P2926(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41480,7 +41482,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Animation__C72796_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Animation__C2916_VT)) failedCast(r0); r0 = s.arg0.fields["frames"]; s.tmp_0 = r0; r0 = s.arg0.fields["index"]; @@ -41489,12 +41491,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_Animation_getImage__P72806.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__P2926.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__P72806_mk(s) { +function animation_Animation_getImage__P2926_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Animation_getImage__P72806, depth: s.depth + 1, + parent: s, fn: animation_Animation_getImage__P2926, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41505,7 +41507,7 @@ function animation_Animation_getImage__P72806_mk(s) { -function tileworld_BackgroundBase_constructor__P73668(s) { +function tileworld_BackgroundBase_constructor__P3788(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41520,25 +41522,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_BackgroundBase__C73667_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P82554); + if (!checkSubtype(r0, tileworld_BackgroundBase__C3787_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P18477); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onPaint__P72423_mk(s); + s.tmp_1 = game_onPaint__P2543_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 634; s.pc = 1; return s.tmp_1; + s.callLocIdx = 646; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_BackgroundBase_constructor__P73668.info = {"start":93,"length":110,"line":5,"column":8,"endLine":9,"endColumn":9,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["this"]} +tileworld_BackgroundBase_constructor__P3788.info = {"start":93,"length":110,"line":5,"column":8,"endLine":9,"endColumn":9,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["this"]} -function tileworld_BackgroundBase_constructor__P73668_mk(s) { +function tileworld_BackgroundBase_constructor__P3788_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_BackgroundBase_constructor__P73668, depth: s.depth + 1, + parent: s, fn: tileworld_BackgroundBase_constructor__P3788, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41549,7 +41551,7 @@ function tileworld_BackgroundBase_constructor__P73668_mk(s) { -function inline__P82554(s) { +function inline__P18477(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41563,12 +41565,12 @@ switch (step) { s.tmp_0.arg0 = s.caps[0]; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "update"), 1); - s.callLocIdx = 633; s.pc = 1; return s.tmp_0; + s.callLocIdx = 645; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["update"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["update"], 1); s.callLocIdx = 633; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 633; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 633; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["update"], 1); s.callLocIdx = 645; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 645; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 645; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -41576,12 +41578,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P82554.info = {"start":134,"length":58,"line":6,"column":25,"endLine":8,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P18477.info = {"start":134,"length":58,"line":6,"column":25,"endLine":8,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P82554_mk(s) { +function inline__P18477_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P82554, depth: s.depth + 1, + parent: s, fn: inline__P18477, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -41590,7 +41592,7 @@ function inline__P82554_mk(s) { -function game_onPaint__P72423(s) { +function game_onPaint__P2543(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41604,9 +41606,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P74170_mk(s); + s.tmp_0 = game_init__P4290_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 896; s.pc = 4; return s.tmp_0; + s.callLocIdx = 894; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg0); @@ -41618,11 +41620,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P72260_mk(s); + s.tmp_2 = scene_createRenderable__P2380_mk(s); s.tmp_2.arg0 = -20; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; - s.callLocIdx = 897; s.pc = 5; return s.tmp_2; + s.callLocIdx = 895; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -41630,12 +41632,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onPaint__P72423.info = {"start":9619,"length":145,"line":308,"column":4,"endLine":312,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onPaint","argumentNames":["a"]} +game_onPaint__P2543.info = {"start":9619,"length":145,"line":308,"column":4,"endLine":312,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onPaint","argumentNames":["a"]} -function game_onPaint__P72423_mk(s) { +function game_onPaint__P2543_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onPaint__P72423, depth: s.depth + 1, + parent: s, fn: game_onPaint__P2543, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41647,7 +41649,7 @@ function game_onPaint__P72423_mk(s) { -function scene_createRenderable__P72260(s) { +function scene_createRenderable__P2380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41657,14 +41659,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___91119 = undefined; + s.renderable___18492 = 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__C72255_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C2375_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -41672,35 +41674,35 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = inline__P91125; + r0 = inline__P18498; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P72256_mk(s); + s.tmp_3 = scene_Renderable_constructor__P2376_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; s.tmp_3.arg3 = s.arg0; - s.callLocIdx = 813; s.pc = 3; return s.tmp_3; + s.callLocIdx = 811; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___91119 = (s.tmp_0); - r0 = s.renderable___91119; + s.renderable___18492 = (s.tmp_0); + r0 = s.renderable___18492; return leave(s, r0) default: oops() } } } -scene_createRenderable__P72260.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__P2380.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__P72260_mk(s) { +function scene_createRenderable__P2380_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P72260, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P2380, depth: s.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___91119: undefined, + renderable___18492: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -41710,7 +41712,7 @@ function scene_createRenderable__P72260_mk(s) { -function inline__P91125(s) { +function inline__P18498(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41724,12 +41726,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P91125.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +inline__P18498.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} -function inline__P91125_mk(s) { +function inline__P18498_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P91125, depth: s.depth + 1, + parent: s, fn: inline__P18498, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -41737,7 +41739,7 @@ function inline__P91125_mk(s) { -function scene_Renderable_constructor__P72256(s) { +function scene_Renderable_constructor__P2376(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41755,25 +41757,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C72255_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C2375_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P71740_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P1860_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; - s.callLocIdx = 810; s.pc = 1; return s.tmp_0; + s.callLocIdx = 808; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Renderable_constructor__P72256.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__P2376.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__P72256_mk(s) { +function scene_Renderable_constructor__P2376_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P72256, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P2376, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41786,7 +41788,7 @@ function scene_Renderable_constructor__P72256_mk(s) { -function tileworld_MapEditor_constructor__P73705(s) { +function tileworld_MapEditor_constructor__P3825(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41802,222 +41804,222 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C73704_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C3824_VT)) failedCast(r0); r0 = (s.arg0).fields["p"] = (s.arg1); - s.tmp_0 = tileworld_BackgroundBase_constructor__P73668_mk(s); + s.tmp_0 = tileworld_BackgroundBase_constructor__P3788_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1196; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1208; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["aDown"] = (false); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P71854_mk(s); - s.tmp_2.arg0 = globals.cursorOut___73609; + s.tmp_2 = sprites_create__P1974_mk(s); + s.tmp_2.arg0 = globals.cursorOut___3729; s.tmp_2.arg1 = undefined; - s.callLocIdx = 1197; s.pc = 2; return s.tmp_2; + s.callLocIdx = 1209; 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__P71906_mk(s); + s.tmp_0 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["selected"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 24; - s.callLocIdx = 1198; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1210; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["selected"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 12; - s.callLocIdx = 1199; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1211; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = (s.arg0).fields["userSpriteIndex"] = (0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P71854_mk(s); - s.tmp_2.arg0 = globals.cursorIn___73608; + s.tmp_2 = sprites_create__P1974_mk(s); + s.tmp_2.arg0 = globals.cursorIn___3728; s.tmp_2.arg1 = undefined; - s.callLocIdx = 1200; s.pc = 5; return s.tmp_2; + s.callLocIdx = 1212; 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__P71906_mk(s); + s.tmp_0 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 8; - s.callLocIdx = 1201; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1213; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 12; - s.callLocIdx = 1202; s.pc = 7; return s.tmp_0; + s.callLocIdx = 1214; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = tileworld_cursorAnimation__P73423_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3543_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.cursorOut___73609; - s.callLocIdx = 1203; s.pc = 8; return s.tmp_0; + s.tmp_0.arg1 = globals.cursorOut___3729; + s.callLocIdx = 1215; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P71854_mk(s); - s.tmp_2.arg0 = globals.paintOut___86425; + s.tmp_2 = sprites_create__P1974_mk(s); + s.tmp_2.arg0 = globals.paintOut___6454; s.tmp_2.arg1 = undefined; - s.callLocIdx = 1204; s.pc = 9; return s.tmp_2; + s.callLocIdx = 1216; 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__P73423_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3543_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.paintIn___86428; - s.callLocIdx = 1205; s.pc = 10; return s.tmp_0; + s.tmp_0.arg1 = globals.paintIn___6457; + s.callLocIdx = 1217; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = tileworld_MapEditor_paintHome__P85167_mk(s); + s.tmp_0 = tileworld_MapEditor_paintHome__P6460_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1206; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1218; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = tileworld_MapEditor_setCursor__P85168_mk(s); + s.tmp_0 = tileworld_MapEditor_setCursor__P6461_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1207; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1219; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = tileworld_MapEditor__C73704_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C3824_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C73704_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C3824_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__P86494); + r0 = pxsim_pxtcore_mkAction(1, inline__P18571); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.left___71759; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.left___1879; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1209; s.pc = 14; return s.tmp_1; + s.callLocIdx = 1221; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P86499); + r0 = pxsim_pxtcore_mkAction(1, inline__P18576); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.left___71759; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.left___1879; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1211; s.pc = 15; return s.tmp_1; + s.callLocIdx = 1223; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P86504); + r0 = pxsim_pxtcore_mkAction(1, inline__P18581); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.right___71761; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.right___1881; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1213; s.pc = 16; return s.tmp_1; + s.callLocIdx = 1225; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P86509); + r0 = pxsim_pxtcore_mkAction(1, inline__P18586); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.right___71761; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.right___1881; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1215; s.pc = 17; return s.tmp_1; + s.callLocIdx = 1227; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P86514); + r0 = pxsim_pxtcore_mkAction(1, inline__P18591); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.up___71760; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.up___1880; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1217; s.pc = 18; return s.tmp_1; + s.callLocIdx = 1229; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P86519); + r0 = pxsim_pxtcore_mkAction(1, inline__P18596); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.up___71760; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.up___1880; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1219; s.pc = 19; return s.tmp_1; + s.callLocIdx = 1231; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P86524); + r0 = pxsim_pxtcore_mkAction(1, inline__P18601); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.down___71762; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.down___1882; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1221; s.pc = 20; return s.tmp_1; + s.callLocIdx = 1233; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P86529); + r0 = pxsim_pxtcore_mkAction(1, inline__P18606); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.down___71762; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.down___1882; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1223; s.pc = 21; return s.tmp_1; + s.callLocIdx = 1235; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P86534); + r0 = pxsim_pxtcore_mkAction(1, inline__P18611); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.A___71757; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.A___1877; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1225; s.pc = 22; return s.tmp_1; + s.callLocIdx = 1237; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P86541); + r0 = pxsim_pxtcore_mkAction(1, inline__P18618); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.A___71757; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.A___1877; s.tmp_1.arg1 = 2048; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1226; s.pc = 23; return s.tmp_1; + s.callLocIdx = 1238; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P86547); + r0 = pxsim_pxtcore_mkAction(1, inline__P18624); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.B___71758; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.B___1878; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1230; s.pc = 24; return s.tmp_1; + s.callLocIdx = 1242; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_MapEditor_constructor__P73705.info = {"start":956,"length":1952,"line":37,"column":8,"endLine":76,"endColumn":9,"fileName":"editor.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_MapEditor_constructor__P3825.info = {"start":956,"length":1952,"line":37,"column":8,"endLine":76,"endColumn":9,"fileName":"editor.ts","functionName":"inline","argumentNames":["this","p"]} -function tileworld_MapEditor_constructor__P73705_mk(s) { +function tileworld_MapEditor_constructor__P3825_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_constructor__P73705, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_constructor__P3825, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42030,7 +42032,7 @@ function tileworld_MapEditor_constructor__P73705_mk(s) { -function inline__P86494(s) { +function inline__P18571(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42040,21 +42042,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveLeft__P85169_mk(s); + s.tmp_0 = tileworld_MapEditor_moveLeft__P6462_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1208; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1220; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P86494.info = {"start":1706,"length":21,"line":58,"column":67,"endLine":58,"endColumn":88,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P18571.info = {"start":1706,"length":21,"line":58,"column":67,"endLine":58,"endColumn":88,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P86494_mk(s) { +function inline__P18571_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P86494, depth: s.depth + 1, + parent: s, fn: inline__P18571, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42063,7 +42065,7 @@ function inline__P86494_mk(s) { -function inline__P86499(s) { +function inline__P18576(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42073,21 +42075,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveLeft__P85169_mk(s); + s.tmp_0 = tileworld_MapEditor_moveLeft__P6462_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1210; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1222; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P86499.info = {"start":1798,"length":21,"line":59,"column":68,"endLine":59,"endColumn":89,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P18576.info = {"start":1798,"length":21,"line":59,"column":68,"endLine":59,"endColumn":89,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P86499_mk(s) { +function inline__P18576_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P86499, depth: s.depth + 1, + parent: s, fn: inline__P18576, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42096,7 +42098,7 @@ function inline__P86499_mk(s) { -function inline__P86504(s) { +function inline__P18581(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42106,21 +42108,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveRight__P85170_mk(s); + s.tmp_0 = tileworld_MapEditor_moveRight__P6463_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1212; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1224; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P86504.info = {"start":1890,"length":22,"line":60,"column":68,"endLine":60,"endColumn":90,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P18581.info = {"start":1890,"length":22,"line":60,"column":68,"endLine":60,"endColumn":90,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P86504_mk(s) { +function inline__P18581_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P86504, depth: s.depth + 1, + parent: s, fn: inline__P18581, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42129,7 +42131,7 @@ function inline__P86504_mk(s) { -function inline__P86509(s) { +function inline__P18586(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42139,21 +42141,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveRight__P85170_mk(s); + s.tmp_0 = tileworld_MapEditor_moveRight__P6463_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1214; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1226; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P86509.info = {"start":1984,"length":22,"line":61,"column":69,"endLine":61,"endColumn":91,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P18586.info = {"start":1984,"length":22,"line":61,"column":69,"endLine":61,"endColumn":91,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P86509_mk(s) { +function inline__P18586_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P86509, depth: s.depth + 1, + parent: s, fn: inline__P18586, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42162,7 +42164,7 @@ function inline__P86509_mk(s) { -function inline__P86514(s) { +function inline__P18591(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42172,21 +42174,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveUp__P85171_mk(s); + s.tmp_0 = tileworld_MapEditor_moveUp__P6464_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1216; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1228; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P86514.info = {"start":2074,"length":19,"line":62,"column":65,"endLine":62,"endColumn":84,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P18591.info = {"start":2074,"length":19,"line":62,"column":65,"endLine":62,"endColumn":84,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P86514_mk(s) { +function inline__P18591_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P86514, depth: s.depth + 1, + parent: s, fn: inline__P18591, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42195,7 +42197,7 @@ function inline__P86514_mk(s) { -function inline__P86519(s) { +function inline__P18596(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42205,21 +42207,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveUp__P85171_mk(s); + s.tmp_0 = tileworld_MapEditor_moveUp__P6464_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1218; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1230; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P86519.info = {"start":2162,"length":19,"line":63,"column":66,"endLine":63,"endColumn":85,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P18596.info = {"start":2162,"length":19,"line":63,"column":66,"endLine":63,"endColumn":85,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P86519_mk(s) { +function inline__P18596_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P86519, depth: s.depth + 1, + parent: s, fn: inline__P18596, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42228,7 +42230,7 @@ function inline__P86519_mk(s) { -function inline__P86524(s) { +function inline__P18601(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42238,21 +42240,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveDown__P85172_mk(s); + s.tmp_0 = tileworld_MapEditor_moveDown__P6465_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1220; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1232; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P86524.info = {"start":2251,"length":21,"line":64,"column":67,"endLine":64,"endColumn":88,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P18601.info = {"start":2251,"length":21,"line":64,"column":67,"endLine":64,"endColumn":88,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P86524_mk(s) { +function inline__P18601_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P86524, depth: s.depth + 1, + parent: s, fn: inline__P18601, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42261,7 +42263,7 @@ function inline__P86524_mk(s) { -function inline__P86529(s) { +function inline__P18606(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42271,21 +42273,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveDown__P85172_mk(s); + s.tmp_0 = tileworld_MapEditor_moveDown__P6465_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1222; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1234; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P86529.info = {"start":2343,"length":21,"line":65,"column":68,"endLine":65,"endColumn":89,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P18606.info = {"start":2343,"length":21,"line":65,"column":68,"endLine":65,"endColumn":89,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P86529_mk(s) { +function inline__P18606_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P86529, depth: s.depth + 1, + parent: s, fn: inline__P18606, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42294,7 +42296,7 @@ function inline__P86529_mk(s) { -function inline__P86534(s) { +function inline__P18611(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42305,22 +42307,22 @@ switch (step) { case 0: r0 = (s.caps[0]).fields["aDown"] = (true); - s.tmp_0 = tileworld_MapEditor_cursorAction__P85174_mk(s); + s.tmp_0 = tileworld_MapEditor_cursorAction__P6467_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; - s.callLocIdx = 1224; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1236; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P86534.info = {"start":2431,"length":49,"line":66,"column":64,"endLine":66,"endColumn":113,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P18611.info = {"start":2431,"length":49,"line":66,"column":64,"endLine":66,"endColumn":113,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P86534_mk(s) { +function inline__P18611_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P86534, depth: s.depth + 1, + parent: s, fn: inline__P18611, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42329,7 +42331,7 @@ function inline__P86534_mk(s) { -function inline__P86541(s) { +function inline__P18618(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42344,12 +42346,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P86541.info = {"start":2548,"length":29,"line":67,"column":65,"endLine":67,"endColumn":94,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P18618.info = {"start":2548,"length":29,"line":67,"column":65,"endLine":67,"endColumn":94,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P86541_mk(s) { +function inline__P18618_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P86541, depth: s.depth + 1, + parent: s, fn: inline__P18618, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -42357,7 +42359,7 @@ function inline__P86541_mk(s) { -function inline__P86547(s) { +function inline__P18624(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42373,22 +42375,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = tileworld_Project_saveWorld__P73588_mk(s); + s.tmp_2 = tileworld_Project_saveWorld__P3708_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 1227; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1239; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - s.tmp_0 = game_popScene__P72414_mk(s); - s.callLocIdx = 1228; s.pc = 4; return s.tmp_0; + s.tmp_0 = game_popScene__P2534_mk(s); + s.callLocIdx = 1240; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = tileworld_MapEditor_setCursor__P85168_mk(s); + s.tmp_0 = tileworld_MapEditor_setCursor__P6461_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; - s.callLocIdx = 1229; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1241; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 2: @@ -42396,12 +42398,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P86547.info = {"start":2644,"length":252,"line":68,"column":64,"endLine":75,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P18624.info = {"start":2644,"length":252,"line":68,"column":64,"endLine":75,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P86547_mk(s) { +function inline__P18624_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P86547, depth: s.depth + 1, + parent: s, fn: inline__P18624, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42412,7 +42414,7 @@ function inline__P86547_mk(s) { -function tileworld_Project_saveWorld__P73588(s) { +function tileworld_Project_saveWorld__P3708(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42422,22 +42424,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worldBuf___78192 = undefined; - s.spritesBuf___78206 = undefined; + s.worldBuf___18637 = undefined; + s.spritesBuf___18650 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); - s.tmp_0 = tileworld_imageToBuffer__P73427_mk(s); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); + s.tmp_0 = tileworld_imageToBuffer__P3547_mk(s); r0 = s.arg0.fields["_backgrounds"]; s.tmp_0.arg0 = r0; s.callLocIdx = 189; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.worldBuf___78192 = (r0); - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.worldBuf___18637 = (r0); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { @@ -42449,29 +42451,29 @@ switch (step) { case 3: r0 = s.retval; s.tmp_1 = r0; - if ((globals.WorldBackgroundsKey___78202) && (globals.WorldBackgroundsKey___78202).vtable) { + if ((globals.WorldBackgroundsKey___6011) && (globals.WorldBackgroundsKey___6011).vtable) { setupResume(s, 4); - pxsim_String__stringConv(globals.WorldBackgroundsKey___78202); + pxsim_String__stringConv(globals.WorldBackgroundsKey___6011); checkResumeConsumed(); return; - } else { s.retval = (globals.WorldBackgroundsKey___78202) + ""; } + } else { s.retval = (globals.WorldBackgroundsKey___6011) + ""; } case 4: r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_3); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.worldBuf___78192; + s.tmp_0.arg1 = s.worldBuf___18637; s.callLocIdx = 190; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_imageToBuffer__P73427_mk(s); + s.tmp_0 = tileworld_imageToBuffer__P3547_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_0.arg0 = r0; s.callLocIdx = 191; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.spritesBuf___78206 = (r0); - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.spritesBuf___18650 = (r0); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { @@ -42483,18 +42485,18 @@ switch (step) { case 7: r0 = s.retval; s.tmp_1 = r0; - if ((globals.WorldSpritesKey___78216) && (globals.WorldSpritesKey___78216).vtable) { + if ((globals.WorldSpritesKey___6012) && (globals.WorldSpritesKey___6012).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.WorldSpritesKey___78216); + pxsim_String__stringConv(globals.WorldSpritesKey___6012); checkResumeConsumed(); return; - } else { s.retval = (globals.WorldSpritesKey___78216) + ""; } + } else { s.retval = (globals.WorldSpritesKey___6012) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_3); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.spritesBuf___78206; + s.tmp_0.arg1 = s.spritesBuf___18650; s.callLocIdx = 192; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -42502,19 +42504,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_saveWorld__P73588.info = {"start":5235,"length":306,"line":150,"column":8,"endLine":155,"endColumn":9,"fileName":"project.ts","functionName":"saveWorld","argumentNames":["this"]} +tileworld_Project_saveWorld__P3708.info = {"start":5235,"length":306,"line":150,"column":8,"endLine":155,"endColumn":9,"fileName":"project.ts","functionName":"saveWorld","argumentNames":["this"]} -function tileworld_Project_saveWorld__P73588_mk(s) { +function tileworld_Project_saveWorld__P3708_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_saveWorld__P73588, depth: s.depth + 1, + parent: s, fn: tileworld_Project_saveWorld__P3708, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - worldBuf___78192: undefined, - spritesBuf___78206: undefined, + worldBuf___18637: undefined, + spritesBuf___18650: undefined, arg0: undefined, } } @@ -42522,7 +42524,7 @@ function tileworld_Project_saveWorld__P73588_mk(s) { -function tileworld_MapEditor_cursorAction__P85174(s) { +function tileworld_MapEditor_cursorAction__P6467(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42532,18 +42534,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___86740 = undefined; - s.row___86749 = undefined; - s.backs___86763 = undefined; - s.sprs___86788 = undefined; - s.spriteIndex___86792 = undefined; + s.col___18674 = undefined; + s.row___18684 = undefined; + s.backs___18699 = undefined; + s.sprs___18724 = undefined; + s.spriteIndex___18728 = 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__C73704_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C3824_VT)) failedCast(r0); r0 = s.arg0.fields["aDown"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -42561,10 +42563,10 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 9; continue; } - s.tmp_7 = Sprite_x__P71905_mk(s); + s.tmp_7 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_7.arg0 = r0; - s.callLocIdx = 1262; s.pc = 20; return s.tmp_7; + s.callLocIdx = 1274; s.pc = 20; return s.tmp_7; case 20: r0 = s.retval; s.tmp_6 = r0; @@ -42573,11 +42575,11 @@ switch (step) { r0 = s.arg0.fields["offsetX"]; s.tmp_8 = r0; r0 = (s.tmp_5 + s.tmp_8); - s.col___86740 = (r0); - s.tmp_3 = Sprite_y__P71907_mk(s); + s.col___18674 = (r0); + s.tmp_3 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 1263; s.pc = 21; return s.tmp_3; + s.callLocIdx = 1275; s.pc = 21; return s.tmp_3; case 21: r0 = s.retval; s.tmp_2 = r0; @@ -42588,18 +42590,18 @@ switch (step) { r0 = s.arg0.fields["offsetY"]; s.tmp_4 = r0; r0 = (s.tmp_0 + s.tmp_4); - s.row___86749 = (r0); + s.row___18684 = (r0); r0 = s.arg0.fields["p"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_backgrounds"]; - s.backs___86763 = (r0); + s.backs___18699 = (r0); r0 = s.arg0.fields["userSpriteIndex"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_ImageMethods.setPixel(s.backs___86763, s.col___86740, s.row___86749, 15); + r0 = pxsim_ImageMethods.setPixel(s.backs___18699, s.col___18674, s.row___18684, 15); { step = 8; continue; } case 3: r0 = s.arg0.fields["userSpriteIndex"]; @@ -42616,13 +42618,13 @@ switch (step) { if (!r0) { step = 4; continue; } r0 = s.arg0.fields["userSpriteIndex"]; s.tmp_5 = r0; - r0 = pxsim_ImageMethods.setPixel(s.backs___86763, s.col___86740, s.row___86749, s.tmp_5); + r0 = pxsim_ImageMethods.setPixel(s.backs___18699, s.col___18674, s.row___18684, s.tmp_5); { step = 7; continue; } case 4: r0 = s.arg0.fields["p"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_sprites"]; - s.sprs___86788 = (r0); + s.sprs___18724 = (r0); r0 = s.arg0.fields["userSpriteIndex"]; s.tmp_0 = r0; r0 = s.arg0.fields["p"]; @@ -42632,23 +42634,23 @@ switch (step) { r0 = pxsim_Array__length(s.tmp_3); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.spriteIndex___86792 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.sprs___86788, s.col___86740, s.row___86749); + s.spriteIndex___18728 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.sprs___18724, s.col___18674, s.row___18684); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.spriteIndex___86792); + r0 = (s.tmp_1 == s.spriteIndex___18728); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.setPixel(s.sprs___86788, s.col___86740, s.row___86749, 15); + r0 = pxsim_ImageMethods.setPixel(s.sprs___18724, s.col___18674, s.row___18684, 15); { step = 6; continue; } case 5: - r0 = pxsim_ImageMethods.setPixel(s.sprs___86788, s.col___86740, s.row___86749, s.spriteIndex___86792); + r0 = pxsim_ImageMethods.setPixel(s.sprs___18724, s.col___18674, s.row___18684, s.spriteIndex___18728); case 6: case 7: case 8: - s.tmp_0 = tileworld_MapEditor__C73704_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C3824_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C73704_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C3824_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: @@ -42661,10 +42663,10 @@ switch (step) { { step = 19; continue; } case 11: case 12: - s.tmp_2 = tileworld_MapEditor_row__P85176_mk(s); + s.tmp_2 = tileworld_MapEditor_row__P6469_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1268; s.pc = 23; return s.tmp_2; + s.callLocIdx = 1280; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; s.tmp_1 = r0; @@ -42672,10 +42674,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - s.tmp_5 = tileworld_MapEditor_col__P85175_mk(s); + s.tmp_5 = tileworld_MapEditor_col__P6468_mk(s); s.tmp_5.arg0 = s.arg0; s.tmp_5.arg1 = true; - s.callLocIdx = 1269; s.pc = 24; return s.tmp_5; + s.callLocIdx = 1281; s.pc = 24; return s.tmp_5; case 24: r0 = s.retval; s.tmp_4 = r0; @@ -42686,17 +42688,17 @@ switch (step) { r0 = s.tmp_3; { step = 14; continue; } case 13: - s.tmp_7 = tileworld_MapEditor_col__P85175_mk(s); + s.tmp_7 = tileworld_MapEditor_col__P6468_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = true; - s.callLocIdx = 1270; s.pc = 25; return s.tmp_7; + s.callLocIdx = 1282; s.pc = 25; return s.tmp_7; case 25: r0 = s.retval; s.tmp_6 = r0; - s.tmp_10 = tileworld_Project_allCnt__P73578_mk(s); + s.tmp_10 = tileworld_Project_allCnt__P3698_mk(s); r0 = s.arg0.fields["p"]; s.tmp_10.arg0 = r0; - s.callLocIdx = 1271; s.pc = 26; return s.tmp_10; + s.callLocIdx = 1283; s.pc = 26; return s.tmp_10; case 26: r0 = s.retval; s.tmp_9 = r0; @@ -42709,28 +42711,28 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_11); if (!r0) { step = 15; continue; } s.tmp_12 = r0 = s.arg0; - s.tmp_15 = tileworld_MapEditor_col__P85175_mk(s); + s.tmp_15 = tileworld_MapEditor_col__P6468_mk(s); s.tmp_15.arg0 = s.arg0; s.tmp_15.arg1 = true; - s.callLocIdx = 1272; s.pc = 27; return s.tmp_15; + s.callLocIdx = 1284; s.pc = 27; return s.tmp_15; case 27: r0 = s.retval; s.tmp_14 = r0; r0 = (s.tmp_14 - 1); s.tmp_13 = r0; r0 = (s.tmp_12).fields["userSpriteIndex"] = (s.tmp_13); - s.tmp_0 = tileworld_MapEditor_updateSelection__P85173_mk(s); + s.tmp_0 = tileworld_MapEditor_updateSelection__P6466_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1273; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1285; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; case 15: case 16: case 17: case 18: - s.tmp_0 = tileworld_MapEditor__C73704_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C3824_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C73704_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C3824_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 29; return s.tmp_0; case 29: @@ -42740,12 +42742,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_cursorAction__P85174.info = {"start":5134,"length":1427,"line":147,"column":8,"endLine":179,"endColumn":9,"fileName":"editor.ts","functionName":"cursorAction","argumentNames":["this","repeated"]} +tileworld_MapEditor_cursorAction__P6467.info = {"start":5134,"length":1427,"line":147,"column":8,"endLine":179,"endColumn":9,"fileName":"editor.ts","functionName":"cursorAction","argumentNames":["this","repeated"]} -function tileworld_MapEditor_cursorAction__P85174_mk(s) { +function tileworld_MapEditor_cursorAction__P6467_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_cursorAction__P85174, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_cursorAction__P6467, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42763,11 +42765,11 @@ function tileworld_MapEditor_cursorAction__P85174_mk(s) { tmp_13: undefined, tmp_14: undefined, tmp_15: undefined, - col___86740: undefined, - row___86749: undefined, - backs___86763: undefined, - sprs___86788: undefined, - spriteIndex___86792: undefined, + col___18674: undefined, + row___18684: undefined, + backs___18699: undefined, + sprs___18724: undefined, + spriteIndex___18728: undefined, arg0: undefined, arg1: undefined, } } @@ -42776,7 +42778,7 @@ function tileworld_MapEditor_cursorAction__P85174_mk(s) { -function tileworld_MapEditor_updateSelection__P85173(s) { +function tileworld_MapEditor_updateSelection__P6466(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42791,43 +42793,43 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C73704_VT)) failedCast(r0); - s.tmp_0 = Sprite_x__P71906_mk(s); + if (!checkSubtype(r0, tileworld_MapEditor__C3824_VT)) failedCast(r0); + s.tmp_0 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["selected"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P71905_mk(s); + s.tmp_1 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1258; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1270; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1259; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1271; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["selected"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P71907_mk(s); + s.tmp_1 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1260; s.pc = 4; return s.tmp_1; + s.callLocIdx = 1272; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1261; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1273; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_MapEditor_updateSelection__P85173.info = {"start":4997,"length":127,"line":142,"column":8,"endLine":145,"endColumn":9,"fileName":"editor.ts","functionName":"updateSelection","argumentNames":["this"]} +tileworld_MapEditor_updateSelection__P6466.info = {"start":4997,"length":127,"line":142,"column":8,"endLine":145,"endColumn":9,"fileName":"editor.ts","functionName":"updateSelection","argumentNames":["this"]} -function tileworld_MapEditor_updateSelection__P85173_mk(s) { +function tileworld_MapEditor_updateSelection__P6466_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_updateSelection__P85173, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_updateSelection__P6466, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42838,7 +42840,7 @@ function tileworld_MapEditor_updateSelection__P85173_mk(s) { -function tileworld_MapEditor_col__P85175(s) { +function tileworld_MapEditor_col__P6468(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42854,11 +42856,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C73704_VT)) failedCast(r0); - s.tmp_1 = Sprite_x__P71905_mk(s); + if (!checkSubtype(r0, tileworld_MapEditor__C3824_VT)) failedCast(r0); + s.tmp_1 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1274; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1286; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; @@ -42866,12 +42868,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_col__P85175.info = {"start":6571,"length":87,"line":181,"column":8,"endLine":183,"endColumn":9,"fileName":"editor.ts","functionName":"col","argumentNames":["this","current"]} +tileworld_MapEditor_col__P6468.info = {"start":6571,"length":87,"line":181,"column":8,"endLine":183,"endColumn":9,"fileName":"editor.ts","functionName":"col","argumentNames":["this","current"]} -function tileworld_MapEditor_col__P85175_mk(s) { +function tileworld_MapEditor_col__P6468_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_col__P85175, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_col__P6468, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42883,7 +42885,7 @@ function tileworld_MapEditor_col__P85175_mk(s) { -function tileworld_MapEditor_row__P85176(s) { +function tileworld_MapEditor_row__P6469(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42899,11 +42901,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C73704_VT)) failedCast(r0); - s.tmp_2 = Sprite_y__P71907_mk(s); + if (!checkSubtype(r0, tileworld_MapEditor__C3824_VT)) failedCast(r0); + s.tmp_2 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 1275; s.pc = 1; return s.tmp_2; + s.callLocIdx = 1287; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; @@ -42913,12 +42915,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_row__P85176.info = {"start":6676,"length":96,"line":185,"column":8,"endLine":187,"endColumn":9,"fileName":"editor.ts","functionName":"row","argumentNames":["this","current"]} +tileworld_MapEditor_row__P6469.info = {"start":6676,"length":96,"line":185,"column":8,"endLine":187,"endColumn":9,"fileName":"editor.ts","functionName":"row","argumentNames":["this","current"]} -function tileworld_MapEditor_row__P85176_mk(s) { +function tileworld_MapEditor_row__P6469_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_row__P85176, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_row__P6469, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42931,7 +42933,7 @@ function tileworld_MapEditor_row__P85176_mk(s) { -function tileworld_MapEditor_moveDown__P85172(s) { +function tileworld_MapEditor_moveDown__P6465(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42946,25 +42948,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C73704_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C3824_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__P85168_mk(s); + s.tmp_2 = tileworld_MapEditor_setCursor__P6461_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 1; - s.callLocIdx = 1253; s.pc = 5; return s.tmp_2; + s.callLocIdx = 1265; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; { step = 4; continue; } case 1: - s.tmp_2 = Sprite_y__P71907_mk(s); + s.tmp_2 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 1254; s.pc = 6; return s.tmp_2; + s.callLocIdx = 1266; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; @@ -42972,19 +42974,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_3 = Sprite_y__P71908_mk(s); + s.tmp_3 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_4 = r0; s.tmp_3.arg0 = r0; - s.tmp_6 = Sprite_y__P71907_mk(s); + s.tmp_6 = Sprite_y__P2027_mk(s); s.tmp_6.arg0 = s.tmp_4; - s.callLocIdx = 1255; s.pc = 8; return s.tmp_6; + s.callLocIdx = 1267; s.pc = 8; return s.tmp_6; case 8: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_5 + 8); s.tmp_3.arg1 = r0; - s.callLocIdx = 1256; s.pc = 7; return s.tmp_3; + s.callLocIdx = 1268; s.pc = 7; return s.tmp_3; case 7: r0 = s.retval; { step = 3; continue; } @@ -42996,30 +42998,30 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["offsetY"] = (s.tmp_1); case 3: - s.tmp_0 = tileworld_MapEditor__C73704_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C3824_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C73704_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C3824_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__P85174_mk(s); + s.tmp_0 = tileworld_MapEditor_cursorAction__P6467_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1257; s.pc = 10; return s.tmp_0; + s.callLocIdx = 1269; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_MapEditor_moveDown__P85172.info = {"start":4569,"length":418,"line":129,"column":8,"endLine":140,"endColumn":9,"fileName":"editor.ts","functionName":"moveDown","argumentNames":["this"]} +tileworld_MapEditor_moveDown__P6465.info = {"start":4569,"length":418,"line":129,"column":8,"endLine":140,"endColumn":9,"fileName":"editor.ts","functionName":"moveDown","argumentNames":["this"]} -function tileworld_MapEditor_moveDown__P85172_mk(s) { +function tileworld_MapEditor_moveDown__P6465_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_moveDown__P85172, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_moveDown__P6465, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43035,7 +43037,7 @@ function tileworld_MapEditor_moveDown__P85172_mk(s) { -function tileworld_MapEditor_moveUp__P85171(s) { +function tileworld_MapEditor_moveUp__P6464(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43050,17 +43052,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C73704_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C3824_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__P71907_mk(s); + s.tmp_4 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 1249; s.pc = 5; return s.tmp_4; + s.callLocIdx = 1261; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; @@ -43068,19 +43070,19 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_5 = Sprite_y__P71908_mk(s); + s.tmp_5 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_6 = r0; s.tmp_5.arg0 = r0; - s.tmp_8 = Sprite_y__P71907_mk(s); + s.tmp_8 = Sprite_y__P2027_mk(s); s.tmp_8.arg0 = s.tmp_6; - s.callLocIdx = 1250; s.pc = 7; return s.tmp_8; + s.callLocIdx = 1262; s.pc = 7; return s.tmp_8; case 7: r0 = s.retval; s.tmp_7 = r0; r0 = (s.tmp_7 - 8); s.tmp_5.arg1 = r0; - s.callLocIdx = 1251; s.pc = 6; return s.tmp_5; + s.callLocIdx = 1263; s.pc = 6; return s.tmp_5; case 6: r0 = s.retval; { step = 2; continue; } @@ -43092,31 +43094,31 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["offsetY"] = (s.tmp_1); case 2: - s.tmp_0 = tileworld_MapEditor__C73704_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C3824_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C73704_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C3824_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__P85174_mk(s); + s.tmp_0 = tileworld_MapEditor_cursorAction__P6467_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1252; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1264; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_MapEditor_moveUp__P85171.info = {"start":4216,"length":343,"line":118,"column":8,"endLine":127,"endColumn":9,"fileName":"editor.ts","functionName":"moveUp","argumentNames":["this"]} +tileworld_MapEditor_moveUp__P6464.info = {"start":4216,"length":343,"line":118,"column":8,"endLine":127,"endColumn":9,"fileName":"editor.ts","functionName":"moveUp","argumentNames":["this"]} -function tileworld_MapEditor_moveUp__P85171_mk(s) { +function tileworld_MapEditor_moveUp__P6464_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_moveUp__P85171, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_moveUp__P6464, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43134,7 +43136,7 @@ function tileworld_MapEditor_moveUp__P85171_mk(s) { -function tileworld_MapEditor_moveRight__P85170(s) { +function tileworld_MapEditor_moveRight__P6463(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43149,17 +43151,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C73704_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C3824_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__P85175_mk(s); + s.tmp_4 = tileworld_MapEditor_col__P6468_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1242; s.pc = 7; return s.tmp_4; + s.callLocIdx = 1254; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; s.tmp_3 = r0; @@ -43167,29 +43169,29 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_5 = Sprite_x__P71906_mk(s); + s.tmp_5 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_6 = r0; s.tmp_5.arg0 = r0; - s.tmp_8 = Sprite_x__P71905_mk(s); + s.tmp_8 = Sprite_x__P2025_mk(s); s.tmp_8.arg0 = s.tmp_6; - s.callLocIdx = 1243; s.pc = 9; return s.tmp_8; + s.callLocIdx = 1255; s.pc = 9; return s.tmp_8; case 9: r0 = s.retval; s.tmp_7 = r0; r0 = (s.tmp_7 + 16); s.tmp_5.arg1 = r0; - s.callLocIdx = 1244; s.pc = 8; return s.tmp_5; + s.callLocIdx = 1256; s.pc = 8; return s.tmp_5; case 8: r0 = s.retval; case 1: case 2: { step = 6; continue; } case 3: - s.tmp_2 = Sprite_x__P71905_mk(s); + s.tmp_2 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 1245; s.pc = 10; return s.tmp_2; + s.callLocIdx = 1257; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; @@ -43197,19 +43199,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_3 = Sprite_x__P71906_mk(s); + s.tmp_3 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_4 = r0; s.tmp_3.arg0 = r0; - s.tmp_6 = Sprite_x__P71905_mk(s); + s.tmp_6 = Sprite_x__P2025_mk(s); s.tmp_6.arg0 = s.tmp_4; - s.callLocIdx = 1246; s.pc = 12; return s.tmp_6; + s.callLocIdx = 1258; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_5 + 8); s.tmp_3.arg1 = r0; - s.callLocIdx = 1247; s.pc = 11; return s.tmp_3; + s.callLocIdx = 1259; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; { step = 5; continue; } @@ -43221,30 +43223,30 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["offsetX"] = (s.tmp_1); case 5: - s.tmp_0 = tileworld_MapEditor__C73704_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C3824_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C73704_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C3824_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__P85174_mk(s); + s.tmp_0 = tileworld_MapEditor_cursorAction__P6467_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1248; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1260; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_MapEditor_moveRight__P85170.info = {"start":3773,"length":433,"line":104,"column":8,"endLine":116,"endColumn":9,"fileName":"editor.ts","functionName":"moveRight","argumentNames":["this"]} +tileworld_MapEditor_moveRight__P6463.info = {"start":3773,"length":433,"line":104,"column":8,"endLine":116,"endColumn":9,"fileName":"editor.ts","functionName":"moveRight","argumentNames":["this"]} -function tileworld_MapEditor_moveRight__P85170_mk(s) { +function tileworld_MapEditor_moveRight__P6463_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_moveRight__P85170, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_moveRight__P6463, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43262,7 +43264,7 @@ function tileworld_MapEditor_moveRight__P85170_mk(s) { -function tileworld_MapEditor_moveLeft__P85169(s) { +function tileworld_MapEditor_moveLeft__P6462(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43277,17 +43279,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C73704_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C3824_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__P85175_mk(s); + s.tmp_4 = tileworld_MapEditor_col__P6468_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1235; s.pc = 7; return s.tmp_4; + s.callLocIdx = 1247; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; s.tmp_3 = r0; @@ -43295,29 +43297,29 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_5 = Sprite_x__P71906_mk(s); + s.tmp_5 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_6 = r0; s.tmp_5.arg0 = r0; - s.tmp_8 = Sprite_x__P71905_mk(s); + s.tmp_8 = Sprite_x__P2025_mk(s); s.tmp_8.arg0 = s.tmp_6; - s.callLocIdx = 1236; s.pc = 9; return s.tmp_8; + s.callLocIdx = 1248; s.pc = 9; return s.tmp_8; case 9: r0 = s.retval; s.tmp_7 = r0; r0 = (s.tmp_7 - 16); s.tmp_5.arg1 = r0; - s.callLocIdx = 1237; s.pc = 8; return s.tmp_5; + s.callLocIdx = 1249; s.pc = 8; return s.tmp_5; case 8: r0 = s.retval; case 1: case 2: { step = 6; continue; } case 3: - s.tmp_2 = Sprite_x__P71905_mk(s); + s.tmp_2 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 1238; s.pc = 10; return s.tmp_2; + s.callLocIdx = 1250; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; @@ -43325,19 +43327,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_3 = Sprite_x__P71906_mk(s); + s.tmp_3 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_4 = r0; s.tmp_3.arg0 = r0; - s.tmp_6 = Sprite_x__P71905_mk(s); + s.tmp_6 = Sprite_x__P2025_mk(s); s.tmp_6.arg0 = s.tmp_4; - s.callLocIdx = 1239; s.pc = 12; return s.tmp_6; + s.callLocIdx = 1251; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_5 - 8); s.tmp_3.arg1 = r0; - s.callLocIdx = 1240; s.pc = 11; return s.tmp_3; + s.callLocIdx = 1252; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; { step = 5; continue; } @@ -43349,30 +43351,30 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["offsetX"] = (s.tmp_1); case 5: - s.tmp_0 = tileworld_MapEditor__C73704_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C3824_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C73704_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C3824_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__P85174_mk(s); + s.tmp_0 = tileworld_MapEditor_cursorAction__P6467_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1241; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1253; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_MapEditor_moveLeft__P85169.info = {"start":3335,"length":428,"line":90,"column":8,"endLine":102,"endColumn":9,"fileName":"editor.ts","functionName":"moveLeft","argumentNames":["this"]} +tileworld_MapEditor_moveLeft__P6462.info = {"start":3335,"length":428,"line":90,"column":8,"endLine":102,"endColumn":9,"fileName":"editor.ts","functionName":"moveLeft","argumentNames":["this"]} -function tileworld_MapEditor_moveLeft__P85169_mk(s) { +function tileworld_MapEditor_moveLeft__P6462_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_moveLeft__P85169, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_moveLeft__P6462, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43390,7 +43392,7 @@ function tileworld_MapEditor_moveLeft__P85169_mk(s) { -function tileworld_MapEditor_update__P73706(s) { +function tileworld_MapEditor_update__P3826(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43400,80 +43402,80 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___86882 = undefined; - s.backs___86905 = undefined; - s.x___86909 = undefined; - s.y___86919 = undefined; - s.inRange___86929 = undefined; - s.col___86947 = undefined; - s.row___86952 = undefined; - s.nx___86957 = undefined; - s.ny___86961 = undefined; - s.index___86967 = undefined; - s.img___86976 = undefined; - s.index___86994 = undefined; + s.index___18937 = undefined; + s.backs___18960 = undefined; + s.x___18964 = undefined; + s.y___18974 = undefined; + s.inRange___18984 = undefined; + s.col___19002 = undefined; + s.row___19007 = undefined; + s.nx___19012 = undefined; + s.ny___19016 = undefined; + s.index___19022 = undefined; + s.img___19031 = undefined; + s.index___19049 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C73704_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.fill(globals.screen___71682, 0); - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + if (!checkSubtype(r0, tileworld_MapEditor__C3824_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.fill(globals.screen___1802, 0); + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 4; s.tmp_0.arg3 = 16; s.tmp_0.arg4 = 16; s.tmp_0.arg5 = 11; - s.callLocIdx = 1276; s.pc = 21; return s.tmp_0; + s.callLocIdx = 1288; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = tileworld_MapEditor_drawImage__P85177_mk(s); + s.tmp_0 = tileworld_MapEditor_drawImage__P6470_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.map___73597; + s.tmp_0.arg1 = globals.map___3717; s.tmp_0.arg2 = 0; s.tmp_0.arg3 = 0; - s.callLocIdx = 1277; s.pc = 22; return s.tmp_0; + s.callLocIdx = 1289; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; r0 = pxsim_pxtrt.mklocRef(); - s.index___86882 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.index___86882, 1); - r0 = pxsim_pxtcore_mkAction(2, inline__P86887); + s.index___18937 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.index___18937, 1); + r0 = pxsim_pxtcore_mkAction(2, inline__P18942); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.index___86882); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.index___18937); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["_backgroundsI"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1280; s.pc = 23; return s.tmp_1; + s.callLocIdx = 1292; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(2, inline__P86898); + r0 = pxsim_pxtcore_mkAction(2, inline__P18953); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.index___86882); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.index___18937); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["_spritesI"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1283; s.pc = 24; return s.tmp_1; + s.callLocIdx = 1295; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; r0 = s.arg0.fields["p"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_backgrounds"]; - s.backs___86905 = (r0); + s.backs___18960 = (r0); r0 = s.arg0.fields["offsetX"]; - s.x___86909 = (r0); + s.x___18964 = (r0); case 1: - s.tmp_1 = r0 = s.x___86909; + s.tmp_1 = r0 = s.x___18964; r0 = s.arg0.fields["offsetX"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 20); @@ -43483,9 +43485,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } r0 = s.arg0.fields["offsetY"]; - s.y___86919 = (r0); + s.y___18974 = (r0); case 2: - s.tmp_1 = r0 = s.y___86919; + s.tmp_1 = r0 = s.y___18974; r0 = s.arg0.fields["offsetY"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 15); @@ -43494,15 +43496,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (0 <= s.x___86909); + r0 = (0 <= s.x___18964); 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___86909; - r0 = pxsim_ImageMethods.width(s.backs___86905); + s.tmp_5 = r0 = s.x___18964; + r0 = pxsim_ImageMethods.width(s.backs___18960); s.tmp_6 = r0; r0 = (s.tmp_5 < s.tmp_6); case 4: @@ -43513,7 +43515,7 @@ switch (step) { r0 = s.tmp_7; { step = 6; continue; } case 5: - r0 = (0 <= s.y___86919); + r0 = (0 <= s.y___18974); case 6: // jmp value (already in r0) s.tmp_8 = r0; @@ -43522,57 +43524,57 @@ switch (step) { r0 = s.tmp_8; { step = 8; continue; } case 7: - s.tmp_9 = r0 = s.y___86919; - r0 = pxsim_ImageMethods.height(s.backs___86905); + s.tmp_9 = r0 = s.y___18974; + r0 = pxsim_ImageMethods.height(s.backs___18960); s.tmp_10 = r0; r0 = (s.tmp_9 < s.tmp_10); case 8: // jmp value (already in r0) s.tmp_11 = r0; - s.inRange___86929 = (s.tmp_11); + s.inRange___18984 = (s.tmp_11); r0 = s.arg0.fields["offsetX"]; s.tmp_0 = r0; - r0 = (s.x___86909 - s.tmp_0); - s.col___86947 = (r0); + r0 = (s.x___18964 - s.tmp_0); + s.col___19002 = (r0); r0 = s.arg0.fields["offsetY"]; s.tmp_0 = r0; - r0 = (s.y___86919 - s.tmp_0); - s.row___86952 = (r0); - r0 = (s.col___86947 * 8); - s.nx___86957 = (r0); - r0 = (s.row___86952 * 8); + r0 = (s.y___18974 - s.tmp_0); + s.row___19007 = (r0); + r0 = (s.col___19002 * 8); + s.nx___19012 = (r0); + r0 = (s.row___19007 * 8); s.tmp_0 = r0; r0 = (20 + s.tmp_0); - s.ny___86961 = (r0); - r0 = pxsim_numops_toBoolDecr(s.inRange___86929); + s.ny___19016 = (r0); + r0 = pxsim_numops_toBoolDecr(s.inRange___18984); if (!r0) { step = 9; continue; } - r0 = pxsim_ImageMethods.getPixel(s.backs___86905, s.x___86909, s.y___86919); + r0 = pxsim_ImageMethods.getPixel(s.backs___18960, s.x___18964, s.y___18974); { step = 10; continue; } case 9: r0 = -1; case 10: // jmp value (already in r0) s.tmp_0 = r0; - s.index___86967 = (s.tmp_0); - r0 = (s.index___86967 == -1); + s.index___19022 = (s.tmp_0); + r0 = (s.index___19022 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = globals.emptyTile___73606; + r0 = globals.emptyTile___3726; { step = 14; continue; } case 11: - r0 = (s.index___86967 == 15); + r0 = (s.index___19022 == 15); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 12; continue; } - r0 = globals.emptyDiagTile___73607; + r0 = globals.emptyDiagTile___3727; { step = 13; continue; } case 12: - s.tmp_2 = tileworld_Project_getBackgroundImage__P73581_mk(s); + s.tmp_2 = tileworld_Project_getBackgroundImage__P3701_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.index___86967; - s.callLocIdx = 1285; s.pc = 25; return s.tmp_2; + s.tmp_2.arg1 = s.index___19022; + s.callLocIdx = 1297; s.pc = 25; return s.tmp_2; case 25: r0 = s.retval; case 13: @@ -43582,74 +43584,74 @@ switch (step) { case 14: // jmp value (already in r0) s.tmp_4 = r0; - s.img___86976 = (s.tmp_4); - s.tmp_0 = tileworld_drawHalfSize__P73426_mk(s); - s.tmp_0.arg0 = s.img___86976; - s.tmp_0.arg1 = s.nx___86957; - s.tmp_0.arg2 = s.ny___86961; + s.img___19031 = (s.tmp_4); + s.tmp_0 = tileworld_drawHalfSize__P3546_mk(s); + s.tmp_0.arg0 = s.img___19031; + s.tmp_0.arg1 = s.nx___19012; + s.tmp_0.arg2 = s.ny___19016; s.tmp_0.arg3 = false; - s.callLocIdx = 1286; s.pc = 26; return s.tmp_0; + s.callLocIdx = 1298; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.inRange___86929); + r0 = pxsim_numops_toBoolDecr(s.inRange___18984); if (!r0) { step = 17; continue; } r0 = s.arg0.fields["p"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_sprites"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.x___86909, s.y___86919); - s.index___86994 = (r0); - r0 = (s.index___86994 != 15); + r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.x___18964, s.y___18974); + s.index___19049 = (r0); + r0 = (s.index___19049 != 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = tileworld_drawHalfSize__P73426_mk(s); - s.tmp_2 = tileworld_Project_getSpriteImage__P73582_mk(s); + s.tmp_1 = tileworld_drawHalfSize__P3546_mk(s); + s.tmp_2 = tileworld_Project_getSpriteImage__P3702_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.index___86994; - s.callLocIdx = 1288; s.pc = 28; return s.tmp_2; + s.tmp_2.arg1 = s.index___19049; + s.callLocIdx = 1300; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.nx___86957; - s.tmp_1.arg2 = s.ny___86961; + s.tmp_1.arg1 = s.nx___19012; + s.tmp_1.arg2 = s.ny___19016; s.tmp_1.arg3 = true; - s.callLocIdx = 1289; s.pc = 27; return s.tmp_1; + s.callLocIdx = 1301; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; case 15: case 16: case 17: case 18: - r0 = (s.y___86919 + 1); - s.y___86919 = (r0); + r0 = (s.y___18974 + 1); + s.y___18974 = (r0); { step = 2; continue; } case 19: - r0 = (s.x___86909 + 1); - s.x___86909 = (r0); + r0 = (s.x___18964 + 1); + s.x___18964 = (r0); { step = 1; continue; } case 20: - s.tmp_0 = helpers_imageDrawLine__P71610_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imageDrawLine__P1730_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 20; s.tmp_0.arg3 = 159; s.tmp_0.arg4 = 20; s.tmp_0.arg5 = 11; - s.callLocIdx = 1290; s.pc = 29; return s.tmp_0; + s.callLocIdx = 1302; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_MapEditor_update__P73706.info = {"start":6932,"length":1668,"line":193,"column":8,"endLine":229,"endColumn":9,"fileName":"editor.ts","functionName":"update","argumentNames":["this"]} +tileworld_MapEditor_update__P3826.info = {"start":6932,"length":1668,"line":193,"column":8,"endLine":229,"endColumn":9,"fileName":"editor.ts","functionName":"update","argumentNames":["this"]} -function tileworld_MapEditor_update__P73706_mk(s) { +function tileworld_MapEditor_update__P3826_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_update__P73706, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_update__P3826, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43663,18 +43665,18 @@ function tileworld_MapEditor_update__P73706_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - index___86882: undefined, - backs___86905: undefined, - x___86909: undefined, - y___86919: undefined, - inRange___86929: undefined, - col___86947: undefined, - row___86952: undefined, - nx___86957: undefined, - ny___86961: undefined, - index___86967: undefined, - img___86976: undefined, - index___86994: undefined, + index___18937: undefined, + backs___18960: undefined, + x___18964: undefined, + y___18974: undefined, + inRange___18984: undefined, + col___19002: undefined, + row___19007: undefined, + nx___19012: undefined, + ny___19016: undefined, + index___19022: undefined, + img___19031: undefined, + index___19049: undefined, arg0: undefined, } } @@ -43682,7 +43684,7 @@ function tileworld_MapEditor_update__P73706_mk(s) { -function inline__P86887(s) { +function inline__P18942(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43696,13 +43698,13 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_MapEditor_drawImage__P85177_mk(s); + s.tmp_0 = tileworld_MapEditor_drawImage__P6470_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 0; - s.callLocIdx = 1279; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1291; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.caps[1]; @@ -43715,12 +43717,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P86887.info = {"start":7140,"length":96,"line":198,"column":46,"endLine":201,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":["img"]} +inline__P18942.info = {"start":7140,"length":96,"line":198,"column":46,"endLine":201,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":["img"]} -function inline__P86887_mk(s) { +function inline__P18942_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P86887, depth: s.depth + 1, + parent: s, fn: inline__P18942, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43732,7 +43734,7 @@ function inline__P86887_mk(s) { -function inline__P86898(s) { +function inline__P18953(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43746,13 +43748,13 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_MapEditor_drawImage__P85177_mk(s); + s.tmp_0 = tileworld_MapEditor_drawImage__P6470_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 0; - s.callLocIdx = 1282; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1294; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.caps[1]; @@ -43765,12 +43767,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P86898.info = {"start":7281,"length":94,"line":202,"column":42,"endLine":205,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":["img"]} +inline__P18953.info = {"start":7281,"length":94,"line":202,"column":42,"endLine":205,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":["img"]} -function inline__P86898_mk(s) { +function inline__P18953_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P86898, depth: s.depth + 1, + parent: s, fn: inline__P18953, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43782,7 +43784,7 @@ function inline__P86898_mk(s) { -function tileworld_drawHalfSize__P73426(s) { +function tileworld_drawHalfSize__P3546(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43792,11 +43794,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___76018 = undefined; - s.j___76024 = undefined; - s.i___76056 = undefined; - s.j___76062 = undefined; - s.pix___76068 = undefined; + s.i___19084 = undefined; + s.j___19090 = undefined; + s.i___19122 = undefined; + s.j___19128 = undefined; + s.pix___19134 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -43810,90 +43812,90 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.i___76018 = (0); + s.i___19084 = (0); case 1: - s.tmp_1 = r0 = s.i___76018; + s.tmp_1 = r0 = s.i___19084; 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 = 4; continue; } - s.j___76024 = (0); + s.j___19090 = (0); case 2: - s.tmp_1 = r0 = s.j___76024; + s.tmp_1 = r0 = s.j___19090; 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 = 3; continue; } - s.tmp_3 = r0 = globals.screen___71682; + s.tmp_3 = r0 = globals.screen___1802; s.tmp_5 = r0 = s.arg1; - r0 = (s.i___76018 >> 1); + r0 = (s.i___19084 >> 1); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; s.tmp_8 = r0 = s.arg2; - r0 = (s.j___76024 >> 1); + r0 = (s.j___19090 >> 1); s.tmp_9 = r0; r0 = (s.tmp_8 + s.tmp_9); s.tmp_7 = r0; - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.i___76018, s.j___76024); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.i___19084, s.j___19090); s.tmp_10 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_3, s.tmp_4, s.tmp_7, s.tmp_10); - r0 = (s.j___76024 + 2); - s.j___76024 = (r0); + r0 = (s.j___19090 + 2); + s.j___19090 = (r0); { step = 2; continue; } case 3: - r0 = (s.i___76018 + 2); - s.i___76018 = (r0); + r0 = (s.i___19084 + 2); + s.i___19084 = (r0); { step = 1; continue; } case 4: { step = 12; continue; } case 5: - s.i___76056 = (0); + s.i___19122 = (0); case 6: - s.tmp_1 = r0 = s.i___76056; + s.tmp_1 = r0 = s.i___19122; 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 = 11; continue; } - s.j___76062 = (0); + s.j___19128 = (0); case 7: - s.tmp_1 = r0 = s.j___76062; + s.tmp_1 = r0 = s.j___19128; 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 = 10; continue; } - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.i___76056, s.j___76062); - s.pix___76068 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pix___76068); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.i___19122, s.j___19128); + s.pix___19134 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pix___19134); if (!r0) { step = 8; continue; } - s.tmp_0 = r0 = globals.screen___71682; + s.tmp_0 = r0 = globals.screen___1802; s.tmp_2 = r0 = s.arg1; - r0 = (s.i___76056 >> 1); + r0 = (s.i___19122 >> 1); s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; s.tmp_5 = r0 = s.arg2; - r0 = (s.j___76062 >> 1); + r0 = (s.j___19128 >> 1); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_4, s.pix___76068); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_4, s.pix___19134); case 8: case 9: - r0 = (s.j___76062 + 2); - s.j___76062 = (r0); + r0 = (s.j___19128 + 2); + s.j___19128 = (r0); { step = 7; continue; } case 10: - r0 = (s.i___76056 + 2); - s.i___76056 = (r0); + r0 = (s.i___19122 + 2); + s.i___19122 = (r0); { step = 6; continue; } case 11: case 12: @@ -43901,12 +43903,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_drawHalfSize__P73426.info = {"start":1653,"length":691,"line":50,"column":4,"endLine":66,"endColumn":5,"fileName":"utilities.ts","functionName":"drawHalfSize","argumentNames":["img","nx","ny","transparent"]} +tileworld_drawHalfSize__P3546.info = {"start":1653,"length":691,"line":50,"column":4,"endLine":66,"endColumn":5,"fileName":"utilities.ts","functionName":"drawHalfSize","argumentNames":["img","nx","ny","transparent"]} -function tileworld_drawHalfSize__P73426_mk(s) { +function tileworld_drawHalfSize__P3546_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_drawHalfSize__P73426, depth: s.depth + 1, + parent: s, fn: tileworld_drawHalfSize__P3546, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43919,11 +43921,11 @@ function tileworld_drawHalfSize__P73426_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - i___76018: undefined, - j___76024: undefined, - i___76056: undefined, - j___76062: undefined, - pix___76068: undefined, + i___19084: undefined, + j___19090: undefined, + i___19122: undefined, + j___19128: undefined, + pix___19134: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -43934,7 +43936,7 @@ function tileworld_drawHalfSize__P73426_mk(s) { -function tileworld_MapEditor_drawImage__P85177(s) { +function tileworld_MapEditor_drawImage__P6470(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43952,8 +43954,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C73704_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___71682; + if (!checkSubtype(r0, tileworld_MapEditor__C3824_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___1802; s.tmp_1 = r0 = s.arg1; r0 = (s.arg2 << 4); s.tmp_2 = r0; @@ -43966,12 +43968,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_drawImage__P85177.info = {"start":6782,"length":140,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"editor.ts","functionName":"drawImage","argumentNames":["this","img","col","row"]} +tileworld_MapEditor_drawImage__P6470.info = {"start":6782,"length":140,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"editor.ts","functionName":"drawImage","argumentNames":["this","img","col","row"]} -function tileworld_MapEditor_drawImage__P85177_mk(s) { +function tileworld_MapEditor_drawImage__P6470_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_drawImage__P85177, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_drawImage__P6470, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43988,7 +43990,7 @@ function tileworld_MapEditor_drawImage__P85177_mk(s) { -function tileworld_MapEditor_setCursor__P85168(s) { +function tileworld_MapEditor_setCursor__P6461(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44004,23 +44006,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C73704_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P71959_mk(s); + if (!checkSubtype(r0, tileworld_MapEditor__C3824_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; r0 = (s.arg1 != 0); s.tmp_0.arg2 = r0; - s.callLocIdx = 1233; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1245; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_setFlag__P71959_mk(s); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; r0 = (s.arg1 != 1); s.tmp_0.arg2 = r0; - s.callLocIdx = 1234; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1246; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = (s.arg0).fields["cursorType"] = (s.arg1); @@ -44028,12 +44030,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_setCursor__P85168.info = {"start":3086,"length":239,"line":84,"column":8,"endLine":88,"endColumn":9,"fileName":"editor.ts","functionName":"setCursor","argumentNames":["this","ct"]} +tileworld_MapEditor_setCursor__P6461.info = {"start":3086,"length":239,"line":84,"column":8,"endLine":88,"endColumn":9,"fileName":"editor.ts","functionName":"setCursor","argumentNames":["this","ct"]} -function tileworld_MapEditor_setCursor__P85168_mk(s) { +function tileworld_MapEditor_setCursor__P6461_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_setCursor__P85168, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_setCursor__P6461, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44044,7 +44046,7 @@ function tileworld_MapEditor_setCursor__P85168_mk(s) { -function tileworld_MapEditor_paintHome__P85167(s) { +function tileworld_MapEditor_paintHome__P6460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44059,19 +44061,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C73704_VT)) failedCast(r0); - s.tmp_0 = Sprite_x__P71906_mk(s); + if (!checkSubtype(r0, tileworld_MapEditor__C3824_VT)) failedCast(r0); + s.tmp_0 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1231; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1243; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 24; - s.callLocIdx = 1232; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1244; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = (s.arg0).fields["offsetY"] = (-3); @@ -44080,12 +44082,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_paintHome__P85167.info = {"start":2918,"length":158,"line":78,"column":8,"endLine":82,"endColumn":9,"fileName":"editor.ts","functionName":"paintHome","argumentNames":["this"]} +tileworld_MapEditor_paintHome__P6460.info = {"start":2918,"length":158,"line":78,"column":8,"endLine":82,"endColumn":9,"fileName":"editor.ts","functionName":"paintHome","argumentNames":["this"]} -function tileworld_MapEditor_paintHome__P85167_mk(s) { +function tileworld_MapEditor_paintHome__P6460_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_paintHome__P85167, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_paintHome__P6460, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44095,7 +44097,7 @@ function tileworld_MapEditor_paintHome__P85167_mk(s) { -function tileworld_RunGame_start__P73661(s) { +function tileworld_RunGame_start__P5958000(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44105,60 +44107,60 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.signal___81452 = undefined; - s.halfway___81473 = undefined; - s.playerId___81474 = undefined; + s.signal___5958191 = undefined; + s.halfway___5958212 = undefined; + s.playerId___5958213 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RunGame__C73658_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RunGame__C5957996_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["currentDirection"] = (s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileSprite__C79252_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileSprite__C5955903_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_TileSprite_constructor__P79259_mk(s); + s.tmp_1 = tileworld_TileSprite_constructor__P5955910_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.cursorIn___73608; + s.tmp_1.arg1 = globals.cursorIn___3728; s.tmp_1.arg2 = 0; s.tmp_1.arg3 = false; - s.callLocIdx = 477; s.pc = 5; return s.tmp_1; + s.callLocIdx = 489; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.signal___81452 = (s.tmp_0); - s.tmp_0 = Sprite_setFlag__P71959_mk(s); - s.tmp_0.arg0 = s.signal___81452; + s.signal___5958191 = (s.tmp_0); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); + s.tmp_0.arg0 = s.signal___5958191; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 478; s.pc = 6; return s.tmp_0; + s.callLocIdx = 490; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); - s.tmp_0.arg0 = s.signal___81452; + s.tmp_0 = Sprite_y__P2028_mk(s); + s.tmp_0.arg0 = s.signal___5958191; s.tmp_0.arg1 = 8; - s.callLocIdx = 479; s.pc = 7; return s.tmp_0; + s.callLocIdx = 491; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_1 = Sprite_x__P71906_mk(s); - s.tmp_1.arg0 = s.signal___81452; + s.tmp_1 = Sprite_x__P2026_mk(s); + s.tmp_1.arg0 = s.signal___5958191; s.tmp_1.arg1 = 8; - s.callLocIdx = 480; s.pc = 8; return s.tmp_1; + s.callLocIdx = 492; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = (s.signal___81452).fields["dir"] = (2); - r0 = (s.signal___81452).fields["inst"] = (-1); - r0 = (s.arg0).fields["signal"] = (s.signal___81452); + r0 = (s.signal___5958191).fields["dir"] = (2); + r0 = (s.signal___5958191).fields["inst"] = (-1); + r0 = (s.arg0).fields["signal"] = (s.signal___5958191); r0 = pxsim_pxtrt.mklocRef(); - s.halfway___81473 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.halfway___81473, false); + s.halfway___5958212 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.halfway___5958212, false); r0 = s.arg0.fields["p"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_player"]; - s.playerId___81474 = (r0); - r0 = (s.playerId___81474 != -1); + s.playerId___5958213 = (r0); + r0 = (s.playerId___5958213 != -1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } @@ -44168,87 +44170,87 @@ switch (step) { r0 = s.arg0.fields["state"]; r0 = r0.fields["sprites"]; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.playerId___81474); + r0 = pxsim_Array__getAt(s.tmp_1, s.playerId___5958213); 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__P72341_mk(s); + s.tmp_3 = scene_cameraFollowSprite__P2461_mk(s); r0 = s.arg0.fields["state"]; r0 = r0.fields["sprites"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.playerId___81474); + r0 = pxsim_Array__getAt(s.tmp_5, s.playerId___5958213); s.tmp_4 = r0; r0 = pxsim_Array__getAt(s.tmp_4, 0); s.tmp_3.arg0 = r0; - s.callLocIdx = 482; s.pc = 9; return s.tmp_3; + s.callLocIdx = 494; s.pc = 9; return s.tmp_3; case 9: r0 = s.retval; case 3: case 4: - s.tmp_0 = tileworld_TileWorldVM_setState__P79452_mk(s); + s.tmp_0 = tileworld_TileWorldVM_setState__P5956103_mk(s); r0 = s.arg0.fields["vm"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["state"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 483; s.pc = 10; return s.tmp_0; + s.callLocIdx = 495; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = tileworld_RunGame_roundToCompletion__P81256_mk(s); + s.tmp_0 = tileworld_RunGame_roundToCompletion__P5957999_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_0.arg1 = r0; - s.callLocIdx = 484; s.pc = 11; return s.tmp_0; + s.callLocIdx = 496; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = (s.arg0).fields["running"] = (true); - r0 = pxsim_pxtcore_mkAction(2, inline__P81504); + r0 = pxsim_pxtcore_mkAction(2, inline__P5958243); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.halfway___81473); - s.tmp_1 = game_onUpdate__P72420_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.halfway___5958212); + s.tmp_1 = game_onUpdate__P2540_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 496; s.pc = 12; return s.tmp_1; + s.callLocIdx = 508; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81600); + r0 = pxsim_pxtcore_mkAction(1, inline__P5958339); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P72424_mk(s); + s.tmp_1 = game_onShade__P2544_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 499; s.pc = 13; return s.tmp_1; + s.callLocIdx = 511; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81630); + r0 = pxsim_pxtcore_mkAction(1, inline__P5958369); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onPaint__P72423_mk(s); + s.tmp_1 = game_onPaint__P2543_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 500; s.pc = 14; return s.tmp_1; + s.callLocIdx = 512; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - s.tmp_0 = tileworld_RunGame_registerController__P81258_mk(s); + s.tmp_0 = tileworld_RunGame_registerController__P5958002_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 501; s.pc = 15; return s.tmp_0; + s.callLocIdx = 513; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = Sprite_vx__P71910_mk(s); - s.tmp_0.arg0 = s.signal___81452; + s.tmp_0 = Sprite_vx__P2030_mk(s); + s.tmp_0.arg0 = s.signal___5958191; s.tmp_0.arg1 = 100; - s.callLocIdx = 502; s.pc = 16; return s.tmp_0; + s.callLocIdx = 514; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RunGame_start__P73661.info = {"start":33397,"length":2735,"line":751,"column":8,"endLine":820,"endColumn":9,"fileName":"vm.ts","functionName":"start","argumentNames":["this"]} +tileworld_RunGame_start__P5958000.info = {"start":34389,"length":2735,"line":776,"column":8,"endLine":845,"endColumn":9,"fileName":"vm.ts","functionName":"start","argumentNames":["this"]} -function tileworld_RunGame_start__P73661_mk(s) { +function tileworld_RunGame_start__P5958000_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RunGame_start__P73661, depth: s.depth + 1, + parent: s, fn: tileworld_RunGame_start__P5958000, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44256,9 +44258,9 @@ function tileworld_RunGame_start__P73661_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - signal___81452: undefined, - halfway___81473: undefined, - playerId___81474: undefined, + signal___5958191: undefined, + halfway___5958212: undefined, + playerId___5958213: undefined, arg0: undefined, } } @@ -44266,7 +44268,7 @@ function tileworld_RunGame_start__P73661_mk(s) { -function inline__P81504(s) { +function inline__P5958243(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44276,7 +44278,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.message___81519 = undefined; + s.message___5958258 = undefined; r0 = s.caps[0].fields["running"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -44288,10 +44290,10 @@ switch (step) { { step = 17; continue; } case 1: case 2: - s.tmp_5 = Sprite_x__P71905_mk(s); + s.tmp_5 = Sprite_x__P2025_mk(s); r0 = s.caps[0].fields["signal"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 485; s.pc = 18; return s.tmp_5; + s.callLocIdx = 497; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; s.tmp_4 = r0; @@ -44321,7 +44323,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.message___81519 = (s.tmp_2); + s.message___5958258 = (s.tmp_2); r0 = s.caps[0].fields["state"]; r0 = r0.fields["highScore"]; s.tmp_1 = r0; @@ -44332,21 +44334,21 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_3 = tileworld_Project_newHighScore__P73590_mk(s); + s.tmp_3 = tileworld_Project_newHighScore__P3710_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_3.arg0 = r0; r0 = s.caps[0].fields["state"]; r0 = r0.fields["highScore"]; s.tmp_3.arg1 = r0; - s.callLocIdx = 486; s.pc = 19; return s.tmp_3; + s.callLocIdx = 498; s.pc = 19; return s.tmp_3; case 19: r0 = s.retval; - if ((s.message___81519) && (s.message___81519).vtable) { + if ((s.message___5958258) && (s.message___5958258).vtable) { setupResume(s, 20); - pxsim_String__stringConv(s.message___81519); + pxsim_String__stringConv(s.message___5958258); checkResumeConsumed(); return; - } else { s.retval = (s.message___81519) + ""; } + } else { s.retval = (s.message___5958258) + ""; } case 20: r0 = s.retval; s.tmp_0 = r0; @@ -44376,40 +44378,40 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.message___81519 = (r0); + s.message___5958258 = (r0); case 5: case 6: - s.tmp_0 = game_showDialog__P72415_mk(s); + s.tmp_0 = game_showDialog__P2535_mk(s); s.tmp_0.arg0 = "Game Over"; - s.tmp_0.arg1 = s.message___81519; + s.tmp_0.arg1 = s.message___5958258; s.tmp_0.arg2 = undefined; - s.callLocIdx = 487; s.pc = 23; return s.tmp_0; + s.callLocIdx = 499; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = pause__P70282_mk(s); + s.tmp_0 = pause__P402_mk(s); s.tmp_0.arg0 = 500; - s.callLocIdx = 488; s.pc = 24; return s.tmp_0; + s.callLocIdx = 500; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = game_waitAnyButton__P72411_mk(s); - s.callLocIdx = 489; s.pc = 25; return s.tmp_0; + s.tmp_0 = game_waitAnyButton__P2531_mk(s); + s.callLocIdx = 501; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; { step = 17; continue; } case 7: case 8: - s.tmp_0 = Sprite_x__P71906_mk(s); + s.tmp_0 = Sprite_x__P2026_mk(s); r0 = s.caps[0].fields["signal"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 8; - s.callLocIdx = 490; s.pc = 26; return s.tmp_0; + s.callLocIdx = 502; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.tmp_0 = tileworld_RunGame_roundToCompletion__P81256_mk(s); + s.tmp_0 = tileworld_RunGame_roundToCompletion__P5957999_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = s.caps[0].fields["currentDirection"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 491; s.pc = 27; return s.tmp_0; + s.callLocIdx = 503; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; r0 = pxsim_pxtrt_stlocRef(s.caps[1], false); @@ -44430,10 +44432,10 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - s.tmp_4 = Sprite_x__P71905_mk(s); + s.tmp_4 = Sprite_x__P2025_mk(s); r0 = s.caps[0].fields["signal"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 492; s.pc = 28; return s.tmp_4; + s.callLocIdx = 504; s.pc = 28; return s.tmp_4; case 28: r0 = s.retval; s.tmp_3 = r0; @@ -44450,15 +44452,15 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 12; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P81583); + r0 = pxsim_pxtcore_mkAction(1, inline__P5958322); s.tmp_8 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_8, 0, s.caps[0]); - s.tmp_9 = helpers_arrayForEach__P69987_mk(s); + s.tmp_9 = helpers_arrayForEach__P107_mk(s); r0 = s.caps[0].fields["state"]; r0 = r0.fields["deadSprites"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.tmp_8; - s.callLocIdx = 495; s.pc = 29; return s.tmp_9; + s.callLocIdx = 507; s.pc = 29; return s.tmp_9; case 29: r0 = s.retval; case 12: @@ -44472,12 +44474,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P81504.info = {"start":34128,"length":1507,"line":772,"column":26,"endLine":803,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P5958243.info = {"start":35120,"length":1507,"line":797,"column":26,"endLine":828,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P81504_mk(s) { +function inline__P5958243_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81504, depth: s.depth + 1, + parent: s, fn: inline__P5958243, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44489,14 +44491,14 @@ function inline__P81504_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - message___81519: undefined, + message___5958258: undefined, } } -function inline__P81583(s) { +function inline__P5958322(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44518,23 +44520,23 @@ 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__P71967_mk(s); + s.tmp_0 = Sprite_destroy__P2087_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; - s.callLocIdx = 494; s.pc = 1; return s.tmp_0; + s.callLocIdx = 506; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81583.info = {"start":35391,"length":152,"line":796,"column":55,"endLine":799,"endColumn":25,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P5958322.info = {"start":36383,"length":152,"line":821,"column":55,"endLine":824,"endColumn":25,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P81583_mk(s) { +function inline__P5958322_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81583, depth: s.depth + 1, + parent: s, fn: inline__P5958322, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44546,7 +44548,7 @@ function inline__P81583_mk(s) { -function inline__P81600(s) { +function inline__P5958339(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44556,8 +44558,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; r0 = s.caps[0].fields["state"]; r0 = r0.fields["score"]; s.tmp_3 = r0; @@ -44579,11 +44581,11 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 497; s.pc = 1; return s.tmp_0; + s.callLocIdx = 509; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; r0 = s.caps[0].fields["state"]; r0 = r0.fields["highScore"]; s.tmp_3 = r0; @@ -44605,19 +44607,19 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 498; s.pc = 3; return s.tmp_0; + s.callLocIdx = 510; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81600.info = {"start":35676,"length":174,"line":805,"column":25,"endLine":808,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P5958339.info = {"start":36668,"length":174,"line":830,"column":25,"endLine":833,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P81600_mk(s) { +function inline__P5958339_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81600, depth: s.depth + 1, + parent: s, fn: inline__P5958339, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44629,7 +44631,7 @@ function inline__P81600_mk(s) { -function inline__P81630(s) { +function inline__P5958369(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44643,19 +44645,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_ImageMethods.drawImage(globals.screen___71682, globals.debug___73599, 0, 0); + r0 = pxsim_ImageMethods.drawImage(globals.screen___1802, globals.debug___3719, 0, 0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81630.info = {"start":35878,"length":173,"line":810,"column":25,"endLine":816,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P5958369.info = {"start":36870,"length":173,"line":835,"column":25,"endLine":841,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P81630_mk(s) { +function inline__P5958369_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81630, depth: s.depth + 1, + parent: s, fn: inline__P5958369, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -44664,7 +44666,7 @@ function inline__P81630_mk(s) { -function tileworld_RunGame_registerController__P81258(s) { +function tileworld_RunGame_registerController__P5958002(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44679,143 +44681,143 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RunGame__C73658_VT)) failedCast(r0); - s.tmp_0 = controller_setRepeatDefault__P71796_mk(s); + if (!checkSubtype(r0, tileworld_RunGame__C5957996_VT)) failedCast(r0); + s.tmp_0 = controller_setRepeatDefault__P1916_mk(s); s.tmp_0.arg0 = 200; s.tmp_0.arg1 = 80; - s.callLocIdx = 503; s.pc = 1; return s.tmp_0; + s.callLocIdx = 515; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81647); + r0 = pxsim_pxtcore_mkAction(1, inline__P5958385); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.left___71759; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.left___1879; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 505; s.pc = 2; return s.tmp_1; + s.callLocIdx = 517; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81654); + r0 = pxsim_pxtcore_mkAction(1, inline__P5958391); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.left___71759; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.left___1879; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 507; s.pc = 3; return s.tmp_1; + s.callLocIdx = 519; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81660); + r0 = pxsim_pxtcore_mkAction(1, inline__P5958397); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.right___71761; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.right___1881; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 509; s.pc = 4; return s.tmp_1; + s.callLocIdx = 521; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81666); + r0 = pxsim_pxtcore_mkAction(1, inline__P5958403); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.right___71761; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.right___1881; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 511; s.pc = 5; return s.tmp_1; + s.callLocIdx = 523; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81672); + r0 = pxsim_pxtcore_mkAction(1, inline__P5958409); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.up___71760; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.up___1880; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 513; s.pc = 6; return s.tmp_1; + s.callLocIdx = 525; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81678); + r0 = pxsim_pxtcore_mkAction(1, inline__P5958415); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.up___71760; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.up___1880; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 515; s.pc = 7; return s.tmp_1; + s.callLocIdx = 527; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81684); + r0 = pxsim_pxtcore_mkAction(1, inline__P5958421); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.down___71762; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.down___1882; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 517; s.pc = 8; return s.tmp_1; + s.callLocIdx = 529; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81690); + r0 = pxsim_pxtcore_mkAction(1, inline__P5958427); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.down___71762; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.down___1882; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 519; s.pc = 9; return s.tmp_1; + s.callLocIdx = 531; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81696); + r0 = pxsim_pxtcore_mkAction(1, inline__P5958433); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.A___71757; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.A___1877; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 521; s.pc = 10; return s.tmp_1; + s.callLocIdx = 533; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81702); + r0 = pxsim_pxtcore_mkAction(1, inline__P5958439); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.A___71757; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.A___1877; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 523; s.pc = 11; return s.tmp_1; + s.callLocIdx = 535; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81708); + r0 = pxsim_pxtcore_mkAction(1, inline__P5958445); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.A___71757; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.A___1877; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 525; s.pc = 12; return s.tmp_1; + s.callLocIdx = 537; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81714); + r0 = pxsim_pxtcore_mkAction(1, inline__P5958451); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.B___71758; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.B___1878; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 529; s.pc = 13; return s.tmp_1; + s.callLocIdx = 541; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RunGame_registerController__P81258.info = {"start":36224,"length":1999,"line":827,"column":8,"endLine":870,"endColumn":9,"fileName":"vm.ts","functionName":"registerController","argumentNames":["this"]} +tileworld_RunGame_registerController__P5958002.info = {"start":37216,"length":1999,"line":852,"column":8,"endLine":895,"endColumn":9,"fileName":"vm.ts","functionName":"registerController","argumentNames":["this"]} -function tileworld_RunGame_registerController__P81258_mk(s) { +function tileworld_RunGame_registerController__P5958002_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RunGame_registerController__P81258, depth: s.depth + 1, + parent: s, fn: tileworld_RunGame_registerController__P5958002, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44826,7 +44828,7 @@ function tileworld_RunGame_registerController__P81258_mk(s) { -function inline__P81647(s) { +function inline__P5958385(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44836,22 +44838,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P81259_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P5958003_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; - s.callLocIdx = 504; s.pc = 1; return s.tmp_0; + s.callLocIdx = 516; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81647.info = {"start":36372,"length":74,"line":829,"column":67,"endLine":831,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P5958385.info = {"start":37364,"length":74,"line":854,"column":67,"endLine":856,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P81647_mk(s) { +function inline__P5958385_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81647, depth: s.depth + 1, + parent: s, fn: inline__P5958385, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -44860,7 +44862,7 @@ function inline__P81647_mk(s) { -function inline__P81654(s) { +function inline__P5958391(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44870,22 +44872,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P81259_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P5958003_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; - s.callLocIdx = 506; s.pc = 1; return s.tmp_0; + s.callLocIdx = 518; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81654.info = {"start":36516,"length":74,"line":832,"column":68,"endLine":834,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P5958391.info = {"start":37508,"length":74,"line":857,"column":68,"endLine":859,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P81654_mk(s) { +function inline__P5958391_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81654, depth: s.depth + 1, + parent: s, fn: inline__P5958391, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -44894,7 +44896,7 @@ function inline__P81654_mk(s) { -function inline__P81660(s) { +function inline__P5958397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44904,22 +44906,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P81259_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P5958003_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 2; - s.callLocIdx = 508; s.pc = 1; return s.tmp_0; + s.callLocIdx = 520; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81660.info = {"start":36660,"length":75,"line":835,"column":68,"endLine":837,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P5958397.info = {"start":37652,"length":75,"line":860,"column":68,"endLine":862,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P81660_mk(s) { +function inline__P5958397_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81660, depth: s.depth + 1, + parent: s, fn: inline__P5958397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -44928,7 +44930,7 @@ function inline__P81660_mk(s) { -function inline__P81666(s) { +function inline__P5958403(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44938,22 +44940,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P81259_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P5958003_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 2; - s.callLocIdx = 510; s.pc = 1; return s.tmp_0; + s.callLocIdx = 522; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81666.info = {"start":36806,"length":75,"line":838,"column":69,"endLine":840,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P5958403.info = {"start":37798,"length":75,"line":863,"column":69,"endLine":865,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P81666_mk(s) { +function inline__P5958403_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81666, depth: s.depth + 1, + parent: s, fn: inline__P5958403, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -44962,7 +44964,7 @@ function inline__P81666_mk(s) { -function inline__P81672(s) { +function inline__P5958409(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44972,22 +44974,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P81259_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P5958003_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 1; - s.callLocIdx = 512; s.pc = 1; return s.tmp_0; + s.callLocIdx = 524; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81672.info = {"start":36948,"length":72,"line":841,"column":65,"endLine":843,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P5958409.info = {"start":37940,"length":72,"line":866,"column":65,"endLine":868,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P81672_mk(s) { +function inline__P5958409_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81672, depth: s.depth + 1, + parent: s, fn: inline__P5958409, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -44996,7 +44998,7 @@ function inline__P81672_mk(s) { -function inline__P81678(s) { +function inline__P5958415(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45006,22 +45008,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P81259_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P5958003_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 1; - s.callLocIdx = 514; s.pc = 1; return s.tmp_0; + s.callLocIdx = 526; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81678.info = {"start":37088,"length":72,"line":844,"column":66,"endLine":846,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P5958415.info = {"start":38080,"length":72,"line":869,"column":66,"endLine":871,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P81678_mk(s) { +function inline__P5958415_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81678, depth: s.depth + 1, + parent: s, fn: inline__P5958415, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -45030,7 +45032,7 @@ function inline__P81678_mk(s) { -function inline__P81684(s) { +function inline__P5958421(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45040,22 +45042,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P81259_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P5958003_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 3; - s.callLocIdx = 516; s.pc = 1; return s.tmp_0; + s.callLocIdx = 528; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81684.info = {"start":37229,"length":74,"line":847,"column":67,"endLine":849,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P5958421.info = {"start":38221,"length":74,"line":872,"column":67,"endLine":874,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P81684_mk(s) { +function inline__P5958421_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81684, depth: s.depth + 1, + parent: s, fn: inline__P5958421, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -45064,7 +45066,7 @@ function inline__P81684_mk(s) { -function inline__P81690(s) { +function inline__P5958427(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45074,22 +45076,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P81259_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P5958003_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 3; - s.callLocIdx = 518; s.pc = 1; return s.tmp_0; + s.callLocIdx = 530; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81690.info = {"start":37373,"length":74,"line":850,"column":68,"endLine":852,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P5958427.info = {"start":38365,"length":74,"line":875,"column":68,"endLine":877,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P81690_mk(s) { +function inline__P5958427_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81690, depth: s.depth + 1, + parent: s, fn: inline__P5958427, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -45098,7 +45100,7 @@ function inline__P81690_mk(s) { -function inline__P81696(s) { +function inline__P5958433(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45108,22 +45110,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P81259_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P5958003_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 3; - s.callLocIdx = 520; s.pc = 1; return s.tmp_0; + s.callLocIdx = 532; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81696.info = {"start":37513,"length":75,"line":853,"column":64,"endLine":855,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P5958433.info = {"start":38505,"length":75,"line":878,"column":64,"endLine":880,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P81696_mk(s) { +function inline__P5958433_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81696, depth: s.depth + 1, + parent: s, fn: inline__P5958433, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -45132,7 +45134,7 @@ function inline__P81696_mk(s) { -function inline__P81702(s) { +function inline__P5958439(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45142,22 +45144,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P81259_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P5958003_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 4; - s.callLocIdx = 522; s.pc = 1; return s.tmp_0; + s.callLocIdx = 534; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81702.info = {"start":37655,"length":68,"line":856,"column":64,"endLine":858,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P5958439.info = {"start":38647,"length":68,"line":881,"column":64,"endLine":883,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P81702_mk(s) { +function inline__P5958439_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81702, depth: s.depth + 1, + parent: s, fn: inline__P5958439, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -45166,7 +45168,7 @@ function inline__P81702_mk(s) { -function inline__P81708(s) { +function inline__P5958445(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45176,22 +45178,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P81259_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P5958003_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 4; - s.callLocIdx = 524; s.pc = 1; return s.tmp_0; + s.callLocIdx = 536; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81708.info = {"start":37791,"length":68,"line":859,"column":65,"endLine":861,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P5958445.info = {"start":38783,"length":68,"line":884,"column":65,"endLine":886,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P81708_mk(s) { +function inline__P5958445_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81708, depth: s.depth + 1, + parent: s, fn: inline__P5958445, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -45200,7 +45202,7 @@ function inline__P81708_mk(s) { -function inline__P81714(s) { +function inline__P5958451(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45220,37 +45222,37 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = tileworld_Project_newHighScore__P73590_mk(s); + s.tmp_3 = tileworld_Project_newHighScore__P3710_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_3.arg0 = r0; r0 = s.caps[0].fields["state"]; r0 = r0.fields["highScore"]; s.tmp_3.arg1 = r0; - s.callLocIdx = 526; s.pc = 3; return s.tmp_3; + s.callLocIdx = 538; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; case 1: case 2: - s.tmp_0 = controller_setRepeatDefault__P71796_mk(s); + s.tmp_0 = controller_setRepeatDefault__P1916_mk(s); s.tmp_0.arg0 = 500; s.tmp_0.arg1 = 80; - s.callLocIdx = 527; s.pc = 4; return s.tmp_0; + s.callLocIdx = 539; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_popScene__P72414_mk(s); - s.callLocIdx = 528; s.pc = 5; return s.tmp_0; + s.tmp_0 = game_popScene__P2534_mk(s); + s.callLocIdx = 540; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81714.info = {"start":37926,"length":286,"line":862,"column":64,"endLine":869,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P5958451.info = {"start":38918,"length":286,"line":887,"column":64,"endLine":894,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P81714_mk(s) { +function inline__P5958451_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81714, depth: s.depth + 1, + parent: s, fn: inline__P5958451, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45262,7 +45264,7 @@ function inline__P81714_mk(s) { -function tileworld_RunGame_requestMove__P81259(s) { +function tileworld_RunGame_requestMove__P5958003(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45278,7 +45280,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RunGame__C73658_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RunGame__C5957996_VT)) failedCast(r0); r0 = s.arg0.fields["running"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -45287,14 +45289,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = controller_setRepeatDefault__P71796_mk(s); + s.tmp_3 = controller_setRepeatDefault__P1916_mk(s); s.tmp_3.arg0 = 500; s.tmp_3.arg1 = 80; - s.callLocIdx = 530; s.pc = 5; return s.tmp_3; + s.callLocIdx = 542; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; - s.tmp_0 = game_popScene__P72414_mk(s); - s.callLocIdx = 531; s.pc = 6; return s.tmp_0; + s.tmp_0 = game_popScene__P2534_mk(s); + s.callLocIdx = 543; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; { step = 4; continue; } @@ -45317,12 +45319,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RunGame_requestMove__P81259.info = {"start":38233,"length":309,"line":872,"column":8,"endLine":879,"endColumn":9,"fileName":"vm.ts","functionName":"requestMove","argumentNames":["this","dir"]} +tileworld_RunGame_requestMove__P5958003.info = {"start":39225,"length":309,"line":897,"column":8,"endLine":904,"endColumn":9,"fileName":"vm.ts","functionName":"requestMove","argumentNames":["this","dir"]} -function tileworld_RunGame_requestMove__P81259_mk(s) { +function tileworld_RunGame_requestMove__P5958003_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RunGame_requestMove__P81259, depth: s.depth + 1, + parent: s, fn: tileworld_RunGame_requestMove__P5958003, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45336,7 +45338,7 @@ function tileworld_RunGame_requestMove__P81259_mk(s) { -function game_onShade__P72424(s) { +function game_onShade__P2544(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45350,9 +45352,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P74170_mk(s); + s.tmp_0 = game_init__P4290_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 898; s.pc = 4; return s.tmp_0; + s.callLocIdx = 896; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg0); @@ -45364,11 +45366,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P72260_mk(s); + s.tmp_2 = scene_createRenderable__P2380_mk(s); s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; - s.callLocIdx = 899; s.pc = 5; return s.tmp_2; + s.callLocIdx = 897; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -45376,12 +45378,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onShade__P72424.info = {"start":9934,"length":145,"line":320,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} +game_onShade__P2544.info = {"start":9934,"length":145,"line":320,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} -function game_onShade__P72424_mk(s) { +function game_onShade__P2544_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onShade__P72424, depth: s.depth + 1, + parent: s, fn: game_onShade__P2544, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45393,7 +45395,7 @@ function game_onShade__P72424_mk(s) { -function game_waitAnyButton__P72411(s) { +function game_waitAnyButton__P2531(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45403,19 +45405,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__waitAnyButton___74166); + r0 = pxsim_numops_toBoolDecr(globals.__waitAnyButton___4286); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__waitAnyButton___74166; + s.tmp_0.argL = globals.__waitAnyButton___4286; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 848; s.pc = 3; return s.tmp_0; + s.callLocIdx = 846; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = pause__P70282_mk(s); + s.tmp_0 = pause__P402_mk(s); s.tmp_0.arg0 = 3000; - s.callLocIdx = 849; s.pc = 4; return s.tmp_0; + s.callLocIdx = 847; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 2: @@ -45423,12 +45425,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_waitAnyButton__P72411.info = {"start":967,"length":111,"line":35,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"waitAnyButton","argumentNames":[]} +game_waitAnyButton__P2531.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__P72411_mk(s) { +function game_waitAnyButton__P2531_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_waitAnyButton__P72411, depth: s.depth + 1, + parent: s, fn: game_waitAnyButton__P2531, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -45437,7 +45439,7 @@ function game_waitAnyButton__P72411_mk(s) { -function tileworld_Project_newHighScore__P73590(s) { +function tileworld_Project_newHighScore__P3710(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45453,9 +45455,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = (s.arg0).fields["highScore"] = (s.arg1); - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { @@ -45467,12 +45469,12 @@ switch (step) { case 2: r0 = s.retval; s.tmp_1 = r0; - if ((globals.HighScoreKey___78243) && (globals.HighScoreKey___78243).vtable) { + if ((globals.HighScoreKey___6016) && (globals.HighScoreKey___6016).vtable) { setupResume(s, 3); - pxsim_String__stringConv(globals.HighScoreKey___78243); + pxsim_String__stringConv(globals.HighScoreKey___6016); checkResumeConsumed(); return; - } else { s.retval = (globals.HighScoreKey___78243) + ""; } + } else { s.retval = (globals.HighScoreKey___6016) + ""; } case 3: r0 = s.retval; s.tmp_3 = r0; @@ -45486,12 +45488,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_newHighScore__P73590.info = {"start":5664,"length":158,"line":161,"column":8,"endLine":164,"endColumn":9,"fileName":"project.ts","functionName":"newHighScore","argumentNames":["this","newScore"]} +tileworld_Project_newHighScore__P3710.info = {"start":5664,"length":158,"line":161,"column":8,"endLine":164,"endColumn":9,"fileName":"project.ts","functionName":"newHighScore","argumentNames":["this","newScore"]} -function tileworld_Project_newHighScore__P73590_mk(s) { +function tileworld_Project_newHighScore__P3710_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_newHighScore__P73590, depth: s.depth + 1, + parent: s, fn: tileworld_Project_newHighScore__P3710, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45505,7 +45507,7 @@ function tileworld_Project_newHighScore__P73590_mk(s) { -function tileworld_RunGame_roundToCompletion__P81256(s) { +function tileworld_RunGame_roundToCompletion__P5957999(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45515,20 +45517,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rcs___81429 = undefined; - s.rc___81439 = undefined; + s.rcs___5958168 = undefined; + s.rc___5958178 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RunGame__C73658_VT)) failedCast(r0); - s.tmp_0 = tileworld_TileWorldVM_startRound__P79453_mk(s); + if (!checkSubtype(r0, tileworld_RunGame__C5957996_VT)) failedCast(r0); + s.tmp_0 = tileworld_TileWorldVM_startRound__P5956104_mk(s); r0 = s.arg0.fields["vm"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 474; s.pc = 7; return s.tmp_0; + s.callLocIdx = 486; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 1: @@ -45539,21 +45541,21 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_2 = tileworld_TileWorldVM_continueRound__P79455_mk(s); + s.tmp_2 = tileworld_TileWorldVM_continueRound__P5956106_mk(s); r0 = s.arg0.fields["vm"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 475; s.pc = 8; return s.tmp_2; + s.callLocIdx = 487; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.rcs___81429 = (r0); + s.rcs___5958168 = (r0); case 2: - s.tmp_0 = r0 = s.rcs___81429; + s.tmp_0 = r0 = s.rcs___5958168; 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.rcs___81429); + r0 = pxsim_Array__length(s.rcs___5958168); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); case 4: @@ -45561,13 +45563,13 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 5; continue; } - r0 = pxsim_Array_.pop(s.rcs___81429); - s.rc___81439 = (r0); - s.tmp_0 = tileworld_TileWorldVM_processClosure__P79454_mk(s); + r0 = pxsim_Array_.pop(s.rcs___5958168); + s.rc___5958178 = (r0); + s.tmp_0 = tileworld_TileWorldVM_processClosure__P5956105_mk(s); r0 = s.arg0.fields["vm"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.rc___81439; - s.callLocIdx = 476; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = s.rc___5958178; + s.callLocIdx = 488; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 2; continue; } @@ -45578,18 +45580,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RunGame_roundToCompletion__P81256.info = {"start":32981,"length":355,"line":739,"column":8,"endLine":748,"endColumn":9,"fileName":"vm.ts","functionName":"roundToCompletion","argumentNames":["this","dirs"]} +tileworld_RunGame_roundToCompletion__P5957999.info = {"start":33973,"length":355,"line":764,"column":8,"endLine":773,"endColumn":9,"fileName":"vm.ts","functionName":"roundToCompletion","argumentNames":["this","dirs"]} -function tileworld_RunGame_roundToCompletion__P81256_mk(s) { +function tileworld_RunGame_roundToCompletion__P5957999_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RunGame_roundToCompletion__P81256, depth: s.depth + 1, + parent: s, fn: tileworld_RunGame_roundToCompletion__P5957999, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rcs___81429: undefined, - rc___81439: undefined, + rcs___5958168: undefined, + rc___5958178: undefined, arg0: undefined, arg1: undefined, } } @@ -45598,7 +45600,7 @@ function tileworld_RunGame_roundToCompletion__P81256_mk(s) { -function tileworld_TileWorldVM_processClosure__P79454(s) { +function tileworld_TileWorldVM_processClosure__P5956105(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45614,12 +45616,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); - s.tmp_0 = tileworld_TileWorldVM_evaluateRuleClosure__P79473_mk(s); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); + s.tmp_0 = tileworld_TileWorldVM_evaluateRuleClosure__P5956123_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 310; s.pc = 15; return s.tmp_0; - case 15: + s.callLocIdx = 314; s.pc = 5; return s.tmp_0; + case 5: r0 = s.retval; r0 = s.arg1.fields["rv"]; s.tmp_2 = r0; @@ -45649,82 +45651,18 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_7, s.tmp_8); case 1: case 2: - { step = 14; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(false); - if (!r0) { step = 12; continue; } - r0 = s.arg1.fields["self"]; - r0 = r0.fields["movedToStopped"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 6; continue; } - r0 = s.arg0.fields["vm"]; - r0 = r0.fields["movingToResting"]; - s.tmp_3 = r0; - r0 = s.arg1.fields["self"]; - s.tmp_4 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_3, s.tmp_4, undefined); - s.tmp_2 = r0; - r0 = (s.tmp_2 == -1); - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 4; continue; } - r0 = s.arg0.fields["vm"]; - r0 = r0.fields["movingToResting"]; - s.tmp_5 = r0; - r0 = s.arg1.fields["self"]; - s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_5, s.tmp_6); case 4: - case 5: - { step = 11; continue; } - case 6: - r0 = s.arg1.fields["witnesses"]; - s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, 0); - r0 = r0.fields["movedToStopped"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 9; continue; } - r0 = s.arg0.fields["vm"]; - r0 = r0.fields["movingToResting"]; - s.tmp_4 = r0; - r0 = s.arg1.fields["witnesses"]; - s.tmp_6 = r0; - r0 = pxsim_Array__getAt(s.tmp_6, 0); - s.tmp_5 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_4, s.tmp_5, undefined); - s.tmp_3 = r0; - r0 = (s.tmp_3 == -1); - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 7; continue; } - r0 = s.arg0.fields["vm"]; - r0 = r0.fields["movingToResting"]; - s.tmp_7 = r0; - r0 = s.arg1.fields["witnesses"]; - s.tmp_9 = r0; - r0 = pxsim_Array__getAt(s.tmp_9, 0); - s.tmp_8 = r0; - r0 = pxsim_Array__push(s.tmp_7, s.tmp_8); - case 7: - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_processClosure__P79454.info = {"start":6647,"length":964,"line":160,"column":8,"endLine":177,"endColumn":9,"fileName":"vm.ts","functionName":"processClosure","argumentNames":["this","rc"]} +tileworld_TileWorldVM_processClosure__P5956105.info = {"start":7202,"length":281,"line":175,"column":8,"endLine":181,"endColumn":9,"fileName":"vm.ts","functionName":"processClosure","argumentNames":["this","rc"]} -function tileworld_TileWorldVM_processClosure__P79454_mk(s) { +function tileworld_TileWorldVM_processClosure__P5956105_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_processClosure__P79454, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_processClosure__P5956105, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45735,7 +45673,6 @@ function tileworld_TileWorldVM_processClosure__P79454_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - tmp_9: undefined, arg0: undefined, arg1: undefined, } } @@ -45744,7 +45681,7 @@ function tileworld_TileWorldVM_processClosure__P79454_mk(s) { -function tileworld_TileWorldVM_evaluateRuleClosure__P79473(s) { +function tileworld_TileWorldVM_evaluateRuleClosure__P5956123(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45754,58 +45691,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___80793 = undefined; - s.row___80797 = undefined; + s.col___5957516 = undefined; + s.row___5957520 = 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__C79451_VT)) failedCast(r0); - s.col___80793 = (1); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); + s.col___5957516 = (1); case 1: - r0 = (s.col___80793 <= 3); + r0 = (s.col___5957516 <= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.row___80797 = (1); + s.row___5957520 = (1); case 2: - r0 = (s.row___80797 <= 3); + r0 = (s.row___5957520 <= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = tileworld_TileWorldVM_evaluateWhenDoCommands__P79474_mk(s); + s.tmp_1 = tileworld_TileWorldVM_evaluateWhenDoCommands__P5956124_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; - s.tmp_1.arg2 = s.col___80793; - s.tmp_1.arg3 = s.row___80797; - s.callLocIdx = 429; s.pc = 5; return s.tmp_1; + s.tmp_1.arg2 = s.col___5957516; + s.tmp_1.arg3 = s.row___5957520; + s.callLocIdx = 441; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = (s.row___80797 + 1); - s.row___80797 = (r0); + r0 = (s.row___5957520 + 1); + s.row___5957520 = (r0); { step = 2; continue; } case 3: - r0 = (s.col___80793 + 1); - s.col___80793 = (r0); + r0 = (s.col___5957516 + 1); + s.col___5957516 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_evaluateRuleClosure__P79473.info = {"start":24026,"length":253,"line":547,"column":8,"endLine":553,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateRuleClosure","argumentNames":["this","rc"]} +tileworld_TileWorldVM_evaluateRuleClosure__P5956123.info = {"start":24809,"length":253,"line":568,"column":8,"endLine":574,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateRuleClosure","argumentNames":["this","rc"]} -function tileworld_TileWorldVM_evaluateRuleClosure__P79473_mk(s) { +function tileworld_TileWorldVM_evaluateRuleClosure__P5956123_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_evaluateRuleClosure__P79473, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_evaluateRuleClosure__P5956123, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - col___80793: undefined, - row___80797: undefined, + col___5957516: undefined, + row___5957520: undefined, arg0: undefined, arg1: undefined, } } @@ -45814,7 +45751,7 @@ function tileworld_TileWorldVM_evaluateRuleClosure__P79473_mk(s) { -function tileworld_TileWorldVM_evaluateWhenDoCommands__P79474(s) { +function tileworld_TileWorldVM_evaluateWhenDoCommands__P5956124(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45824,26 +45761,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wid___80813 = undefined; - s.wcol___80832 = undefined; - s.wrow___80845 = undefined; - s.spawned___80858 = undefined; - s.portal___80860 = undefined; - s.ok___80862 = undefined; - s.cid___80863 = undefined; - s.inst___80880 = undefined; - s.arg___80890 = undefined; - s.colliding___80921 = undefined; - s.button___80928 = undefined; - s.self___80935 = undefined; - s.witness___80941 = undefined; - s.witness___81013 = undefined; - s.tm___81122 = undefined; - s.copy___81126 = undefined; - s.kindCnt___81158 = undefined; - s.x___81159 = undefined; - s.y___81160 = undefined; - s.index___81194 = undefined; + s.wid___5957536 = undefined; + s.wcol___5957555 = undefined; + s.wrow___5957568 = undefined; + s.spawned___5957581 = undefined; + s.portal___5957583 = undefined; + s.ok___5957585 = undefined; + s.cid___5957586 = undefined; + s.inst___5957603 = undefined; + s.arg___5957613 = undefined; + s.colliding___5957644 = undefined; + s.button___5957651 = undefined; + s.self___5957658 = undefined; + s.witness___5957664 = undefined; + s.witness___5957755 = undefined; + s.tm___5957864 = undefined; + s.copy___5957868 = undefined; + s.kindCnt___5957900 = undefined; + s.x___5957901 = undefined; + s.y___5957902 = undefined; + s.index___5957936 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -45852,29 +45789,29 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getWhenDo__P73528_mk(s); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getWhenDo__P3648_mk(s); r0 = s.arg1.fields["rv"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; - s.callLocIdx = 430; s.pc = 100; return s.tmp_0; + s.callLocIdx = 442; s.pc = 100; return s.tmp_0; case 100: r0 = s.retval; - s.wid___80813 = (r0); - r0 = (s.wid___80813 == -1); + s.wid___5957536 = (r0); + r0 = (s.wid___5957536 == -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_RuleView_getCmdInst__P73539_mk(s); + s.tmp_2 = tileworld_RuleView_getCmdInst__P3659_mk(s); r0 = s.arg1.fields["rv"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.wid___80813; + s.tmp_2.arg1 = s.wid___5957536; s.tmp_2.arg2 = 0; - s.callLocIdx = 431; s.pc = 101; return s.tmp_2; + s.callLocIdx = 443; s.pc = 101; return s.tmp_2; case 101: r0 = s.retval; s.tmp_1 = r0; @@ -45888,15 +45825,15 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.wcol___80832 = (r0); + s.wcol___5957555 = (r0); r0 = s.arg1.fields["self"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 5; continue; } - s.tmp_6 = tileworld_TileSprite_col__P79254_mk(s); + s.tmp_6 = tileworld_TileSprite_col__P5955905_mk(s); r0 = s.arg1.fields["self"]; s.tmp_6.arg0 = r0; - s.callLocIdx = 432; s.pc = 102; return s.tmp_6; + s.callLocIdx = 444; s.pc = 102; return s.tmp_6; case 102: r0 = s.retval; s.tmp_5 = r0; @@ -45909,17 +45846,17 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_8 = r0; - r0 = pxsim_pxtrt_stlocRef(s.wcol___80832, s.tmp_8); + r0 = pxsim_pxtrt_stlocRef(s.wcol___5957555, s.tmp_8); r0 = pxsim_pxtrt.mklocRef(); - s.wrow___80845 = (r0); + s.wrow___5957568 = (r0); r0 = s.arg1.fields["self"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = tileworld_TileSprite_row__P79255_mk(s); + s.tmp_2 = tileworld_TileSprite_row__P5955906_mk(s); r0 = s.arg1.fields["self"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 433; s.pc = 103; return s.tmp_2; + s.callLocIdx = 445; s.pc = 103; return s.tmp_2; case 103: r0 = s.retval; s.tmp_1 = r0; @@ -45932,26 +45869,26 @@ switch (step) { case 8: // jmp value (already in r0) s.tmp_4 = r0; - r0 = pxsim_pxtrt_stlocRef(s.wrow___80845, s.tmp_4); - s.spawned___80858 = (null); - s.portal___80860 = (null); - s.ok___80862 = (true); - s.cid___80863 = (0); + r0 = pxsim_pxtrt_stlocRef(s.wrow___5957568, s.tmp_4); + s.spawned___5957581 = (null); + s.portal___5957583 = (null); + s.ok___5957585 = (true); + s.cid___5957586 = (0); case 9: - s.tmp_1 = r0 = s.cid___80863; + s.tmp_1 = r0 = s.cid___5957586; r0 = s.arg1.fields["rv"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_4 = r0; - r0 = pxsim_Array__getAt(s.tmp_4, s.wid___80813); + r0 = pxsim_Array__getAt(s.tmp_4, s.wid___5957536); r0 = r0.fields["commandsLen"]; 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 = 98; continue; } - r0 = pxsim_numops_toBoolDecr(s.ok___80862); + r0 = pxsim_numops_toBoolDecr(s.ok___5957585); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -45960,42 +45897,42 @@ switch (step) { { step = 98; continue; } case 10: case 11: - r0 = pxsim_numops_toBoolDecr(s.portal___80860); + r0 = pxsim_numops_toBoolDecr(s.portal___5957583); if (!r0) { step = 12; continue; } - r0 = s.portal___80860.fields["col"]; + r0 = s.portal___5957583.fields["col"]; s.tmp_7 = r0; - r0 = pxsim_pxtrt_stlocRef(s.wcol___80832, s.tmp_7); - r0 = s.portal___80860.fields["row"]; + r0 = pxsim_pxtrt_stlocRef(s.wcol___5957555, s.tmp_7); + r0 = s.portal___5957583.fields["row"]; s.tmp_0 = r0; - r0 = pxsim_pxtrt_stlocRef(s.wrow___80845, s.tmp_0); + r0 = pxsim_pxtrt_stlocRef(s.wrow___5957568, s.tmp_0); case 12: case 13: - s.tmp_0 = tileworld_RuleView_getCmdInst__P73539_mk(s); + s.tmp_0 = tileworld_RuleView_getCmdInst__P3659_mk(s); r0 = s.arg1.fields["rv"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.wid___80813; - s.tmp_0.arg2 = s.cid___80863; - s.callLocIdx = 435; s.pc = 104; return s.tmp_0; + s.tmp_0.arg1 = s.wid___5957536; + s.tmp_0.arg2 = s.cid___5957586; + s.callLocIdx = 447; s.pc = 104; return s.tmp_0; case 104: r0 = s.retval; - s.inst___80880 = (r0); - r0 = (s.inst___80880 == -1); + s.inst___5957603 = (r0); + r0 = (s.inst___5957603 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } { step = 98; continue; } case 14: case 15: - s.tmp_1 = tileworld_RuleView_getCmdArg__P73540_mk(s); + s.tmp_1 = tileworld_RuleView_getCmdArg__P3660_mk(s); r0 = s.arg1.fields["rv"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.wid___80813; - s.tmp_1.arg2 = s.cid___80863; - s.callLocIdx = 436; s.pc = 105; return s.tmp_1; + s.tmp_1.arg1 = s.wid___5957536; + s.tmp_1.arg2 = s.cid___5957586; + s.callLocIdx = 448; s.pc = 105; return s.tmp_1; case 105: r0 = s.retval; - s.arg___80890 = (r0); - s.tmp_0 = r0 = s.inst___80880; + s.arg___5957613 = (r0); + s.tmp_0 = r0 = s.inst___5957603; r0 = pxsim_pxtcore.switch_eq(1, s.tmp_0); if (r0) { step = 16; continue; } r0 = pxsim_pxtcore.switch_eq(0, s.tmp_0); @@ -46024,16 +45961,16 @@ switch (step) { { step = 97; continue; } case 17: case 18: - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Tile__C79432_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Tile__C5956083_VT); s.tmp_4 = r0; - s.tmp_5 = tileworld_Tile_constructor__P79433_mk(s); + s.tmp_5 = tileworld_Tile_constructor__P5956084_mk(s); s.tmp_5.arg0 = s.tmp_4; - r0 = pxsim_pxtrt_ldlocRef(s.wcol___80832); + r0 = pxsim_pxtrt_ldlocRef(s.wcol___5957555); s.tmp_5.arg1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.wrow___80845); + r0 = pxsim_pxtrt_ldlocRef(s.wrow___5957568); s.tmp_5.arg2 = r0; - s.tmp_5.arg3 = s.arg___80890; - s.callLocIdx = 437; s.pc = 106; return s.tmp_5; + s.tmp_5.arg3 = s.arg___5957613; + s.callLocIdx = 449; s.pc = 106; return s.tmp_5; case 106: r0 = s.retval; r0 = s.arg0.fields["vm"]; @@ -46059,14 +45996,14 @@ switch (step) { r0 = r0.fields["ruleType"]; s.tmp_3 = r0; r0 = (s.tmp_3 == 2); - s.colliding___80921 = (r0); + s.colliding___5957644 = (r0); r0 = s.arg1.fields["rv"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["r"]; r0 = r0.fields["ruleType"]; s.tmp_0 = r0; r0 = (s.tmp_0 == 0); - s.button___80928 = (r0); + s.button___5957651 = (r0); r0 = (s.arg2 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -46078,33 +46015,33 @@ switch (step) { case 23: // jmp value (already in r0) s.tmp_1 = r0; - s.self___80935 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.spawned___80858); + s.self___5957658 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.spawned___5957581); if (!r0) { step = 24; continue; } - r0 = s.spawned___80858; + r0 = s.spawned___5957581; { step = 29; continue; } case 24: - r0 = pxsim_numops_toBoolDecr(s.self___80935); + r0 = pxsim_numops_toBoolDecr(s.self___5957658); if (!r0) { step = 25; continue; } r0 = s.arg1.fields["self"]; { step = 28; continue; } case 25: - r0 = pxsim_numops_toBoolDecr(s.colliding___80921); + r0 = pxsim_numops_toBoolDecr(s.colliding___5957644); if (!r0) { step = 26; continue; } r0 = s.arg1.fields["witnesses"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, 0); { step = 27; continue; } case 26: - r0 = pxsim_pxtcore_mkAction(2, inline__P80953); + r0 = pxsim_pxtcore_mkAction(2, inline__P5957676); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.wcol___80832); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.wrow___80845); - s.tmp_2 = helpers_arrayFind__P69989_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.wcol___5957555); + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.wrow___5957568); + s.tmp_2 = helpers_arrayFind__P109_mk(s); r0 = s.arg1.fields["witnesses"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 442; s.pc = 107; return s.tmp_2; + s.callLocIdx = 454; s.pc = 107; return s.tmp_2; case 107: r0 = s.retval; case 27: @@ -46118,14 +46055,14 @@ switch (step) { case 29: // jmp value (already in r0) s.tmp_5 = r0; - s.witness___80941 = (s.tmp_5); - s.tmp_0 = r0 = s.witness___80941; + s.witness___5957664 = (s.tmp_5); + s.tmp_0 = r0 = s.witness___5957664; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 30; continue; } r0 = s.tmp_0; { step = 37; continue; } case 30: - r0 = s.witness___80941.fields["inst"]; + r0 = s.witness___5957664.fields["inst"]; s.tmp_2 = r0; r0 = (s.tmp_2 == -1); s.tmp_1 = r0; @@ -46145,7 +46082,7 @@ switch (step) { r0 = s.tmp_4; { step = 34; continue; } case 33: - r0 = s.colliding___80921; + r0 = s.colliding___5957644; case 34: // jmp value (already in r0) s.tmp_5 = r0; @@ -46154,7 +46091,7 @@ switch (step) { r0 = s.tmp_5; { step = 36; continue; } case 35: - r0 = s.button___80928; + r0 = s.button___5957651; case 36: // jmp value (already in r0) s.tmp_6 = r0; @@ -46164,62 +46101,73 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 50; continue; } - s.tmp_8 = r0 = s.colliding___80921; + r0 = s.witness___5957664.fields["inst"]; + s.tmp_9 = r0; + r0 = (s.tmp_9 == -1); + s.tmp_8 = r0; r0 = pxsim_numops_toBool(s.tmp_8); if (r0) { step = 38; continue; } r0 = s.tmp_8; { step = 39; continue; } case 38: - r0 = pxsim_numops_toBoolDecr(s.self___80935); - s.tmp_9 = r0; - r0 = pxsim_Boolean__bang(s.tmp_9); + r0 = (s.arg___5957613 < 4); case 39: // jmp value (already in r0) s.tmp_10 = r0; - r0 = pxsim_numops_toBool(s.tmp_10); - if (r0) { step = 40; continue; } - r0 = s.tmp_10; - { step = 41; continue; } - case 40: - r0 = s.witness___80941.fields["inst"]; + r0 = pxsim_numops_toBoolDecr(s.tmp_10); + if (!r0) { step = 40; continue; } + r0 = s.arg0.fields["vm"]; + r0 = r0.fields["moving"]; s.tmp_11 = r0; - r0 = (s.tmp_11 == 0); + r0 = pxsim_Array__push(s.tmp_11, s.witness___5957664); + case 40: case 41: - // jmp value (already in r0) - s.tmp_12 = r0; - r0 = pxsim_numops_toBool(s.tmp_12); + s.tmp_0 = r0 = s.colliding___5957644; + r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 42; continue; } - r0 = s.tmp_12; + r0 = s.tmp_0; { step = 43; continue; } case 42: - r0 = s.witness___80941.fields["arg"]; - s.tmp_13 = r0; - r0 = (s.tmp_13 < 4); + r0 = s.witness___5957664.fields["inst"]; + s.tmp_1 = r0; + r0 = (s.tmp_1 == 0); case 43: // jmp value (already in r0) - s.tmp_14 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_14); - if (!r0) { step = 48; continue; } - r0 = (s.arg___80890 == 4); - s.tmp_15 = r0; - r0 = pxsim_numops_toBool(s.tmp_15); - if (!r0) { step = 44; continue; } - r0 = s.tmp_15; + s.tmp_2 = r0; + r0 = pxsim_numops_toBool(s.tmp_2); + if (r0) { step = 44; continue; } + r0 = s.tmp_2; { step = 45; continue; } case 44: - r0 = (s.arg___80890 == 5); + r0 = s.witness___5957664.fields["arg"]; + s.tmp_3 = r0; + r0 = (s.tmp_3 < 4); case 45: // jmp value (already in r0) - s.tmp_16 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_16); - if (!r0) { step = 46; continue; } - r0 = (s.witness___80941).fields["movedToStopped"] = (true); + s.tmp_4 = r0; + r0 = pxsim_numops_toBool(s.tmp_4); + if (r0) { step = 46; continue; } + r0 = s.tmp_4; + { step = 47; continue; } case 46: + r0 = (s.arg___5957613 >= 4); case 47: + // jmp value (already in r0) + s.tmp_5 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_5); + if (!r0) { step = 48; continue; } + r0 = s.arg0.fields["vm"]; + r0 = r0.fields["moving2resting"]; + s.tmp_6 = r0; + r0 = pxsim_Array__push(s.tmp_6, s.witness___5957664); + r0 = s.arg0.fields["vm"]; + r0 = r0.fields["moving"]; + s.tmp_0 = r0; + r0 = pxsim_Array_.removeElement(s.tmp_0, s.witness___5957664); case 48: case 49: - r0 = (s.witness___80941).fields["inst"] = (s.inst___80880); - r0 = (s.witness___80941).fields["arg"] = (s.arg___80890); + r0 = (s.witness___5957664).fields["inst"] = (s.inst___5957603); + r0 = (s.witness___5957664).fields["arg"] = (s.arg___5957613); case 50: case 51: { step = 97; continue; } @@ -46235,18 +46183,18 @@ switch (step) { { step = 97; continue; } case 53: case 54: - r0 = pxsim_pxtcore_mkAction(2, inline__P81017); + r0 = pxsim_pxtcore_mkAction(2, inline__P5957759); s.tmp_3 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_3, 0, s.wcol___80832); - r0 = pxsim_pxtrt_stclo(s.tmp_3, 1, s.wrow___80845); - s.tmp_4 = helpers_arrayFind__P69989_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_3, 0, s.wcol___5957555); + r0 = pxsim_pxtrt_stclo(s.tmp_3, 1, s.wrow___5957568); + s.tmp_4 = helpers_arrayFind__P109_mk(s); r0 = s.arg1.fields["witnesses"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.tmp_3; - s.callLocIdx = 445; s.pc = 108; return s.tmp_4; + s.callLocIdx = 457; s.pc = 108; return s.tmp_4; case 108: r0 = s.retval; - s.witness___81013 = (r0); + s.witness___5957755 = (r0); r0 = s.arg1.fields["rv"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["r"]; @@ -46278,27 +46226,27 @@ switch (step) { case 58: // jmp value (already in r0) s.tmp_6 = r0; - s.witness___81013 = (s.tmp_6); + s.witness___5957755 = (s.tmp_6); case 59: case 60: - r0 = (s.arg___80890 == 0); + r0 = (s.arg___5957613 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 61; continue; } r0 = s.tmp_0; { step = 62; continue; } case 61: - r0 = s.witness___81013; + r0 = s.witness___5957755; case 62: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 65; continue; } - r0 = (s.witness___81013).fields["state"] = (1); + r0 = (s.witness___5957755).fields["state"] = (1); r0 = s.arg0.fields["vm"]; r0 = r0.fields["deadSprites"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.witness___81013, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.witness___5957755, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 == -1); s.tmp_0 = r0; @@ -46307,7 +46255,7 @@ switch (step) { r0 = s.arg0.fields["vm"]; r0 = r0.fields["deadSprites"]; s.tmp_3 = r0; - r0 = pxsim_Array__push(s.tmp_3, s.witness___81013); + r0 = pxsim_Array__push(s.tmp_3, s.witness___5957755); case 63: case 64: case 65: @@ -46325,53 +46273,53 @@ switch (step) { { step = 97; continue; } case 68: case 69: - r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileSprite__C79252_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileSprite__C5955903_VT); s.tmp_3 = r0; - s.tmp_4 = tileworld_TileSprite_constructor__P79259_mk(s); + s.tmp_4 = tileworld_TileSprite_constructor__P5955910_mk(s); s.tmp_4.arg0 = s.tmp_3; r0 = s.arg0.fields["p"]; s.tmp_6 = r0; r0 = s.tmp_6.fields["_spritesI"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.arg___80890); + r0 = pxsim_Array__getAt(s.tmp_5, s.arg___5957613); s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = s.arg___80890; + s.tmp_4.arg2 = s.arg___5957613; s.tmp_4.arg3 = false; - s.callLocIdx = 448; s.pc = 109; return s.tmp_4; + s.callLocIdx = 460; s.pc = 109; return s.tmp_4; case 109: r0 = s.retval; - s.spawned___80858 = (s.tmp_3); + s.spawned___5957581 = (s.tmp_3); r0 = s.arg0.fields["vm"]; r0 = r0.fields["spawnedSprites"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.spawned___80858); - s.tmp_0 = Sprite_x__P71906_mk(s); - s.tmp_0.arg0 = s.spawned___80858; - r0 = pxsim_pxtrt_ldlocRef(s.wcol___80832); + r0 = pxsim_Array__push(s.tmp_0, s.spawned___5957581); + s.tmp_0 = Sprite_x__P2026_mk(s); + s.tmp_0.arg0 = s.spawned___5957581; + r0 = pxsim_pxtrt_ldlocRef(s.wcol___5957555); s.tmp_2 = r0; r0 = (s.tmp_2 << 4); s.tmp_1 = r0; r0 = (s.tmp_1 + 8); s.tmp_0.arg1 = r0; - s.callLocIdx = 449; s.pc = 110; return s.tmp_0; + s.callLocIdx = 461; s.pc = 110; return s.tmp_0; case 110: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); - s.tmp_0.arg0 = s.spawned___80858; - r0 = pxsim_pxtrt_ldlocRef(s.wrow___80845); + s.tmp_0 = Sprite_y__P2028_mk(s); + s.tmp_0.arg0 = s.spawned___5957581; + r0 = pxsim_pxtrt_ldlocRef(s.wrow___5957568); s.tmp_2 = r0; r0 = (s.tmp_2 << 4); s.tmp_1 = r0; r0 = (s.tmp_1 + 8); s.tmp_0.arg1 = r0; - s.callLocIdx = 450; s.pc = 111; return s.tmp_0; + s.callLocIdx = 462; s.pc = 111; return s.tmp_0; case 111: r0 = s.retval; - s.tmp_0 = Sprite_setFlag__P71959_mk(s); - s.tmp_0.arg0 = s.spawned___80858; + s.tmp_0 = Sprite_setFlag__P2079_mk(s); + s.tmp_0.arg0 = s.spawned___5957581; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 451; s.pc = 112; return s.tmp_0; + s.callLocIdx = 463; s.pc = 112; return s.tmp_0; case 112: r0 = s.retval; { step = 97; continue; } @@ -46379,7 +46327,7 @@ switch (step) { r0 = s.arg0.fields["vm"]; r0 = r0.fields["nextBlockedSprites"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.arg___80890, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.arg___5957613, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 == -1); s.tmp_0 = r0; @@ -46388,64 +46336,64 @@ switch (step) { r0 = s.arg0.fields["vm"]; r0 = r0.fields["nextBlockedSprites"]; s.tmp_3 = r0; - r0 = pxsim_Array__push(s.tmp_3, s.arg___80890); + r0 = pxsim_Array__push(s.tmp_3, s.arg___5957613); case 71: case 72: { step = 97; continue; } case 73: - s.tmp_0 = game_currentScene__P72409_mk(s); - s.callLocIdx = 452; s.pc = 113; return s.tmp_0; + s.tmp_0 = game_currentScene__P2529_mk(s); + s.callLocIdx = 464; s.pc = 113; return s.tmp_0; case 113: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___81122 = (r0); + s.tm___5957864 = (r0); r0 = s.arg0.fields["vm"]; r0 = r0.fields["changed"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.copy___81126 = (r0); - r0 = pxsim_ImageMethods.fill(s.copy___81126, 0); - r0 = pxsim_pxtcore_mkAction(1, inline__P81136); + s.copy___5957868 = (r0); + r0 = pxsim_ImageMethods.fill(s.copy___5957868, 0); + r0 = pxsim_pxtcore_mkAction(1, inline__P5957878); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.copy___81126); - s.tmp_1 = tileworld_TileWorldVM_allSprites__P79456_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.copy___5957868); + s.tmp_1 = tileworld_TileWorldVM_allSprites__P5956107_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 455; s.pc = 114; return s.tmp_1; + s.callLocIdx = 467; s.pc = 114; return s.tmp_1; case 114: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P81149); + r0 = pxsim_pxtcore_mkAction(1, inline__P5957891); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.copy___81126); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.copy___5957868); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["vm"]; r0 = r0.fields["spawnedSprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 458; s.pc = 115; return s.tmp_1; + s.callLocIdx = 470; s.pc = 115; return s.tmp_1; case 115: r0 = s.retval; - s.kindCnt___81158 = (0); - s.x___81159 = (0); - s.y___81160 = (0); + s.kindCnt___5957900 = (0); + s.x___5957901 = (0); + s.y___5957902 = (0); case 74: - s.tmp_1 = r0 = s.x___81159; - r0 = pxsim_ImageMethods.width(s.copy___81126); + s.tmp_1 = r0 = s.x___5957901; + r0 = pxsim_ImageMethods.width(s.copy___5957868); 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 = 81; continue; } - s.y___81160 = (0); + s.y___5957902 = (0); case 75: - s.tmp_1 = r0 = s.y___81160; - r0 = pxsim_ImageMethods.height(s.copy___81126); + s.tmp_1 = r0 = s.y___5957902; + r0 = pxsim_ImageMethods.height(s.copy___5957868); 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 = 80; continue; } - r0 = pxsim_ImageMethods.getPixel(s.copy___81126, s.x___81159, s.y___81160); + r0 = pxsim_ImageMethods.getPixel(s.copy___5957868, s.x___5957901, s.y___5957902); s.tmp_4 = r0; r0 = (s.tmp_4 == 0); s.tmp_3 = r0; @@ -46454,62 +46402,62 @@ switch (step) { r0 = s.tmp_3; { step = 77; continue; } case 76: - s.tmp_6 = tiles_TileMap__C72197_v8_3_mk(s); - s.tmp_6.arg0 = s.tm___81122; - s.tmp_6.arg1 = s.x___81159; - s.tmp_6.arg2 = s.y___81160; - if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_6.arg0); + s.tmp_6 = tiles_TileMap__C2317_v8_3_mk(s); + s.tmp_6.arg0 = s.tm___5957864; + s.tmp_6.arg1 = s.x___5957901; + s.tmp_6.arg2 = s.y___5957902; + if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_6.arg0); s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.getTileIndex; s.pc = 116; return s.tmp_6; case 116: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 == s.arg___80890); + r0 = (s.tmp_5 == s.arg___5957613); case 77: // jmp value (already in r0) s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 78; continue; } - r0 = (s.kindCnt___81158 + 1); - s.kindCnt___81158 = (r0); + r0 = (s.kindCnt___5957900 + 1); + s.kindCnt___5957900 = (r0); case 78: case 79: - r0 = (s.y___81160 + 1); - s.y___81160 = (r0); + r0 = (s.y___5957902 + 1); + s.y___5957902 = (r0); { step = 75; continue; } case 80: - r0 = (s.x___81159 + 1); - s.x___81159 = (r0); + r0 = (s.x___5957901 + 1); + s.x___5957901 = (r0); { step = 74; continue; } case 81: - r0 = (s.kindCnt___81158 > 0); + r0 = (s.kindCnt___5957900 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 94; continue; } - r0 = (s.kindCnt___81158 - 1); + r0 = (s.kindCnt___5957900 - 1); s.tmp_1 = r0; r0 = pxsim.Math_.randomRange(0, s.tmp_1); - s.index___81194 = (r0); - s.kindCnt___81158 = (0); - s.x___81159 = (0); + s.index___5957936 = (r0); + s.kindCnt___5957900 = (0); + s.x___5957901 = (0); case 82: - s.tmp_1 = r0 = s.x___81159; - r0 = pxsim_ImageMethods.width(s.copy___81126); + s.tmp_1 = r0 = s.x___5957901; + r0 = pxsim_ImageMethods.width(s.copy___5957868); 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 = 93; continue; } - s.y___81160 = (0); + s.y___5957902 = (0); case 83: - s.tmp_1 = r0 = s.y___81160; - r0 = pxsim_ImageMethods.height(s.copy___81126); + s.tmp_1 = r0 = s.y___5957902; + r0 = pxsim_ImageMethods.height(s.copy___5957868); 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 = 90; continue; } - r0 = pxsim_ImageMethods.getPixel(s.copy___81126, s.x___81159, s.y___81160); + r0 = pxsim_ImageMethods.getPixel(s.copy___5957868, s.x___5957901, s.y___5957902); s.tmp_4 = r0; r0 = (s.tmp_4 == 0); s.tmp_3 = r0; @@ -46518,72 +46466,72 @@ switch (step) { r0 = s.tmp_3; { step = 85; continue; } case 84: - s.tmp_6 = tiles_TileMap__C72197_v8_3_mk(s); - s.tmp_6.arg0 = s.tm___81122; - s.tmp_6.arg1 = s.x___81159; - s.tmp_6.arg2 = s.y___81160; - if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_6.arg0); + s.tmp_6 = tiles_TileMap__C2317_v8_3_mk(s); + s.tmp_6.arg0 = s.tm___5957864; + s.tmp_6.arg1 = s.x___5957901; + s.tmp_6.arg2 = s.y___5957902; + if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_6.arg0); s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.getTileIndex; s.pc = 117; return s.tmp_6; case 117: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 == s.arg___80890); + r0 = (s.tmp_5 == s.arg___5957613); case 85: // jmp value (already in r0) s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 88; continue; } - r0 = (s.kindCnt___81158 == s.index___81194); + r0 = (s.kindCnt___5957900 == s.index___5957936); s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 86; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Tile__C79432_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Tile__C5956083_VT); s.tmp_9 = r0; - s.tmp_10 = tileworld_Tile_constructor__P79433_mk(s); + s.tmp_10 = tileworld_Tile_constructor__P5956084_mk(s); s.tmp_10.arg0 = s.tmp_9; - s.tmp_10.arg1 = s.x___81159; - s.tmp_10.arg2 = s.y___81160; + s.tmp_10.arg1 = s.x___5957901; + s.tmp_10.arg2 = s.y___5957902; s.tmp_10.arg3 = 0; - s.callLocIdx = 459; s.pc = 118; return s.tmp_10; + s.callLocIdx = 471; s.pc = 118; return s.tmp_10; case 118: r0 = s.retval; - s.portal___80860 = (s.tmp_9); + s.portal___5957583 = (s.tmp_9); { step = 90; continue; } case 86: case 87: - r0 = (s.kindCnt___81158 + 1); - s.kindCnt___81158 = (r0); + r0 = (s.kindCnt___5957900 + 1); + s.kindCnt___5957900 = (r0); case 88: case 89: - r0 = (s.y___81160 + 1); - s.y___81160 = (r0); + r0 = (s.y___5957902 + 1); + s.y___5957902 = (r0); { step = 83; continue; } case 90: - r0 = pxsim_numops_toBoolDecr(s.portal___80860); + r0 = pxsim_numops_toBoolDecr(s.portal___5957583); if (!r0) { step = 91; continue; } { step = 93; continue; } case 91: case 92: - r0 = (s.x___81159 + 1); - s.x___81159 = (r0); + r0 = (s.x___5957901 + 1); + s.x___5957901 = (r0); { step = 82; continue; } case 93: { step = 95; continue; } case 94: - s.ok___80862 = (false); + s.ok___5957585 = (false); case 95: { step = 97; continue; } case 96: r0 = s.arg0.fields["globalInsts"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.inst___80880); + r0 = pxsim_Array__push(s.tmp_0, s.inst___5957603); r0 = s.arg0.fields["globalArgs"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.arg___80890); + r0 = pxsim_Array__push(s.tmp_0, s.arg___5957613); case 97: - r0 = (s.cid___80863 + 1); - s.cid___80863 = (r0); + r0 = (s.cid___5957586 + 1); + s.cid___5957586 = (r0); { step = 9; continue; } case 98: case 99: @@ -46591,12 +46539,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_evaluateWhenDoCommands__P79474.info = {"start":24289,"length":6882,"line":555,"column":8,"endLine":692,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateWhenDoCommands","argumentNames":["this","rc","col","row"]} +tileworld_TileWorldVM_evaluateWhenDoCommands__P5956124.info = {"start":25072,"length":7091,"line":576,"column":8,"endLine":717,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateWhenDoCommands","argumentNames":["this","rc","col","row"]} -function tileworld_TileWorldVM_evaluateWhenDoCommands__P79474_mk(s) { +function tileworld_TileWorldVM_evaluateWhenDoCommands__P5956124_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_evaluateWhenDoCommands__P79474, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_evaluateWhenDoCommands__P5956124, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46610,31 +46558,26 @@ function tileworld_TileWorldVM_evaluateWhenDoCommands__P79474_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - tmp_12: undefined, - tmp_13: undefined, - tmp_14: undefined, - tmp_15: undefined, - tmp_16: undefined, - wid___80813: undefined, - wcol___80832: undefined, - wrow___80845: undefined, - spawned___80858: undefined, - portal___80860: undefined, - ok___80862: undefined, - cid___80863: undefined, - inst___80880: undefined, - arg___80890: undefined, - colliding___80921: undefined, - button___80928: undefined, - self___80935: undefined, - witness___80941: undefined, - witness___81013: undefined, - tm___81122: undefined, - copy___81126: undefined, - kindCnt___81158: undefined, - x___81159: undefined, - y___81160: undefined, - index___81194: undefined, + wid___5957536: undefined, + wcol___5957555: undefined, + wrow___5957568: undefined, + spawned___5957581: undefined, + portal___5957583: undefined, + ok___5957585: undefined, + cid___5957586: undefined, + inst___5957603: undefined, + arg___5957613: undefined, + colliding___5957644: undefined, + button___5957651: undefined, + self___5957658: undefined, + witness___5957664: undefined, + witness___5957755: undefined, + tm___5957864: undefined, + copy___5957868: undefined, + kindCnt___5957900: undefined, + x___5957901: undefined, + y___5957902: undefined, + index___5957936: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -46645,7 +46588,7 @@ function tileworld_TileWorldVM_evaluateWhenDoCommands__P79474_mk(s) { -function inline__P80953(s) { +function inline__P5957676(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46659,9 +46602,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_2 = tileworld_TileSprite_col__P79254_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P5955905_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 440; s.pc = 3; return s.tmp_2; + s.callLocIdx = 452; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -46674,9 +46617,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_5 = tileworld_TileSprite_row__P79255_mk(s); + s.tmp_5 = tileworld_TileSprite_row__P5955906_mk(s); s.tmp_5.arg0 = s.arg0; - s.callLocIdx = 441; s.pc = 4; return s.tmp_5; + s.callLocIdx = 453; s.pc = 4; return s.tmp_5; case 4: r0 = s.retval; s.tmp_4 = r0; @@ -46690,12 +46633,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P80953.info = {"start":25997,"length":42,"line":591,"column":59,"endLine":591,"endColumn":101,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P5957676.info = {"start":26780,"length":42,"line":612,"column":59,"endLine":612,"endColumn":101,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P80953_mk(s) { +function inline__P5957676_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P80953, depth: s.depth + 1, + parent: s, fn: inline__P5957676, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46712,7 +46655,7 @@ function inline__P80953_mk(s) { -function inline__P81017(s) { +function inline__P5957759(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46726,9 +46669,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_2 = tileworld_TileSprite_col__P79254_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P5955905_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 443; s.pc = 3; return s.tmp_2; + s.callLocIdx = 455; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -46741,9 +46684,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_5 = tileworld_TileSprite_row__P79255_mk(s); + s.tmp_5 = tileworld_TileSprite_row__P5955906_mk(s); s.tmp_5.arg0 = s.arg0; - s.callLocIdx = 444; s.pc = 4; return s.tmp_5; + s.callLocIdx = 456; s.pc = 4; return s.tmp_5; case 4: r0 = s.retval; s.tmp_4 = r0; @@ -46757,12 +46700,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P81017.info = {"start":27053,"length":42,"line":608,"column":56,"endLine":608,"endColumn":98,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P5957759.info = {"start":27938,"length":42,"line":631,"column":56,"endLine":631,"endColumn":98,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P81017_mk(s) { +function inline__P5957759_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81017, depth: s.depth + 1, + parent: s, fn: inline__P5957759, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46779,7 +46722,7 @@ function inline__P81017_mk(s) { -function inline__P81136(s) { +function inline__P5957878(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46794,15 +46737,15 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.caps[0]; - s.tmp_2 = tileworld_TileSprite_col__P79254_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P5955905_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 453; s.pc = 1; return s.tmp_2; + s.callLocIdx = 465; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_TileSprite_row__P79255_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P5955906_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 454; s.pc = 2; return s.tmp_4; + s.callLocIdx = 466; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -46811,12 +46754,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P81136.info = {"start":28906,"length":99,"line":642,"column":40,"endLine":644,"endColumn":25,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P5957878.info = {"start":29898,"length":99,"line":667,"column":40,"endLine":669,"endColumn":25,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P81136_mk(s) { +function inline__P5957878_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81136, depth: s.depth + 1, + parent: s, fn: inline__P5957878, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46830,7 +46773,7 @@ function inline__P81136_mk(s) { -function inline__P81149(s) { +function inline__P5957891(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46845,15 +46788,15 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.caps[0]; - s.tmp_2 = tileworld_TileSprite_col__P79254_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P5955905_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 456; s.pc = 1; return s.tmp_2; + s.callLocIdx = 468; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_TileSprite_row__P79255_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P5955906_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 457; s.pc = 2; return s.tmp_4; + s.callLocIdx = 469; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -46862,12 +46805,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P81149.info = {"start":29063,"length":100,"line":645,"column":55,"endLine":647,"endColumn":25,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P5957891.info = {"start":30055,"length":100,"line":670,"column":55,"endLine":672,"endColumn":25,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P81149_mk(s) { +function inline__P5957891_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81149, depth: s.depth + 1, + parent: s, fn: inline__P5957891, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46881,7 +46824,7 @@ function inline__P81149_mk(s) { -function tiles_TileMap_getTileIndex__P72210(s) { +function tiles_TileMap_getTileIndex__P2330(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46898,11 +46841,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P72190_mk(s); - s.tmp_1 = tiles_TileMap__C72197_v0_1_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P2310_mk(s); + s.tmp_1 = tiles_TileMap__C2317_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C2317_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: @@ -46910,18 +46853,18 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 752; s.pc = 1; return s.tmp_0; + s.callLocIdx = 750; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileIndex__P72210.info = {"start":7380,"length":105,"line":273,"column":8,"endLine":275,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} +tiles_TileMap_getTileIndex__P2330.info = {"start":7380,"length":105,"line":273,"column":8,"endLine":275,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} -function tiles_TileMap_getTileIndex__P72210_mk(s) { +function tiles_TileMap_getTileIndex__P2330_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P72210, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P2330, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46934,7 +46877,7 @@ function tiles_TileMap_getTileIndex__P72210_mk(s) { -function tiles_TileMap_data__P74106(s) { +function tiles_TileMap_data__P4226(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46949,18 +46892,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_data__P74106.info = {"start":6344,"length":75,"line":231,"column":8,"endLine":233,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} -tiles_TileMap_data__P74106.isGetter = true; +tiles_TileMap_data__P4226.info = {"start":6344,"length":75,"line":231,"column":8,"endLine":233,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} +tiles_TileMap_data__P4226.isGetter = true; -function tiles_TileMap_data__P74106_mk(s) { +function tiles_TileMap_data__P4226_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P74106, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P4226, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -46969,7 +46912,7 @@ function tiles_TileMap_data__P74106_mk(s) { -function tiles_TileMapData_getTile__P72190(s) { +function tiles_TileMapData_getTile__P2310(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46986,12 +46929,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C72184_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P72196_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C2304_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P2316_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 733; s.pc = 4; return s.tmp_1; + s.callLocIdx = 731; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0 = r0; @@ -47020,12 +46963,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTile__P72190.info = {"start":3997,"length":200,"line":152,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMapData_getTile__P2310.info = {"start":3997,"length":200,"line":152,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_TileMapData_getTile__P72190_mk(s) { +function tiles_TileMapData_getTile__P2310_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P72190, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P2310, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47045,7 +46988,7 @@ function tiles_TileMapData_getTile__P72190_mk(s) { -function tiles_TileMapData_isOutsideMap__P72196(s) { +function tiles_TileMapData_isOutsideMap__P2316(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47062,7 +47005,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C72184_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2304_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -47102,12 +47045,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isOutsideMap__P72196.info = {"start":5580,"length":132,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} +tiles_TileMapData_isOutsideMap__P2316.info = {"start":5580,"length":132,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} -function tiles_TileMapData_isOutsideMap__P72196_mk(s) { +function tiles_TileMapData_isOutsideMap__P2316_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P72196, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P2316, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47126,7 +47069,7 @@ function tiles_TileMapData_isOutsideMap__P72196_mk(s) { -function tileworld_TileWorldVM_allSprites__P79456(s) { +function tileworld_TileWorldVM_allSprites__P5956107(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47142,28 +47085,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P79863); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P5956544); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["vm"]; r0 = r0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 324; s.pc = 1; return s.tmp_1; + s.callLocIdx = 329; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_allSprites__P79456.info = {"start":10481,"length":179,"line":245,"column":8,"endLine":249,"endColumn":9,"fileName":"vm.ts","functionName":"allSprites","argumentNames":["this","handler"]} +tileworld_TileWorldVM_allSprites__P5956107.info = {"start":10832,"length":179,"line":256,"column":8,"endLine":260,"endColumn":9,"fileName":"vm.ts","functionName":"allSprites","argumentNames":["this","handler"]} -function tileworld_TileWorldVM_allSprites__P79456_mk(s) { +function tileworld_TileWorldVM_allSprites__P5956107_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_allSprites__P79456, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_allSprites__P5956107, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47175,7 +47118,7 @@ function tileworld_TileWorldVM_allSprites__P79456_mk(s) { -function inline__P79863(s) { +function inline__P5956544(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47191,13 +47134,13 @@ switch (step) { } r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P79868); + r0 = pxsim_pxtcore_mkAction(1, inline__P5956549); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.caps[0]); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 323; s.pc = 3; return s.tmp_1; + s.callLocIdx = 328; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 1: @@ -47206,12 +47149,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P79863.info = {"start":10571,"length":77,"line":246,"column":36,"endLine":248,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ls"]} +inline__P5956544.info = {"start":10922,"length":77,"line":257,"column":36,"endLine":259,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ls"]} -function inline__P79863_mk(s) { +function inline__P5956544_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P79863, depth: s.depth + 1, + parent: s, fn: inline__P5956544, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47222,7 +47165,7 @@ function inline__P79863_mk(s) { -function inline__P79868(s) { +function inline__P5956549(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47240,19 +47183,19 @@ switch (step) { s.tmp_0.argL = s.caps[0]; s.tmp_0.arg0 = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 322; s.pc = 1; return s.tmp_0; + s.callLocIdx = 327; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P79868.info = {"start":10615,"length":17,"line":247,"column":35,"endLine":247,"endColumn":52,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P5956549.info = {"start":10966,"length":17,"line":258,"column":35,"endLine":258,"endColumn":52,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P79868_mk(s) { +function inline__P5956549_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P79868, depth: s.depth + 1, + parent: s, fn: inline__P5956549, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -47262,7 +47205,7 @@ function inline__P79868_mk(s) { -function tileworld_Tile_constructor__P79433(s) { +function tileworld_Tile_constructor__P5956084(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47280,7 +47223,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Tile__C79432_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Tile__C5956083_VT)) failedCast(r0); r0 = (s.arg0).fields["col"] = (s.arg1); r0 = (s.arg0).fields["row"] = (s.arg2); r0 = (s.arg0).fields["kind"] = (s.arg3); @@ -47288,12 +47231,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Tile_constructor__P79433.info = {"start":2915,"length":84,"line":63,"column":8,"endLine":64,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","col","row","kind"]} +tileworld_Tile_constructor__P5956084.info = {"start":2875,"length":84,"line":63,"column":8,"endLine":64,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","col","row","kind"]} -function tileworld_Tile_constructor__P79433_mk(s) { +function tileworld_Tile_constructor__P5956084_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Tile_constructor__P79433, depth: s.depth + 1, + parent: s, fn: tileworld_Tile_constructor__P5956084, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -47305,7 +47248,7 @@ function tileworld_Tile_constructor__P79433_mk(s) { -function tileworld_TileSprite_row__P79255(s) { +function tileworld_TileSprite_row__P5955906(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47320,8 +47263,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileSprite__C79252_VT)) failedCast(r0); - s.tmp_1 = Sprite_y__P71907_mk(s); + if (!checkSubtype(r0, tileworld_TileSprite__C5955903_VT)) failedCast(r0); + s.tmp_1 = Sprite_y__P2027_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 291; s.pc = 1; return s.tmp_1; case 1: @@ -47331,12 +47274,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileSprite_row__P79255.info = {"start":1168,"length":36,"line":28,"column":8,"endLine":28,"endColumn":44,"fileName":"vm.ts","functionName":"row","argumentNames":["this"]} +tileworld_TileSprite_row__P5955906.info = {"start":1128,"length":36,"line":28,"column":8,"endLine":28,"endColumn":44,"fileName":"vm.ts","functionName":"row","argumentNames":["this"]} -function tileworld_TileSprite_row__P79255_mk(s) { +function tileworld_TileSprite_row__P5955906_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileSprite_row__P79255, depth: s.depth + 1, + parent: s, fn: tileworld_TileSprite_row__P5955906, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47347,7 +47290,7 @@ function tileworld_TileSprite_row__P79255_mk(s) { -function tileworld_TileSprite_col__P79254(s) { +function tileworld_TileSprite_col__P5955905(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47362,8 +47305,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileSprite__C79252_VT)) failedCast(r0); - s.tmp_1 = Sprite_x__P71905_mk(s); + if (!checkSubtype(r0, tileworld_TileSprite__C5955903_VT)) failedCast(r0); + s.tmp_1 = Sprite_x__P2025_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 290; s.pc = 1; return s.tmp_1; case 1: @@ -47373,12 +47316,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileSprite_col__P79254.info = {"start":1080,"length":36,"line":27,"column":8,"endLine":27,"endColumn":44,"fileName":"vm.ts","functionName":"col","argumentNames":["this"]} +tileworld_TileSprite_col__P5955905.info = {"start":1040,"length":36,"line":27,"column":8,"endLine":27,"endColumn":44,"fileName":"vm.ts","functionName":"col","argumentNames":["this"]} -function tileworld_TileSprite_col__P79254_mk(s) { +function tileworld_TileSprite_col__P5955905_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileSprite_col__P79254, depth: s.depth + 1, + parent: s, fn: tileworld_TileSprite_col__P5955905, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47389,7 +47332,7 @@ function tileworld_TileSprite_col__P79254_mk(s) { -function tileworld_TileWorldVM_continueRound__P79455(s) { +function tileworld_TileWorldVM_continueRound__P5956106(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47399,16 +47342,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ruleClosures___79705 = undefined; - s.ts___79755 = undefined; - s.ts___79797 = undefined; - s.ts___79831 = undefined; + s.ruleClosures___5956351 = undefined; + s.ts___5956401 = undefined; + s.ts___5956443 = undefined; + s.ts___5956490 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); r0 = s.arg0.fields["vm"]; r0 = r0.fields["phase"]; s.tmp_1 = r0; @@ -47417,24 +47360,24 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); - s.ruleClosures___79705 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P79711); + s.ruleClosures___5956351 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P5956357); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.ruleClosures___79705); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.ruleClosures___5956351); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["ruleIndex"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, 3); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 314; s.pc = 22; return s.tmp_1; + s.callLocIdx = 318; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; r0 = s.arg0.fields["vm"]; s.tmp_0 = r0; r0 = (s.tmp_0).fields["phase"] = (0); - r0 = s.ruleClosures___79705; + r0 = s.ruleClosures___5956351; { step = 21; continue; } case 1: case 2: @@ -47458,12 +47401,12 @@ switch (step) { r0 = r0.fields["queued"]; s.tmp_5 = r0; r0 = pxsim_Array_.pop(s.tmp_5); - s.ts___79755 = (r0); - s.tmp_0 = tileworld_TileWorldVM_applyRules__P79461_mk(s); + s.ts___5956401 = (r0); + s.tmp_0 = tileworld_TileWorldVM_applyRules__P5956112_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = s.ts___79755; - s.callLocIdx = 315; s.pc = 23; return s.tmp_0; + s.tmp_0.arg2 = s.ts___5956401; + s.callLocIdx = 319; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; { step = 21; continue; } @@ -47472,13 +47415,13 @@ switch (step) { r0 = s.arg0.fields["vm"]; s.tmp_1 = r0; r0 = (s.tmp_1).fields["phase"] = (1); - r0 = pxsim_pxtcore_mkAction(1, inline__P79769); + r0 = pxsim_pxtcore_mkAction(1, inline__P5956415); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = tileworld_TileWorldVM_allSprites__P79456_mk(s); + s.tmp_1 = tileworld_TileWorldVM_allSprites__P5956107_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 316; s.pc = 24; return s.tmp_1; + s.callLocIdx = 320; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; case 4: @@ -47504,21 +47447,21 @@ switch (step) { r0 = r0.fields["queued"]; s.tmp_5 = r0; r0 = pxsim_Array_.pop(s.tmp_5); - s.ts___79797 = (r0); - s.tmp_1 = tileworld_TileWorldVM_contextChanged__P79457_mk(s); + s.ts___5956443 = (r0); + s.tmp_1 = tileworld_TileWorldVM_contextChanged__P5956108_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.ts___79797; - s.callLocIdx = 317; s.pc = 25; return s.tmp_1; + s.tmp_1.arg1 = s.ts___5956443; + s.callLocIdx = 321; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = tileworld_TileWorldVM_applyRules__P79461_mk(s); + s.tmp_2 = tileworld_TileWorldVM_applyRules__P5956112_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 1; - s.tmp_2.arg2 = s.ts___79797; - s.callLocIdx = 318; s.pc = 26; return s.tmp_2; + s.tmp_2.arg2 = s.ts___5956443; + s.callLocIdx = 322; s.pc = 26; return s.tmp_2; case 26: r0 = s.retval; { step = 21; continue; } @@ -47529,15 +47472,28 @@ switch (step) { r0 = s.arg0.fields["vm"]; s.tmp_3 = r0; r0 = (s.tmp_3).fields["phase"] = (2); - r0 = pxsim_pxtcore_mkAction(1, inline__P79813); + r0 = pxsim_pxtcore_mkAction(1, inline__P5956462); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = tileworld_TileWorldVM_allSprites__P79456_mk(s); - s.tmp_1.arg0 = s.arg0; + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + r0 = s.arg0.fields["vm"]; + r0 = r0.fields["moving"]; + s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 319; s.pc = 27; return s.tmp_1; + s.callLocIdx = 323; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; + r0 = s.arg0.fields["vm"]; + s.tmp_0 = r0; + r0 = s.arg0.fields["vm"]; + r0 = r0.fields["spawnedSprites"]; + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["captureSpawned"] = (s.tmp_1); + r0 = s.arg0.fields["vm"]; + s.tmp_0 = r0; + r0 = pxsim_Array__mk(); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["spawnedSprites"] = (s.tmp_1); case 10: case 11: case 12: @@ -47561,18 +47517,18 @@ switch (step) { r0 = r0.fields["queued"]; s.tmp_5 = r0; r0 = pxsim_Array_.pop(s.tmp_5); - s.ts___79831 = (r0); - s.tmp_0 = tileworld_TileWorldVM_collisionDetection__P79464_mk(s); + s.ts___5956490 = (r0); + s.tmp_0 = tileworld_TileWorldVM_collisionDetection__P5956115_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ts___79831; - s.callLocIdx = 320; s.pc = 28; return s.tmp_0; + s.tmp_0.arg1 = s.ts___5956490; + s.callLocIdx = 324; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; { step = 21; continue; } { step = 16; continue; } case 13: r0 = s.arg0.fields["vm"]; - r0 = r0.fields["movingToResting"]; + r0 = r0.fields["moving2resting"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); s.tmp_2 = r0; @@ -47580,11 +47536,33 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 14; continue; } + r0 = s.arg0.fields["vm"]; + s.tmp_4 = r0; + r0 = s.arg0.fields["vm"]; + r0 = r0.fields["moving2resting"]; + s.tmp_5 = r0; + r0 = (s.tmp_4).fields["newresting"] = (s.tmp_5); + r0 = s.arg0.fields["vm"]; + s.tmp_0 = r0; + r0 = pxsim_Array__mk(); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["moving2resting"] = (s.tmp_1); + r0 = pxsim_pxtcore_mkAction(1, inline__P5956517); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + r0 = s.arg0.fields["vm"]; + r0 = r0.fields["moving"]; + s.tmp_1.arg0 = r0; + s.tmp_1.arg1 = s.tmp_0; + s.callLocIdx = 325; s.pc = 29; return s.tmp_1; + case 29: + r0 = s.retval; { step = 15; continue; } case 14: r0 = s.arg0.fields["vm"]; - s.tmp_4 = r0; - r0 = (s.tmp_4).fields["phase"] = (-1); + s.tmp_0 = r0; + r0 = (s.tmp_0).fields["phase"] = (-1); case 15: case 16: case 17: @@ -47596,10 +47574,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - s.tmp_2 = tileworld_TileWorldVM_updateWorld__P79467_mk(s); + s.tmp_2 = tileworld_TileWorldVM_updateWorld__P5956117_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 321; s.pc = 29; return s.tmp_2; - case 29: + s.callLocIdx = 326; s.pc = 30; return s.tmp_2; + case 30: r0 = s.retval; case 19: case 20: @@ -47608,12 +47586,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_continueRound__P79455.info = {"start":7621,"length":2850,"line":179,"column":8,"endLine":243,"endColumn":10,"fileName":"vm.ts","functionName":"continueRound","argumentNames":["this"]} +tileworld_TileWorldVM_continueRound__P5956106.info = {"start":7493,"length":3329,"line":183,"column":8,"endLine":254,"endColumn":10,"fileName":"vm.ts","functionName":"continueRound","argumentNames":["this"]} -function tileworld_TileWorldVM_continueRound__P79455_mk(s) { +function tileworld_TileWorldVM_continueRound__P5956106_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_continueRound__P79455, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_continueRound__P5956106, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47621,10 +47599,10 @@ function tileworld_TileWorldVM_continueRound__P79455_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - ruleClosures___79705: undefined, - ts___79755: undefined, - ts___79797: undefined, - ts___79831: undefined, + ruleClosures___5956351: undefined, + ts___5956401: undefined, + ts___5956443: undefined, + ts___5956490: undefined, arg0: undefined, } } @@ -47632,7 +47610,7 @@ function tileworld_TileWorldVM_continueRound__P79455_mk(s) { -function inline__P79711(s) { +function inline__P5956357(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47642,22 +47620,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.kind___79713 = undefined; - s.witnesses___79720 = undefined; + s.kind___5956359 = undefined; + s.witnesses___5956366 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleView_findWitnessColRow__P73535_mk(s); + s.tmp_0 = tileworld_RuleView_findWitnessColRow__P3655_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 2; s.tmp_0.arg3 = false; - s.callLocIdx = 312; s.pc = 8; return s.tmp_0; + s.callLocIdx = 316; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.kind___79713 = (r0); - r0 = (s.kind___79713 == -1); + s.kind___5956359 = (r0); + r0 = (s.kind___5956359 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -47667,9 +47645,9 @@ switch (step) { r0 = s.caps[0].fields["vm"]; r0 = r0.fields["sprites"]; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.kind___79713); - s.witnesses___79720 = (r0); - r0 = pxsim_numops_toBoolDecr(s.witnesses___79720); + r0 = pxsim_Array__getAt(s.tmp_1, s.kind___5956359); + s.witnesses___5956366 = (r0); + r0 = pxsim_numops_toBoolDecr(s.witnesses___5956366); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -47678,7 +47656,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = pxsim_Array__length(s.witnesses___79720); + r0 = pxsim_Array__length(s.witnesses___5956366); s.tmp_2 = r0; r0 = (s.tmp_2 == 0); case 4: @@ -47686,15 +47664,15 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 5; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C79445_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C5956096_VT); s.tmp_4 = r0; - s.tmp_5 = tileworld_RuleClosure_constructor__P79446_mk(s); + s.tmp_5 = tileworld_RuleClosure_constructor__P5956097_mk(s); s.tmp_5.arg0 = s.tmp_4; s.tmp_5.arg1 = s.arg0; s.tmp_5.arg2 = null; r0 = pxsim_Array__mk(); s.tmp_5.arg3 = r0; - s.callLocIdx = 313; s.pc = 9; return s.tmp_5; + s.callLocIdx = 317; s.pc = 9; return s.tmp_5; case 9: r0 = s.retval; r0 = pxsim_Array__push(s.caps[1], s.tmp_4); @@ -47705,12 +47683,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P79711.info = {"start":7878,"length":640,"line":183,"column":63,"endLine":196,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} +inline__P5956357.info = {"start":7750,"length":640,"line":187,"column":63,"endLine":200,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} -function inline__P79711_mk(s) { +function inline__P5956357_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P79711, depth: s.depth + 1, + parent: s, fn: inline__P5956357, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47718,8 +47696,8 @@ function inline__P79711_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - kind___79713: undefined, - witnesses___79720: undefined, + kind___5956359: undefined, + witnesses___5956366: undefined, arg0: undefined, } } @@ -47727,7 +47705,7 @@ function inline__P79711_mk(s) { -function inline__P79769(s) { +function inline__P5956415(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47760,12 +47738,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P79769.info = {"start":9005,"length":222,"line":207,"column":36,"endLine":211,"endColumn":21,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P5956415.info = {"start":8877,"length":222,"line":211,"column":36,"endLine":215,"endColumn":21,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P79769_mk(s) { +function inline__P5956415_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P79769, depth: s.depth + 1, + parent: s, fn: inline__P5956415, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47778,7 +47756,7 @@ function inline__P79769_mk(s) { -function inline__P79813(s) { +function inline__P5956462(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47800,12 +47778,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P79813.info = {"start":9718,"length":33,"line":223,"column":36,"endLine":223,"endColumn":69,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P5956462.info = {"start":9597,"length":33,"line":227,"column":43,"endLine":227,"endColumn":76,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P79813_mk(s) { +function inline__P5956462_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P79813, depth: s.depth + 1, + parent: s, fn: inline__P5956462, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -47815,7 +47793,7 @@ function inline__P79813_mk(s) { -function tileworld_TileWorldVM_updateWorld__P79467(s) { +function inline__P5956517(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47825,69 +47803,115 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___80469 = undefined; - s.inst___80476 = undefined; - s.arg___80480 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = s.caps[0].fields["vm"]; + r0 = r0.fields["queued"]; + s.tmp_0 = r0; + r0 = pxsim_Array__push(s.tmp_0, s.arg0); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +inline__P5956517.info = {"start":10517,"length":33,"line":244,"column":47,"endLine":244,"endColumn":80,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} + +function inline__P5956517_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P5956517, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + arg0: undefined, +} } + + + + + +function tileworld_TileWorldVM_updateWorld__P5956117(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.i___5957192 = undefined; + s.inst___5957199 = undefined; + s.arg___5957203 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_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__P80338); + r0 = s.arg0.fields["vm"]; s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + s.tmp_2 = helpers_arrayConcat__P111_mk(s); r0 = s.arg0.fields["vm"]; r0 = r0.fields["spawnedSprites"]; - s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 394; s.pc = 15; return s.tmp_1; + s.tmp_2.arg0 = r0; + r0 = s.arg0.fields["vm"]; + r0 = r0.fields["captureSpawned"]; + s.tmp_2.arg1 = r0; + s.callLocIdx = 399; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; - r0 = s.arg0.fields["vm"]; - s.tmp_0 = r0; - r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["spawnedSprites"] = (s.tmp_1); - r0 = pxsim_pxtcore_mkAction(1, inline__P80375); + r0 = pxsim_pxtcore_mkAction(1, inline__P5957065); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["vm"]; - r0 = r0.fields["deadSprites"]; + r0 = r0.fields["spawnedSprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 397; s.pc = 16; return s.tmp_1; + s.callLocIdx = 406; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P80387); + r0 = pxsim_pxtcore_mkAction(1, inline__P5957098); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = tileworld_TileWorldVM_allSprites__P79456_mk(s); - s.tmp_1.arg0 = s.arg0; + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + r0 = s.arg0.fields["vm"]; + r0 = r0.fields["deadSprites"]; + s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 405; s.pc = 17; return s.tmp_1; + s.callLocIdx = 409; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P80435); + r0 = pxsim_pxtcore_mkAction(1, inline__P5957110); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + s.tmp_1 = tileworld_TileWorldVM_allSprites__P5956107_mk(s); + s.tmp_1.arg0 = s.arg0; + s.tmp_1.arg1 = s.tmp_0; + s.callLocIdx = 417; s.pc = 18; return s.tmp_1; + case 18: + r0 = s.retval; + r0 = pxsim_pxtcore_mkAction(1, inline__P5957158); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["vm"]; r0 = r0.fields["paintTile"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 407; s.pc = 18; return s.tmp_1; - case 18: + s.callLocIdx = 419; s.pc = 19; return s.tmp_1; + case 19: r0 = s.retval; - s.i___80469 = (0); + s.i___5957192 = (0); case 1: - s.tmp_1 = r0 = s.i___80469; + s.tmp_1 = r0 = s.i___5957192; r0 = s.arg0.fields["globalInsts"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -47898,32 +47922,32 @@ switch (step) { if (!r0) { step = 14; continue; } r0 = s.arg0.fields["globalInsts"]; s.tmp_4 = r0; - r0 = pxsim_Array__getAt(s.tmp_4, s.i___80469); - s.inst___80476 = (r0); + r0 = pxsim_Array__getAt(s.tmp_4, s.i___5957192); + s.inst___5957199 = (r0); r0 = s.arg0.fields["globalArgs"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.i___80469); - s.arg___80480 = (r0); - s.tmp_0 = r0 = s.inst___80476; + r0 = pxsim_Array__getAt(s.tmp_0, s.i___5957192); + s.arg___5957203 = (r0); + s.tmp_0 = r0 = s.inst___5957199; r0 = pxsim_pxtcore.switch_eq(4, s.tmp_0); if (r0) { step = 2; continue; } r0 = s.tmp_0; { step = 13; continue; } case 2: - r0 = (s.arg___80480 == 0); + r0 = (s.arg___5957203 == 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (!r0) { step = 3; continue; } r0 = s.tmp_1; { step = 4; continue; } case 3: - r0 = (s.arg___80480 == 1); + r0 = (s.arg___5957203 == 1); case 4: // jmp value (already in r0) s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 7; continue; } - r0 = (s.arg___80480 == 0); + r0 = (s.arg___5957203 == 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 5; continue; } @@ -47939,7 +47963,7 @@ switch (step) { r0 = (s.tmp_5).fields["game"] = (s.tmp_4); { step = 12; continue; } case 7: - r0 = (s.arg___80480 == 2); + r0 = (s.arg___5957203 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } @@ -47972,20 +47996,20 @@ switch (step) { case 11: case 12: case 13: - r0 = (s.i___80469 + 1); - s.i___80469 = (r0); + r0 = (s.i___5957192 + 1); + s.i___5957192 = (r0); { step = 1; continue; } case 14: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_updateWorld__P79467.info = {"start":16881,"length":2610,"line":387,"column":8,"endLine":443,"endColumn":9,"fileName":"vm.ts","functionName":"updateWorld","argumentNames":["this"]} +tileworld_TileWorldVM_updateWorld__P5956117.info = {"start":17823,"length":2661,"line":412,"column":8,"endLine":468,"endColumn":9,"fileName":"vm.ts","functionName":"updateWorld","argumentNames":["this"]} -function tileworld_TileWorldVM_updateWorld__P79467_mk(s) { +function tileworld_TileWorldVM_updateWorld__P5956117_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_updateWorld__P79467, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_updateWorld__P5956117, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47993,9 +48017,9 @@ function tileworld_TileWorldVM_updateWorld__P79467_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - i___80469: undefined, - inst___80476: undefined, - arg___80480: undefined, + i___5957192: undefined, + inst___5957199: undefined, + arg___5957203: undefined, arg0: undefined, } } @@ -48003,7 +48027,7 @@ function tileworld_TileWorldVM_updateWorld__P79467_mk(s) { -function inline__P80338(s) { +function inline__P5957065(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48028,24 +48052,24 @@ switch (step) { r0 = s.caps[0].fields["vm"]; r0 = r0.fields["changed"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_TileSprite_col__P79254_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P5955905_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 389; s.pc = 3; return s.tmp_2; + s.callLocIdx = 401; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_TileSprite_row__P79255_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P5955906_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 390; s.pc = 4; return s.tmp_4; + s.callLocIdx = 402; s.pc = 4; return s.tmp_4; case 4: r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, 1); - s.tmp_0 = Sprite_setFlag__P71959_mk(s); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = false; - s.callLocIdx = 391; s.pc = 5; return s.tmp_0; + s.callLocIdx = 403; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = s.arg0.fields["_kind"]; @@ -48054,9 +48078,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = scene_cameraFollowSprite__P72341_mk(s); + s.tmp_2 = scene_cameraFollowSprite__P2461_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 393; s.pc = 6; return s.tmp_2; + s.callLocIdx = 405; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; case 1: @@ -48065,12 +48089,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P80338.info = {"start":17012,"length":282,"line":390,"column":43,"endLine":396,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P5957065.info = {"start":18046,"length":282,"line":416,"column":43,"endLine":422,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P80338_mk(s) { +function inline__P5957065_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P80338, depth: s.depth + 1, + parent: s, fn: inline__P5957065, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48084,7 +48108,7 @@ function inline__P80338_mk(s) { -function inline__P80375(s) { +function inline__P5957098(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48101,15 +48125,15 @@ switch (step) { r0 = s.caps[0].fields["vm"]; r0 = r0.fields["changed"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_TileSprite_col__P79254_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P5955905_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 395; s.pc = 1; return s.tmp_2; + s.callLocIdx = 407; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_TileSprite_row__P79255_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P5955906_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 396; s.pc = 2; return s.tmp_4; + s.callLocIdx = 408; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -48118,12 +48142,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P80375.info = {"start":17433,"length":86,"line":399,"column":40,"endLine":401,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P5957098.info = {"start":18426,"length":86,"line":424,"column":40,"endLine":426,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P80375_mk(s) { +function inline__P5957098_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P80375, depth: s.depth + 1, + parent: s, fn: inline__P5957098, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48137,7 +48161,7 @@ function inline__P80375_mk(s) { -function inline__P80387(s) { +function inline__P5957110(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48151,9 +48175,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_TileSprite_update__P79256_mk(s); + s.tmp_0 = tileworld_TileSprite_update__P5955907_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 398; s.pc = 5; return s.tmp_0; + s.callLocIdx = 410; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = s.arg0.fields["dir"]; @@ -48178,15 +48202,15 @@ switch (step) { r0 = s.caps[0].fields["vm"]; r0 = r0.fields["changed"]; s.tmp_5 = r0; - s.tmp_7 = tileworld_TileSprite_col__P79254_mk(s); + s.tmp_7 = tileworld_TileSprite_col__P5955905_mk(s); s.tmp_7.arg0 = s.arg0; - s.callLocIdx = 399; s.pc = 6; return s.tmp_7; + s.callLocIdx = 411; s.pc = 6; return s.tmp_7; case 6: r0 = s.retval; s.tmp_6 = r0; - s.tmp_9 = tileworld_TileSprite_row__P79255_mk(s); + s.tmp_9 = tileworld_TileSprite_row__P5955906_mk(s); s.tmp_9.arg0 = s.arg0; - s.callLocIdx = 400; s.pc = 7; return s.tmp_9; + s.callLocIdx = 412; s.pc = 7; return s.tmp_9; case 7: r0 = s.retval; s.tmp_8 = r0; @@ -48194,31 +48218,31 @@ switch (step) { r0 = s.caps[0].fields["vm"]; r0 = r0.fields["changed"]; s.tmp_0 = r0; - s.tmp_3 = tileworld_TileSprite_col__P79254_mk(s); + s.tmp_3 = tileworld_TileSprite_col__P5955905_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 401; s.pc = 8; return s.tmp_3; + s.callLocIdx = 413; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; s.tmp_2 = r0; - s.tmp_5 = tileworld_moveXdelta__P73503_mk(s); + s.tmp_5 = tileworld_moveXdelta__P3623_mk(s); r0 = s.arg0.fields["dir"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 402; s.pc = 9; return s.tmp_5; + s.callLocIdx = 414; s.pc = 9; return s.tmp_5; case 9: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; - s.tmp_8 = tileworld_TileSprite_row__P79255_mk(s); + s.tmp_8 = tileworld_TileSprite_row__P5955906_mk(s); s.tmp_8.arg0 = s.arg0; - s.callLocIdx = 403; s.pc = 10; return s.tmp_8; + s.callLocIdx = 415; s.pc = 10; return s.tmp_8; case 10: r0 = s.retval; s.tmp_7 = r0; - s.tmp_10 = tileworld_moveYdelta__P73504_mk(s); + s.tmp_10 = tileworld_moveYdelta__P3624_mk(s); r0 = s.arg0.fields["dir"]; s.tmp_10.arg0 = r0; - s.callLocIdx = 404; s.pc = 11; return s.tmp_10; + s.callLocIdx = 416; s.pc = 11; return s.tmp_10; case 11: r0 = s.retval; s.tmp_9 = r0; @@ -48231,12 +48255,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P80387.info = {"start":17620,"length":475,"line":403,"column":28,"endLine":412,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P5957110.info = {"start":18613,"length":475,"line":428,"column":28,"endLine":437,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P80387_mk(s) { +function inline__P5957110_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P80387, depth: s.depth + 1, + parent: s, fn: inline__P5957110, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48256,7 +48280,7 @@ function inline__P80387_mk(s) { -function inline__P80435(s) { +function inline__P5957158(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48266,45 +48290,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___80437 = undefined; - s.old___80441 = undefined; + s.tm___5957160 = undefined; + s.old___5957164 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P72409_mk(s); - s.callLocIdx = 406; s.pc = 3; return s.tmp_0; + s.tmp_0 = game_currentScene__P2529_mk(s); + s.callLocIdx = 418; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___80437 = (r0); - s.tmp_0 = tiles_TileMap__C72197_v8_3_mk(s); - s.tmp_0.arg0 = s.tm___80437; + s.tm___5957160 = (r0); + s.tmp_0 = tiles_TileMap__C2317_v8_3_mk(s); + s.tmp_0.arg0 = s.tm___5957160; 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__C72197_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.getTileIndex; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.old___80441 = (r0); + s.old___5957164 = (r0); r0 = s.arg0.fields["kind"]; s.tmp_1 = r0; - r0 = (s.old___80441 != s.tmp_1); + r0 = (s.old___5957164 != s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = tiles_TileMap__C72197_v9_4_mk(s); - s.tmp_2.arg0 = s.tm___80437; + s.tmp_2 = tiles_TileMap__C2317_v9_4_mk(s); + s.tmp_2.arg0 = s.tm___5957160; r0 = s.arg0.fields["col"]; s.tmp_2.arg1 = r0; r0 = s.arg0.fields["row"]; s.tmp_2.arg2 = r0; r0 = s.arg0.fields["kind"]; s.tmp_2.arg3 = r0; - if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.setTileAt; s.pc = 5; return s.tmp_2; case 5: @@ -48323,18 +48347,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P80435.info = {"start":18205,"length":316,"line":414,"column":38,"endLine":421,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["pt"]} +inline__P5957158.info = {"start":19198,"length":316,"line":439,"column":38,"endLine":446,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["pt"]} -function inline__P80435_mk(s) { +function inline__P5957158_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P80435, depth: s.depth + 1, + parent: s, fn: inline__P5957158, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - tm___80437: undefined, - old___80441: undefined, + tm___5957160: undefined, + old___5957164: undefined, arg0: undefined, } } @@ -48342,7 +48366,7 @@ function inline__P80435_mk(s) { -function tiles_TileMap_setTileAt__P72211(s) { +function tiles_TileMap_setTileAt__P2331(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48360,13 +48384,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); - s.tmp_3 = tiles_TileMapData_isOutsideMap__P72196_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); + s.tmp_3 = tiles_TileMapData_isOutsideMap__P2316_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.arg2; - s.callLocIdx = 753; s.pc = 5; return s.tmp_3; + s.callLocIdx = 751; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2 = r0; @@ -48379,10 +48403,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_6 = tiles_TileMap__C72197_v10_2_mk(s); + s.tmp_6 = tiles_TileMap__C2317_v10_2_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = s.arg3; - if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C2317_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: @@ -48396,13 +48420,13 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 3; continue; } - s.tmp_8 = tiles_TileMapData_setTile__P72191_mk(s); + s.tmp_8 = tiles_TileMapData_setTile__P2311_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; s.tmp_8.arg2 = s.arg2; s.tmp_8.arg3 = s.arg3; - s.callLocIdx = 754; s.pc = 7; return s.tmp_8; + s.callLocIdx = 752; s.pc = 7; return s.tmp_8; case 7: r0 = s.retval; case 3: @@ -48411,12 +48435,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_setTileAt__P72211.info = {"start":7495,"length":209,"line":277,"column":8,"endLine":280,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTileAt","argumentNames":["this","col","row","index"]} +tiles_TileMap_setTileAt__P2331.info = {"start":7495,"length":209,"line":277,"column":8,"endLine":280,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTileAt","argumentNames":["this","col","row","index"]} -function tiles_TileMap_setTileAt__P72211_mk(s) { +function tiles_TileMap_setTileAt__P2331_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_setTileAt__P72211, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_setTileAt__P2331, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48437,7 +48461,7 @@ function tiles_TileMap_setTileAt__P72211_mk(s) { -function tiles_TileMap_isInvalidIndex__P74107(s) { +function tiles_TileMap_isInvalidIndex__P4227(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48453,7 +48477,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -48469,12 +48493,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isInvalidIndex__P74107.info = {"start":10071,"length":106,"line":343,"column":8,"endLine":345,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} +tiles_TileMap_isInvalidIndex__P4227.info = {"start":10071,"length":106,"line":343,"column":8,"endLine":345,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} -function tiles_TileMap_isInvalidIndex__P74107_mk(s) { +function tiles_TileMap_isInvalidIndex__P4227_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isInvalidIndex__P74107, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isInvalidIndex__P4227, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48486,7 +48510,7 @@ function tiles_TileMap_isInvalidIndex__P74107_mk(s) { -function tiles_TileMapData_setTile__P72191(s) { +function tiles_TileMapData_setTile__P2311(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48504,12 +48528,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C72184_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P72196_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C2304_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P2316_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 735; s.pc = 6; return s.tmp_1; + s.callLocIdx = 733; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0 = r0; @@ -48552,12 +48576,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_setTile__P72191.info = {"start":4207,"length":315,"line":158,"column":8,"endLine":166,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTile","argumentNames":["this","col","row","tile"]} +tiles_TileMapData_setTile__P2311.info = {"start":4207,"length":315,"line":158,"column":8,"endLine":166,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTile","argumentNames":["this","col","row","tile"]} -function tiles_TileMapData_setTile__P72191_mk(s) { +function tiles_TileMapData_setTile__P2311_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_setTile__P72191, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_setTile__P2311, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48576,7 +48600,7 @@ function tiles_TileMapData_setTile__P72191_mk(s) { -function tileworld_TileSprite_update__P79256(s) { +function tileworld_TileSprite_update__P5955907(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48591,7 +48615,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileSprite__C79252_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileSprite__C5955903_VT)) failedCast(r0); r0 = s.arg0.fields["dir"]; s.tmp_0 = r0; r0 = (s.arg0).fields["lastDir"] = (s.tmp_0); @@ -48646,7 +48670,7 @@ switch (step) { case 8: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = Sprite_vx__P71910_mk(s); + s.tmp_6 = Sprite_vx__P2030_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = s.tmp_5; s.callLocIdx = 292; s.pc = 13; return s.tmp_6; @@ -48678,7 +48702,7 @@ switch (step) { case 12: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = Sprite_vy__P71912_mk(s); + s.tmp_6 = Sprite_vy__P2032_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = s.tmp_5; s.callLocIdx = 293; s.pc = 14; return s.tmp_6; @@ -48688,12 +48712,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileSprite_update__P79256.info = {"start":1240,"length":442,"line":30,"column":8,"endLine":36,"endColumn":9,"fileName":"vm.ts","functionName":"update","argumentNames":["this"]} +tileworld_TileSprite_update__P5955907.info = {"start":1200,"length":442,"line":30,"column":8,"endLine":36,"endColumn":9,"fileName":"vm.ts","functionName":"update","argumentNames":["this"]} -function tileworld_TileSprite_update__P79256_mk(s) { +function tileworld_TileSprite_update__P5955907_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileSprite_update__P79256, depth: s.depth + 1, + parent: s, fn: tileworld_TileSprite_update__P5955907, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48709,7 +48733,7 @@ function tileworld_TileSprite_update__P79256_mk(s) { -function tileworld_TileWorldVM_collisionDetection__P79464(s) { +function tileworld_TileWorldVM_collisionDetection__P5956115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48719,72 +48743,55 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rcs___80046 = undefined; - s.wcol___80053 = undefined; - s.wrow___80062 = undefined; - s.tm___80077 = undefined; + s.rcs___5956727 = undefined; + s.wcol___5956729 = undefined; + s.wrow___5956738 = undefined; + s.tm___5956753 = 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__C79451_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.rcs___80046 = (r0); - s.tmp_3 = tileworld_TileWorldVM_moving__P79463_mk(s); - s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 342; s.pc = 6; return s.tmp_3; - case 6: + s.rcs___5956727 = (r0); + s.tmp_1 = tileworld_TileSprite_col__P5955905_mk(s); + s.tmp_1.arg0 = s.arg1; + s.callLocIdx = 347; s.pc = 4; return s.tmp_1; + case 4: 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 = 1; continue; } - r0 = s.rcs___80046; - { step = 5; continue; } - case 1: - case 2: - s.tmp_5 = tileworld_TileSprite_col__P79254_mk(s); - s.tmp_5.arg0 = s.arg1; - s.callLocIdx = 343; s.pc = 7; return s.tmp_5; - case 7: - r0 = s.retval; - s.tmp_4 = r0; - s.tmp_7 = tileworld_moveXdelta__P73503_mk(s); + s.tmp_3 = tileworld_moveXdelta__P3623_mk(s); r0 = s.arg1.fields["arg"]; - s.tmp_7.arg0 = r0; - s.callLocIdx = 344; s.pc = 8; return s.tmp_7; - case 8: + s.tmp_3.arg0 = r0; + s.callLocIdx = 348; s.pc = 5; return s.tmp_3; + case 5: r0 = s.retval; - s.tmp_6 = r0; - r0 = (s.tmp_4 + s.tmp_6); - s.wcol___80053 = (r0); - s.tmp_1 = tileworld_TileSprite_row__P79255_mk(s); + s.tmp_2 = r0; + r0 = (s.tmp_0 + s.tmp_2); + s.wcol___5956729 = (r0); + s.tmp_1 = tileworld_TileSprite_row__P5955906_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 345; s.pc = 9; return s.tmp_1; - case 9: + s.callLocIdx = 349; s.pc = 6; return s.tmp_1; + case 6: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = tileworld_moveYdelta__P73504_mk(s); + s.tmp_3 = tileworld_moveYdelta__P3624_mk(s); r0 = s.arg1.fields["arg"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 346; s.pc = 10; return s.tmp_3; - case 10: + s.callLocIdx = 350; s.pc = 7; return s.tmp_3; + case 7: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.wrow___80062 = (r0); - s.tmp_3 = tileworld_TileWorldVM_inBounds__P79470_mk(s); + s.wrow___5956738 = (r0); + s.tmp_3 = tileworld_TileWorldVM_inBounds__P5956120_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.wcol___80053; - s.tmp_3.arg2 = s.wrow___80062; - s.callLocIdx = 347; s.pc = 11; return s.tmp_3; - case 11: + s.tmp_3.arg1 = s.wcol___5956729; + s.tmp_3.arg2 = s.wrow___5956738; + s.callLocIdx = 351; s.pc = 8; return s.tmp_3; + case 8: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -48792,56 +48799,53 @@ switch (step) { r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 3; continue; } - r0 = s.rcs___80046; - { step = 5; continue; } - case 3: - case 4: - s.tmp_4 = game_currentScene__P72409_mk(s); - s.callLocIdx = 348; s.pc = 12; return s.tmp_4; - case 12: + if (!r0) { step = 1; continue; } + r0 = s.rcs___5956727; + { step = 3; continue; } + case 1: + case 2: + s.tmp_4 = game_currentScene__P2529_mk(s); + s.callLocIdx = 352; s.pc = 9; return s.tmp_4; + case 9: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___80077 = (r0); - r0 = pxsim_pxtcore_mkAction(6, inline__P80083); + s.tm___5956753 = (r0); + r0 = pxsim_pxtcore_mkAction(6, inline__P5956759); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.tm___80077); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.wcol___80053); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.wrow___80062); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.rcs___80046); - s.tmp_1 = tileworld_TileWorldVM_collidingRules__P79462_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.wcol___5956729); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.wrow___5956738); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.rcs___5956727); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.tm___5956753); + s.tmp_1 = tileworld_TileWorldVM_collidingRules__P5956113_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 386; s.pc = 13; return s.tmp_1; - case 13: + s.callLocIdx = 397; s.pc = 10; return s.tmp_1; + case 10: r0 = s.retval; - r0 = s.rcs___80046; - case 5: + r0 = s.rcs___5956727; + case 3: return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_collisionDetection__P79464.info = {"start":13124,"length":3389,"line":309,"column":8,"endLine":374,"endColumn":9,"fileName":"vm.ts","functionName":"collisionDetection","argumentNames":["this","ts"]} +tileworld_TileWorldVM_collisionDetection__P5956115.info = {"start":13475,"length":4045,"line":320,"column":8,"endLine":403,"endColumn":9,"fileName":"vm.ts","functionName":"collisionDetection","argumentNames":["this","ts"]} -function tileworld_TileWorldVM_collisionDetection__P79464_mk(s) { +function tileworld_TileWorldVM_collisionDetection__P5956115_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_collisionDetection__P79464, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_collisionDetection__P5956115, depth: s.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, - rcs___80046: undefined, - wcol___80053: undefined, - wrow___80062: undefined, - tm___80077: undefined, + rcs___5956727: undefined, + wcol___5956729: undefined, + wrow___5956738: undefined, + tm___5956753: undefined, arg0: undefined, arg1: undefined, } } @@ -48850,7 +48854,7 @@ function tileworld_TileWorldVM_collisionDetection__P79464_mk(s) { -function inline__P80083(s) { +function inline__P5956759(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48860,50 +48864,80 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___80085 = undefined; - s.includePassed___80104 = undefined; - s.kind___80105 = undefined; - s.hasInclude___80136 = undefined; - s.kind___80137 = undefined; + s.wd___5956761 = undefined; + s.includePassed___5956816 = undefined; + s.kind___5956817 = undefined; + s.hasInclude___5956848 = undefined; + s.kind___5956849 = undefined; + s.process___5956868 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleView_getWhenDo__P73528_mk(s); + s.tmp_0 = tileworld_RuleView_getWhenDo__P3648_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = tileworld_moveXdelta__P73503_mk(s); + s.tmp_2 = tileworld_moveXdelta__P3623_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 349; s.pc = 17; return s.tmp_2; - case 17: + s.callLocIdx = 353; s.pc = 19; return s.tmp_2; + case 19: r0 = s.retval; s.tmp_1 = r0; r0 = (2 + s.tmp_1); s.tmp_0.arg1 = r0; - s.tmp_4 = tileworld_moveYdelta__P73504_mk(s); + s.tmp_4 = tileworld_moveYdelta__P3624_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 350; s.pc = 18; return s.tmp_4; - case 18: + s.callLocIdx = 354; s.pc = 20; return s.tmp_4; + case 20: r0 = s.retval; s.tmp_3 = r0; r0 = (2 + s.tmp_3); s.tmp_0.arg2 = r0; - s.callLocIdx = 351; s.pc = 16; return s.tmp_0; - case 16: + s.callLocIdx = 355; s.pc = 18; return s.tmp_0; + case 18: r0 = s.retval; - s.wd___80085 = (r0); - r0 = (s.wd___80085 == -1); + s.wd___5956761 = (r0); + r0 = (s.wd___5956761 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - { step = 15; continue; } + { step = 17; continue; } case 1: case 2: - s.includePassed___80104 = (false); - s.kind___80105 = (0); + r0 = s.caps[1].fields["vm"]; + r0 = r0.fields["newresting"]; + s.tmp_3 = r0; + r0 = pxsim_Array__length(s.tmp_3); + 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; } + r0 = pxsim_pxtcore_mkAction(7, inline__P5956789); + s.tmp_4 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.caps[2]); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.caps[3]); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 2, s.arg0); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 3, s.wd___5956761); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 4, s.caps[1]); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 5, s.caps[0]); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 6, s.caps[4]); + s.tmp_5 = helpers_arrayForEach__P107_mk(s); + r0 = s.caps[1].fields["vm"]; + r0 = r0.fields["newresting"]; + s.tmp_5.arg0 = r0; + s.tmp_5.arg1 = s.tmp_4; + s.callLocIdx = 361; s.pc = 21; return s.tmp_5; + case 21: + r0 = s.retval; + { step = 17; continue; } case 3: - s.tmp_1 = r0 = s.kind___80105; + case 4: + s.includePassed___5956816 = (false); + s.kind___5956817 = (0); + case 5: + s.tmp_1 = r0 = s.kind___5956817; r0 = s.caps[1].fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_backgroundsI"]; @@ -48913,59 +48947,59 @@ switch (step) { r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 8; continue; } - s.tmp_7 = tileworld_RuleView_getSetBgAttr__P73532_mk(s); + if (!r0) { step = 10; continue; } + s.tmp_7 = tileworld_RuleView_getSetBgAttr__P3652_mk(s); s.tmp_7.arg0 = s.arg0; - s.tmp_7.arg1 = s.wd___80085; - s.tmp_7.arg2 = s.kind___80105; + s.tmp_7.arg1 = s.wd___5956761; + s.tmp_7.arg2 = s.kind___5956817; s.tmp_7.arg3 = 65535; - s.callLocIdx = 353; s.pc = 19; return s.tmp_7; - case 19: + s.callLocIdx = 363; s.pc = 22; return s.tmp_7; + case 22: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 == 1); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); - if (!r0) { step = 6; continue; } - s.tmp_10 = tiles_TileMap__C72197_v8_3_mk(s); - s.tmp_10.arg0 = s.caps[2]; - s.tmp_10.arg1 = s.caps[3]; - s.tmp_10.arg2 = s.caps[4]; - if (!checkSubtype(s.tmp_10.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_10.arg0); + if (!r0) { step = 8; continue; } + s.tmp_10 = tiles_TileMap__C2317_v8_3_mk(s); + s.tmp_10.arg0 = s.caps[5]; + s.tmp_10.arg1 = s.caps[2]; + s.tmp_10.arg2 = s.caps[3]; + if (!checkSubtype(s.tmp_10.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_10.arg0); s.tmp_10.fn = s.tmp_10.arg0.vtable.methods.getTileIndex; - s.pc = 20; return s.tmp_10; - case 20: + s.pc = 23; return s.tmp_10; + case 23: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 == s.kind___80105); + r0 = (s.tmp_9 == s.kind___5956817); s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); - if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C79445_VT); + if (!r0) { step = 6; continue; } + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C5956096_VT); s.tmp_11 = r0; - s.tmp_12 = tileworld_RuleClosure_constructor__P79446_mk(s); + s.tmp_12 = tileworld_RuleClosure_constructor__P5956097_mk(s); s.tmp_12.arg0 = s.tmp_11; s.tmp_12.arg1 = s.arg0; s.tmp_12.arg2 = s.caps[0]; r0 = pxsim_Array__mk(); s.tmp_12.arg3 = r0; - s.callLocIdx = 354; s.pc = 21; return s.tmp_12; - case 21: + s.callLocIdx = 364; s.pc = 24; return s.tmp_12; + case 24: r0 = s.retval; - r0 = pxsim_Array__push(s.caps[5], s.tmp_11); - { step = 15; continue; } - case 4: - case 5: + r0 = pxsim_Array__push(s.caps[4], s.tmp_11); + { step = 17; continue; } case 6: case 7: - r0 = (s.kind___80105 + 1); - s.kind___80105 = (r0); - { step = 3; continue; } case 8: - s.hasInclude___80136 = (false); - s.kind___80137 = (0); case 9: - s.tmp_1 = r0 = s.kind___80137; + r0 = (s.kind___5956817 + 1); + s.kind___5956817 = (r0); + { step = 5; continue; } + case 10: + s.hasInclude___5956848 = (false); + s.kind___5956849 = (0); + case 11: + s.tmp_1 = r0 = s.kind___5956849; r0 = s.caps[1].fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_spritesI"]; @@ -48975,62 +49009,71 @@ switch (step) { r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 12; continue; } - s.tmp_7 = tileworld_RuleView_getSetSpAttr__P73533_mk(s); + if (!r0) { step = 14; continue; } + s.tmp_7 = tileworld_RuleView_getSetSpAttr__P3653_mk(s); s.tmp_7.arg0 = s.arg0; - s.tmp_7.arg1 = s.wd___80085; - s.tmp_7.arg2 = s.kind___80137; + s.tmp_7.arg1 = s.wd___5956761; + s.tmp_7.arg2 = s.kind___5956849; s.tmp_7.arg3 = 65535; - s.callLocIdx = 356; s.pc = 22; return s.tmp_7; - case 22: + s.callLocIdx = 366; s.pc = 25; return s.tmp_7; + case 25: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 == 1); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); - if (!r0) { step = 10; continue; } - s.hasInclude___80136 = (true); - case 10: - case 11: - r0 = (s.kind___80137 + 1); - s.kind___80137 = (r0); - { step = 9; continue; } + if (!r0) { step = 12; continue; } + s.hasInclude___5956848 = (true); case 12: - r0 = pxsim_numops_toBoolDecr(s.hasInclude___80136); + case 13: + r0 = (s.kind___5956849 + 1); + s.kind___5956849 = (r0); + { step = 11; continue; } + case 14: + r0 = pxsim_numops_toBoolDecr(s.hasInclude___5956848); 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 = 13; continue; } - { step = 15; continue; } - case 13: - case 14: - r0 = pxsim_pxtcore_mkAction(7, inline__P80157); + if (!r0) { step = 15; continue; } + { step = 17; continue; } + case 15: + case 16: + r0 = pxsim_pxtcore_mkAction(7, inline__P5956869); s.tmp_2 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.caps[0]); r0 = pxsim_pxtrt_stclo(s.tmp_2, 1, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_2, 2, s.wd___80085); - r0 = pxsim_pxtrt_stclo(s.tmp_2, 3, s.caps[3]); - r0 = pxsim_pxtrt_stclo(s.tmp_2, 4, s.caps[4]); + r0 = pxsim_pxtrt_stclo(s.tmp_2, 2, s.wd___5956761); + r0 = pxsim_pxtrt_stclo(s.tmp_2, 3, s.caps[2]); + r0 = pxsim_pxtrt_stclo(s.tmp_2, 4, s.caps[3]); r0 = pxsim_pxtrt_stclo(s.tmp_2, 5, s.caps[1]); - r0 = pxsim_pxtrt_stclo(s.tmp_2, 6, s.caps[5]); - s.tmp_3 = tileworld_TileWorldVM_allSprites__P79456_mk(s); - s.tmp_3.arg0 = s.caps[1]; - s.tmp_3.arg1 = s.tmp_2; - s.callLocIdx = 385; s.pc = 23; return s.tmp_3; - case 23: + r0 = pxsim_pxtrt_stclo(s.tmp_2, 6, s.caps[4]); + s.process___5956868 = (s.tmp_2); + s.tmp_0 = tileworld_TileWorldVM_allSprites__P5956107_mk(s); + s.tmp_0.arg0 = s.caps[1]; + s.tmp_0.arg1 = s.process___5956868; + s.callLocIdx = 395; s.pc = 26; return s.tmp_0; + case 26: r0 = s.retval; - case 15: + s.tmp_0 = helpers_arrayForEach__P107_mk(s); + r0 = s.caps[1].fields["vm"]; + r0 = r0.fields["captureSpawned"]; + s.tmp_0.arg0 = r0; + s.tmp_0.arg1 = s.process___5956868; + s.callLocIdx = 396; s.pc = 27; return s.tmp_0; + case 27: + r0 = s.retval; + case 17: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P80083.info = {"start":13524,"length":2953,"line":317,"column":36,"endLine":372,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} +inline__P5956759.info = {"start":13829,"length":3655,"line":327,"column":36,"endLine":401,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} -function inline__P80083_mk(s) { +function inline__P5956759_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P80083, depth: s.depth + 1, + parent: s, fn: inline__P5956759, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49045,11 +49088,109 @@ function inline__P80083_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - wd___80085: undefined, - includePassed___80104: undefined, - kind___80105: undefined, - hasInclude___80136: undefined, - kind___80137: undefined, + wd___5956761: undefined, + includePassed___5956816: undefined, + kind___5956817: undefined, + hasInclude___5956848: undefined, + kind___5956849: undefined, + process___5956868: undefined, + arg0: undefined, +} } + + + + + +function inline__P5956789(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + s.tmp_2 = tileworld_TileSprite_col__P5955905_mk(s); + s.tmp_2.arg0 = s.arg0; + s.callLocIdx = 356; s.pc = 7; return s.tmp_2; + case 7: + r0 = s.retval; + s.tmp_1 = r0; + r0 = (s.tmp_1 == s.caps[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: + s.tmp_4 = tileworld_TileSprite_row__P5955906_mk(s); + s.tmp_4.arg0 = s.arg0; + s.callLocIdx = 357; s.pc = 8; return s.tmp_4; + case 8: + r0 = s.retval; + s.tmp_3 = r0; + r0 = (s.tmp_3 == s.caps[1]); + case 2: + // jmp value (already in r0) + s.tmp_5 = r0; + r0 = pxsim_numops_toBool(s.tmp_5); + if (r0) { step = 3; continue; } + r0 = s.tmp_5; + { step = 4; continue; } + case 3: + s.tmp_7 = tileworld_RuleView_getSetSpAttr__P3653_mk(s); + s.tmp_7.arg0 = s.caps[2]; + s.tmp_7.arg1 = s.caps[3]; + r0 = s.arg0.fields["_kind"]; + s.tmp_7.arg2 = r0; + s.tmp_7.arg3 = 65535; + s.callLocIdx = 359; s.pc = 9; return s.tmp_7; + case 9: + r0 = s.retval; + s.tmp_6 = r0; + r0 = (s.tmp_6 == 1); + case 4: + // jmp value (already in r0) + s.tmp_8 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_8); + if (!r0) { step = 5; continue; } + s.tmp_9 = tileworld_TileWorldVM_collide__P5956116_mk(s); + s.tmp_9.arg0 = s.caps[4]; + s.tmp_9.arg1 = s.caps[2]; + s.tmp_9.arg2 = s.caps[5]; + s.tmp_9.arg3 = s.arg0; + s.tmp_9.arg4 = s.caps[6]; + s.callLocIdx = 360; s.pc = 10; return s.tmp_9; + case 10: + r0 = s.retval; + case 5: + case 6: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +inline__P5956789.info = {"start":14155,"length":237,"line":334,"column":47,"endLine":338,"endColumn":21,"fileName":"vm.ts","functionName":"inline","argumentNames":["os"]} + +function inline__P5956789_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P5956789, depth: s.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, } } @@ -49057,7 +49198,7 @@ function inline__P80083_mk(s) { -function inline__P80157(s) { +function inline__P5956869(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49067,10 +49208,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftRotate___80199 = undefined; - s.osCol___80204 = undefined; - s.osRow___80210 = undefined; - s.rightRotate___80237 = undefined; + s.leftRotate___5956911 = undefined; + s.osCol___5956916 = undefined; + s.osRow___5956922 = undefined; + s.rightRotate___5956949 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -49082,13 +49223,13 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = tileworld_RuleView_getSetSpAttr__P73533_mk(s); + s.tmp_2 = tileworld_RuleView_getSetSpAttr__P3653_mk(s); s.tmp_2.arg0 = s.caps[1]; s.tmp_2.arg1 = s.caps[2]; r0 = s.arg0.fields["_kind"]; s.tmp_2.arg2 = r0; s.tmp_2.arg3 = 65535; - s.callLocIdx = 358; s.pc = 34; return s.tmp_2; + s.callLocIdx = 368; s.pc = 34; return s.tmp_2; case 34: r0 = s.retval; s.tmp_1 = r0; @@ -49101,9 +49242,9 @@ switch (step) { { step = 33; continue; } case 3: case 4: - s.tmp_6 = tileworld_TileSprite_col__P79254_mk(s); + s.tmp_6 = tileworld_TileSprite_col__P5955905_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 359; s.pc = 35; return s.tmp_6; + s.callLocIdx = 369; s.pc = 35; return s.tmp_6; case 35: r0 = s.retval; s.tmp_5 = r0; @@ -49114,9 +49255,9 @@ switch (step) { r0 = s.tmp_4; { step = 6; continue; } case 5: - s.tmp_8 = tileworld_TileSprite_row__P79255_mk(s); + s.tmp_8 = tileworld_TileSprite_row__P5955906_mk(s); s.tmp_8.arg0 = s.arg0; - s.callLocIdx = 360; s.pc = 36; return s.tmp_8; + s.callLocIdx = 370; s.pc = 36; return s.tmp_8; case 36: r0 = s.retval; s.tmp_7 = r0; @@ -49126,10 +49267,10 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 11; continue; } - s.tmp_13 = tileworld_TileWorldVM_moving__P79463_mk(s); + s.tmp_13 = tileworld_TileWorldVM_moving__P5956114_mk(s); s.tmp_13.arg0 = s.caps[5]; s.tmp_13.arg1 = s.arg0; - s.callLocIdx = 361; s.pc = 37; return s.tmp_13; + s.callLocIdx = 371; s.pc = 37; return s.tmp_13; case 37: r0 = s.retval; s.tmp_12 = r0; @@ -49156,74 +49297,74 @@ switch (step) { s.tmp_18 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_18); if (!r0) { step = 9; continue; } - s.tmp_19 = tileworld_TileWorldVM_collide__P79466_mk(s); + s.tmp_19 = tileworld_TileWorldVM_collide__P5956116_mk(s); s.tmp_19.arg0 = s.caps[5]; s.tmp_19.arg1 = s.caps[1]; s.tmp_19.arg2 = s.caps[0]; s.tmp_19.arg3 = s.arg0; s.tmp_19.arg4 = s.caps[6]; - s.callLocIdx = 363; s.pc = 38; return s.tmp_19; + s.callLocIdx = 373; s.pc = 38; return s.tmp_19; case 38: r0 = s.retval; case 9: case 10: case 11: case 12: - s.tmp_1 = tileworld_TileWorldVM_moving__P79463_mk(s); + s.tmp_1 = tileworld_TileWorldVM_moving__P5956114_mk(s); s.tmp_1.arg0 = s.caps[5]; s.tmp_1.arg1 = s.arg0; - s.callLocIdx = 364; s.pc = 39; return s.tmp_1; + s.callLocIdx = 374; s.pc = 39; return s.tmp_1; case 39: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - s.tmp_2 = tileworld_flipRotateDir__P73506_mk(s); + s.tmp_2 = tileworld_flipRotateDir__P3626_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 3; - s.callLocIdx = 365; s.pc = 40; return s.tmp_2; + s.callLocIdx = 375; s.pc = 40; return s.tmp_2; case 40: r0 = s.retval; - s.leftRotate___80199 = (r0); + s.leftRotate___5956911 = (r0); s.tmp_0 = r0 = s.caps[3]; - s.tmp_2 = tileworld_moveXdelta__P73503_mk(s); - s.tmp_2.arg0 = s.leftRotate___80199; - s.callLocIdx = 366; s.pc = 41; return s.tmp_2; + s.tmp_2 = tileworld_moveXdelta__P3623_mk(s); + s.tmp_2.arg0 = s.leftRotate___5956911; + s.callLocIdx = 376; s.pc = 41; return s.tmp_2; case 41: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.osCol___80204 = (r0); + s.osCol___5956916 = (r0); s.tmp_0 = r0 = s.caps[4]; - s.tmp_2 = tileworld_moveYdelta__P73504_mk(s); - s.tmp_2.arg0 = s.leftRotate___80199; - s.callLocIdx = 367; s.pc = 42; return s.tmp_2; + s.tmp_2 = tileworld_moveYdelta__P3624_mk(s); + s.tmp_2.arg0 = s.leftRotate___5956911; + s.callLocIdx = 377; s.pc = 42; return s.tmp_2; case 42: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.osRow___80210 = (r0); - s.tmp_2 = tileworld_TileSprite_col__P79254_mk(s); + s.osRow___5956922 = (r0); + s.tmp_2 = tileworld_TileSprite_col__P5955905_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 368; s.pc = 43; return s.tmp_2; + s.callLocIdx = 378; s.pc = 43; return s.tmp_2; case 43: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.osCol___80204); + r0 = (s.tmp_1 == s.osCol___5956916); 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_4 = tileworld_TileSprite_row__P79255_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P5955906_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 369; s.pc = 44; return s.tmp_4; + s.callLocIdx = 379; s.pc = 44; return s.tmp_4; case 44: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 == s.osRow___80210); + r0 = (s.tmp_3 == s.osRow___5956922); case 14: // jmp value (already in r0) s.tmp_5 = r0; @@ -49234,7 +49375,7 @@ switch (step) { case 15: r0 = s.arg0.fields["arg"]; s.tmp_6 = r0; - r0 = (s.leftRotate___80199 + 2); + r0 = (s.leftRotate___5956911 + 2); s.tmp_8 = r0; r0 = (s.tmp_8 % 4); s.tmp_7 = r0; @@ -49244,63 +49385,63 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 17; continue; } - s.tmp_10 = tileworld_TileWorldVM_collide__P79466_mk(s); + s.tmp_10 = tileworld_TileWorldVM_collide__P5956116_mk(s); s.tmp_10.arg0 = s.caps[5]; s.tmp_10.arg1 = s.caps[1]; s.tmp_10.arg2 = s.caps[0]; s.tmp_10.arg3 = s.arg0; s.tmp_10.arg4 = s.caps[6]; - s.callLocIdx = 371; s.pc = 45; return s.tmp_10; + s.callLocIdx = 381; s.pc = 45; return s.tmp_10; case 45: r0 = s.retval; case 17: case 18: - s.tmp_0 = tileworld_flipRotateDir__P73506_mk(s); + s.tmp_0 = tileworld_flipRotateDir__P3626_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 5; - s.callLocIdx = 372; s.pc = 46; return s.tmp_0; + s.callLocIdx = 382; s.pc = 46; return s.tmp_0; case 46: r0 = s.retval; - s.rightRotate___80237 = (r0); + s.rightRotate___5956949 = (r0); s.tmp_0 = r0 = s.caps[3]; - s.tmp_2 = tileworld_moveXdelta__P73503_mk(s); - s.tmp_2.arg0 = s.rightRotate___80237; - s.callLocIdx = 373; s.pc = 47; return s.tmp_2; + s.tmp_2 = tileworld_moveXdelta__P3623_mk(s); + s.tmp_2.arg0 = s.rightRotate___5956949; + s.callLocIdx = 383; s.pc = 47; return s.tmp_2; case 47: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.osCol___80204 = (r0); + s.osCol___5956916 = (r0); s.tmp_0 = r0 = s.caps[4]; - s.tmp_2 = tileworld_moveYdelta__P73504_mk(s); - s.tmp_2.arg0 = s.rightRotate___80237; - s.callLocIdx = 374; s.pc = 48; return s.tmp_2; + s.tmp_2 = tileworld_moveYdelta__P3624_mk(s); + s.tmp_2.arg0 = s.rightRotate___5956949; + s.callLocIdx = 384; s.pc = 48; return s.tmp_2; case 48: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.osRow___80210 = (r0); - s.tmp_2 = tileworld_TileSprite_col__P79254_mk(s); + s.osRow___5956922 = (r0); + s.tmp_2 = tileworld_TileSprite_col__P5955905_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 375; s.pc = 49; return s.tmp_2; + s.callLocIdx = 385; s.pc = 49; return s.tmp_2; case 49: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.osCol___80204); + r0 = (s.tmp_1 == s.osCol___5956916); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 19; continue; } r0 = s.tmp_0; { step = 20; continue; } case 19: - s.tmp_4 = tileworld_TileSprite_row__P79255_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P5955906_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 376; s.pc = 50; return s.tmp_4; + s.callLocIdx = 386; s.pc = 50; return s.tmp_4; case 50: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 == s.osRow___80210); + r0 = (s.tmp_3 == s.osRow___5956922); case 20: // jmp value (already in r0) s.tmp_5 = r0; @@ -49311,7 +49452,7 @@ switch (step) { case 21: r0 = s.arg0.fields["arg"]; s.tmp_6 = r0; - r0 = (s.rightRotate___80237 + 2); + r0 = (s.rightRotate___5956949 + 2); s.tmp_8 = r0; r0 = (s.tmp_8 % 4); s.tmp_7 = r0; @@ -49321,57 +49462,57 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 23; continue; } - s.tmp_10 = tileworld_TileWorldVM_collide__P79466_mk(s); + s.tmp_10 = tileworld_TileWorldVM_collide__P5956116_mk(s); s.tmp_10.arg0 = s.caps[5]; s.tmp_10.arg1 = s.caps[1]; s.tmp_10.arg2 = s.caps[0]; s.tmp_10.arg3 = s.arg0; s.tmp_10.arg4 = s.caps[6]; - s.callLocIdx = 378; s.pc = 51; return s.tmp_10; + s.callLocIdx = 388; s.pc = 51; return s.tmp_10; case 51: r0 = s.retval; case 23: case 24: s.tmp_0 = r0 = s.caps[3]; - s.tmp_2 = tileworld_moveXdelta__P73503_mk(s); + s.tmp_2 = tileworld_moveXdelta__P3623_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 379; s.pc = 52; return s.tmp_2; + s.callLocIdx = 389; s.pc = 52; return s.tmp_2; case 52: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.osCol___80204 = (r0); + s.osCol___5956916 = (r0); s.tmp_0 = r0 = s.caps[4]; - s.tmp_2 = tileworld_moveYdelta__P73504_mk(s); + s.tmp_2 = tileworld_moveYdelta__P3624_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 380; s.pc = 53; return s.tmp_2; + s.callLocIdx = 390; s.pc = 53; return s.tmp_2; case 53: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.osRow___80210 = (r0); - s.tmp_2 = tileworld_TileSprite_col__P79254_mk(s); + s.osRow___5956922 = (r0); + s.tmp_2 = tileworld_TileSprite_col__P5955905_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 381; s.pc = 54; return s.tmp_2; + s.callLocIdx = 391; s.pc = 54; return s.tmp_2; case 54: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.osCol___80204); + r0 = (s.tmp_1 == s.osCol___5956916); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 25; continue; } r0 = s.tmp_0; { step = 26; continue; } case 25: - s.tmp_4 = tileworld_TileSprite_row__P79255_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P5955906_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 382; s.pc = 55; return s.tmp_4; + s.callLocIdx = 392; s.pc = 55; return s.tmp_4; case 55: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 == s.osRow___80210); + r0 = (s.tmp_3 == s.osRow___5956922); case 26: // jmp value (already in r0) s.tmp_5 = r0; @@ -49394,13 +49535,13 @@ switch (step) { s.tmp_10 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_10); if (!r0) { step = 29; continue; } - s.tmp_11 = tileworld_TileWorldVM_collide__P79466_mk(s); + s.tmp_11 = tileworld_TileWorldVM_collide__P5956116_mk(s); s.tmp_11.arg0 = s.caps[5]; s.tmp_11.arg1 = s.caps[1]; s.tmp_11.arg2 = s.caps[0]; s.tmp_11.arg3 = s.arg0; s.tmp_11.arg4 = s.caps[6]; - s.callLocIdx = 384; s.pc = 56; return s.tmp_11; + s.callLocIdx = 394; s.pc = 56; return s.tmp_11; case 56: r0 = s.retval; case 29: @@ -49412,12 +49553,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P80157.info = {"start":14771,"length":1690,"line":342,"column":32,"endLine":371,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["os"]} +inline__P5956869.info = {"start":15452,"length":1703,"line":365,"column":30,"endLine":394,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["os"]} -function inline__P80157_mk(s) { +function inline__P5956869_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P80157, depth: s.depth + 1, + parent: s, fn: inline__P5956869, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49439,10 +49580,10 @@ function inline__P80157_mk(s) { tmp_17: undefined, tmp_18: undefined, tmp_19: undefined, - leftRotate___80199: undefined, - osCol___80204: undefined, - osRow___80210: undefined, - rightRotate___80237: undefined, + leftRotate___5956911: undefined, + osCol___5956916: undefined, + osRow___5956922: undefined, + rightRotate___5956949: undefined, arg0: undefined, } } @@ -49450,7 +49591,7 @@ function inline__P80157_mk(s) { -function tileworld_TileWorldVM_collide__P79466(s) { +function tileworld_oppDir__P3625(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49463,53 +49604,89 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.arg3 = (s.lambdaArgs[3]); - s.arg4 = (s.lambdaArgs[4]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C79445_VT); + r0 = (s.arg0 + 2); + s.tmp_1 = r0; + r0 = (s.tmp_1 % 4); s.tmp_0 = r0; - r0 = pxsim_Array__mk(); + r0 = (s.tmp_0 == s.arg1); + return leave(s, r0) + default: oops() +} } } +tileworld_oppDir__P3625.info = {"start":5124,"length":109,"line":140,"column":4,"endLine":142,"endColumn":5,"fileName":"rule.ts","functionName":"oppDir","argumentNames":["dir","dir2"]} + +function tileworld_oppDir__P3625_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: tileworld_oppDir__P3625, 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 tileworld_TileWorldVM_moving__P5956114(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); + r0 = s.arg1.fields["inst"]; s.tmp_1 = r0; - r0 = pxsim_Array__push(s.tmp_1, s.arg3); - s.tmp_2 = tileworld_RuleClosure_constructor__P79446_mk(s); - s.tmp_2.arg0 = s.tmp_0; - s.tmp_2.arg1 = s.arg1; - s.tmp_2.arg2 = s.arg2; - s.tmp_2.arg3 = s.tmp_1; - s.callLocIdx = 387; s.pc = 1; return s.tmp_2; + 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.retval; - r0 = pxsim_Array__push(s.arg4, s.tmp_0); - r0 = undefined; + r0 = s.arg1.fields["arg"]; + s.tmp_2 = r0; + r0 = (s.tmp_2 < 4); + case 2: + // jmp value (already in r0) + s.tmp_3 = r0; + r0 = s.tmp_3; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_collide__P79466.info = {"start":16588,"length":150,"line":380,"column":8,"endLine":382,"endColumn":9,"fileName":"vm.ts","functionName":"collide","argumentNames":["this","rv","ts","os","rcs"]} +tileworld_TileWorldVM_moving__P5956114.info = {"start":13128,"length":115,"line":312,"column":8,"endLine":314,"endColumn":9,"fileName":"vm.ts","functionName":"moving","argumentNames":["this","ts"]} -function tileworld_TileWorldVM_collide__P79466_mk(s) { +function tileworld_TileWorldVM_moving__P5956114_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_collide__P79466, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_moving__P5956114, depth: s.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, - arg2: undefined, - arg3: undefined, - arg4: undefined, } } -function tileworld_oppDir__P73505(s) { +function tileworld_TileWorldVM_collide__P5956116(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49522,34 +49699,53 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.arg3 = (s.lambdaArgs[3]); + s.arg4 = (s.lambdaArgs[4]); s.lambdaArgs = null; } - r0 = (s.arg0 + 2); - s.tmp_1 = r0; - r0 = (s.tmp_1 % 4); + r0 = s.arg0; + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C5956096_VT); s.tmp_0 = r0; - r0 = (s.tmp_0 == s.arg1); + r0 = pxsim_Array__mk(); + s.tmp_1 = r0; + r0 = pxsim_Array__push(s.tmp_1, s.arg3); + s.tmp_2 = tileworld_RuleClosure_constructor__P5956097_mk(s); + s.tmp_2.arg0 = s.tmp_0; + s.tmp_2.arg1 = s.arg1; + s.tmp_2.arg2 = s.arg2; + s.tmp_2.arg3 = s.tmp_1; + s.callLocIdx = 398; s.pc = 1; return s.tmp_2; + case 1: + r0 = s.retval; + r0 = pxsim_Array__push(s.arg4, s.tmp_0); + r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_oppDir__P73505.info = {"start":5124,"length":109,"line":140,"column":4,"endLine":142,"endColumn":5,"fileName":"rule.ts","functionName":"oppDir","argumentNames":["dir","dir2"]} +tileworld_TileWorldVM_collide__P5956116.info = {"start":17530,"length":150,"line":405,"column":8,"endLine":407,"endColumn":9,"fileName":"vm.ts","functionName":"collide","argumentNames":["this","rv","ts","os","rcs"]} -function tileworld_oppDir__P73505_mk(s) { +function tileworld_TileWorldVM_collide__P5956116_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_oppDir__P73505, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_collide__P5956116, 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, + arg3: undefined, + arg4: undefined, } } -function tileworld_TileWorldVM_collidingRules__P79462(s) { +function tileworld_TileWorldVM_collidingRules__P5956113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49566,31 +49762,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P80020); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P5956701); 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__P69987_mk(s); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["ruleIndex"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, 2); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 341; s.pc = 1; return s.tmp_1; + s.callLocIdx = 346; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_collidingRules__P79462.info = {"start":12374,"length":308,"line":292,"column":8,"endLine":298,"endColumn":9,"fileName":"vm.ts","functionName":"collidingRules","argumentNames":["this","ts","handler"]} +tileworld_TileWorldVM_collidingRules__P5956113.info = {"start":12725,"length":308,"line":303,"column":8,"endLine":309,"endColumn":9,"fileName":"vm.ts","functionName":"collidingRules","argumentNames":["this","ts","handler"]} -function tileworld_TileWorldVM_collidingRules__P79462_mk(s) { +function tileworld_TileWorldVM_collidingRules__P5956113_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_collidingRules__P79462, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_collidingRules__P5956113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49604,7 +49800,7 @@ function tileworld_TileWorldVM_collidingRules__P79462_mk(s) { -function inline__P80020(s) { +function inline__P5956701(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49618,11 +49814,11 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = tileworld_TileWorldVM_ruleMatchesSprite__P79458_mk(s); + s.tmp_1 = tileworld_TileWorldVM_ruleMatchesSprite__P5956109_mk(s); s.tmp_1.arg0 = s.caps[0]; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.caps[1]; - s.callLocIdx = 338; s.pc = 5; return s.tmp_1; + s.callLocIdx = 343; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0 = r0; @@ -49631,12 +49827,12 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = tileworld_TileWorldVM_ruleMatchesDirection__P79460_mk(s); + s.tmp_2 = tileworld_TileWorldVM_ruleMatchesDirection__P5956111_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = s.arg0; r0 = s.caps[1].fields["arg"]; s.tmp_2.arg2 = r0; - s.callLocIdx = 339; s.pc = 6; return s.tmp_2; + s.callLocIdx = 344; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; case 2: @@ -49648,7 +49844,7 @@ switch (step) { s.tmp_4.argL = s.caps[2]; s.tmp_4.arg0 = s.arg0; setupLambda(s.tmp_4, s.tmp_4.argL); - s.callLocIdx = 340; s.pc = 7; return s.tmp_4; + s.callLocIdx = 345; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; case 3: @@ -49657,12 +49853,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P80020.info = {"start":12503,"length":167,"line":293,"column":55,"endLine":297,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} +inline__P5956701.info = {"start":12854,"length":167,"line":304,"column":55,"endLine":308,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} -function inline__P80020_mk(s) { +function inline__P5956701_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P80020, depth: s.depth + 1, + parent: s, fn: inline__P5956701, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49676,7 +49872,7 @@ function inline__P80020_mk(s) { -function tileworld_TileWorldVM_ruleMatchesDirection__P79460(s) { +function tileworld_TileWorldVM_ruleMatchesDirection__P5956111(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49693,28 +49889,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); - s.tmp_0 = tileworld_TileWorldVM_exprMatchesDirection__P79459_mk(s); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); + s.tmp_0 = tileworld_TileWorldVM_exprMatchesDirection__P5956110_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = tileworld_RuleView_getDirFromRule__P73527_mk(s); + s.tmp_1 = tileworld_RuleView_getDirFromRule__P3647_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 331; s.pc = 2; return s.tmp_1; + s.callLocIdx = 336; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 332; s.pc = 1; return s.tmp_0; + s.callLocIdx = 337; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_ruleMatchesDirection__P79460.info = {"start":11554,"length":141,"line":273,"column":8,"endLine":275,"endColumn":9,"fileName":"vm.ts","functionName":"ruleMatchesDirection","argumentNames":["this","rv","dir"]} +tileworld_TileWorldVM_ruleMatchesDirection__P5956111.info = {"start":11905,"length":141,"line":284,"column":8,"endLine":286,"endColumn":9,"fileName":"vm.ts","functionName":"ruleMatchesDirection","argumentNames":["this","rv","dir"]} -function tileworld_TileWorldVM_ruleMatchesDirection__P79460_mk(s) { +function tileworld_TileWorldVM_ruleMatchesDirection__P5956111_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_ruleMatchesDirection__P79460, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_ruleMatchesDirection__P5956111, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49727,7 +49923,7 @@ function tileworld_TileWorldVM_ruleMatchesDirection__P79460_mk(s) { -function tileworld_TileWorldVM_exprMatchesDirection__P79459(s) { +function tileworld_TileWorldVM_exprMatchesDirection__P5956110(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49744,7 +49940,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); r0 = (s.arg1 == 6); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -49780,12 +49976,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_exprMatchesDirection__P79459.info = {"start":11369,"length":175,"line":269,"column":8,"endLine":271,"endColumn":9,"fileName":"vm.ts","functionName":"exprMatchesDirection","argumentNames":["this","dirExpr","dir"]} +tileworld_TileWorldVM_exprMatchesDirection__P5956110.info = {"start":11720,"length":175,"line":280,"column":8,"endLine":282,"endColumn":9,"fileName":"vm.ts","functionName":"exprMatchesDirection","argumentNames":["this","dirExpr","dir"]} -function tileworld_TileWorldVM_exprMatchesDirection__P79459_mk(s) { +function tileworld_TileWorldVM_exprMatchesDirection__P5956110_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_exprMatchesDirection__P79459, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_exprMatchesDirection__P5956110, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49801,7 +49997,7 @@ function tileworld_TileWorldVM_exprMatchesDirection__P79459_mk(s) { -function tileworld_TileWorldVM_ruleMatchesSprite__P79458(s) { +function tileworld_TileWorldVM_ruleMatchesSprite__P5956109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49818,12 +50014,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); - s.tmp_1 = tileworld_RuleView_hasSpriteKind__P73545_mk(s); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); + s.tmp_1 = tileworld_RuleView_hasSpriteKind__P3665_mk(s); s.tmp_1.arg0 = s.arg1; r0 = s.arg2.fields["_kind"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 329; s.pc = 3; return s.tmp_1; + s.callLocIdx = 334; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -49847,12 +50043,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_ruleMatchesSprite__P79458.info = {"start":11189,"length":170,"line":265,"column":8,"endLine":267,"endColumn":9,"fileName":"vm.ts","functionName":"ruleMatchesSprite","argumentNames":["this","rv","ts"]} +tileworld_TileWorldVM_ruleMatchesSprite__P5956109.info = {"start":11540,"length":170,"line":276,"column":8,"endLine":278,"endColumn":9,"fileName":"vm.ts","functionName":"ruleMatchesSprite","argumentNames":["this","rv","ts"]} -function tileworld_TileWorldVM_ruleMatchesSprite__P79458_mk(s) { +function tileworld_TileWorldVM_ruleMatchesSprite__P5956109_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_ruleMatchesSprite__P79458, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_ruleMatchesSprite__P5956109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49869,7 +50065,7 @@ function tileworld_TileWorldVM_ruleMatchesSprite__P79458_mk(s) { -function tileworld_TileWorldVM_inBounds__P79470(s) { +function tileworld_TileWorldVM_inBounds__P5956120(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49886,7 +50082,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); r0 = (0 <= s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -49932,12 +50128,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_inBounds__P79470.info = {"start":20592,"length":177,"line":470,"column":8,"endLine":473,"endColumn":9,"fileName":"vm.ts","functionName":"inBounds","argumentNames":["this","col","row"]} +tileworld_TileWorldVM_inBounds__P5956120.info = {"start":21375,"length":177,"line":491,"column":8,"endLine":494,"endColumn":9,"fileName":"vm.ts","functionName":"inBounds","argumentNames":["this","col","row"]} -function tileworld_TileWorldVM_inBounds__P79470_mk(s) { +function tileworld_TileWorldVM_inBounds__P5956120_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_inBounds__P79470, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_inBounds__P5956120, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49958,7 +50154,7 @@ function tileworld_TileWorldVM_inBounds__P79470_mk(s) { -function tileworld_TileWorldVM_moving__P79463(s) { +function tileworld_TileWorldVM_contextChanged__P5956108(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49968,105 +50164,50 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: + s.i___5956555 = undefined; + s.j___5956561 = undefined; + s.x___5956567 = undefined; + s.y___5956573 = 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__C79451_VT)) failedCast(r0); - r0 = s.arg1.fields["inst"]; - 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; } + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); + s.i___5956555 = (-1); case 1: - r0 = s.arg1.fields["arg"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 < 4); - case 2: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = s.tmp_3; - return leave(s, r0) - default: oops() -} } } -tileworld_TileWorldVM_moving__P79463.info = {"start":12777,"length":115,"line":301,"column":8,"endLine":303,"endColumn":9,"fileName":"vm.ts","functionName":"moving","argumentNames":["this","ts"]} - -function tileworld_TileWorldVM_moving__P79463_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: tileworld_TileWorldVM_moving__P79463, depth: s.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 tileworld_TileWorldVM_contextChanged__P79457(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.i___79874 = undefined; - s.j___79880 = undefined; - s.x___79886 = undefined; - s.y___79892 = 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__C79451_VT)) failedCast(r0); - s.i___79874 = (-1); - case 1: - r0 = (s.i___79874 <= 1); + r0 = (s.i___5956555 <= 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.j___79880 = (-1); + s.j___5956561 = (-1); case 2: - r0 = (s.j___79880 <= 1); + r0 = (s.j___5956561 <= 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = tileworld_TileSprite_col__P79254_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P5955905_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 325; s.pc = 10; return s.tmp_2; + s.callLocIdx = 330; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 + s.i___79874); - s.x___79886 = (r0); - s.tmp_1 = tileworld_TileSprite_row__P79255_mk(s); + r0 = (s.tmp_1 + s.i___5956555); + s.x___5956567 = (r0); + s.tmp_1 = tileworld_TileSprite_row__P5955906_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 326; s.pc = 11; return s.tmp_1; + s.callLocIdx = 331; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 + s.j___79880); - s.y___79892 = (r0); - s.tmp_1 = tileworld_TileWorldVM_inBounds__P79470_mk(s); + r0 = (s.tmp_0 + s.j___5956561); + s.y___5956573 = (r0); + s.tmp_1 = tileworld_TileWorldVM_inBounds__P5956120_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.x___79886; - s.tmp_1.arg2 = s.y___79892; - s.callLocIdx = 327; s.pc = 12; return s.tmp_1; + s.tmp_1.arg1 = s.x___5956567; + s.tmp_1.arg2 = s.y___5956573; + s.callLocIdx = 332; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; s.tmp_0 = r0; @@ -50078,7 +50219,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___79886, s.y___79892); + r0 = pxsim_ImageMethods.getPixel(s.tmp_2, s.x___5956567, s.y___5956573); case 4: // jmp value (already in r0) s.tmp_3 = r0; @@ -50088,12 +50229,12 @@ switch (step) { { step = 9; continue; } case 5: case 6: - r0 = (s.j___79880 + 1); - s.j___79880 = (r0); + r0 = (s.j___5956561 + 1); + s.j___5956561 = (r0); { step = 2; continue; } case 7: - r0 = (s.i___79874 + 1); - s.i___79874 = (r0); + r0 = (s.i___5956555 + 1); + s.i___5956555 = (r0); { step = 1; continue; } case 8: r0 = false; @@ -50101,21 +50242,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_contextChanged__P79457.info = {"start":10748,"length":431,"line":252,"column":8,"endLine":263,"endColumn":9,"fileName":"vm.ts","functionName":"contextChanged","argumentNames":["this","ts"]} +tileworld_TileWorldVM_contextChanged__P5956108.info = {"start":11099,"length":431,"line":263,"column":8,"endLine":274,"endColumn":9,"fileName":"vm.ts","functionName":"contextChanged","argumentNames":["this","ts"]} -function tileworld_TileWorldVM_contextChanged__P79457_mk(s) { +function tileworld_TileWorldVM_contextChanged__P5956108_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_contextChanged__P79457, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_contextChanged__P5956108, depth: s.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___79874: undefined, - j___79880: undefined, - x___79886: undefined, - y___79892: undefined, + i___5956555: undefined, + j___5956561: undefined, + x___5956567: undefined, + y___5956573: undefined, arg0: undefined, arg1: undefined, } } @@ -50124,7 +50265,7 @@ function tileworld_TileWorldVM_contextChanged__P79457_mk(s) { -function tileworld_TileWorldVM_applyRules__P79461(s) { +function tileworld_TileWorldVM_applyRules__P5956112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50134,7 +50275,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ruleClosures___79966 = undefined; + s.ruleClosures___5956647 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -50142,39 +50283,39 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.ruleClosures___79966 = (r0); - r0 = pxsim_pxtcore_mkAction(4, inline__P79972); + s.ruleClosures___5956647 = (r0); + r0 = pxsim_pxtcore_mkAction(4, inline__P5956653); 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.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.ruleClosures___79966); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.ruleClosures___5956647); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["ruleIndex"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 337; s.pc = 1; return s.tmp_1; + s.callLocIdx = 342; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - r0 = s.ruleClosures___79966; + r0 = s.ruleClosures___5956647; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_applyRules__P79461.info = {"start":11705,"length":623,"line":277,"column":8,"endLine":289,"endColumn":9,"fileName":"vm.ts","functionName":"applyRules","argumentNames":["this","phase","ts"]} +tileworld_TileWorldVM_applyRules__P5956112.info = {"start":12056,"length":623,"line":288,"column":8,"endLine":300,"endColumn":9,"fileName":"vm.ts","functionName":"applyRules","argumentNames":["this","phase","ts"]} -function tileworld_TileWorldVM_applyRules__P79461_mk(s) { +function tileworld_TileWorldVM_applyRules__P5956112_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_applyRules__P79461, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_applyRules__P5956112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ruleClosures___79966: undefined, + ruleClosures___5956647: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -50184,7 +50325,7 @@ function tileworld_TileWorldVM_applyRules__P79461_mk(s) { -function inline__P79972(s) { +function inline__P5956653(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50194,16 +50335,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.closure___80003 = undefined; + s.closure___5956684 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = tileworld_TileWorldVM_ruleMatchesSprite__P79458_mk(s); + s.tmp_1 = tileworld_TileWorldVM_ruleMatchesSprite__P5956109_mk(s); s.tmp_1.arg0 = s.caps[0]; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.caps[1]; - s.callLocIdx = 333; s.pc = 13; return s.tmp_1; + s.callLocIdx = 338; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; s.tmp_0 = r0; @@ -50219,12 +50360,12 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - s.tmp_3 = tileworld_TileWorldVM_ruleMatchesDirection__P79460_mk(s); + s.tmp_3 = tileworld_TileWorldVM_ruleMatchesDirection__P5956111_mk(s); s.tmp_3.arg0 = s.caps[0]; s.tmp_3.arg1 = s.arg0; r0 = s.caps[1].fields["dir"]; s.tmp_3.arg2 = r0; - s.callLocIdx = 334; s.pc = 14; return s.tmp_3; + s.callLocIdx = 339; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; case 3: @@ -50244,9 +50385,9 @@ switch (step) { case 5: r0 = s.caps[0].fields["dpad"]; s.tmp_7 = r0; - s.tmp_9 = tileworld_RuleView_getRuleArg__P73525_mk(s); + s.tmp_9 = tileworld_RuleView_getRuleArg__P3645_mk(s); s.tmp_9.arg0 = s.arg0; - s.callLocIdx = 335; s.pc = 15; return s.tmp_9; + s.callLocIdx = 340; s.pc = 15; return s.tmp_9; case 15: r0 = s.retval; s.tmp_8 = r0; @@ -50266,17 +50407,17 @@ switch (step) { s.tmp_12 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_12); if (!r0) { step = 11; continue; } - s.tmp_13 = tileworld_TileWorldVM_evaluateRule__P79468_mk(s); + s.tmp_13 = tileworld_TileWorldVM_evaluateRule__P5956118_mk(s); s.tmp_13.arg0 = s.caps[0]; s.tmp_13.arg1 = s.caps[1]; s.tmp_13.arg2 = s.arg0; - s.callLocIdx = 336; s.pc = 16; return s.tmp_13; + s.callLocIdx = 341; s.pc = 16; return s.tmp_13; case 16: r0 = s.retval; - s.closure___80003 = (r0); - r0 = pxsim_numops_toBoolDecr(s.closure___80003); + s.closure___5956684 = (r0); + r0 = pxsim_numops_toBoolDecr(s.closure___5956684); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__push(s.caps[3], s.closure___80003); + r0 = pxsim_Array__push(s.caps[3], s.closure___5956684); case 9: case 10: case 11: @@ -50285,12 +50426,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P79972.info = {"start":11851,"length":432,"line":279,"column":42,"endLine":287,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} +inline__P5956653.info = {"start":12202,"length":432,"line":290,"column":42,"endLine":298,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} -function inline__P79972_mk(s) { +function inline__P5956653_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P79972, depth: s.depth + 1, + parent: s, fn: inline__P5956653, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50306,7 +50447,7 @@ function inline__P79972_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - closure___80003: undefined, + closure___5956684: undefined, arg0: undefined, } } @@ -50314,7 +50455,7 @@ function inline__P79972_mk(s) { -function tileworld_TileWorldVM_evaluateRule__P79468(s) { +function tileworld_TileWorldVM_evaluateRule__P5956118(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50324,9 +50465,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.witnesses___80534 = undefined; - s.col___80536 = undefined; - s.row___80540 = undefined; + s.witnesses___5957257 = undefined; + s.col___5957259 = undefined; + s.row___5957263 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -50334,29 +50475,29 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.witnesses___80534 = (r0); - s.col___80536 = (1); + s.witnesses___5957257 = (r0); + s.col___5957259 = (1); case 1: - r0 = (s.col___80536 <= 3); + r0 = (s.col___5957259 <= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___80540 = (1); + s.row___5957263 = (1); case 2: - r0 = (s.row___80540 <= 3); + r0 = (s.row___5957263 <= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = tileworld_TileWorldVM_evaluateWhenDo__P79471_mk(s); + s.tmp_4 = tileworld_TileWorldVM_evaluateWhenDo__P5956121_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; s.tmp_4.arg2 = s.arg2; - s.tmp_4.arg3 = s.col___80536; - s.tmp_4.arg4 = s.row___80540; - s.tmp_4.arg5 = s.witnesses___80534; - s.callLocIdx = 408; s.pc = 8; return s.tmp_4; + s.tmp_4.arg3 = s.col___5957259; + s.tmp_4.arg4 = s.row___5957263; + s.tmp_4.arg5 = s.witnesses___5957257; + s.callLocIdx = 420; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; s.tmp_3 = r0; @@ -50370,22 +50511,22 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___80540 + 1); - s.row___80540 = (r0); + r0 = (s.row___5957263 + 1); + s.row___5957263 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___80536 + 1); - s.col___80536 = (r0); + r0 = (s.col___5957259 + 1); + s.col___5957259 = (r0); { step = 1; continue; } case 6: - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C79445_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C5956096_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_RuleClosure_constructor__P79446_mk(s); + s.tmp_1 = tileworld_RuleClosure_constructor__P5956097_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___80534; - s.callLocIdx = 409; s.pc = 9; return s.tmp_1; + s.tmp_1.arg3 = s.witnesses___5957257; + s.callLocIdx = 421; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; r0 = s.tmp_0; @@ -50393,21 +50534,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_evaluateRule__P79468.info = {"start":19642,"length":726,"line":448,"column":8,"endLine":463,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateRule","argumentNames":["this","ts","rv"]} +tileworld_TileWorldVM_evaluateRule__P5956118.info = {"start":20635,"length":516,"line":473,"column":8,"endLine":484,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateRule","argumentNames":["this","ts","rv"]} -function tileworld_TileWorldVM_evaluateRule__P79468_mk(s) { +function tileworld_TileWorldVM_evaluateRule__P5956118_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_evaluateRule__P79468, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_evaluateRule__P5956118, depth: s.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, - witnesses___80534: undefined, - col___80536: undefined, - row___80540: undefined, + witnesses___5957257: undefined, + col___5957259: undefined, + row___5957263: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -50417,7 +50558,7 @@ function tileworld_TileWorldVM_evaluateRule__P79468_mk(s) { -function tileworld_TileWorldVM_evaluateWhenDo__P79471(s) { +function tileworld_TileWorldVM_evaluateWhenDo__P5956121(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50427,23 +50568,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.whendo___80620 = undefined; - s.wcol___80633 = undefined; - s.wrow___80641 = undefined; - s.hasInclude___80654 = undefined; - s.includePassed___80655 = undefined; - s.includeWitness___80656 = undefined; - s.hasInclude2___80658 = undefined; - s.include2Passed___80659 = undefined; - s.tm___80660 = undefined; - s.kind___80664 = undefined; - s.hasKind___80671 = undefined; - s.attr___80679 = undefined; - s.adjacent___80703 = undefined; - s.kind___80709 = undefined; - s.attr___80716 = undefined; - s.witness___80721 = undefined; - s.ret___80751 = undefined; + s.whendo___5957343 = undefined; + s.wcol___5957356 = undefined; + s.wrow___5957364 = undefined; + s.hasInclude___5957377 = undefined; + s.includePassed___5957378 = undefined; + s.includeWitness___5957379 = undefined; + s.hasInclude2___5957381 = undefined; + s.include2Passed___5957382 = undefined; + s.tm___5957383 = undefined; + s.kind___5957387 = undefined; + s.hasKind___5957394 = undefined; + s.attr___5957402 = undefined; + s.adjacent___5957426 = undefined; + s.kind___5957432 = undefined; + s.attr___5957439 = undefined; + s.witness___5957444 = undefined; + s.ret___5957474 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -50454,26 +50595,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getWhenDo__P73528_mk(s); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getWhenDo__P3648_mk(s); s.tmp_0.arg0 = s.arg2; s.tmp_0.arg1 = s.arg3; s.tmp_0.arg2 = s.arg4; - s.callLocIdx = 413; s.pc = 52; return s.tmp_0; + s.callLocIdx = 425; s.pc = 52; return s.tmp_0; case 52: r0 = s.retval; - s.whendo___80620 = (r0); - r0 = (s.whendo___80620 == -1); + s.whendo___5957343 = (r0); + r0 = (s.whendo___5957343 == -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_RuleView_whendoTrue__P73546_mk(s); + s.tmp_1 = tileworld_RuleView_whendoTrue__P3666_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.whendo___80620; - s.callLocIdx = 414; s.pc = 53; return s.tmp_1; + s.tmp_1.arg1 = s.whendo___5957343; + s.callLocIdx = 426; s.pc = 53; return s.tmp_1; case 53: r0 = s.retval; case 2: @@ -50485,31 +50626,31 @@ switch (step) { { step = 51; continue; } case 3: case 4: - s.tmp_4 = tileworld_TileSprite_col__P79254_mk(s); + s.tmp_4 = tileworld_TileSprite_col__P5955905_mk(s); s.tmp_4.arg0 = s.arg1; - s.callLocIdx = 415; s.pc = 54; return s.tmp_4; + s.callLocIdx = 427; s.pc = 54; return s.tmp_4; case 54: r0 = s.retval; s.tmp_3 = r0; r0 = (s.arg3 - 2); s.tmp_5 = r0; r0 = (s.tmp_3 + s.tmp_5); - s.wcol___80633 = (r0); - s.tmp_1 = tileworld_TileSprite_row__P79255_mk(s); + s.wcol___5957356 = (r0); + s.tmp_1 = tileworld_TileSprite_row__P5955906_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 416; s.pc = 55; return s.tmp_1; + s.callLocIdx = 428; s.pc = 55; return s.tmp_1; case 55: r0 = s.retval; s.tmp_0 = r0; r0 = (s.arg4 - 2); s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.wrow___80641 = (r0); - s.tmp_3 = tileworld_TileWorldVM_inBounds__P79470_mk(s); + s.wrow___5957364 = (r0); + s.tmp_3 = tileworld_TileWorldVM_inBounds__P5956120_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.wcol___80633; - s.tmp_3.arg2 = s.wrow___80641; - s.callLocIdx = 417; s.pc = 56; return s.tmp_3; + s.tmp_3.arg1 = s.wcol___5957356; + s.tmp_3.arg2 = s.wrow___5957364; + s.callLocIdx = 429; s.pc = 56; return s.tmp_3; case 56: r0 = s.retval; s.tmp_2 = r0; @@ -50523,20 +50664,20 @@ switch (step) { { step = 51; continue; } case 5: case 6: - s.hasInclude___80654 = (false); - s.includePassed___80655 = (false); - s.includeWitness___80656 = (null); - s.hasInclude2___80658 = (false); - s.include2Passed___80659 = (false); - s.tmp_0 = game_currentScene__P72409_mk(s); - s.callLocIdx = 418; s.pc = 57; return s.tmp_0; + s.hasInclude___5957377 = (false); + s.includePassed___5957378 = (false); + s.includeWitness___5957379 = (null); + s.hasInclude2___5957381 = (false); + s.include2Passed___5957382 = (false); + s.tmp_0 = game_currentScene__P2529_mk(s); + s.callLocIdx = 430; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___80660 = (r0); - s.kind___80664 = (0); + s.tm___5957383 = (r0); + s.kind___5957387 = (0); case 7: - s.tmp_1 = r0 = s.kind___80664; + s.tmp_1 = r0 = s.kind___5957387; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_backgroundsI"]; @@ -50547,35 +50688,35 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_6 = tiles_TileMap__C72197_v8_3_mk(s); - s.tmp_6.arg0 = s.tm___80660; - s.tmp_6.arg1 = s.wcol___80633; - s.tmp_6.arg2 = s.wrow___80641; - if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_6.arg0); + s.tmp_6 = tiles_TileMap__C2317_v8_3_mk(s); + s.tmp_6.arg0 = s.tm___5957383; + s.tmp_6.arg1 = s.wcol___5957356; + s.tmp_6.arg2 = s.wrow___5957364; + if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_6.arg0); s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.getTileIndex; s.pc = 58; return s.tmp_6; case 58: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 == s.kind___80664); - s.hasKind___80671 = (r0); - s.tmp_0 = tileworld_RuleView_getSetBgAttr__P73532_mk(s); + r0 = (s.tmp_5 == s.kind___5957387); + s.hasKind___5957394 = (r0); + s.tmp_0 = tileworld_RuleView_getSetBgAttr__P3652_mk(s); s.tmp_0.arg0 = s.arg2; - s.tmp_0.arg1 = s.whendo___80620; - s.tmp_0.arg2 = s.kind___80664; + s.tmp_0.arg1 = s.whendo___5957343; + s.tmp_0.arg2 = s.kind___5957387; s.tmp_0.arg3 = 65535; - s.callLocIdx = 420; s.pc = 59; return s.tmp_0; + s.callLocIdx = 432; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.attr___80679 = (r0); - r0 = (s.attr___80679 == 3); + s.attr___5957402 = (r0); + r0 = (s.attr___5957402 == 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___80671; + r0 = s.hasKind___5957394; case 9: // jmp value (already in r0) s.tmp_1 = r0; @@ -50585,49 +50726,49 @@ switch (step) { { step = 51; continue; } { step = 19; continue; } case 10: - r0 = (s.attr___80679 == 1); + r0 = (s.attr___5957402 == 1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 13; continue; } - s.hasInclude___80654 = (true); - r0 = pxsim_numops_toBoolDecr(s.hasKind___80671); + s.hasInclude___5957377 = (true); + r0 = pxsim_numops_toBoolDecr(s.hasKind___5957394); if (!r0) { step = 11; continue; } - s.includePassed___80655 = (true); + s.includePassed___5957378 = (true); case 11: case 12: { step = 18; continue; } case 13: - r0 = (s.attr___80679 == 2); + r0 = (s.attr___5957402 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - s.hasInclude2___80658 = (true); - r0 = pxsim_numops_toBoolDecr(s.hasKind___80671); + s.hasInclude2___5957381 = (true); + r0 = pxsim_numops_toBoolDecr(s.hasKind___5957394); if (!r0) { step = 14; continue; } - s.include2Passed___80659 = (true); + s.include2Passed___5957382 = (true); case 14: case 15: case 16: case 17: case 18: case 19: - r0 = (s.kind___80664 + 1); - s.kind___80664 = (r0); + r0 = (s.kind___5957387 + 1); + s.kind___5957387 = (r0); { step = 7; continue; } case 20: - s.tmp_1 = tileworld_TileWorldVM_manhattan__P79472_mk(s); + s.tmp_1 = tileworld_TileWorldVM_manhattan__P5956122_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg3; s.tmp_1.arg2 = s.arg4; - s.callLocIdx = 421; s.pc = 60; return s.tmp_1; + s.callLocIdx = 433; s.pc = 60; return s.tmp_1; case 60: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 <= 1); - s.adjacent___80703 = (r0); - s.kind___80709 = (0); + s.adjacent___5957426 = (r0); + s.kind___5957432 = (0); case 21: - s.tmp_1 = r0 = s.kind___80709; + s.tmp_1 = r0 = s.kind___5957432; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_spritesI"]; @@ -50638,32 +50779,32 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 38; continue; } - s.tmp_5 = tileworld_RuleView_getSetSpAttr__P73533_mk(s); + s.tmp_5 = tileworld_RuleView_getSetSpAttr__P3653_mk(s); s.tmp_5.arg0 = s.arg2; - s.tmp_5.arg1 = s.whendo___80620; - s.tmp_5.arg2 = s.kind___80709; + s.tmp_5.arg1 = s.whendo___5957343; + s.tmp_5.arg2 = s.kind___5957432; s.tmp_5.arg3 = 65535; - s.callLocIdx = 423; s.pc = 61; return s.tmp_5; + s.callLocIdx = 435; s.pc = 61; return s.tmp_5; case 61: r0 = s.retval; - s.attr___80716 = (r0); - s.tmp_0 = tileworld_TileWorldVM_getWitness__P79469_mk(s); + s.attr___5957439 = (r0); + s.tmp_0 = tileworld_TileWorldVM_getWitness__P5956119_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.kind___80709; - s.tmp_0.arg2 = s.wcol___80633; - s.tmp_0.arg3 = s.wrow___80641; - s.callLocIdx = 424; s.pc = 62; return s.tmp_0; + s.tmp_0.arg1 = s.kind___5957432; + s.tmp_0.arg2 = s.wcol___5957356; + s.tmp_0.arg3 = s.wrow___5957364; + s.callLocIdx = 436; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; - s.witness___80721 = (r0); - r0 = (s.attr___80716 == 3); + s.witness___5957444 = (r0); + r0 = (s.attr___5957439 == 3); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 22; continue; } r0 = s.tmp_0; { step = 23; continue; } case 22: - r0 = s.witness___80721; + r0 = s.witness___5957444; case 23: // jmp value (already in r0) s.tmp_1 = r0; @@ -50673,21 +50814,21 @@ switch (step) { { step = 51; continue; } { step = 37; continue; } case 24: - r0 = (s.attr___80716 == 1); + r0 = (s.attr___5957439 == 1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 31; continue; } - s.hasInclude___80654 = (true); - r0 = pxsim_numops_toBoolDecr(s.witness___80721); + s.hasInclude___5957377 = (true); + r0 = pxsim_numops_toBoolDecr(s.witness___5957444); if (!r0) { step = 29; continue; } - s.includePassed___80655 = (true); - s.tmp_0 = r0 = s.adjacent___80703; + s.includePassed___5957378 = (true); + s.tmp_0 = r0 = s.adjacent___5957426; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 25; continue; } r0 = s.tmp_0; { step = 26; continue; } case 25: - r0 = pxsim_numops_toBoolDecr(s.includeWitness___80656); + r0 = pxsim_numops_toBoolDecr(s.includeWitness___5957379); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); case 26: @@ -50695,32 +50836,32 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 27; continue; } - s.includeWitness___80656 = (s.witness___80721); + s.includeWitness___5957379 = (s.witness___5957444); case 27: case 28: case 29: case 30: { step = 36; continue; } case 31: - r0 = (s.attr___80716 == 2); + r0 = (s.attr___5957439 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 34; continue; } - s.hasInclude2___80658 = (true); - r0 = pxsim_numops_toBoolDecr(s.witness___80721); + s.hasInclude2___5957381 = (true); + r0 = pxsim_numops_toBoolDecr(s.witness___5957444); if (!r0) { step = 32; continue; } - s.include2Passed___80659 = (true); + s.include2Passed___5957382 = (true); case 32: case 33: case 34: case 35: case 36: case 37: - r0 = (s.kind___80709 + 1); - s.kind___80709 = (r0); + r0 = (s.kind___5957432 + 1); + s.kind___5957432 = (r0); { step = 21; continue; } case 38: - r0 = pxsim_numops_toBoolDecr(s.hasInclude___80654); + r0 = pxsim_numops_toBoolDecr(s.hasInclude___5957377); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -50729,35 +50870,35 @@ switch (step) { r0 = s.tmp_0; { step = 40; continue; } case 39: - r0 = s.includePassed___80655; + r0 = s.includePassed___5957378; case 40: // jmp value (already in r0) s.tmp_2 = r0; - s.ret___80751 = (s.tmp_2); - s.tmp_0 = r0 = s.ret___80751; + s.ret___5957474 = (s.tmp_2); + s.tmp_0 = r0 = s.ret___5957474; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 41; continue; } r0 = s.tmp_0; { step = 42; continue; } case 41: - r0 = s.includeWitness___80656; + r0 = s.includeWitness___5957379; case 42: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 45; continue; } - s.tmp_5 = tileworld_TileWorldVM_exprMatchesDirection__P79459_mk(s); + s.tmp_5 = tileworld_TileWorldVM_exprMatchesDirection__P5956110_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_6 = tileworld_RuleView_getWitnessDirection__P73536_mk(s); + s.tmp_6 = tileworld_RuleView_getWitnessDirection__P3656_mk(s); s.tmp_6.arg0 = s.arg2; - s.tmp_6.arg1 = s.whendo___80620; - s.callLocIdx = 425; s.pc = 64; return s.tmp_6; + s.tmp_6.arg1 = s.whendo___5957343; + s.callLocIdx = 437; s.pc = 64; return s.tmp_6; case 64: r0 = s.retval; s.tmp_5.arg1 = r0; - r0 = s.includeWitness___80656.fields["dir"]; + r0 = s.includeWitness___5957379.fields["dir"]; s.tmp_5.arg2 = r0; - s.callLocIdx = 426; s.pc = 63; return s.tmp_5; + s.callLocIdx = 438; s.pc = 63; return s.tmp_5; case 63: r0 = s.retval; s.tmp_4 = r0; @@ -50771,16 +50912,16 @@ switch (step) { { step = 51; continue; } case 43: case 44: - r0 = pxsim_Array__push(s.arg5, s.includeWitness___80656); + r0 = pxsim_Array__push(s.arg5, s.includeWitness___5957379); case 45: case 46: - s.tmp_0 = r0 = s.ret___80751; + s.tmp_0 = r0 = s.ret___5957474; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 47; continue; } r0 = s.tmp_0; { step = 50; continue; } case 47: - r0 = pxsim_numops_toBoolDecr(s.hasInclude2___80658); + r0 = pxsim_numops_toBoolDecr(s.hasInclude2___5957381); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -50789,7 +50930,7 @@ switch (step) { r0 = s.tmp_1; { step = 49; continue; } case 48: - r0 = s.include2Passed___80659; + r0 = s.include2Passed___5957382; case 49: // jmp value (already in r0) s.tmp_3 = r0; @@ -50802,12 +50943,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_evaluateWhenDo__P79471.info = {"start":20827,"length":3062,"line":476,"column":8,"endLine":541,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateWhenDo","argumentNames":["this","ts","rv","col","row","witnesses"]} +tileworld_TileWorldVM_evaluateWhenDo__P5956121.info = {"start":21610,"length":3062,"line":497,"column":8,"endLine":562,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateWhenDo","argumentNames":["this","ts","rv","col","row","witnesses"]} -function tileworld_TileWorldVM_evaluateWhenDo__P79471_mk(s) { +function tileworld_TileWorldVM_evaluateWhenDo__P5956121_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_evaluateWhenDo__P79471, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_evaluateWhenDo__P5956121, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50816,23 +50957,23 @@ function tileworld_TileWorldVM_evaluateWhenDo__P79471_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - whendo___80620: undefined, - wcol___80633: undefined, - wrow___80641: undefined, - hasInclude___80654: undefined, - includePassed___80655: undefined, - includeWitness___80656: undefined, - hasInclude2___80658: undefined, - include2Passed___80659: undefined, - tm___80660: undefined, - kind___80664: undefined, - hasKind___80671: undefined, - attr___80679: undefined, - adjacent___80703: undefined, - kind___80709: undefined, - attr___80716: undefined, - witness___80721: undefined, - ret___80751: undefined, + whendo___5957343: undefined, + wcol___5957356: undefined, + wrow___5957364: undefined, + hasInclude___5957377: undefined, + includePassed___5957378: undefined, + includeWitness___5957379: undefined, + hasInclude2___5957381: undefined, + include2Passed___5957382: undefined, + tm___5957383: undefined, + kind___5957387: undefined, + hasKind___5957394: undefined, + attr___5957402: undefined, + adjacent___5957426: undefined, + kind___5957432: undefined, + attr___5957439: undefined, + witness___5957444: undefined, + ret___5957474: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -50845,7 +50986,7 @@ function tileworld_TileWorldVM_evaluateWhenDo__P79471_mk(s) { -function tileworld_TileWorldVM_getWitness__P79469(s) { +function tileworld_TileWorldVM_getWitness__P5956119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50863,7 +51004,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); r0 = s.arg0.fields["vm"]; r0 = r0.fields["sprites"]; s.tmp_1 = r0; @@ -50874,18 +51015,18 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_pxtcore_mkAction(2, inline__P80577); + r0 = pxsim_pxtcore_mkAction(2, inline__P5957300); 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__P69989_mk(s); + s.tmp_3 = helpers_arrayFind__P109_mk(s); r0 = s.arg0.fields["vm"]; r0 = r0.fields["sprites"]; s.tmp_4 = r0; r0 = pxsim_Array__getAt(s.tmp_4, s.arg1); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_2; - s.callLocIdx = 412; s.pc = 3; return s.tmp_3; + s.callLocIdx = 424; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; case 2: @@ -50895,12 +51036,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_getWitness__P79469.info = {"start":20378,"length":204,"line":465,"column":8,"endLine":468,"endColumn":9,"fileName":"vm.ts","functionName":"getWitness","argumentNames":["this","kind","col","row"]} +tileworld_TileWorldVM_getWitness__P5956119.info = {"start":21161,"length":204,"line":486,"column":8,"endLine":489,"endColumn":9,"fileName":"vm.ts","functionName":"getWitness","argumentNames":["this","kind","col","row"]} -function tileworld_TileWorldVM_getWitness__P79469_mk(s) { +function tileworld_TileWorldVM_getWitness__P5956119_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_getWitness__P79469, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_getWitness__P5956119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50918,7 +51059,7 @@ function tileworld_TileWorldVM_getWitness__P79469_mk(s) { -function inline__P80577(s) { +function inline__P5957300(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50932,9 +51073,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_2 = tileworld_TileSprite_col__P79254_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P5955905_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 410; s.pc = 3; return s.tmp_2; + s.callLocIdx = 422; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -50945,9 +51086,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_TileSprite_row__P79255_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P5955906_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 411; s.pc = 4; return s.tmp_4; + s.callLocIdx = 423; s.pc = 4; return s.tmp_4; case 4: r0 = s.retval; s.tmp_3 = r0; @@ -50959,12 +51100,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P80577.info = {"start":20530,"length":40,"line":467,"column":46,"endLine":467,"endColumn":86,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P5957300.info = {"start":21313,"length":40,"line":488,"column":46,"endLine":488,"endColumn":86,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P80577_mk(s) { +function inline__P5957300_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P80577, depth: s.depth + 1, + parent: s, fn: inline__P5957300, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50979,7 +51120,7 @@ function inline__P80577_mk(s) { -function tileworld_TileWorldVM_manhattan__P79472(s) { +function tileworld_TileWorldVM_manhattan__P5956122(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50996,18 +51137,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); - s.tmp_1 = Math_abs__P70003_mk(s); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); + s.tmp_1 = Math_abs__P123_mk(s); r0 = (2 - s.arg1); s.tmp_1.arg0 = r0; - s.callLocIdx = 427; s.pc = 1; return s.tmp_1; + s.callLocIdx = 439; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Math_abs__P70003_mk(s); + s.tmp_3 = Math_abs__P123_mk(s); r0 = (2 - s.arg2); s.tmp_3.arg0 = r0; - s.callLocIdx = 428; s.pc = 2; return s.tmp_3; + s.callLocIdx = 440; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; @@ -51015,12 +51156,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_manhattan__P79472.info = {"start":23899,"length":113,"line":543,"column":8,"endLine":545,"endColumn":9,"fileName":"vm.ts","functionName":"manhattan","argumentNames":["this","col","row"]} +tileworld_TileWorldVM_manhattan__P5956122.info = {"start":24682,"length":113,"line":564,"column":8,"endLine":566,"endColumn":9,"fileName":"vm.ts","functionName":"manhattan","argumentNames":["this","col","row"]} -function tileworld_TileWorldVM_manhattan__P79472_mk(s) { +function tileworld_TileWorldVM_manhattan__P5956122_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_manhattan__P79472, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_manhattan__P5956122, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51035,7 +51176,7 @@ function tileworld_TileWorldVM_manhattan__P79472_mk(s) { -function tileworld_RuleClosure_constructor__P79446(s) { +function tileworld_RuleClosure_constructor__P5956097(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51053,7 +51194,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleClosure__C79445_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleClosure__C5956096_VT)) failedCast(r0); r0 = (s.arg0).fields["rv"] = (s.arg1); r0 = (s.arg0).fields["self"] = (s.arg2); r0 = (s.arg0).fields["witnesses"] = (s.arg3); @@ -51061,12 +51202,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleClosure_constructor__P79446.info = {"start":4445,"length":147,"line":97,"column":8,"endLine":102,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","rv","self","witnesses"]} +tileworld_RuleClosure_constructor__P5956097.info = {"start":4528,"length":147,"line":100,"column":8,"endLine":105,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","rv","self","witnesses"]} -function tileworld_RuleClosure_constructor__P79446_mk(s) { +function tileworld_RuleClosure_constructor__P5956097_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleClosure_constructor__P79446, depth: s.depth + 1, + parent: s, fn: tileworld_RuleClosure_constructor__P5956097, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -51078,7 +51219,7 @@ function tileworld_RuleClosure_constructor__P79446_mk(s) { -function tileworld_TileWorldVM_startRound__P79453(s) { +function tileworld_TileWorldVM_startRound__P5956104(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51094,7 +51235,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); r0 = s.arg0.fields["vm"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -51125,6 +51266,11 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; + r0 = (s.tmp_0).fields["nextBlockedSprites"] = (s.tmp_1); + r0 = s.arg0.fields["vm"]; + s.tmp_0 = r0; + r0 = pxsim_Array__mk(); + s.tmp_1 = r0; r0 = (s.tmp_0).fields["deadSprites"] = (s.tmp_1); r0 = s.arg0.fields["vm"]; s.tmp_0 = r0; @@ -51145,12 +51291,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; - r0 = (s.tmp_0).fields["nextBlockedSprites"] = (s.tmp_1); + r0 = (s.tmp_0).fields["moving"] = (s.tmp_1); + r0 = s.arg0.fields["vm"]; + s.tmp_0 = r0; + r0 = pxsim_Array__mk(); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["moving2resting"] = (s.tmp_1); + r0 = s.arg0.fields["vm"]; + s.tmp_0 = r0; + r0 = pxsim_Array__mk(); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["newresting"] = (s.tmp_1); r0 = s.arg0.fields["vm"]; s.tmp_0 = r0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; - r0 = (s.tmp_0).fields["movingToResting"] = (s.tmp_1); + r0 = (s.tmp_0).fields["captureSpawned"] = (s.tmp_1); r0 = s.arg0.fields["vm"]; s.tmp_0 = r0; r0 = pxsim_Array__mk(); @@ -51159,13 +51315,13 @@ switch (step) { r0 = s.arg0.fields["vm"]; s.tmp_0 = r0; r0 = (s.tmp_0).fields["phase"] = (3); - r0 = pxsim_pxtcore_mkAction(1, inline__P79592); + r0 = pxsim_pxtcore_mkAction(1, inline__P5956280); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = tileworld_TileWorldVM_allSprites__P79456_mk(s); + s.tmp_1 = tileworld_TileWorldVM_allSprites__P5956107_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 309; s.pc = 4; return s.tmp_1; + s.callLocIdx = 313; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 3: @@ -51173,12 +51329,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_startRound__P79453.info = {"start":5644,"length":993,"line":134,"column":8,"endLine":158,"endColumn":9,"fileName":"vm.ts","functionName":"startRound","argumentNames":["this","currDir"]} +tileworld_TileWorldVM_startRound__P5956104.info = {"start":6052,"length":1140,"line":143,"column":8,"endLine":173,"endColumn":9,"fileName":"vm.ts","functionName":"startRound","argumentNames":["this","currDir"]} -function tileworld_TileWorldVM_startRound__P79453_mk(s) { +function tileworld_TileWorldVM_startRound__P5956104_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_startRound__P79453, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_startRound__P5956104, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51191,7 +51347,7 @@ function tileworld_TileWorldVM_startRound__P79453_mk(s) { -function inline__P79592(s) { +function inline__P5956280(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51205,12 +51361,12 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_x__P71906_mk(s); + s.tmp_0 = Sprite_x__P2026_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_4 = Sprite_x__P71905_mk(s); + s.tmp_4 = Sprite_x__P2025_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 305; s.pc = 2; return s.tmp_4; - case 2: + s.callLocIdx = 308; s.pc = 4; return s.tmp_4; + case 4: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_3 >> 4); @@ -51219,15 +51375,15 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 8); s.tmp_0.arg1 = r0; - s.callLocIdx = 306; s.pc = 1; return s.tmp_0; - case 1: + s.callLocIdx = 309; s.pc = 3; return s.tmp_0; + case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_4 = Sprite_y__P71907_mk(s); + s.tmp_4 = Sprite_y__P2027_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 307; s.pc = 4; return s.tmp_4; - case 4: + s.callLocIdx = 310; s.pc = 6; return s.tmp_4; + case 6: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_3 >> 4); @@ -51236,25 +51392,34 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 8); s.tmp_0.arg1 = r0; - s.callLocIdx = 308; s.pc = 3; return s.tmp_0; - case 3: + s.callLocIdx = 311; s.pc = 5; return s.tmp_0; + case 5: r0 = s.retval; r0 = (s.arg0).fields["inst"] = (-1); - r0 = (s.arg0).fields["movedToStopped"] = (false); + r0 = s.caps[0].fields["kindHasRule"]; + s.tmp_1 = r0; + r0 = s.arg0.fields["_kind"]; + 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 = 1; continue; } r0 = s.caps[0].fields["vm"]; r0 = r0.fields["queued"]; - s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.arg0); + s.tmp_3 = r0; + r0 = pxsim_Array__push(s.tmp_3, s.arg0); + case 1: + case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P79592.info = {"start":6296,"length":329,"line":151,"column":28,"endLine":157,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P5956280.info = {"start":6841,"length":339,"line":166,"column":28,"endLine":172,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P79592_mk(s) { +function inline__P5956280_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P79592, depth: s.depth + 1, + parent: s, fn: inline__P5956280, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51268,7 +51433,7 @@ function inline__P79592_mk(s) { -function tileworld_TileWorldVM_setState__P79452(s) { +function tileworld_TileWorldVM_setState__P5956103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51284,18 +51449,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); r0 = (s.arg0).fields["vm"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_setState__P79452.info = {"start":5570,"length":64,"line":130,"column":8,"endLine":132,"endColumn":9,"fileName":"vm.ts","functionName":"setState","argumentNames":["this","v"]} +tileworld_TileWorldVM_setState__P5956103.info = {"start":5978,"length":64,"line":139,"column":8,"endLine":141,"endColumn":9,"fileName":"vm.ts","functionName":"setState","argumentNames":["this","v"]} -function tileworld_TileWorldVM_setState__P79452_mk(s) { +function tileworld_TileWorldVM_setState__P5956103_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_setState__P79452, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_setState__P5956103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -51305,7 +51470,7 @@ function tileworld_TileWorldVM_setState__P79452_mk(s) { -function scene_cameraFollowSprite__P72341(s) { +function scene_cameraFollowSprite__P2461(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51315,32 +51480,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___96020 = undefined; + s.scene___21485 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P72409_mk(s); - s.callLocIdx = 846; s.pc = 1; return s.tmp_0; + s.tmp_0 = game_currentScene__P2529_mk(s); + s.callLocIdx = 844; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___96020 = (r0); - r0 = s.scene___96020.fields["camera"]; + s.scene___21485 = (r0); + r0 = s.scene___21485.fields["camera"]; s.tmp_0 = r0; r0 = (s.tmp_0).fields["sprite"] = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_cameraFollowSprite__P72341.info = {"start":3990,"length":139,"line":142,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"cameraFollowSprite","argumentNames":["sprite"]} +scene_cameraFollowSprite__P2461.info = {"start":3990,"length":139,"line":142,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"cameraFollowSprite","argumentNames":["sprite"]} -function scene_cameraFollowSprite__P72341_mk(s) { +function scene_cameraFollowSprite__P2461_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_cameraFollowSprite__P72341, depth: s.depth + 1, + parent: s, fn: scene_cameraFollowSprite__P2461, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___96020: undefined, + scene___21485: undefined, arg0: undefined, } } @@ -51348,7 +51513,7 @@ function scene_cameraFollowSprite__P72341_mk(s) { -function tileworld_Project_getPlayer__P73571(s) { +function tileworld_Project_getPlayer__P3691(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51363,17 +51528,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = s.arg0.fields["_player"]; return leave(s, r0) default: oops() } } } -tileworld_Project_getPlayer__P73571.info = {"start":2574,"length":63,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"project.ts","functionName":"getPlayer","argumentNames":["this"]} +tileworld_Project_getPlayer__P3691.info = {"start":2574,"length":63,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"project.ts","functionName":"getPlayer","argumentNames":["this"]} -function tileworld_Project_getPlayer__P73571_mk(s) { +function tileworld_Project_getPlayer__P3691_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getPlayer__P73571, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getPlayer__P3691, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -51382,7 +51547,7 @@ function tileworld_Project_getPlayer__P73571_mk(s) { -function tileworld_TileSprite_constructor__P79259(s) { +function tileworld_TileSprite_constructor__P5955910(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51392,7 +51557,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___79266 = undefined; + s.scene___5955917 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -51401,28 +51566,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileSprite__C79252_VT)) failedCast(r0); - s.tmp_0 = Sprite_constructor__P71933_mk(s); + if (!checkSubtype(r0, tileworld_TileSprite__C5955903_VT)) failedCast(r0); + s.tmp_0 = Sprite_constructor__P2053_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 286; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_currentScene__P72409_mk(s); + s.tmp_0 = game_currentScene__P2529_mk(s); s.callLocIdx = 287; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.scene___79266 = (r0); - s.tmp_0 = PhysicsEngine__C72039_v0_2_mk(s); - r0 = s.scene___79266.fields["physicsEngine"]; + s.scene___5955917 = (r0); + s.tmp_0 = PhysicsEngine__C2159_v0_2_mk(s); + r0 = s.scene___5955917.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C72039_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2159_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__P71951_mk(s); + s.tmp_0 = Sprite_setKind__P2071_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 288; s.pc = 4; return s.tmp_0; @@ -51435,7 +51600,7 @@ switch (step) { r0 = (s.arg0).fields["state"] = (0); s.tmp_0 = if_z_2_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = (100 - s.arg2); + r0 = (70 - s.arg2); s.tmp_0.arg1 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapSetByString(s.tmp_0.arg0, "z", s.tmp_0.arg1); @@ -51451,15 +51616,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileSprite_constructor__P79259.info = {"start":648,"length":422,"line":14,"column":8,"endLine":25,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","img","kind","d"]} +tileworld_TileSprite_constructor__P5955910.info = {"start":543,"length":487,"line":13,"column":8,"endLine":25,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","img","kind","d"]} -function tileworld_TileSprite_constructor__P79259_mk(s) { +function tileworld_TileSprite_constructor__P5955910_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileSprite_constructor__P79259, depth: s.depth + 1, + parent: s, fn: tileworld_TileSprite_constructor__P5955910, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___79266: undefined, + scene___5955917: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -51470,7 +51635,7 @@ function tileworld_TileSprite_constructor__P79259_mk(s) { -function tileworld_Project_getWorldSprites__P73575(s) { +function tileworld_Project_getWorldSprites__P3695(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51485,17 +51650,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; return leave(s, r0) default: oops() } } } -tileworld_Project_getWorldSprites__P73575.info = {"start":3049,"length":70,"line":91,"column":8,"endLine":93,"endColumn":9,"fileName":"project.ts","functionName":"getWorldSprites","argumentNames":["this"]} +tileworld_Project_getWorldSprites__P3695.info = {"start":3049,"length":70,"line":91,"column":8,"endLine":93,"endColumn":9,"fileName":"project.ts","functionName":"getWorldSprites","argumentNames":["this"]} -function tileworld_Project_getWorldSprites__P73575_mk(s) { +function tileworld_Project_getWorldSprites__P3695_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getWorldSprites__P73575, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getWorldSprites__P3695, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -51504,7 +51669,7 @@ function tileworld_Project_getWorldSprites__P73575_mk(s) { -function tileworld_RunGame_setWorld__P73660(s) { +function tileworld_RunGame_setWorld__P5957998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51514,13 +51679,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScene___81302 = undefined; - s.kind___81344 = undefined; - s.x___81359 = undefined; - s.y___81365 = undefined; - s.kind___81371 = undefined; - s.art___81379 = undefined; - s.ts___81384 = undefined; + s.currScene___5958047 = undefined; + s.kind___5958083 = undefined; + s.x___5958098 = undefined; + s.y___5958104 = undefined; + s.kind___5958110 = undefined; + s.art___5958118 = undefined; + s.ts___5958123 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -51528,13 +51693,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RunGame__C73658_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RunGame__C5957996_VT)) failedCast(r0); r0 = (s.arg0).fields["signal"] = (null); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_VMState__C79438_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_VMState__C5956089_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_VMState_constructor__P79439_mk(s); + s.tmp_1 = tileworld_VMState_constructor__P5956090_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 462; s.pc = 12; return s.tmp_1; + s.callLocIdx = 474; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; r0 = (s.arg0).fields["state"] = (s.tmp_0); @@ -51555,12 +51720,12 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["sprites"] = (s.tmp_1); - s.tmp_0 = game_currentScene__P72409_mk(s); - s.callLocIdx = 463; s.pc = 13; return s.tmp_0; + s.tmp_0 = game_currentScene__P2529_mk(s); + s.callLocIdx = 475; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.currScene___81302 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_LegacyTilemap__C73735_VT); + s.currScene___5958047 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_LegacyTilemap__C3855_VT); s.tmp_0 = r0; r0 = s.arg0.fields["debug"]; s.tmp_1 = r0; @@ -51573,19 +51738,19 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = tiles_legacy_LegacyTilemap_constructor__P73737_mk(s); + s.tmp_3 = tiles_legacy_LegacyTilemap_constructor__P3857_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = 4; s.tmp_3.arg2 = s.tmp_2; - s.callLocIdx = 464; s.pc = 14; return s.tmp_3; + s.callLocIdx = 476; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; - r0 = (s.currScene___81302).fields["tileMap"] = (s.tmp_0); - s.tmp_0 = scene_setTileMap__P73731_mk(s); + r0 = (s.currScene___5958047).fields["tileMap"] = (s.tmp_0); + s.tmp_0 = scene_setTileMap__P3851_mk(s); r0 = pxsim_ImageMethods.clone(s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 465; s.pc = 15; return s.tmp_0; + s.callLocIdx = 477; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = s.arg0.fields["state"]; @@ -51597,18 +51762,18 @@ switch (step) { r0 = r0.fields["changed"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, 15); - s.tmp_0 = helpers_arrayForEach__P69987_mk(s); + s.tmp_0 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_backgroundsI"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P81337; - s.callLocIdx = 468; s.pc = 16; return s.tmp_0; + s.tmp_0.arg1 = inline__P5958076; + s.callLocIdx = 480; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.kind___81344 = (0); + s.kind___5958083 = (0); case 3: - s.tmp_1 = r0 = s.kind___81344; + s.tmp_1 = r0 = s.kind___5958083; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_spritesI"]; @@ -51622,104 +51787,104 @@ switch (step) { r0 = s.arg0.fields["state"]; r0 = r0.fields["sprites"]; s.tmp_5 = r0; - s.tmp_6 = r0 = s.kind___81344; + s.tmp_6 = r0 = s.kind___5958083; r0 = pxsim_Array__mk(); s.tmp_7 = r0; r0 = pxsim_Array_.setAt(s.tmp_5, s.tmp_6, s.tmp_7); - r0 = (s.kind___81344 + 1); - s.kind___81344 = (r0); + r0 = (s.kind___5958083 + 1); + s.kind___5958083 = (r0); { step = 3; continue; } case 4: - s.x___81359 = (0); + s.x___5958098 = (0); case 5: - s.tmp_1 = r0 = s.x___81359; + s.tmp_1 = r0 = s.x___5958098; 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___81365 = (0); + s.y___5958104 = (0); case 6: - s.tmp_1 = r0 = s.y___81365; + s.tmp_1 = r0 = s.y___5958104; 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___81359, s.y___81365); - s.kind___81371 = (r0); - r0 = (s.kind___81371 == 15); + r0 = pxsim_ImageMethods.getPixel(s.arg2, s.x___5958098, s.y___5958104); + s.kind___5958110 = (r0); + r0 = (s.kind___5958110 == 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_getSpriteImage__P73582_mk(s); + s.tmp_1 = tileworld_Project_getSpriteImage__P3702_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.kind___81371; - s.callLocIdx = 470; s.pc = 17; return s.tmp_1; + s.tmp_1.arg1 = s.kind___5958110; + s.callLocIdx = 482; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.art___81379 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileSprite__C79252_VT); + s.art___5958118 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileSprite__C5955903_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_TileSprite_constructor__P79259_mk(s); + s.tmp_1 = tileworld_TileSprite_constructor__P5955910_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.art___81379; - s.tmp_1.arg2 = s.kind___81371; + s.tmp_1.arg1 = s.art___5958118; + s.tmp_1.arg2 = s.kind___5958110; r0 = s.arg0.fields["debug"]; s.tmp_1.arg3 = r0; - s.callLocIdx = 471; s.pc = 18; return s.tmp_1; + s.callLocIdx = 483; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - s.ts___81384 = (s.tmp_0); + s.ts___5958123 = (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___81371); + r0 = pxsim_Array__getAt(s.tmp_1, s.kind___5958110); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.ts___81384); - s.tmp_0 = Sprite_x__P71906_mk(s); - s.tmp_0.arg0 = s.ts___81384; - r0 = (s.x___81359 << 4); + r0 = pxsim_Array__push(s.tmp_0, s.ts___5958123); + s.tmp_0 = Sprite_x__P2026_mk(s); + s.tmp_0.arg0 = s.ts___5958123; + r0 = (s.x___5958098 << 4); s.tmp_1 = r0; r0 = (s.tmp_1 + 8); s.tmp_0.arg1 = r0; - s.callLocIdx = 472; s.pc = 19; return s.tmp_0; + s.callLocIdx = 484; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); - s.tmp_0.arg0 = s.ts___81384; - r0 = (s.y___81365 << 4); + s.tmp_0 = Sprite_y__P2028_mk(s); + s.tmp_0.arg0 = s.ts___5958123; + r0 = (s.y___5958104 << 4); s.tmp_1 = r0; r0 = (s.tmp_1 + 8); s.tmp_0.arg1 = r0; - s.callLocIdx = 473; s.pc = 20; return s.tmp_0; + s.callLocIdx = 485; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; case 9: - r0 = (s.y___81365 + 1); - s.y___81365 = (r0); + r0 = (s.y___5958104 + 1); + s.y___5958104 = (r0); { step = 6; continue; } case 10: - r0 = (s.x___81359 + 1); - s.x___81359 = (r0); + r0 = (s.x___5958098 + 1); + s.x___5958098 = (r0); { step = 5; continue; } case 11: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RunGame_setWorld__P73660.info = {"start":31554,"length":1417,"line":705,"column":8,"endLine":737,"endColumn":9,"fileName":"vm.ts","functionName":"setWorld","argumentNames":["this","w","sprites"]} +tileworld_RunGame_setWorld__P5957998.info = {"start":32546,"length":1417,"line":730,"column":8,"endLine":762,"endColumn":9,"fileName":"vm.ts","functionName":"setWorld","argumentNames":["this","w","sprites"]} -function tileworld_RunGame_setWorld__P73660_mk(s) { +function tileworld_RunGame_setWorld__P5957998_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RunGame_setWorld__P73660, depth: s.depth + 1, + parent: s, fn: tileworld_RunGame_setWorld__P5957998, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51729,13 +51894,13 @@ function tileworld_RunGame_setWorld__P73660_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - currScene___81302: undefined, - kind___81344: undefined, - x___81359: undefined, - y___81365: undefined, - kind___81371: undefined, - art___81379: undefined, - ts___81384: undefined, + currScene___5958047: undefined, + kind___5958083: undefined, + x___5958098: undefined, + y___5958104: undefined, + kind___5958110: undefined, + art___5958118: undefined, + ts___5958123: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -51745,7 +51910,7 @@ function tileworld_RunGame_setWorld__P73660_mk(s) { -function inline__P81337(s) { +function inline__P5958076(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51760,23 +51925,23 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = scene_setTile__P73732_mk(s); + s.tmp_0 = scene_setTile__P3852_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = undefined; - s.callLocIdx = 467; s.pc = 1; return s.tmp_0; + s.callLocIdx = 479; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P81337.info = {"start":32220,"length":71,"line":719,"column":46,"endLine":721,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["img","kind"]} +inline__P5958076.info = {"start":33212,"length":71,"line":744,"column":46,"endLine":746,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["img","kind"]} -function inline__P81337_mk(s) { +function inline__P5958076_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P81337, depth: s.depth + 1, + parent: s, fn: inline__P5958076, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -51787,7 +51952,7 @@ function inline__P81337_mk(s) { -function scene_setTile__P73732(s) { +function scene_setTile__P3852(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51797,20 +51962,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___89993 = undefined; + s.scene___21674 = 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__P72409_mk(s); - s.callLocIdx = 1643; s.pc = 1; return s.tmp_0; + s.tmp_0 = game_currentScene__P2529_mk(s); + s.callLocIdx = 1654; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___89993 = (r0); - s.tmp_0 = tiles_legacy_LegacyTilemap_setTile__P73749_mk(s); - r0 = s.scene___89993.fields["tileMap"]; + s.scene___21674 = (r0); + s.tmp_0 = tiles_legacy_LegacyTilemap_setTile__P3869_mk(s); + r0 = s.scene___21674.fields["tileMap"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; @@ -51822,25 +51987,25 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg3 = r0; - s.callLocIdx = 1644; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1655; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_setTile__P73732.info = {"start":249,"length":200,"line":8,"column":4,"endLine":11,"endColumn":5,"fileName":"mytilemap.ts","functionName":"setTile","argumentNames":["index","img","wall"]} +scene_setTile__P3852.info = {"start":249,"length":200,"line":8,"column":4,"endLine":11,"endColumn":5,"fileName":"mytilemap.ts","functionName":"setTile","argumentNames":["index","img","wall"]} -function scene_setTile__P73732_mk(s) { +function scene_setTile__P3852_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setTile__P73732, depth: s.depth + 1, + parent: s, fn: scene_setTile__P3852, depth: s.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___89993: undefined, + scene___21674: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -51850,7 +52015,7 @@ function scene_setTile__P73732_mk(s) { -function tiles_legacy_LegacyTilemap_setTile__P73749(s) { +function tiles_legacy_LegacyTilemap_setTile__P3869(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51868,11 +52033,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); - s.tmp_1 = tiles_legacy_LegacyTilemap__C73735_v10_2_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); + s.tmp_1 = tiles_legacy_LegacyTilemap__C3855_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__C73735_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tiles_legacy_LegacyTilemap__C3855_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: @@ -51883,14 +52048,14 @@ switch (step) { { step = 3; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_TileSet__C90004_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_TileSet__C6501_VT); s.tmp_2 = r0; - s.tmp_3 = tiles_legacy_TileSet_constructor__P90006_mk(s); + s.tmp_3 = tiles_legacy_TileSet_constructor__P6503_mk(s); s.tmp_3.arg0 = s.tmp_2; s.tmp_3.arg1 = s.arg2; s.tmp_3.arg2 = s.arg3; s.tmp_3.arg3 = s.arg0; - s.callLocIdx = 1656; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1667; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; r0 = s.arg0.fields["_tileSets"]; @@ -51901,12 +52066,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_setTile__P73749.info = {"start":2976,"length":192,"line":103,"column":8,"endLine":106,"endColumn":9,"fileName":"mytilemap.ts","functionName":"setTile","argumentNames":["this","index","img","collisions"]} +tiles_legacy_LegacyTilemap_setTile__P3869.info = {"start":2976,"length":192,"line":103,"column":8,"endLine":106,"endColumn":9,"fileName":"mytilemap.ts","functionName":"setTile","argumentNames":["this","index","img","collisions"]} -function tiles_legacy_LegacyTilemap_setTile__P73749_mk(s) { +function tiles_legacy_LegacyTilemap_setTile__P3869_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_setTile__P73749, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_setTile__P3869, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51923,7 +52088,7 @@ function tiles_legacy_LegacyTilemap_setTile__P73749_mk(s) { -function tiles_legacy_TileSet_constructor__P90006(s) { +function tiles_legacy_TileSet_constructor__P6503(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51941,7 +52106,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_TileSet__C90004_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_TileSet__C6501_VT)) failedCast(r0); r0 = (s.arg0).fields["originalImage"] = (s.arg1); r0 = (s.arg0).fields["obstacle"] = (s.arg2); r0 = (s.arg0).fields["map"] = (s.arg3); @@ -51949,12 +52114,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_TileSet_constructor__P90006.info = {"start":638,"length":186,"line":21,"column":8,"endLine":25,"endColumn":9,"fileName":"mytilemap.ts","functionName":"inline","argumentNames":["this","image","collisions","map"]} +tiles_legacy_TileSet_constructor__P6503.info = {"start":638,"length":186,"line":21,"column":8,"endLine":25,"endColumn":9,"fileName":"mytilemap.ts","functionName":"inline","argumentNames":["this","image","collisions","map"]} -function tiles_legacy_TileSet_constructor__P90006_mk(s) { +function tiles_legacy_TileSet_constructor__P6503_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_TileSet_constructor__P90006, depth: s.depth + 1, + parent: s, fn: tiles_legacy_TileSet_constructor__P6503, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -51966,7 +52131,7 @@ function tiles_legacy_TileSet_constructor__P90006_mk(s) { -function tiles_legacy_LegacyTilemap_isInvalidIndex__P81312(s) { +function tiles_legacy_LegacyTilemap_isInvalidIndex__P6507(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51982,7 +52147,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -51998,12 +52163,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_isInvalidIndex__P81312.info = {"start":5347,"length":105,"line":168,"column":8,"endLine":170,"endColumn":9,"fileName":"mytilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} +tiles_legacy_LegacyTilemap_isInvalidIndex__P6507.info = {"start":5347,"length":105,"line":168,"column":8,"endLine":170,"endColumn":9,"fileName":"mytilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} -function tiles_legacy_LegacyTilemap_isInvalidIndex__P81312_mk(s) { +function tiles_legacy_LegacyTilemap_isInvalidIndex__P6507_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_isInvalidIndex__P81312, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_isInvalidIndex__P6507, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52015,7 +52180,7 @@ function tiles_legacy_LegacyTilemap_isInvalidIndex__P81312_mk(s) { -function scene_setTileMap__P73731(s) { +function scene_setTileMap__P3851(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52025,44 +52190,44 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___89979 = undefined; + s.scene___21725 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P72409_mk(s); - s.callLocIdx = 1640; s.pc = 1; return s.tmp_0; + s.tmp_0 = game_currentScene__P2529_mk(s); + s.callLocIdx = 1651; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___89979 = (r0); - s.tmp_0 = tiles_legacy_LegacyTilemap_setMap__P73750_mk(s); - r0 = s.scene___89979.fields["tileMap"]; + s.scene___21725 = (r0); + s.tmp_0 = tiles_legacy_LegacyTilemap_setMap__P3870_mk(s); + r0 = s.scene___21725.fields["tileMap"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1641; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1652; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tiles_TileMap_scale__P72200_mk(s); - r0 = s.scene___89979.fields["tileMap"]; + s.tmp_0 = tiles_TileMap_scale__P2320_mk(s); + r0 = s.scene___21725.fields["tileMap"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1642; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1653; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_setTileMap__P73731.info = {"start":23,"length":220,"line":2,"column":4,"endLine":6,"endColumn":5,"fileName":"mytilemap.ts","functionName":"setTileMap","argumentNames":["map","scale"]} +scene_setTileMap__P3851.info = {"start":23,"length":220,"line":2,"column":4,"endLine":6,"endColumn":5,"fileName":"mytilemap.ts","functionName":"setTileMap","argumentNames":["map","scale"]} -function scene_setTileMap__P73731_mk(s) { +function scene_setTileMap__P3851_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setTileMap__P73731, depth: s.depth + 1, + parent: s, fn: scene_setTileMap__P3851, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___89979: undefined, + scene___21725: undefined, arg0: undefined, arg1: undefined, } } @@ -52071,7 +52236,7 @@ function scene_setTileMap__P73731_mk(s) { -function tiles_TileMap_scale__P72200(s) { +function tiles_TileMap_scale__P2320(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52087,17 +52252,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2317_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__P72189_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P2309_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 742; s.pc = 3; return s.tmp_1; + s.callLocIdx = 740; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 1: @@ -52106,12 +52271,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_scale__P72200.info = {"start":6190,"length":144,"line":224,"column":8,"endLine":229,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMap_scale__P2320.info = {"start":6190,"length":144,"line":224,"column":8,"endLine":229,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -function tiles_TileMap_scale__P72200_mk(s) { +function tiles_TileMap_scale__P2320_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P72200, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P2320, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52123,7 +52288,7 @@ function tiles_TileMap_scale__P72200_mk(s) { -function tiles_TileMapData_scale__P72189(s) { +function tiles_TileMapData_scale__P2309(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52139,7 +52304,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C72184_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2304_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -52149,12 +52314,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_scale__P72189.info = {"start":3885,"length":102,"line":147,"column":8,"endLine":150,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMapData_scale__P2309.info = {"start":3885,"length":102,"line":147,"column":8,"endLine":150,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -function tiles_TileMapData_scale__P72189_mk(s) { +function tiles_TileMapData_scale__P2309_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P72189, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P2309, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52166,7 +52331,7 @@ function tiles_TileMapData_scale__P72189_mk(s) { -function tiles_TileMapData_scale__P72188(s) { +function tiles_TileMapData_scale__P2308(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52181,18 +52346,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C72184_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2304_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_scale__P72188.info = {"start":3809,"length":66,"line":143,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMapData_scale__P72188.isGetter = true; +tiles_TileMapData_scale__P2308.info = {"start":3809,"length":66,"line":143,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMapData_scale__P2308.isGetter = true; -function tiles_TileMapData_scale__P72188_mk(s) { +function tiles_TileMapData_scale__P2308_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P72188, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P2308, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -52201,7 +52366,7 @@ function tiles_TileMapData_scale__P72188_mk(s) { -function tiles_legacy_LegacyTilemap_setMap__P73750(s) { +function tiles_legacy_LegacyTilemap_setMap__P3870(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52217,18 +52382,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); r0 = (s.arg0).fields["_mapImage"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_setMap__P73750.info = {"start":3178,"length":64,"line":108,"column":8,"endLine":110,"endColumn":9,"fileName":"mytilemap.ts","functionName":"setMap","argumentNames":["this","map"]} +tiles_legacy_LegacyTilemap_setMap__P3870.info = {"start":3178,"length":64,"line":108,"column":8,"endLine":110,"endColumn":9,"fileName":"mytilemap.ts","functionName":"setMap","argumentNames":["this","map"]} -function tiles_legacy_LegacyTilemap_setMap__P73750_mk(s) { +function tiles_legacy_LegacyTilemap_setMap__P3870_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_setMap__P73750, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_setMap__P3870, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -52238,7 +52403,7 @@ function tiles_legacy_LegacyTilemap_setMap__P73750_mk(s) { -function tiles_legacy_LegacyTilemap_constructor__P73737(s) { +function tiles_legacy_LegacyTilemap_constructor__P3857(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52255,11 +52420,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_constructor__P72198_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_constructor__P2318_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1646; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1657; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["_screenX"] = (s.arg2); @@ -52272,12 +52437,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_constructor__P73737.info = {"start":1614,"length":206,"line":48,"column":8,"endLine":53,"endColumn":9,"fileName":"mytilemap.ts","functionName":"inline","argumentNames":["this","scale","left"]} +tiles_legacy_LegacyTilemap_constructor__P3857.info = {"start":1614,"length":206,"line":48,"column":8,"endLine":53,"endColumn":9,"fileName":"mytilemap.ts","functionName":"inline","argumentNames":["this","scale","left"]} -function tiles_legacy_LegacyTilemap_constructor__P73737_mk(s) { +function tiles_legacy_LegacyTilemap_constructor__P3857_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_constructor__P73737, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_constructor__P3857, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52290,7 +52455,7 @@ function tiles_legacy_LegacyTilemap_constructor__P73737_mk(s) { -function tiles_TileMap_constructor__P72198(s) { +function tiles_TileMap_constructor__P2318(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52306,34 +52471,34 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P72200_mk(s); + s.tmp_0 = tiles_TileMap_scale__P2320_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 740; s.pc = 1; return s.tmp_0; + s.callLocIdx = 738; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P90820); + r0 = pxsim_pxtcore_mkAction(1, inline__P21790); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = scene_createRenderable__P72260_mk(s); + s.tmp_1 = scene_createRenderable__P2380_mk(s); s.tmp_1.arg0 = -1; s.tmp_1.arg1 = s.tmp_0; s.tmp_1.arg2 = undefined; - s.callLocIdx = 741; s.pc = 2; return s.tmp_1; + s.callLocIdx = 739; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_TileMap_constructor__P72198.info = {"start":5865,"length":250,"line":210,"column":8,"endLine":218,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} +tiles_TileMap_constructor__P2318.info = {"start":5865,"length":250,"line":210,"column":8,"endLine":218,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} -function tiles_TileMap_constructor__P72198_mk(s) { +function tiles_TileMap_constructor__P2318_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P72198, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P2318, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52345,7 +52510,7 @@ function tiles_TileMap_constructor__P72198_mk(s) { -function inline__P90820(s) { +function inline__P21790(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52360,11 +52525,11 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap__C72197_v11_3_mk(s); + s.tmp_0 = tiles_TileMap__C2317_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__C72197_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C2317_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: @@ -52373,12 +52538,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P90820.info = {"start":6065,"length":25,"line":216,"column":16,"endLine":216,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} +inline__P21790.info = {"start":6065,"length":25,"line":216,"column":16,"endLine":216,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} -function inline__P90820_mk(s) { +function inline__P21790_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P90820, depth: s.depth + 1, + parent: s, fn: inline__P21790, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -52389,7 +52554,7 @@ function inline__P90820_mk(s) { -function tiles_TileMap_draw__P74108(s) { +function tiles_TileMap_draw__P4228(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52399,21 +52564,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___90831 = undefined; - s.offsetX___90837 = undefined; - s.offsetY___90842 = undefined; - s.x0___90847 = undefined; - s.xn___90854 = undefined; - s.y0___90872 = undefined; - s.yn___90879 = undefined; - s.x___90896 = undefined; - s.y___90902 = undefined; - s.index___90908 = undefined; - s.tile___90915 = undefined; - s.x___90951 = undefined; - s.xLine___90957 = undefined; - s.y___90983 = undefined; - s.yLine___90989 = undefined; + s.bitmask___21801 = undefined; + s.offsetX___21807 = undefined; + s.offsetY___21812 = undefined; + s.x0___21817 = undefined; + s.xn___21824 = undefined; + s.y0___21841 = undefined; + s.yn___21848 = undefined; + s.x___21865 = undefined; + s.y___21871 = undefined; + s.index___21877 = undefined; + s.tile___21884 = undefined; + s.x___21920 = undefined; + s.xLine___21926 = undefined; + s.y___21952 = undefined; + s.yLine___21958 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -52421,10 +52586,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); - s.tmp_3 = tiles_TileMap__C72197_v6_1_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); + s.tmp_3 = tiles_TileMap__C2317_v6_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C2317_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: @@ -52444,16 +52609,16 @@ switch (step) { r0 = (1 << s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_4 - 1); - s.bitmask___90831 = (r0); + s.bitmask___21801 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___90831); - s.offsetX___90837 = (r0); + r0 = (s.tmp_0 & s.bitmask___21801); + s.offsetX___21807 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___90831); - s.offsetY___90842 = (r0); - s.tmp_0 = Math_max__P70005_mk(s); + r0 = (s.tmp_0 & s.bitmask___21801); + s.offsetY___21812 = (r0); + s.tmp_0 = Math_max__P125_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -52461,11 +52626,11 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 757; s.pc = 25; return s.tmp_0; + s.callLocIdx = 755; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.x0___90847 = (r0); - s.tmp_0 = Math_min__P70006_mk(s); + s.x0___21817 = (r0); + s.tmp_0 = Math_min__P126_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -52482,11 +52647,11 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 760; s.pc = 26; return s.tmp_0; + s.callLocIdx = 758; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.xn___90854 = (r0); - s.tmp_0 = Math_max__P70005_mk(s); + s.xn___21824 = (r0); + s.tmp_0 = Math_max__P125_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -52494,11 +52659,11 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 762; s.pc = 27; return s.tmp_0; + s.callLocIdx = 760; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.y0___90872 = (r0); - s.tmp_0 = Math_min__P70006_mk(s); + s.y0___21841 = (r0); + s.tmp_0 = Math_min__P126_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -52515,95 +52680,95 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 765; s.pc = 28; return s.tmp_0; + s.callLocIdx = 763; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.yn___90879 = (r0); - s.x___90896 = (s.x0___90847); + s.yn___21848 = (r0); + s.x___21865 = (s.x0___21817); case 3: - r0 = (s.x___90896 <= s.xn___90854); + r0 = (s.x___21865 <= s.xn___21824); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___90902 = (s.y0___90872); + s.y___21871 = (s.y0___21841); case 4: - r0 = (s.y___90902 <= s.yn___90879); + r0 = (s.y___21871 <= s.yn___21848); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P72190_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P2310_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___90896; - s.tmp_1.arg2 = s.y___90902; - s.callLocIdx = 766; s.pc = 29; return s.tmp_1; + s.tmp_1.arg1 = s.x___21865; + s.tmp_1.arg2 = s.y___21871; + s.callLocIdx = 764; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; - s.index___90908 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P72193_mk(s); + s.index___21877 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P2313_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___90908; - s.callLocIdx = 767; s.pc = 30; return s.tmp_0; + s.tmp_0.arg1 = s.index___21877; + s.callLocIdx = 765; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - s.tile___90915 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___90915); + s.tile___21884 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___21884); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___90915; - r0 = (s.x___90896 - s.x0___90847); + s.tmp_1 = r0 = s.tile___21884; + r0 = (s.x___21865 - s.x0___21817); 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___90837); + r0 = (s.tmp_3 - s.offsetX___21807); s.tmp_2 = r0; - r0 = (s.y___90902 - s.y0___90872); + r0 = (s.y___21871 - s.y0___21841); 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___90842); + r0 = (s.tmp_7 - s.offsetY___21812); 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___90902 + 1); - s.y___90902 = (r0); + r0 = (s.y___21871 + 1); + s.y___21871 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___90896 + 1); - s.x___90896 = (r0); + r0 = (s.x___21865 + 1); + s.x___21865 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___72405); + r0 = pxsim_numops_toBoolDecr(globals.debug___2525); if (!r0) { step = 21; continue; } - s.x___90951 = (s.x0___90847); + s.x___21920 = (s.x0___21817); case 9: - r0 = (s.x___90951 <= s.xn___90854); + r0 = (s.x___21920 <= s.xn___21824); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___90951 - s.x0___90847); + r0 = (s.x___21920 - s.x0___21817); 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___90837); - s.xLine___90957 = (r0); - r0 = (s.xLine___90957 >= 0); + r0 = (s.tmp_1 - s.offsetX___21807); + s.xLine___21926 = (r0); + r0 = (s.xLine___21926 >= 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___90957; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + s.tmp_1 = r0 = s.xLine___21926; + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -52611,46 +52776,46 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P71610_mk(s); + s.tmp_4 = helpers_imageDrawLine__P1730_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___90957; + s.tmp_4.arg1 = s.xLine___21926; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___90957; + s.tmp_4.arg3 = s.xLine___21926; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; - s.callLocIdx = 771; s.pc = 31; return s.tmp_4; + s.callLocIdx = 769; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 12: case 13: - r0 = (s.x___90951 + 1); - s.x___90951 = (r0); + r0 = (s.x___21920 + 1); + s.x___21920 = (r0); { step = 9; continue; } case 14: - s.y___90983 = (s.y0___90872); + s.y___21952 = (s.y0___21841); case 15: - r0 = (s.y___90983 <= s.yn___90879); + r0 = (s.y___21952 <= s.yn___21848); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___90983 - s.y0___90872); + r0 = (s.y___21952 - s.y0___21841); 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___90842); - s.yLine___90989 = (r0); - r0 = (s.yLine___90989 >= 0); + r0 = (s.tmp_1 - s.offsetY___21812); + s.yLine___21958 = (r0); + r0 = (s.yLine___21958 >= 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___90989; - r0 = pxsim_ImageMethods.height(globals.screen___71682); + s.tmp_1 = r0 = s.yLine___21958; + r0 = pxsim_ImageMethods.height(globals.screen___1802); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -52658,21 +52823,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P71610_mk(s); + s.tmp_4 = helpers_imageDrawLine__P1730_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___90989; + s.tmp_4.arg2 = s.yLine___21958; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___90989; + s.tmp_4.arg4 = s.yLine___21958; s.tmp_4.arg5 = 1; - s.callLocIdx = 773; s.pc = 32; return s.tmp_4; + s.callLocIdx = 771; s.pc = 32; return s.tmp_4; case 32: r0 = s.retval; case 18: case 19: - r0 = (s.y___90983 + 1); - s.y___90983 = (r0); + r0 = (s.y___21952 + 1); + s.y___21952 = (r0); { step = 15; continue; } case 20: case 21: @@ -52682,12 +52847,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P74108.info = {"start":10187,"length":2224,"line":347,"column":8,"endLine":402,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} +tiles_TileMap_draw__P4228.info = {"start":10187,"length":2224,"line":347,"column":8,"endLine":402,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} -function tiles_TileMap_draw__P74108_mk(s) { +function tiles_TileMap_draw__P4228_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P74108, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P4228, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52699,21 +52864,21 @@ function tiles_TileMap_draw__P74108_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___90831: undefined, - offsetX___90837: undefined, - offsetY___90842: undefined, - x0___90847: undefined, - xn___90854: undefined, - y0___90872: undefined, - yn___90879: undefined, - x___90896: undefined, - y___90902: undefined, - index___90908: undefined, - tile___90915: undefined, - x___90951: undefined, - xLine___90957: undefined, - y___90983: undefined, - yLine___90989: undefined, + bitmask___21801: undefined, + offsetX___21807: undefined, + offsetY___21812: undefined, + x0___21817: undefined, + xn___21824: undefined, + y0___21841: undefined, + yn___21848: undefined, + x___21865: undefined, + y___21871: undefined, + index___21877: undefined, + tile___21884: undefined, + x___21920: undefined, + xLine___21926: undefined, + y___21952: undefined, + yLine___21958: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -52723,7 +52888,7 @@ function tiles_TileMap_draw__P74108_mk(s) { -function tiles_TileMapData_getTileImage__P72193(s) { +function tiles_TileMapData_getTileImage__P2313(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52733,25 +52898,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___91017 = undefined; - s.cachedImage___91021 = undefined; - s.originalImage___91028 = undefined; + s.size___21986 = undefined; + s.cachedImage___21990 = undefined; + s.originalImage___21996 = 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__C72184_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2304_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___91017 = (r0); + s.size___21986 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___91021 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___91021); + s.cachedImage___21990 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___21990); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -52760,58 +52925,58 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___91028 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___91028); + s.originalImage___21996 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___21996); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___91028); + r0 = pxsim_ImageMethods.width(s.originalImage___21996); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___91017); + r0 = (s.tmp_1 <= s.size___21986); 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___91028); + r0 = pxsim_ImageMethods.height(s.originalImage___21996); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___91017); + r0 = (s.tmp_2 <= s.size___21986); 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___91021 = (s.originalImage___91028); + s.cachedImage___21990 = (s.originalImage___21996); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___91017, s.size___91017); - s.cachedImage___91021 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___91021, s.originalImage___91028, 0, 0); + r0 = pxsim.image.create(s.size___21986, s.size___21986); + s.cachedImage___21990 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___21990, s.originalImage___21996, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___91021); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___21990); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___91021; + r0 = s.cachedImage___21990; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileImage__P72193.info = {"start":4599,"length":717,"line":172,"column":8,"endLine":189,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMapData_getTileImage__P2313.info = {"start":4599,"length":717,"line":172,"column":8,"endLine":189,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMapData_getTileImage__P72193_mk(s) { +function tiles_TileMapData_getTileImage__P2313_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P72193, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P2313, depth: s.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___91017: undefined, - cachedImage___91021: undefined, - originalImage___91028: undefined, + size___21986: undefined, + cachedImage___21990: undefined, + originalImage___21996: undefined, arg0: undefined, arg1: undefined, } } @@ -52820,7 +52985,7 @@ function tiles_TileMapData_getTileImage__P72193_mk(s) { -function tileworld_VMState_constructor__P79439(s) { +function tileworld_VMState_constructor__P5956090(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52835,7 +53000,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_VMState__C79438_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_VMState__C5956089_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -52844,12 +53009,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_VMState_constructor__P79439.info = {"start":4221,"length":67,"line":89,"column":8,"endLine":91,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this"]} +tileworld_VMState_constructor__P5956090.info = {"start":4304,"length":67,"line":92,"column":8,"endLine":94,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this"]} -function tileworld_VMState_constructor__P79439_mk(s) { +function tileworld_VMState_constructor__P5956090_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_VMState_constructor__P79439, depth: s.depth + 1, + parent: s, fn: tileworld_VMState_constructor__P5956090, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52860,7 +53025,7 @@ function tileworld_VMState_constructor__P79439_mk(s) { -function tileworld_RunGame_constructor__P73659(s) { +function tileworld_RunGame_constructor__P5958004(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52878,21 +53043,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RunGame__C73658_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RunGame__C5957996_VT)) failedCast(r0); r0 = (s.arg0).fields["p"] = (s.arg1); r0 = (s.arg0).fields["debug"] = (s.arg3); - s.tmp_0 = tileworld_BackgroundBase_constructor__P73668_mk(s); + s.tmp_0 = tileworld_BackgroundBase_constructor__P3788_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 460; s.pc = 1; return s.tmp_0; + s.callLocIdx = 472; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileWorldVM__C79451_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileWorldVM__C5956102_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_TileWorldVM_constructor__P79475_mk(s); + s.tmp_1 = tileworld_TileWorldVM_constructor__P5956125_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 461; s.pc = 2; return s.tmp_1; + s.callLocIdx = 473; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = (s.arg0).fields["vm"] = (s.tmp_0); @@ -52900,12 +53065,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RunGame_constructor__P73659.info = {"start":31372,"length":164,"line":700,"column":8,"endLine":703,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","p","rules","debug"]} +tileworld_RunGame_constructor__P5958004.info = {"start":32364,"length":164,"line":725,"column":8,"endLine":728,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","p","rules","debug"]} -function tileworld_RunGame_constructor__P73659_mk(s) { +function tileworld_RunGame_constructor__P5958004_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RunGame_constructor__P73659, depth: s.depth + 1, + parent: s, fn: tileworld_RunGame_constructor__P5958004, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52919,7 +53084,7 @@ function tileworld_RunGame_constructor__P73659_mk(s) { -function tileworld_TileWorldVM_constructor__P79475(s) { +function tileworld_TileWorldVM_constructor__P5956125(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52929,7 +53094,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rt___79485 = undefined; + s.rt___5956137 = undefined; + s.kind___5956150 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -52937,56 +53103,80 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C79451_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C5956102_VT)) failedCast(r0); r0 = (s.arg0).fields["p"] = (s.arg1); r0 = (s.arg0).fields["rules"] = (s.arg2); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["ruleIndex"] = (s.tmp_1); + s.tmp_2 = r0 = s.arg0; + r0 = pxsim_Array__mk(); + s.tmp_3 = r0; + r0 = (s.tmp_2).fields["kindHasRule"] = (s.tmp_3); r0 = (s.arg0).fields["vm"] = (null); - s.rt___79485 = (0); + s.rt___5956137 = (0); case 1: - r0 = (s.rt___79485 <= 3); + r0 = (s.rt___5956137 <= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } r0 = s.arg0.fields["ruleIndex"]; s.tmp_1 = r0; - s.tmp_2 = r0 = s.rt___79485; + s.tmp_2 = r0 = s.rt___5956137; r0 = pxsim_Array__mk(); s.tmp_3 = r0; r0 = pxsim_Array_.setAt(s.tmp_1, s.tmp_2, s.tmp_3); - r0 = (s.rt___79485 + 1); - s.rt___79485 = (r0); + r0 = (s.rt___5956137 + 1); + s.rt___5956137 = (r0); { step = 1; continue; } case 2: - r0 = pxsim_pxtcore_mkAction(1, inline__P79501); + s.kind___5956150 = (0); + case 3: + s.tmp_1 = r0 = s.kind___5956150; + r0 = s.arg1.fields["_spritesI"]; + 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 = 4; continue; } + r0 = s.arg0.fields["kindHasRule"]; + s.tmp_4 = r0; + r0 = pxsim_Array_.setAt(s.tmp_4, s.kind___5956150, false); + r0 = (s.kind___5956150 + 1); + s.kind___5956150 = (r0); + { step = 3; continue; } + case 4: + r0 = pxsim_pxtcore_mkAction(1, inline__P5956165); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["rules"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 304; s.pc = 3; return s.tmp_1; - case 3: + s.callLocIdx = 307; s.pc = 5; return s.tmp_1; + case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_constructor__P79475.info = {"start":4906,"length":654,"line":113,"column":8,"endLine":128,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","p","rules"]} +tileworld_TileWorldVM_constructor__P5956125.info = {"start":5115,"length":853,"line":118,"column":8,"endLine":137,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","p","rules"]} -function tileworld_TileWorldVM_constructor__P79475_mk(s) { +function tileworld_TileWorldVM_constructor__P5956125_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_constructor__P79475, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_constructor__P5956125, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - rt___79485: undefined, + tmp_4: undefined, + rt___5956137: undefined, + kind___5956150: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -52996,7 +53186,7 @@ function tileworld_TileWorldVM_constructor__P79475_mk(s) { -function inline__P79501(s) { +function inline__P5956165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53006,41 +53196,56 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.derivedRules___79503 = undefined; + s.derivedRules___5956167 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleView_getDerivedRules__P73518_mk(s); + s.tmp_0 = tileworld_RuleView_getDerivedRules__P3638_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 301; s.pc = 1; return s.tmp_0; + s.callLocIdx = 302; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.derivedRules___79503 = (r0); - r0 = pxsim_Array__push(s.derivedRules___79503, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P79512); + s.derivedRules___5956167 = (r0); + r0 = pxsim_Array__push(s.derivedRules___5956167, s.arg0); + r0 = pxsim_pxtcore_mkAction(1, inline__P5956176); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.caps[0]); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); - s.tmp_1.arg0 = s.derivedRules___79503; + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + s.tmp_1.arg0 = s.derivedRules___5956167; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 303; s.pc = 2; return s.tmp_1; + s.callLocIdx = 304; s.pc = 2; return s.tmp_1; case 2: + r0 = s.retval; + r0 = pxsim_pxtcore_mkAction(1, inline__P5956190); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.caps[0]); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + s.tmp_2 = tileworld_RuleView_getSpriteKinds__P3664_mk(s); + s.tmp_2.arg0 = s.arg0; + s.callLocIdx = 305; s.pc = 4; return s.tmp_2; + case 4: + r0 = s.retval; + s.tmp_1.arg0 = r0; + s.tmp_1.arg1 = s.tmp_0; + s.callLocIdx = 306; s.pc = 3; return s.tmp_1; + case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P79501.info = {"start":5270,"length":278,"line":120,"column":31,"endLine":127,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} +inline__P5956165.info = {"start":5596,"length":360,"line":128,"column":31,"endLine":136,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} -function inline__P79501_mk(s) { +function inline__P5956165_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P79501, depth: s.depth + 1, + parent: s, fn: inline__P5956165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - derivedRules___79503: undefined, + tmp_2: undefined, + derivedRules___5956167: undefined, arg0: undefined, } } @@ -53048,7 +53253,7 @@ function inline__P79501_mk(s) { -function inline__P79512(s) { +function inline__P5956176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53058,33 +53263,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rt___79514 = undefined; + s.rt___5956178 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0.fields["r"]; r0 = r0.fields["ruleType"]; - s.rt___79514 = (r0); + s.rt___5956178 = (r0); r0 = s.caps[0].fields["ruleIndex"]; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.rt___79514); + r0 = pxsim_Array__getAt(s.tmp_1, s.rt___5956178); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P79512.info = {"start":5411,"length":121,"line":123,"column":37,"endLine":126,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} +inline__P5956176.info = {"start":5737,"length":121,"line":131,"column":37,"endLine":134,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} -function inline__P79512_mk(s) { +function inline__P5956176_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P79512, depth: s.depth + 1, + parent: s, fn: inline__P5956176, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rt___79514: undefined, + rt___5956178: undefined, arg0: undefined, } } @@ -53092,7 +53297,43 @@ function inline__P79512_mk(s) { -function tileworld_Project_getRules__P73569(s) { +function inline__P5956190(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = s.caps[0].fields["kindHasRule"]; + s.tmp_0 = r0; + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg0, true); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +inline__P5956190.info = {"start":5905,"length":35,"line":135,"column":44,"endLine":135,"endColumn":79,"fileName":"vm.ts","functionName":"inline","argumentNames":["k"]} + +function inline__P5956190_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P5956190, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + arg0: undefined, +} } + + + + + +function tileworld_Project_getRules__P3689(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53107,17 +53348,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = s.arg0.fields["rules"]; return leave(s, r0) default: oops() } } } -tileworld_Project_getRules__P73569.info = {"start":2419,"length":60,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"project.ts","functionName":"getRules","argumentNames":["this"]} +tileworld_Project_getRules__P3689.info = {"start":2419,"length":60,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"project.ts","functionName":"getRules","argumentNames":["this"]} -function tileworld_Project_getRules__P73569_mk(s) { +function tileworld_Project_getRules__P3689_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getRules__P73569, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getRules__P3689, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -53126,7 +53367,7 @@ function tileworld_Project_getRules__P73569_mk(s) { -function tileworld_SwitchExport_constructor__P73552(s) { +function tileworld_SwitchExport_constructor__P3672(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53143,19 +53384,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_SwitchExport__C73551_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_SwitchExport__C3671_VT)) failedCast(r0); r0 = (s.arg0).fields["p"] = (s.arg1); r0 = (s.arg0).fields["backgrounds"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_SwitchExport_constructor__P73552.info = {"start":107,"length":80,"line":5,"column":8,"endLine":6,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["this","p","backgrounds"]} +tileworld_SwitchExport_constructor__P3672.info = {"start":107,"length":80,"line":5,"column":8,"endLine":6,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["this","p","backgrounds"]} -function tileworld_SwitchExport_constructor__P73552_mk(s) { +function tileworld_SwitchExport_constructor__P3672_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_SwitchExport_constructor__P73552, depth: s.depth + 1, + parent: s, fn: tileworld_SwitchExport_constructor__P3672, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -53166,7 +53407,7 @@ function tileworld_SwitchExport_constructor__P73552_mk(s) { -function tileworld_Gallery_constructor__P73709(s) { +function tileworld_Gallery_constructor__P3829(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53185,22 +53426,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Gallery__C73708_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Gallery__C3828_VT)) failedCast(r0); r0 = (s.arg0).fields["kind"] = (s.arg2); r0 = (s.arg0).fields["wrapper"] = (s.arg3); r0 = (s.arg0).fields["gallery"] = (s.arg4); - s.tmp_0 = tileworld_RuleVisualsBase_constructor__P73670_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_constructor__P3790_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1291; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1303; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_3 = tileworld_SwitchExport_getImage__P73554_mk(s); + s.tmp_3 = tileworld_SwitchExport_getImage__P3674_mk(s); r0 = s.arg0.fields["wrapper"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.arg2; - s.callLocIdx = 1292; s.pc = 2; return s.tmp_3; + s.callLocIdx = 1304; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; @@ -53213,65 +53454,65 @@ 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__P82564_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P6299_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; - s.callLocIdx = 1293; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1305; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P82565_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P6300_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; - s.callLocIdx = 1294; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1306; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P82572_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P6307_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1295; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1307; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P82564_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P6299_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1296; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1308; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P82565_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P6300_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1297; s.pc = 7; return s.tmp_0; + s.callLocIdx = 1309; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P87056); + r0 = pxsim_pxtcore_mkAction(1, inline__P22145); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.A___71757; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.A___1877; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1303; s.pc = 8; return s.tmp_1; + s.callLocIdx = 1315; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P87092); + r0 = pxsim_pxtcore_mkAction(1, inline__P22181); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.B___71758; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.B___1878; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1307; s.pc = 9; return s.tmp_1; + s.callLocIdx = 1319; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Gallery_constructor__P73709.info = {"start":147,"length":1126,"line":5,"column":8,"endLine":30,"endColumn":9,"fileName":"gallery.ts","functionName":"inline","argumentNames":["this","p","kind","wrapper","gallery"]} +tileworld_Gallery_constructor__P3829.info = {"start":147,"length":1126,"line":5,"column":8,"endLine":30,"endColumn":9,"fileName":"gallery.ts","functionName":"inline","argumentNames":["this","p","kind","wrapper","gallery"]} -function tileworld_Gallery_constructor__P73709_mk(s) { +function tileworld_Gallery_constructor__P3829_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Gallery_constructor__P73709, depth: s.depth + 1, + parent: s, fn: tileworld_Gallery_constructor__P3829, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53288,7 +53529,7 @@ function tileworld_Gallery_constructor__P73709_mk(s) { -function inline__P87056(s) { +function inline__P22145(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53298,13 +53539,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.isCurrent___87057 = undefined; - s.index___87065 = undefined; - s.img___87077 = undefined; - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.isCurrent___22146 = undefined; + s.index___22154 = undefined; + s.img___22166 = undefined; + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1298; s.pc = 9; return s.tmp_2; + s.callLocIdx = 1310; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_1 = r0; @@ -53315,10 +53556,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1299; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1311; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; s.tmp_3 = r0; @@ -53326,52 +53567,52 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_5 = r0; - s.isCurrent___87057 = (s.tmp_5); + s.isCurrent___22146 = (s.tmp_5); r0 = s.caps[0].fields["dirMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1300; s.pc = 11; return s.tmp_2; + s.callLocIdx = 1312; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1301; s.pc = 12; return s.tmp_4; + s.callLocIdx = 1313; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_3); - s.index___87065 = (r0); - s.tmp_0 = r0 = s.isCurrent___87057; + s.index___22154 = (r0); + s.tmp_0 = r0 = s.isCurrent___22146; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = (s.index___87065 != 15); + r0 = (s.index___22154 != 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__P82572_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_setTileSaved__P6307_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 1302; s.pc = 13; return s.tmp_2; + s.callLocIdx = 1314; 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___87065); - s.img___87077 = (r0); - r0 = pxsim_numops_toBoolDecr(s.isCurrent___87057); + r0 = pxsim_Array__getAt(s.tmp_0, s.index___22154); + s.img___22166 = (r0); + r0 = pxsim_numops_toBoolDecr(s.isCurrent___22146); if (!r0) { step = 5; continue; } r0 = s.caps[0].fields["current"]; { step = 6; continue; } case 5: - r0 = s.img___87077; + r0 = s.img___22166; case 6: // jmp value (already in r0) s.tmp_0 = r0; @@ -53384,12 +53625,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P87056.info = {"start":615,"length":399,"line":15,"column":64,"endLine":23,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":[]} +inline__P22145.info = {"start":615,"length":399,"line":15,"column":64,"endLine":23,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":[]} -function inline__P87056_mk(s) { +function inline__P22145_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P87056, depth: s.depth + 1, + parent: s, fn: inline__P22145, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53397,16 +53638,16 @@ function inline__P87056_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - isCurrent___87057: undefined, - index___87065: undefined, - img___87077: undefined, + isCurrent___22146: undefined, + index___22154: undefined, + img___22166: undefined, } } -function inline__P87092(s) { +function inline__P22181(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53416,40 +53657,40 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = tileworld_SwitchExport_getImage__P73554_mk(s); + s.tmp_1 = tileworld_SwitchExport_getImage__P3674_mk(s); r0 = s.caps[0].fields["wrapper"]; s.tmp_1.arg0 = r0; r0 = s.caps[0].fields["kind"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1304; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1316; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = s.caps[0].fields["newImage"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.copyFrom(s.tmp_0, s.tmp_2); - s.tmp_0 = tileworld_SwitchExport_saveImage__P73555_mk(s); + s.tmp_0 = tileworld_SwitchExport_saveImage__P3675_mk(s); r0 = s.caps[0].fields["wrapper"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["kind"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 1305; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1317; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = game_popScene__P72414_mk(s); - s.callLocIdx = 1306; s.pc = 3; return s.tmp_0; + s.tmp_0 = game_popScene__P2534_mk(s); + s.callLocIdx = 1318; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P87092.info = {"start":1082,"length":179,"line":25,"column":64,"endLine":29,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":[]} +inline__P22181.info = {"start":1082,"length":179,"line":25,"column":64,"endLine":29,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":[]} -function inline__P87092_mk(s) { +function inline__P22181_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P87092, depth: s.depth + 1, + parent: s, fn: inline__P22181, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53460,7 +53701,7 @@ function inline__P87092_mk(s) { -function tileworld_SwitchExport_saveImage__P73555(s) { +function tileworld_SwitchExport_saveImage__P3675(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53476,12 +53717,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_SwitchExport__C73551_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_SwitchExport__C3671_VT)) failedCast(r0); r0 = s.arg0.fields["backgrounds"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = tileworld_Project_saveBackgroundImage__P73583_mk(s); + s.tmp_1 = tileworld_Project_saveBackgroundImage__P3703_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -53490,7 +53731,7 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_2 = tileworld_Project_saveSpriteImage__P73584_mk(s); + s.tmp_2 = tileworld_Project_saveSpriteImage__P3704_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; @@ -53503,12 +53744,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_SwitchExport_saveImage__P73555.info = {"start":475,"length":137,"line":13,"column":8,"endLine":15,"endColumn":9,"fileName":"project.ts","functionName":"saveImage","argumentNames":["this","kind"]} +tileworld_SwitchExport_saveImage__P3675.info = {"start":475,"length":137,"line":13,"column":8,"endLine":15,"endColumn":9,"fileName":"project.ts","functionName":"saveImage","argumentNames":["this","kind"]} -function tileworld_SwitchExport_saveImage__P73555_mk(s) { +function tileworld_SwitchExport_saveImage__P3675_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_SwitchExport_saveImage__P73555, depth: s.depth + 1, + parent: s, fn: tileworld_SwitchExport_saveImage__P3675, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53521,7 +53762,7 @@ function tileworld_SwitchExport_saveImage__P73555_mk(s) { -function tileworld_SwitchExport_getImage__P73554(s) { +function tileworld_SwitchExport_getImage__P3674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53537,12 +53778,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_SwitchExport__C73551_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_SwitchExport__C3671_VT)) failedCast(r0); r0 = s.arg0.fields["backgrounds"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = tileworld_Project_getBackgroundImage__P73581_mk(s); + s.tmp_1 = tileworld_Project_getBackgroundImage__P3701_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -53551,7 +53792,7 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_2 = tileworld_Project_getSpriteImage__P73582_mk(s); + s.tmp_2 = tileworld_Project_getSpriteImage__P3702_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; @@ -53565,12 +53806,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_SwitchExport_getImage__P73554.info = {"start":324,"length":142,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"project.ts","functionName":"getImage","argumentNames":["this","kind"]} +tileworld_SwitchExport_getImage__P3674.info = {"start":324,"length":142,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"project.ts","functionName":"getImage","argumentNames":["this","kind"]} -function tileworld_SwitchExport_getImage__P73554_mk(s) { +function tileworld_SwitchExport_getImage__P3674_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_SwitchExport_getImage__P73554, depth: s.depth + 1, + parent: s, fn: tileworld_SwitchExport_getImage__P3674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53584,7 +53825,7 @@ function tileworld_SwitchExport_getImage__P73554_mk(s) { -function game_pushScene__P72413(s) { +function game_pushScene__P2533(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53594,45 +53835,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___92637 = undefined; - s.tmp_0 = game_currentScene__P72409_mk(s); - s.callLocIdx = 854; s.pc = 5; return s.tmp_0; + s.oldScene___22221 = undefined; + s.tmp_0 = game_currentScene__P2529_mk(s); + s.callLocIdx = 852; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___92637 = (r0); - s.tmp_0 = particles_clearAll__P72585_mk(s); - s.callLocIdx = 855; s.pc = 6; return s.tmp_0; + s.oldScene___22221 = (r0); + s.tmp_0 = particles_clearAll__P2705_mk(s); + s.callLocIdx = 853; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P72586_mk(s); - s.callLocIdx = 856; s.pc = 7; return s.tmp_0; + s.tmp_0 = particles_disableAll__P2706_mk(s); + s.callLocIdx = 854; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___74163); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___4283); 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___74163 = (r0); + globals._sceneStack___4283 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___74163, globals._scene___74162); - s.tmp_0 = game_init__P74170_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___4283, globals._scene___4282); + s.tmp_0 = game_init__P4290_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 857; s.pc = 8; return s.tmp_0; + s.callLocIdx = 855; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___74164); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___4284); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P92654); + r0 = pxsim_pxtcore_mkAction(1, inline__P22238); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___92637); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___74164; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___22221); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___4284; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 859; s.pc = 9; return s.tmp_1; + s.callLocIdx = 857; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; case 3: @@ -53641,23 +53882,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene__P72413.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P2533.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__P72413_mk(s) { +function game_pushScene__P2533_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P72413, depth: s.depth + 1, + parent: s, fn: game_pushScene__P2533, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___92637: undefined, + oldScene___22221: undefined, } } -function inline__P92654(s) { +function inline__P22238(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53675,19 +53916,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 858; s.pc = 1; return s.tmp_0; + s.callLocIdx = 856; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P92654.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P22238.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__P92654_mk(s) { +function inline__P22238_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P92654, depth: s.depth + 1, + parent: s, fn: inline__P22238, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -53697,7 +53938,7 @@ function inline__P92654_mk(s) { -function particles_disableAll__P72586(s) { +function particles_disableAll__P2706(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53707,22 +53948,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___95305 = undefined; - s.tmp_0 = particles_particleSources__P74526_mk(s); - s.callLocIdx = 1122; s.pc = 3; return s.tmp_0; + s.sources___22242 = undefined; + s.tmp_0 = particles_particleSources__P4646_mk(s); + s.callLocIdx = 1120; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___95305 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___95305); + s.sources___22242 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___22242); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P69987_mk(s); - s.tmp_0.arg0 = s.sources___95305; - s.tmp_0.arg1 = inline__P95311; - s.callLocIdx = 1124; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P107_mk(s); + s.tmp_0.arg0 = s.sources___22242; + s.tmp_0.arg1 = inline__P22248; + s.callLocIdx = 1122; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P74522_mk(s); - s.callLocIdx = 1125; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P4642_mk(s); + s.callLocIdx = 1123; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -53731,22 +53972,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll__P72586.info = {"start":12353,"length":195,"line":401,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P2706.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__P72586_mk(s) { +function particles_disableAll__P2706_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P72586, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P2706, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___95305: undefined, + sources___22242: undefined, } } -function inline__P95311(s) { +function inline__P22248(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53760,22 +54001,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P72568_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P2688_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1123; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1121; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = false; return leave(s, r0) default: oops() } } } -inline__P95311.info = {"start":12478,"length":22,"line":404,"column":28,"endLine":404,"endColumn":50,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P22248.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__P95311_mk(s) { +function inline__P22248_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P95311, depth: s.depth + 1, + parent: s, fn: inline__P22248, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -53785,7 +54026,7 @@ function inline__P95311_mk(s) { -function particles_clearAll__P72585(s) { +function particles_clearAll__P2705(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53795,22 +54036,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___95316 = undefined; - s.tmp_0 = particles_particleSources__P74526_mk(s); - s.callLocIdx = 1118; s.pc = 3; return s.tmp_0; + s.sources___22253 = undefined; + s.tmp_0 = particles_particleSources__P4646_mk(s); + s.callLocIdx = 1116; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___95316 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___95316); + s.sources___22253 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___22253); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P69987_mk(s); - s.tmp_0.arg0 = s.sources___95316; - s.tmp_0.arg1 = inline__P95322; - s.callLocIdx = 1120; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P107_mk(s); + s.tmp_0.arg0 = s.sources___22253; + s.tmp_0.arg1 = inline__P22259; + s.callLocIdx = 1118; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P74522_mk(s); - s.callLocIdx = 1121; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P4642_mk(s); + s.callLocIdx = 1119; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -53819,22 +54060,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll__P72585.info = {"start":12081,"length":185,"line":390,"column":4,"endLine":396,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P2705.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__P72585_mk(s) { +function particles_clearAll__P2705_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P72585, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P2705, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___95316: undefined, + sources___22253: undefined, } } -function inline__P95322(s) { +function inline__P22259(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53848,21 +54089,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P72570_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P2690_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1119; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1117; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P95322.info = {"start":12204,"length":14,"line":393,"column":28,"endLine":393,"endColumn":42,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P22259.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__P95322_mk(s) { +function inline__P22259_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P95322, depth: s.depth + 1, + parent: s, fn: inline__P22259, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -53872,7 +54113,7 @@ function inline__P95322_mk(s) { -function tileworld_Project_saveProject__P73591(s) { +function tileworld_Project_saveProject__P3711(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53882,33 +54123,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.prefix___78271 = undefined; - s.worldBuf___78339 = undefined; - s.spritesBuf___78349 = undefined; + s.prefix___22265 = undefined; + s.worldBuf___22329 = undefined; + s.spritesBuf___22339 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = s.arg0.fields["prefix"]; - s.prefix___78271 = (r0); - s.tmp_0 = settings_writeString__P71708_mk(s); - if ((s.prefix___78271) && (s.prefix___78271).vtable) { + s.prefix___22265 = (r0); + s.tmp_0 = settings_writeString__P1828_mk(s); + if ((s.prefix___22265) && (s.prefix___22265).vtable) { setupResume(s, 4); - pxsim_String__stringConv(s.prefix___78271); + pxsim_String__stringConv(s.prefix___22265); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___78271) + ""; } + } else { s.retval = (s.prefix___22265) + ""; } case 4: r0 = s.retval; s.tmp_1 = r0; - if ((globals.VersionKey___78279) && (globals.VersionKey___78279).vtable) { + if ((globals.VersionKey___6006) && (globals.VersionKey___6006).vtable) { setupResume(s, 5); - pxsim_String__stringConv(globals.VersionKey___78279); + pxsim_String__stringConv(globals.VersionKey___6006); checkResumeConsumed(); return; - } else { s.retval = (globals.VersionKey___78279) + ""; } + } else { s.retval = (globals.VersionKey___6006) + ""; } case 5: r0 = s.retval; s.tmp_2 = r0; @@ -53930,22 +54171,22 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = settings_writeNumber__P71709_mk(s); - if ((s.prefix___78271) && (s.prefix___78271).vtable) { + s.tmp_2 = settings_writeNumber__P1829_mk(s); + if ((s.prefix___22265) && (s.prefix___22265).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.prefix___78271); + pxsim_String__stringConv(s.prefix___22265); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___78271) + ""; } + } else { s.retval = (s.prefix___22265) + ""; } case 7: r0 = s.retval; s.tmp_3 = r0; - if ((globals.HelpKey___78227) && (globals.HelpKey___78227).vtable) { + if ((globals.HelpKey___6007) && (globals.HelpKey___6007).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.HelpKey___78227); + pxsim_String__stringConv(globals.HelpKey___6007); checkResumeConsumed(); return; - } else { s.retval = (globals.HelpKey___78227) + ""; } + } else { s.retval = (globals.HelpKey___6007) + ""; } case 8: r0 = s.retval; s.tmp_4 = r0; @@ -53955,22 +54196,22 @@ switch (step) { s.callLocIdx = 200; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); - if ((s.prefix___78271) && (s.prefix___78271).vtable) { + s.tmp_0 = settings_writeNumber__P1829_mk(s); + if ((s.prefix___22265) && (s.prefix___22265).vtable) { setupResume(s, 10); - pxsim_String__stringConv(s.prefix___78271); + pxsim_String__stringConv(s.prefix___22265); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___78271) + ""; } + } else { s.retval = (s.prefix___22265) + ""; } case 10: r0 = s.retval; s.tmp_1 = r0; - if ((globals.BackImgCntKey___78297) && (globals.BackImgCntKey___78297).vtable) { + if ((globals.BackImgCntKey___6008) && (globals.BackImgCntKey___6008).vtable) { setupResume(s, 11); - pxsim_String__stringConv(globals.BackImgCntKey___78297); + pxsim_String__stringConv(globals.BackImgCntKey___6008); checkResumeConsumed(); return; - } else { s.retval = (globals.BackImgCntKey___78297) + ""; } + } else { s.retval = (globals.BackImgCntKey___6008) + ""; } case 11: r0 = s.retval; s.tmp_2 = r0; @@ -53983,22 +54224,22 @@ switch (step) { s.callLocIdx = 202; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); - if ((s.prefix___78271) && (s.prefix___78271).vtable) { + s.tmp_0 = settings_writeNumber__P1829_mk(s); + if ((s.prefix___22265) && (s.prefix___22265).vtable) { setupResume(s, 13); - pxsim_String__stringConv(s.prefix___78271); + pxsim_String__stringConv(s.prefix___22265); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___78271) + ""; } + } else { s.retval = (s.prefix___22265) + ""; } case 13: r0 = s.retval; s.tmp_1 = r0; - if ((globals.SpriteImgCntKey___78306) && (globals.SpriteImgCntKey___78306).vtable) { + if ((globals.SpriteImgCntKey___6009) && (globals.SpriteImgCntKey___6009).vtable) { setupResume(s, 14); - pxsim_String__stringConv(globals.SpriteImgCntKey___78306); + pxsim_String__stringConv(globals.SpriteImgCntKey___6009); checkResumeConsumed(); return; - } else { s.retval = (globals.SpriteImgCntKey___78306) + ""; } + } else { s.retval = (globals.SpriteImgCntKey___6009) + ""; } case 14: r0 = s.retval; s.tmp_2 = r0; @@ -54011,22 +54252,22 @@ switch (step) { s.callLocIdx = 204; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); - if ((s.prefix___78271) && (s.prefix___78271).vtable) { + s.tmp_0 = settings_writeNumber__P1829_mk(s); + if ((s.prefix___22265) && (s.prefix___22265).vtable) { setupResume(s, 16); - pxsim_String__stringConv(s.prefix___78271); + pxsim_String__stringConv(s.prefix___22265); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___78271) + ""; } + } else { s.retval = (s.prefix___22265) + ""; } case 16: r0 = s.retval; s.tmp_1 = r0; - if ((globals.PlayerIndexKey___78315) && (globals.PlayerIndexKey___78315).vtable) { + if ((globals.PlayerIndexKey___6010) && (globals.PlayerIndexKey___6010).vtable) { setupResume(s, 17); - pxsim_String__stringConv(globals.PlayerIndexKey___78315); + pxsim_String__stringConv(globals.PlayerIndexKey___6010); checkResumeConsumed(); return; - } else { s.retval = (globals.PlayerIndexKey___78315) + ""; } + } else { s.retval = (globals.PlayerIndexKey___6010) + ""; } case 17: r0 = s.retval; s.tmp_2 = r0; @@ -54037,95 +54278,95 @@ switch (step) { s.callLocIdx = 206; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P78321); + r0 = pxsim_pxtcore_mkAction(1, inline__P22311); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.prefix___78271); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.prefix___22265); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["_backgroundsI"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 209; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P78331); + r0 = pxsim_pxtcore_mkAction(1, inline__P22321); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.prefix___78271); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.prefix___22265); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["_spritesI"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 212; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; - s.tmp_0 = tileworld_imageToBuffer__P73427_mk(s); + s.tmp_0 = tileworld_imageToBuffer__P3547_mk(s); r0 = s.arg0.fields["_backgrounds"]; s.tmp_0.arg0 = r0; s.callLocIdx = 214; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.worldBuf___78339 = (r0); - s.tmp_0 = settings_writeBuffer__P71707_mk(s); - if ((s.prefix___78271) && (s.prefix___78271).vtable) { + s.worldBuf___22329 = (r0); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); + if ((s.prefix___22265) && (s.prefix___22265).vtable) { setupResume(s, 22); - pxsim_String__stringConv(s.prefix___78271); + pxsim_String__stringConv(s.prefix___22265); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___78271) + ""; } + } else { s.retval = (s.prefix___22265) + ""; } case 22: r0 = s.retval; s.tmp_1 = r0; - if ((globals.WorldBackgroundsKey___78202) && (globals.WorldBackgroundsKey___78202).vtable) { + if ((globals.WorldBackgroundsKey___6011) && (globals.WorldBackgroundsKey___6011).vtable) { setupResume(s, 23); - pxsim_String__stringConv(globals.WorldBackgroundsKey___78202); + pxsim_String__stringConv(globals.WorldBackgroundsKey___6011); checkResumeConsumed(); return; - } else { s.retval = (globals.WorldBackgroundsKey___78202) + ""; } + } else { s.retval = (globals.WorldBackgroundsKey___6011) + ""; } case 23: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.worldBuf___78339; + s.tmp_0.arg1 = s.worldBuf___22329; s.callLocIdx = 215; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = tileworld_imageToBuffer__P73427_mk(s); + s.tmp_0 = tileworld_imageToBuffer__P3547_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_0.arg0 = r0; s.callLocIdx = 217; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.spritesBuf___78349 = (r0); - s.tmp_0 = settings_writeBuffer__P71707_mk(s); - if ((s.prefix___78271) && (s.prefix___78271).vtable) { + s.spritesBuf___22339 = (r0); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); + if ((s.prefix___22265) && (s.prefix___22265).vtable) { setupResume(s, 26); - pxsim_String__stringConv(s.prefix___78271); + pxsim_String__stringConv(s.prefix___22265); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___78271) + ""; } + } else { s.retval = (s.prefix___22265) + ""; } case 26: r0 = s.retval; s.tmp_1 = r0; - if ((globals.WorldSpritesKey___78216) && (globals.WorldSpritesKey___78216).vtable) { + if ((globals.WorldSpritesKey___6012) && (globals.WorldSpritesKey___6012).vtable) { setupResume(s, 27); - pxsim_String__stringConv(globals.WorldSpritesKey___78216); + pxsim_String__stringConv(globals.WorldSpritesKey___6012); checkResumeConsumed(); return; - } else { s.retval = (globals.WorldSpritesKey___78216) + ""; } + } else { s.retval = (globals.WorldSpritesKey___6012) + ""; } case 27: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.spritesBuf___78349; + s.tmp_0.arg1 = s.spritesBuf___22339; s.callLocIdx = 218; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(2, inline__P78361); + r0 = pxsim_pxtcore_mkAction(2, inline__P22351); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.prefix___78271); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.prefix___22265); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["rules"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -54136,21 +54377,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_saveProject__P73591.info = {"start":6082,"length":1127,"line":172,"column":8,"endLine":192,"endColumn":9,"fileName":"project.ts","functionName":"saveProject","argumentNames":["this"]} +tileworld_Project_saveProject__P3711.info = {"start":6082,"length":1127,"line":172,"column":8,"endLine":192,"endColumn":9,"fileName":"project.ts","functionName":"saveProject","argumentNames":["this"]} -function tileworld_Project_saveProject__P73591_mk(s) { +function tileworld_Project_saveProject__P3711_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_saveProject__P73591, depth: s.depth + 1, + parent: s, fn: tileworld_Project_saveProject__P3711, depth: s.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, - prefix___78271: undefined, - worldBuf___78339: undefined, - spritesBuf___78349: undefined, + prefix___22265: undefined, + worldBuf___22329: undefined, + spritesBuf___22339: undefined, arg0: undefined, } } @@ -54158,7 +54399,7 @@ function tileworld_Project_saveProject__P73591_mk(s) { -function inline__P78321(s) { +function inline__P22311(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54168,13 +54409,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___78324 = undefined; + s.buf___22314 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_saveImage__P78089_mk(s); + s.tmp_0 = tileworld_saveImage__P6018_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg0; @@ -54182,20 +54423,20 @@ switch (step) { s.callLocIdx = 208; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.buf___78324 = (r0); + s.buf___22314 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P78321.info = {"start":6556,"length":86,"line":179,"column":44,"endLine":181,"endColumn":13,"fileName":"project.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P22311.info = {"start":6556,"length":86,"line":179,"column":44,"endLine":181,"endColumn":13,"fileName":"project.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P78321_mk(s) { +function inline__P22311_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P78321, depth: s.depth + 1, + parent: s, fn: inline__P22311, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - buf___78324: undefined, + buf___22314: undefined, arg0: undefined, arg1: undefined, } } @@ -54204,7 +54445,7 @@ function inline__P78321_mk(s) { -function inline__P78331(s) { +function inline__P22321(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54214,13 +54455,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___78334 = undefined; + s.buf___22324 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_saveImage__P78089_mk(s); + s.tmp_0 = tileworld_saveImage__P6018_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg0; @@ -54228,20 +54469,20 @@ switch (step) { s.callLocIdx = 211; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.buf___78334 = (r0); + s.buf___22324 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P78331.info = {"start":6685,"length":87,"line":182,"column":40,"endLine":184,"endColumn":13,"fileName":"project.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P22321.info = {"start":6685,"length":87,"line":182,"column":40,"endLine":184,"endColumn":13,"fileName":"project.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P78331_mk(s) { +function inline__P22321_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P78331, depth: s.depth + 1, + parent: s, fn: inline__P22321, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - buf___78334: undefined, + buf___22324: undefined, arg0: undefined, arg1: undefined, } } @@ -54250,7 +54491,7 @@ function inline__P78331_mk(s) { -function inline__P78361(s) { +function inline__P22351(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54260,12 +54501,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___78363 = undefined; + s.buf___22353 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_Project_storeRule__P77990_mk(s); + s.tmp_0 = tileworld_Project_storeRule__P5999_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.caps[1]; r0 = s.arg0.fields["rid"]; @@ -54275,20 +54516,20 @@ switch (step) { s.callLocIdx = 222; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.buf___78363 = (r0); + s.buf___22353 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P78361.info = {"start":7095,"length":102,"line":189,"column":36,"endLine":191,"endColumn":13,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P22351.info = {"start":7095,"length":102,"line":189,"column":36,"endLine":191,"endColumn":13,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -function inline__P78361_mk(s) { +function inline__P22351_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P78361, depth: s.depth + 1, + parent: s, fn: inline__P22351, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - buf___78363: undefined, + buf___22353: undefined, arg0: undefined, } } @@ -54296,7 +54537,7 @@ function inline__P78361_mk(s) { -function settings_writeString__P71708(s) { +function settings_writeString__P1828(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54311,7 +54552,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; @@ -54322,12 +54563,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeString__P71708.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__P1828.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__P71708_mk(s) { +function settings_writeString__P1828_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P71708, depth: s.depth + 1, + parent: s, fn: settings_writeString__P1828, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -54338,7 +54579,7 @@ function settings_writeString__P71708_mk(s) { -function tileworld_emptyProject__P73595(s) { +function tileworld_emptyProject__P3715(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54348,71 +54589,71 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fixed___78998 = undefined; - s.movable___79000 = undefined; - s.f___79002 = undefined; - s.f___79019 = undefined; - s.rules___79035 = undefined; - s.p___79037 = undefined; - s.world___79043 = undefined; - s.sprites___79048 = undefined; + s.fixed___22368 = undefined; + s.movable___22370 = undefined; + s.f___22372 = undefined; + s.f___22385 = undefined; + s.rules___22398 = undefined; + s.p___22400 = undefined; + s.world___22406 = undefined; + s.sprites___22411 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.fixed___78998 = (r0); + s.fixed___22368 = (r0); r0 = pxsim_Array__mk(); - s.movable___79000 = (r0); - s.f___79002 = (0); + s.movable___22370 = (r0); + s.f___22372 = (0); case 1: - r0 = (s.f___79002 < 4); + r0 = (s.f___22372 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.fixed___78998; - r0 = pxsim_Array__getAt(globals.galleryTiles___73656, s.f___79002); + s.tmp_1 = r0 = s.fixed___22368; + r0 = pxsim_Array__getAt(globals.galleryTiles___3776, s.f___22372); 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___79002 + 1); - s.f___79002 = (r0); + r0 = (s.f___22372 + 1); + s.f___22372 = (r0); { step = 1; continue; } case 2: - s.f___79019 = (0); + s.f___22385 = (0); case 3: - r0 = (s.f___79019 < 4); + r0 = (s.f___22385 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = r0 = s.movable___79000; - r0 = pxsim_Array__getAt(globals.gallerySprites___73655, s.f___79019); + s.tmp_1 = r0 = s.movable___22370; + r0 = pxsim_Array__getAt(globals.gallerySprites___3775, s.f___22385); 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___79019 + 1); - s.f___79019 = (r0); + r0 = (s.f___22385 + 1); + s.f___22385 = (r0); { step = 3; continue; } case 4: r0 = pxsim_Array__mk(); - s.rules___79035 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Project__C73562_VT); + s.rules___22398 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Project__C3682_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_Project_constructor__P73567_mk(s); + s.tmp_1 = tileworld_Project_constructor__P3687_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.fixed___78998; - s.tmp_1.arg3 = s.movable___79000; + s.tmp_1.arg2 = s.fixed___22368; + s.tmp_1.arg3 = s.movable___22370; s.callLocIdx = 281; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.p___79037 = (s.tmp_0); + s.p___22400 = (s.tmp_0); r0 = pxsim.image.create(32, 24); - s.world___79043 = (r0); - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); - s.tmp_0.arg0 = s.world___79043; + s.world___22406 = (r0); + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); + s.tmp_0.arg0 = s.world___22406; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 1; s.tmp_0.arg3 = 30; @@ -54422,50 +54663,50 @@ switch (step) { case 6: r0 = s.retval; r0 = pxsim.image.create(32, 24); - s.sprites___79048 = (r0); - r0 = pxsim_ImageMethods.fill(s.sprites___79048, 15); - s.tmp_0 = tileworld_Project_setWorldBackgrounds__P73572_mk(s); - s.tmp_0.arg0 = s.p___79037; - s.tmp_0.arg1 = s.world___79043; + s.sprites___22411 = (r0); + r0 = pxsim_ImageMethods.fill(s.sprites___22411, 15); + s.tmp_0 = tileworld_Project_setWorldBackgrounds__P3692_mk(s); + s.tmp_0.arg0 = s.p___22400; + s.tmp_0.arg1 = s.world___22406; s.callLocIdx = 283; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = tileworld_Project_setWorldSprites__P73574_mk(s); - s.tmp_0.arg0 = s.p___79037; - s.tmp_0.arg1 = s.sprites___79048; + s.tmp_0 = tileworld_Project_setWorldSprites__P3694_mk(s); + s.tmp_0.arg0 = s.p___22400; + s.tmp_0.arg1 = s.sprites___22411; s.callLocIdx = 284; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = tileworld_Project_setPlayer__P73570_mk(s); - s.tmp_0.arg0 = s.p___79037; + s.tmp_0 = tileworld_Project_setPlayer__P3690_mk(s); + s.tmp_0.arg0 = s.p___22400; s.tmp_0.arg1 = 0; s.callLocIdx = 285; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - r0 = (s.p___79037).fields["version"] = (globals.TileWorldVersion___73550); - r0 = s.p___79037; + r0 = (s.p___22400).fields["version"] = (globals.TileWorldVersion___3670); + r0 = s.p___22400; return leave(s, r0) default: oops() } } } -tileworld_emptyProject__P73595.info = {"start":14014,"length":719,"line":357,"column":4,"endLine":377,"endColumn":5,"fileName":"project.ts","functionName":"emptyProject","argumentNames":["prefix"]} +tileworld_emptyProject__P3715.info = {"start":14014,"length":719,"line":357,"column":4,"endLine":377,"endColumn":5,"fileName":"project.ts","functionName":"emptyProject","argumentNames":["prefix"]} -function tileworld_emptyProject__P73595_mk(s) { +function tileworld_emptyProject__P3715_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_emptyProject__P73595, depth: s.depth + 1, + parent: s, fn: tileworld_emptyProject__P3715, depth: s.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___78998: undefined, - movable___79000: undefined, - f___79002: undefined, - f___79019: undefined, - rules___79035: undefined, - p___79037: undefined, - world___79043: undefined, - sprites___79048: undefined, + fixed___22368: undefined, + movable___22370: undefined, + f___22372: undefined, + f___22385: undefined, + rules___22398: undefined, + p___22400: undefined, + world___22406: undefined, + sprites___22411: undefined, arg0: undefined, } } @@ -54473,7 +54714,7 @@ function tileworld_emptyProject__P73595_mk(s) { -function tileworld_Project_setPlayer__P73570(s) { +function tileworld_Project_setPlayer__P3690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54489,18 +54730,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = (s.arg0).fields["_player"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_setPlayer__P73570.info = {"start":2489,"length":75,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"project.ts","functionName":"setPlayer","argumentNames":["this","kind"]} +tileworld_Project_setPlayer__P3690.info = {"start":2489,"length":75,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"project.ts","functionName":"setPlayer","argumentNames":["this","kind"]} -function tileworld_Project_setPlayer__P73570_mk(s) { +function tileworld_Project_setPlayer__P3690_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_setPlayer__P73570, depth: s.depth + 1, + parent: s, fn: tileworld_Project_setPlayer__P3690, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -54510,7 +54751,7 @@ function tileworld_Project_setPlayer__P73570_mk(s) { -function tileworld_Project_setWorldSprites__P73574(s) { +function tileworld_Project_setWorldSprites__P3694(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54526,18 +54767,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = (s.arg0).fields["_sprites"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_setWorldSprites__P73574.info = {"start":2959,"length":80,"line":87,"column":8,"endLine":89,"endColumn":9,"fileName":"project.ts","functionName":"setWorldSprites","argumentNames":["this","img"]} +tileworld_Project_setWorldSprites__P3694.info = {"start":2959,"length":80,"line":87,"column":8,"endLine":89,"endColumn":9,"fileName":"project.ts","functionName":"setWorldSprites","argumentNames":["this","img"]} -function tileworld_Project_setWorldSprites__P73574_mk(s) { +function tileworld_Project_setWorldSprites__P3694_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_setWorldSprites__P73574, depth: s.depth + 1, + parent: s, fn: tileworld_Project_setWorldSprites__P3694, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -54547,7 +54788,7 @@ function tileworld_Project_setWorldSprites__P73574_mk(s) { -function tileworld_Project_setWorldBackgrounds__P73572(s) { +function tileworld_Project_setWorldBackgrounds__P3692(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54563,18 +54804,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = (s.arg0).fields["_backgrounds"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_setWorldBackgrounds__P73572.info = {"start":2774,"length":87,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"project.ts","functionName":"setWorldBackgrounds","argumentNames":["this","img"]} +tileworld_Project_setWorldBackgrounds__P3692.info = {"start":2774,"length":87,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"project.ts","functionName":"setWorldBackgrounds","argumentNames":["this","img"]} -function tileworld_Project_setWorldBackgrounds__P73572_mk(s) { +function tileworld_Project_setWorldBackgrounds__P3692_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_setWorldBackgrounds__P73572, depth: s.depth + 1, + parent: s, fn: tileworld_Project_setWorldBackgrounds__P3692, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -54584,7 +54825,7 @@ function tileworld_Project_setWorldBackgrounds__P73572_mk(s) { -function tileworld_Project_constructor__P73567(s) { +function tileworld_Project_constructor__P3687(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54602,7 +54843,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = (s.arg0).fields["prefix"] = (s.arg1); r0 = (s.arg0).fields["_backgroundsI"] = (s.arg2); r0 = (s.arg0).fields["_spritesI"] = (s.arg3); @@ -54621,12 +54862,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_constructor__P73567.info = {"start":1935,"length":390,"line":50,"column":8,"endLine":57,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["this","prefix","_backgroundsI","_spritesI"]} +tileworld_Project_constructor__P3687.info = {"start":1935,"length":390,"line":50,"column":8,"endLine":57,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["this","prefix","_backgroundsI","_spritesI"]} -function tileworld_Project_constructor__P73567_mk(s) { +function tileworld_Project_constructor__P3687_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_constructor__P73567, depth: s.depth + 1, + parent: s, fn: tileworld_Project_constructor__P3687, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -54640,7 +54881,7 @@ function tileworld_Project_constructor__P73567_mk(s) { -function tileworld_LoadScreen_update__P87686(s) { +function tileworld_LoadScreen_update__P6494(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54650,111 +54891,111 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___87879 = undefined; - s.row___87883 = undefined; - s.i___87895 = undefined; - s.i___87915 = undefined; - s.r___88021 = undefined; + s.col___22453 = undefined; + s.row___22457 = undefined; + s.i___22469 = undefined; + s.i___22489 = undefined; + s.r___22595 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_LoadScreen__C73717_VT)) failedCast(r0); - s.col___87879 = (0); + if (!checkSubtype(r0, tileworld_LoadScreen__C3837_VT)) failedCast(r0); + s.col___22453 = (0); case 1: - r0 = (s.col___87879 < 10); + r0 = (s.col___22453 < 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.row___87883 = (0); + s.row___22457 = (0); case 2: - r0 = (s.row___87883 < 7); + r0 = (s.row___22457 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.col___87879; - s.tmp_1.arg2 = s.row___87883; - s.tmp_1.arg3 = globals.emptyTile___73606; - s.callLocIdx = 1444; s.pc = 22; return s.tmp_1; + s.tmp_1.arg1 = s.col___22453; + s.tmp_1.arg2 = s.row___22457; + s.tmp_1.arg3 = globals.emptyTile___3726; + s.callLocIdx = 1456; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = (s.row___87883 + 1); - s.row___87883 = (r0); + r0 = (s.row___22457 + 1); + s.row___22457 = (r0); { step = 2; continue; } case 3: - r0 = (s.col___87879 + 1); - s.col___87879 = (r0); + r0 = (s.col___22453 + 1); + s.col___22453 = (r0); { step = 1; continue; } case 4: - s.i___87895 = (0); + s.i___22469 = (0); case 5: - r0 = (s.i___87895 < 10); + r0 = (s.i___22469 < 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.i___87895; + s.tmp_1.arg1 = s.i___22469; s.tmp_1.arg2 = 0; - s.tmp_1.arg3 = globals.genericSprite___73611; - s.callLocIdx = 1445; s.pc = 23; return s.tmp_1; + s.tmp_1.arg3 = globals.genericSprite___3731; + s.callLocIdx = 1457; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.i___87895; + s.tmp_0.arg1 = s.i___22469; s.tmp_0.arg2 = 6; - s.tmp_0.arg3 = globals.genericSprite___73611; - s.callLocIdx = 1446; s.pc = 24; return s.tmp_0; + s.tmp_0.arg3 = globals.genericSprite___3731; + s.callLocIdx = 1458; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - r0 = (s.i___87895 > 6); + r0 = (s.i___22469 > 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__P82568_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.i___87895; - s.tmp_1.arg3 = globals.genericSprite___73611; - s.callLocIdx = 1447; s.pc = 25; return s.tmp_1; + s.tmp_1.arg2 = s.i___22469; + s.tmp_1.arg3 = globals.genericSprite___3731; + s.callLocIdx = 1459; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 9; - s.tmp_0.arg2 = s.i___87895; - s.tmp_0.arg3 = globals.genericSprite___73611; - s.callLocIdx = 1448; s.pc = 26; return s.tmp_0; + s.tmp_0.arg2 = s.i___22469; + s.tmp_0.arg3 = globals.genericSprite___3731; + s.callLocIdx = 1460; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; case 8: - r0 = (s.i___87895 + 1); - s.i___87895 = (r0); + r0 = (s.i___22469 + 1); + s.i___22469 = (r0); { step = 5; continue; } case 9: - s.i___87915 = (0); + s.i___22489 = (0); case 10: - r0 = (s.i___87915 < 4); + r0 = (s.i___22489 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_fillTile__P82571_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_fillTile__P6306_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.i___87915; + s.tmp_1.arg1 = s.i___22489; s.tmp_1.arg2 = 0; s.tmp_1.arg3 = 12; - s.callLocIdx = 1449; s.pc = 27; return s.tmp_1; + s.callLocIdx = 1461; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; - r0 = (s.i___87915 + 1); - s.i___87915 = (r0); + r0 = (s.i___22489 + 1); + s.i___22489 = (r0); { step = 10; continue; } case 11: r0 = s.arg0.fields["lastDir"]; @@ -54763,23 +55004,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - r0 = globals.downButton___73625; + r0 = globals.downButton___3745; { step = 13; continue; } case 12: - s.tmp_2 = tileworld_greyImage__P73424_mk(s); - s.tmp_2.arg0 = globals.downButton___73625; - s.callLocIdx = 1450; s.pc = 28; return s.tmp_2; + s.tmp_2 = tileworld_greyImage__P3544_mk(s); + s.tmp_2.arg0 = globals.downButton___3745; + s.callLocIdx = 1462; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; case 13: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 1; s.tmp_4.arg2 = 6; s.tmp_4.arg3 = s.tmp_3; - s.callLocIdx = 1451; s.pc = 29; return s.tmp_4; + s.callLocIdx = 1463; s.pc = 29; return s.tmp_4; case 29: r0 = s.retval; r0 = s.arg0.fields["lastDir"]; @@ -54788,23 +55029,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = globals.upButton___73626; + r0 = globals.upButton___3746; { step = 15; continue; } case 14: - s.tmp_2 = tileworld_greyImage__P73424_mk(s); - s.tmp_2.arg0 = globals.upButton___73626; - s.callLocIdx = 1452; s.pc = 30; return s.tmp_2; + s.tmp_2 = tileworld_greyImage__P3544_mk(s); + s.tmp_2.arg0 = globals.upButton___3746; + s.callLocIdx = 1464; s.pc = 30; return s.tmp_2; case 30: r0 = s.retval; case 15: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 1; s.tmp_4.arg2 = 4; s.tmp_4.arg3 = s.tmp_3; - s.callLocIdx = 1453; s.pc = 31; return s.tmp_4; + s.callLocIdx = 1465; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; r0 = s.arg0.fields["lastDir"]; @@ -54813,23 +55054,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = globals.leftButton___73623; + r0 = globals.leftButton___3743; { step = 17; continue; } case 16: - s.tmp_2 = tileworld_greyImage__P73424_mk(s); - s.tmp_2.arg0 = globals.leftButton___73623; - s.callLocIdx = 1454; s.pc = 32; return s.tmp_2; + s.tmp_2 = tileworld_greyImage__P3544_mk(s); + s.tmp_2.arg0 = globals.leftButton___3743; + s.callLocIdx = 1466; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; case 17: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 0; s.tmp_4.arg2 = 5; s.tmp_4.arg3 = s.tmp_3; - s.callLocIdx = 1455; s.pc = 33; return s.tmp_4; + s.callLocIdx = 1467; s.pc = 33; return s.tmp_4; case 33: r0 = s.retval; r0 = s.arg0.fields["lastDir"]; @@ -54838,54 +55079,54 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - r0 = globals.rightButton___73624; + r0 = globals.rightButton___3744; { step = 19; continue; } case 18: - s.tmp_2 = tileworld_greyImage__P73424_mk(s); - s.tmp_2.arg0 = globals.rightButton___73624; - s.callLocIdx = 1456; s.pc = 34; return s.tmp_2; + s.tmp_2 = tileworld_greyImage__P3544_mk(s); + s.tmp_2.arg0 = globals.rightButton___3744; + s.callLocIdx = 1468; s.pc = 34; return s.tmp_2; case 34: r0 = s.retval; case 19: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 2; s.tmp_4.arg2 = 5; s.tmp_4.arg3 = s.tmp_3; - s.callLocIdx = 1457; s.pc = 35; return s.tmp_4; + s.callLocIdx = 1469; s.pc = 35; return s.tmp_4; case 35: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = "TileCode"; s.tmp_0.arg2 = 6; s.tmp_0.arg3 = 10; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1458; s.pc = 36; return s.tmp_0; + s.callLocIdx = 1470; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P82571_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P6306_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 1; s.tmp_0.arg3 = 12; - s.callLocIdx = 1459; s.pc = 37; return s.tmp_0; + s.callLocIdx = 1471; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P82571_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P6306_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 4; s.tmp_0.arg2 = 1; s.tmp_0.arg3 = 12; - s.callLocIdx = 1460; s.pc = 38; return s.tmp_0; + s.callLocIdx = 1472; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = "Load"; r0 = (48 + 4); s.tmp_0.arg2 = r0; @@ -54896,27 +55137,27 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1461; s.pc = 39; return s.tmp_0; + s.callLocIdx = 1473; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P82571_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P6306_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; s.tmp_0.arg2 = 1; s.tmp_0.arg3 = 12; - s.callLocIdx = 1462; s.pc = 40; return s.tmp_0; + s.callLocIdx = 1474; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P82571_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P6306_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 1; s.tmp_0.arg3 = 12; - s.callLocIdx = 1463; s.pc = 41; return s.tmp_0; + s.callLocIdx = 1475; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = "Game"; r0 = (5 << 4); s.tmp_1 = r0; @@ -54929,106 +55170,106 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1464; s.pc = 42; return s.tmp_0; + s.callLocIdx = 1476; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; - s.r___88021 = (0); + s.r___22595 = (0); case 20: - r0 = (s.r___88021 < 4); + r0 = (s.r___22595 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 21; continue; } - s.tmp_1 = tileworld_LoadScreen_makeIt__P87685_mk(s); + s.tmp_1 = tileworld_LoadScreen_makeIt__P6493_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 3; - r0 = (2 + s.r___88021); + r0 = (2 + s.r___22595); s.tmp_1.arg2 = r0; - r0 = (s.r___88021 + 1); + r0 = (s.r___22595 + 1); s.tmp_2 = r0; r0 = pxsim_numops.toString(s.tmp_2); s.tmp_1.arg3 = r0; - s.callLocIdx = 1465; s.pc = 43; return s.tmp_1; + s.callLocIdx = 1477; s.pc = 43; return s.tmp_1; case 43: r0 = s.retval; - s.tmp_0 = tileworld_LoadScreen_makeIt__P87685_mk(s); + s.tmp_0 = tileworld_LoadScreen_makeIt__P6493_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; - r0 = (2 + s.r___88021); + r0 = (2 + s.r___22595); s.tmp_0.arg2 = r0; - r0 = (s.r___88021 + 1); + r0 = (s.r___22595 + 1); s.tmp_2 = r0; r0 = (s.tmp_2 + 4); s.tmp_1 = r0; r0 = pxsim_numops.toString(s.tmp_1); s.tmp_0.arg3 = r0; - s.callLocIdx = 1466; s.pc = 44; return s.tmp_0; + s.callLocIdx = 1478; s.pc = 44; return s.tmp_0; case 44: r0 = s.retval; - r0 = (s.r___88021 + 1); - s.r___88021 = (r0); + r0 = (s.r___22595 + 1); + s.r___22595 = (r0); { step = 20; continue; } case 21: - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; s.tmp_0.arg2 = 4; - s.tmp_0.arg3 = globals.player___73653; - s.callLocIdx = 1467; s.pc = 45; return s.tmp_0; + s.tmp_0.arg3 = globals.player___3773; + s.callLocIdx = 1479; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; s.tmp_0.arg2 = 6; - s.tmp_0.arg3 = globals.dog___73652; - s.callLocIdx = 1468; s.pc = 46; return s.tmp_0; + s.tmp_0.arg3 = globals.dog___3772; + s.callLocIdx = 1480; s.pc = 46; return s.tmp_0; case 46: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; s.tmp_0.arg2 = 5; - s.tmp_0.arg3 = globals.snakeHead___73651; - s.callLocIdx = 1469; s.pc = 47; return s.tmp_0; + s.tmp_0.arg3 = globals.snakeHead___3771; + s.callLocIdx = 1481; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 9; s.tmp_0.arg2 = 5; - s.tmp_0.arg3 = globals.enemy___73654; - s.callLocIdx = 1470; s.pc = 48; return s.tmp_0; + s.tmp_0.arg3 = globals.enemy___3774; + s.callLocIdx = 1482; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 9; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.settingsIcon___73604; - s.callLocIdx = 1471; s.pc = 49; return s.tmp_0; + s.tmp_0.arg3 = globals.settingsIcon___3724; + s.callLocIdx = 1483; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_LoadScreen_update__P87686.info = {"start":2047,"length":1909,"line":48,"column":8,"endLine":86,"endColumn":9,"fileName":"loadScreen.ts","functionName":"update","argumentNames":["this"]} +tileworld_LoadScreen_update__P6494.info = {"start":2047,"length":1909,"line":48,"column":8,"endLine":86,"endColumn":9,"fileName":"loadScreen.ts","functionName":"update","argumentNames":["this"]} -function tileworld_LoadScreen_update__P87686_mk(s) { +function tileworld_LoadScreen_update__P6494_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_LoadScreen_update__P87686, depth: s.depth + 1, + parent: s, fn: tileworld_LoadScreen_update__P6494, depth: s.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___87879: undefined, - row___87883: undefined, - i___87895: undefined, - i___87915: undefined, - r___88021: undefined, + col___22453: undefined, + row___22457: undefined, + i___22469: undefined, + i___22489: undefined, + r___22595: undefined, arg0: undefined, } } @@ -55036,7 +55277,7 @@ function tileworld_LoadScreen_update__P87686_mk(s) { -function tileworld_LoadScreen_makeIt__P87685(s) { +function tileworld_LoadScreen_makeIt__P6493(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55046,8 +55287,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.prefix___87815 = undefined; - s.projectAvailable___87825 = undefined; + s.prefix___22640 = undefined; + s.projectAvailable___22650 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -55056,7 +55297,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_LoadScreen__C73717_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_LoadScreen__C3837_VT)) failedCast(r0); if ((s.arg3) && (s.arg3).vtable) { setupResume(s, 9); pxsim_String__stringConv(s.arg3); @@ -55078,29 +55319,29 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "-"); - s.prefix___87815 = (r0); - s.tmp_2 = settings_list__P71715_mk(s); - s.tmp_2.arg0 = s.prefix___87815; - s.callLocIdx = 1437; s.pc = 11; return s.tmp_2; + s.prefix___22640 = (r0); + s.tmp_2 = settings_list__P1835_mk(s); + s.tmp_2.arg0 = s.prefix___22640; + s.callLocIdx = 1449; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_Array__length(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 > 0); - s.projectAvailable___87825 = (r0); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.projectAvailable___22650 = (r0); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.tmp_0.arg3 = globals.diskIcon___73648; - s.callLocIdx = 1438; s.pc = 12; return s.tmp_0; + s.tmp_0.arg3 = globals.diskIcon___3768; + s.callLocIdx = 1450; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1439; s.pc = 13; return s.tmp_2; + s.callLocIdx = 1451; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; @@ -55111,10 +55352,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1440; s.pc = 14; return s.tmp_4; + s.callLocIdx = 1452; s.pc = 14; return s.tmp_4; case 14: r0 = s.retval; s.tmp_3 = r0; @@ -55129,10 +55370,10 @@ switch (step) { r0 = s.tmp_6; { step = 4; continue; } case 3: - s.tmp_8 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_8.arg0 = s.arg0; s.tmp_8.arg1 = true; - s.callLocIdx = 1441; s.pc = 15; return s.tmp_8; + s.callLocIdx = 1453; s.pc = 15; return s.tmp_8; case 15: r0 = s.retval; s.tmp_7 = r0; @@ -55145,7 +55386,7 @@ switch (step) { r0 = 7; { step = 8; continue; } case 5: - r0 = pxsim_numops_toBoolDecr(s.projectAvailable___87825); + r0 = pxsim_numops_toBoolDecr(s.projectAvailable___22650); if (!r0) { step = 6; continue; } r0 = 6; { step = 7; continue; } @@ -55158,17 +55399,17 @@ switch (step) { case 8: // jmp value (already in r0) s.tmp_11 = r0; - s.tmp_12 = tileworld_RuleVisualsBase_fillTile__P82571_mk(s); + s.tmp_12 = tileworld_RuleVisualsBase_fillTile__P6306_mk(s); s.tmp_12.arg0 = s.arg0; r0 = (s.arg1 + 1); s.tmp_12.arg1 = r0; s.tmp_12.arg2 = s.arg2; s.tmp_12.arg3 = s.tmp_11; - s.callLocIdx = 1442; s.pc = 16; return s.tmp_12; + s.callLocIdx = 1454; s.pc = 16; return s.tmp_12; case 16: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = s.arg3; r0 = (s.arg1 + 1); s.tmp_2 = r0; @@ -55185,19 +55426,19 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1443; s.pc = 17; return s.tmp_0; + s.callLocIdx = 1455; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_LoadScreen_makeIt__P87685.info = {"start":1571,"length":464,"line":39,"column":8,"endLine":46,"endColumn":9,"fileName":"loadScreen.ts","functionName":"makeIt","argumentNames":["this","col","row","id"]} +tileworld_LoadScreen_makeIt__P6493.info = {"start":1571,"length":464,"line":39,"column":8,"endLine":46,"endColumn":9,"fileName":"loadScreen.ts","functionName":"makeIt","argumentNames":["this","col","row","id"]} -function tileworld_LoadScreen_makeIt__P87685_mk(s) { +function tileworld_LoadScreen_makeIt__P6493_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_LoadScreen_makeIt__P87685, depth: s.depth + 1, + parent: s, fn: tileworld_LoadScreen_makeIt__P6493, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55212,8 +55453,8 @@ function tileworld_LoadScreen_makeIt__P87685_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - prefix___87815: undefined, - projectAvailable___87825: undefined, + prefix___22640: undefined, + projectAvailable___22650: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -55224,7 +55465,7 @@ function tileworld_LoadScreen_makeIt__P87685_mk(s) { -function tileworld_loadProject__P73594(s) { +function tileworld_loadProject__P3714(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55234,39 +55475,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.names___78643 = undefined; - s.version___78654 = undefined; - s.buf___78659 = undefined; - s.world___78664 = undefined; - s.sprites___78683 = undefined; - s.backCnt___78697 = undefined; - s.backImages___78702 = undefined; - s.spriteCnt___78708 = undefined; - s.spriteImages___78713 = undefined; - s.helpNum___78719 = undefined; - s.help___78724 = undefined; - s.highScore___78726 = undefined; - s.p___78736 = undefined; - s.ruleName___78742 = undefined; - s.ruleids___78748 = undefined; - s.rules___78770 = undefined; - s.derivedRules___78772 = undefined; - s.whenDoCount___78773 = undefined; - s.commandCount___78774 = undefined; - s.attrCount___78775 = undefined; - s.player___78849 = undefined; + s.names___22705 = undefined; + s.version___22716 = undefined; + s.buf___22721 = undefined; + s.world___22726 = undefined; + s.sprites___22745 = undefined; + s.backCnt___22759 = undefined; + s.backImages___22764 = undefined; + s.spriteCnt___22770 = undefined; + s.spriteImages___22775 = undefined; + s.helpNum___22781 = undefined; + s.help___22786 = undefined; + s.highScore___22788 = undefined; + s.p___22798 = undefined; + s.ruleName___22804 = undefined; + s.ruleids___22810 = undefined; + s.rules___22832 = undefined; + s.derivedRules___22834 = undefined; + s.whenDoCount___22835 = undefined; + s.commandCount___22836 = undefined; + s.attrCount___22837 = undefined; + s.player___22911 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_list__P71715_mk(s); + s.tmp_0 = settings_list__P1835_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 242; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.names___78643 = (r0); - r0 = pxsim_Array__length(s.names___78643); + s.names___22705 = (r0); + r0 = pxsim_Array__length(s.names___22705); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -55278,7 +55519,7 @@ switch (step) { case 2: r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 3; continue; } - s.tmp_2 = console_log__P70249_mk(s); + s.tmp_2 = console_log__P369_mk(s); s.tmp_2.arg0 = "function createNAME(prefix: string) {"; s.callLocIdx = 243; s.pc = 29; return s.tmp_2; case 29: @@ -55287,36 +55528,36 @@ switch (step) { case 4: r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 5; continue; } - s.tmp_0 = console_log__P70249_mk(s); + s.tmp_0 = console_log__P369_mk(s); s.tmp_0.arg0 = "if (settings.exists(prefix+\"-VersionS\")) return;"; s.callLocIdx = 244; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; case 5: case 6: - s.tmp_0 = tileworld_settingsReadString__P78539_mk(s); + s.tmp_0 = tileworld_settingsReadString__P6004_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.VersionKey___78279; + s.tmp_0.arg1 = globals.VersionKey___6006; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 245; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.version___78654 = (r0); - s.tmp_0 = tileworld_settingsReadBuffer__P78570_mk(s); + s.version___22716 = (r0); + s.tmp_0 = tileworld_settingsReadBuffer__P6005_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.WorldBackgroundsKey___78202; + s.tmp_0.arg1 = globals.WorldBackgroundsKey___6011; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 246; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - s.buf___78659 = (r0); - s.tmp_0 = r0 = s.buf___78659; + s.buf___22721 = (r0); + s.tmp_0 = r0 = s.buf___22721; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 7; continue; } r0 = s.tmp_0; { step = 8; continue; } case 7: - r0 = pxsim.BufferMethods.length(s.buf___78659); + r0 = pxsim.BufferMethods.length(s.buf___22721); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); case 8: @@ -55324,8 +55565,8 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 9; continue; } - s.tmp_3 = tileworld_bufferToImage__P73428_mk(s); - s.tmp_3.arg0 = s.buf___78659; + s.tmp_3 = tileworld_bufferToImage__P3548_mk(s); + s.tmp_3.arg0 = s.buf___22721; s.callLocIdx = 247; s.pc = 33; return s.tmp_3; case 33: r0 = s.retval; @@ -55335,32 +55576,32 @@ switch (step) { case 10: // jmp value (already in r0) s.tmp_4 = r0; - s.world___78664 = (s.tmp_4); - r0 = pxsim_numops_toBoolDecr(s.world___78664); + s.world___22726 = (s.tmp_4); + r0 = pxsim_numops_toBoolDecr(s.world___22726); if (!r0) { step = 11; continue; } - r0 = s.world___78664; + r0 = s.world___22726; { step = 12; continue; } case 11: r0 = pxsim.image.create(32, 24); case 12: // jmp value (already in r0) s.tmp_0 = r0; - s.world___78664 = (s.tmp_0); - s.tmp_0 = tileworld_settingsReadBuffer__P78570_mk(s); + s.world___22726 = (s.tmp_0); + s.tmp_0 = tileworld_settingsReadBuffer__P6005_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.WorldSpritesKey___78216; + s.tmp_0.arg1 = globals.WorldSpritesKey___6012; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 248; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.buf___78659 = (r0); - s.tmp_0 = r0 = s.buf___78659; + s.buf___22721 = (r0); + s.tmp_0 = r0 = s.buf___22721; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 13; continue; } r0 = s.tmp_0; { step = 14; continue; } case 13: - r0 = pxsim.BufferMethods.length(s.buf___78659); + r0 = pxsim.BufferMethods.length(s.buf___22721); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); case 14: @@ -55368,8 +55609,8 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 15; continue; } - s.tmp_3 = tileworld_bufferToImage__P73428_mk(s); - s.tmp_3.arg0 = s.buf___78659; + s.tmp_3 = tileworld_bufferToImage__P3548_mk(s); + s.tmp_3.arg0 = s.buf___22721; s.callLocIdx = 249; s.pc = 35; return s.tmp_3; case 35: r0 = s.retval; @@ -55379,60 +55620,60 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_4 = r0; - s.sprites___78683 = (s.tmp_4); - r0 = pxsim_numops_toBoolDecr(s.sprites___78683); + s.sprites___22745 = (s.tmp_4); + r0 = pxsim_numops_toBoolDecr(s.sprites___22745); if (!r0) { step = 17; continue; } - r0 = s.sprites___78683; + r0 = s.sprites___22745; { step = 18; continue; } case 17: r0 = pxsim.image.create(32, 24); case 18: // jmp value (already in r0) s.tmp_0 = r0; - s.sprites___78683 = (s.tmp_0); - s.tmp_0 = tileworld_settingsReadNumber__P78506_mk(s); + s.sprites___22745 = (s.tmp_0); + s.tmp_0 = tileworld_settingsReadNumber__P6003_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.BackImgCntKey___78297; + s.tmp_0.arg1 = globals.BackImgCntKey___6008; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 250; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.backCnt___78697 = (r0); - s.tmp_0 = tileworld_readImages__P78591_mk(s); - s.tmp_0.arg0 = s.backCnt___78697; + s.backCnt___22759 = (r0); + s.tmp_0 = tileworld_readImages__P6017_mk(s); + s.tmp_0.arg0 = s.backCnt___22759; s.tmp_0.arg1 = s.arg0; - s.tmp_0.arg2 = globals.BackImageKey___78587; + s.tmp_0.arg2 = globals.BackImageKey___6013; s.tmp_0.arg3 = s.arg1; s.callLocIdx = 251; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.backImages___78702 = (r0); - s.tmp_0 = tileworld_settingsReadNumber__P78506_mk(s); + s.backImages___22764 = (r0); + s.tmp_0 = tileworld_settingsReadNumber__P6003_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.SpriteImgCntKey___78306; + s.tmp_0.arg1 = globals.SpriteImgCntKey___6009; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 252; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - s.spriteCnt___78708 = (r0); - s.tmp_0 = tileworld_readImages__P78591_mk(s); - s.tmp_0.arg0 = s.spriteCnt___78708; + s.spriteCnt___22770 = (r0); + s.tmp_0 = tileworld_readImages__P6017_mk(s); + s.tmp_0.arg0 = s.spriteCnt___22770; s.tmp_0.arg1 = s.arg0; - s.tmp_0.arg2 = globals.SpriteImageKey___78589; + s.tmp_0.arg2 = globals.SpriteImageKey___6014; s.tmp_0.arg3 = s.arg1; s.callLocIdx = 253; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.spriteImages___78713 = (r0); - s.tmp_0 = tileworld_settingsReadNumber__P78506_mk(s); + s.spriteImages___22775 = (r0); + s.tmp_0 = tileworld_settingsReadNumber__P6003_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.HelpKey___78227; + s.tmp_0.arg1 = globals.HelpKey___6007; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 254; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.helpNum___78719 = (r0); - r0 = pxsim_numops_toBoolDecr(s.helpNum___78719); + s.helpNum___22781 = (r0); + r0 = pxsim_numops_toBoolDecr(s.helpNum___22781); if (!r0) { step = 19; continue; } r0 = true; { step = 20; continue; } @@ -55441,38 +55682,38 @@ switch (step) { case 20: // jmp value (already in r0) s.tmp_0 = r0; - s.help___78724 = (s.tmp_0); - s.tmp_0 = tileworld_settingsReadNumber__P78506_mk(s); + s.help___22786 = (s.tmp_0); + s.tmp_0 = tileworld_settingsReadNumber__P6003_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.HighScoreKey___78243; + s.tmp_0.arg1 = globals.HighScoreKey___6016; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 255; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.highScore___78726 = (r0); - r0 = (s.highScore___78726 == undefined); + s.highScore___22788 = (r0); + r0 = (s.highScore___22788 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 21; continue; } r0 = 0; { step = 22; continue; } case 21: - r0 = s.highScore___78726; + r0 = s.highScore___22788; case 22: // jmp value (already in r0) s.tmp_1 = r0; - s.highScore___78726 = (s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Project__C73562_VT); + s.highScore___22788 = (s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Project__C3682_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_Project_constructor__P73567_mk(s); + s.tmp_1 = tileworld_Project_constructor__P3687_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.backImages___78702; - s.tmp_1.arg3 = s.spriteImages___78713; + s.tmp_1.arg2 = s.backImages___22764; + s.tmp_1.arg3 = s.spriteImages___22775; s.callLocIdx = 256; s.pc = 42; return s.tmp_1; case 42: r0 = s.retval; - s.p___78736 = (s.tmp_0); + s.p___22798 = (s.tmp_0); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 43); pxsim_String__stringConv(s.arg0); @@ -55482,26 +55723,26 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - if ((globals.RuleKey___78184) && (globals.RuleKey___78184).vtable) { + if ((globals.RuleKey___6015) && (globals.RuleKey___6015).vtable) { setupResume(s, 44); - pxsim_String__stringConv(globals.RuleKey___78184); + pxsim_String__stringConv(globals.RuleKey___6015); checkResumeConsumed(); return; - } else { s.retval = (globals.RuleKey___78184) + ""; } + } else { s.retval = (globals.RuleKey___6015) + ""; } case 44: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.ruleName___78742 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P78752); + s.ruleName___22804 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P22814); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.ruleName___78742); - r0 = pxsim_pxtcore_mkAction(1, inline__P78760); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.ruleName___22804); + r0 = pxsim_pxtcore_mkAction(1, inline__P22822); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.ruleName___78742); - s.tmp_2 = helpers_arrayMap__P69984_mk(s); - s.tmp_3 = helpers_arrayFilter__P69988_mk(s); - s.tmp_3.arg0 = s.names___78643; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.ruleName___22804); + s.tmp_2 = helpers_arrayMap__P104_mk(s); + s.tmp_3 = helpers_arrayFilter__P108_mk(s); + s.tmp_3.arg0 = s.names___22705; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 257; s.pc = 46; return s.tmp_3; case 46: @@ -55511,50 +55752,50 @@ switch (step) { s.callLocIdx = 259; s.pc = 45; return s.tmp_2; case 45: r0 = s.retval; - s.ruleids___78748 = (r0); + s.ruleids___22810 = (r0); r0 = pxsim_Array__mk(); - s.rules___78770 = (r0); + s.rules___22832 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.derivedRules___78772 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.derivedRules___78772, 0); + s.derivedRules___22834 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.derivedRules___22834, 0); r0 = pxsim_pxtrt.mklocRef(); - s.whenDoCount___78773 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.whenDoCount___78773, 0); + s.whenDoCount___22835 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.whenDoCount___22835, 0); r0 = pxsim_pxtrt.mklocRef(); - s.commandCount___78774 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.commandCount___78774, 0); + s.commandCount___22836 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.commandCount___22836, 0); r0 = pxsim_pxtrt.mklocRef(); - s.attrCount___78775 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.attrCount___78775, 0); - r0 = pxsim_pxtcore_mkAction(10, inline__P78778); + s.attrCount___22837 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.attrCount___22837, 0); + r0 = pxsim_pxtcore_mkAction(10, inline__P22840); 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.backCnt___78697); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.spriteCnt___78708); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.p___78736); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.rules___78770); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.derivedRules___78772); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.whenDoCount___78773); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.commandCount___78774); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.attrCount___78775); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); - s.tmp_1.arg0 = s.ruleids___78748; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.backCnt___22759); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.spriteCnt___22770); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.p___22798); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.rules___22832); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.derivedRules___22834); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.whenDoCount___22835); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.commandCount___22836); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.attrCount___22837); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + s.tmp_1.arg0 = s.ruleids___22810; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 267; s.pc = 47; return s.tmp_1; case 47: r0 = s.retval; - s.tmp_0 = tileworld_settingsReadNumber__P78506_mk(s); + s.tmp_0 = tileworld_settingsReadNumber__P6003_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.PlayerIndexKey___78315; + s.tmp_0.arg1 = globals.PlayerIndexKey___6010; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 268; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.player___78849 = (r0); + s.player___22911 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 23; continue; } - s.tmp_0 = console_log__P70249_mk(s); + s.tmp_0 = console_log__P369_mk(s); s.tmp_0.arg0 = "}"; s.callLocIdx = 269; s.pc = 49; return s.tmp_0; case 49: @@ -55563,8 +55804,8 @@ switch (step) { case 24: r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 25; continue; } - s.tmp_0 = console_log__P70249_mk(s); - r0 = pxsim_Array__length(s.ruleids___78748); + s.tmp_0 = console_log__P369_mk(s); + r0 = pxsim_Array__length(s.ruleids___22810); s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 51); @@ -55580,8 +55821,8 @@ switch (step) { s.callLocIdx = 270; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.tmp_0 = console_log__P70249_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.derivedRules___78772); + s.tmp_0 = console_log__P369_mk(s); + r0 = pxsim_pxtrt_ldlocRef(s.derivedRules___22834); s.tmp_8 = r0; if ((s.tmp_8) && (s.tmp_8).vtable) { setupResume(s, 53); @@ -55614,9 +55855,9 @@ switch (step) { case 55: r0 = s.retval; s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.derivedRules___78772); + r0 = pxsim_pxtrt_ldlocRef(s.derivedRules___22834); s.tmp_11 = r0; - r0 = pxsim_Array__length(s.ruleids___78748); + r0 = pxsim_Array__length(s.ruleids___22810); s.tmp_12 = r0; r0 = (s.tmp_11 / s.tmp_12); s.tmp_10 = r0; @@ -55645,8 +55886,8 @@ switch (step) { s.callLocIdx = 271; s.pc = 52; return s.tmp_0; case 52: r0 = s.retval; - s.tmp_0 = console_log__P70249_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.whenDoCount___78773); + s.tmp_0 = console_log__P369_mk(s); + r0 = pxsim_pxtrt_ldlocRef(s.whenDoCount___22835); s.tmp_8 = r0; if ((s.tmp_8) && (s.tmp_8).vtable) { setupResume(s, 59); @@ -55679,9 +55920,9 @@ switch (step) { case 61: r0 = s.retval; s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.whenDoCount___78773); + r0 = pxsim_pxtrt_ldlocRef(s.whenDoCount___22835); s.tmp_11 = r0; - r0 = pxsim_Array__length(s.ruleids___78748); + r0 = pxsim_Array__length(s.ruleids___22810); s.tmp_12 = r0; r0 = (s.tmp_11 / s.tmp_12); s.tmp_10 = r0; @@ -55710,8 +55951,8 @@ switch (step) { s.callLocIdx = 272; s.pc = 58; return s.tmp_0; case 58: r0 = s.retval; - s.tmp_0 = console_log__P70249_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.commandCount___78774); + s.tmp_0 = console_log__P369_mk(s); + r0 = pxsim_pxtrt_ldlocRef(s.commandCount___22836); s.tmp_8 = r0; if ((s.tmp_8) && (s.tmp_8).vtable) { setupResume(s, 65); @@ -55744,9 +55985,9 @@ switch (step) { case 67: r0 = s.retval; s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.commandCount___78774); + r0 = pxsim_pxtrt_ldlocRef(s.commandCount___22836); s.tmp_11 = r0; - r0 = pxsim_Array__length(s.ruleids___78748); + r0 = pxsim_Array__length(s.ruleids___22810); s.tmp_12 = r0; r0 = (s.tmp_11 / s.tmp_12); s.tmp_10 = r0; @@ -55775,8 +56016,8 @@ switch (step) { s.callLocIdx = 273; s.pc = 64; return s.tmp_0; case 64: r0 = s.retval; - s.tmp_0 = console_log__P70249_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.attrCount___78775); + s.tmp_0 = console_log__P369_mk(s); + r0 = pxsim_pxtrt_ldlocRef(s.attrCount___22837); s.tmp_8 = r0; if ((s.tmp_8) && (s.tmp_8).vtable) { setupResume(s, 71); @@ -55809,9 +56050,9 @@ switch (step) { case 73: r0 = s.retval; s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.attrCount___78775); + r0 = pxsim_pxtrt_ldlocRef(s.attrCount___22837); s.tmp_11 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.whenDoCount___78773); + r0 = pxsim_pxtrt_ldlocRef(s.whenDoCount___22835); s.tmp_12 = r0; r0 = (s.tmp_11 / s.tmp_12); s.tmp_10 = r0; @@ -55842,44 +56083,44 @@ switch (step) { r0 = s.retval; case 25: case 26: - s.tmp_0 = tileworld_Project_setRules__P73568_mk(s); - s.tmp_0.arg0 = s.p___78736; - s.tmp_0.arg1 = s.rules___78770; + s.tmp_0 = tileworld_Project_setRules__P3688_mk(s); + s.tmp_0.arg0 = s.p___22798; + s.tmp_0.arg1 = s.rules___22832; s.callLocIdx = 275; s.pc = 76; return s.tmp_0; case 76: r0 = s.retval; - s.tmp_0 = tileworld_Project_setWorldBackgrounds__P73572_mk(s); - s.tmp_0.arg0 = s.p___78736; - s.tmp_0.arg1 = s.world___78664; + s.tmp_0 = tileworld_Project_setWorldBackgrounds__P3692_mk(s); + s.tmp_0.arg0 = s.p___22798; + s.tmp_0.arg1 = s.world___22726; s.callLocIdx = 276; s.pc = 77; return s.tmp_0; case 77: r0 = s.retval; - s.tmp_0 = tileworld_Project_setWorldSprites__P73574_mk(s); - s.tmp_0.arg0 = s.p___78736; - s.tmp_0.arg1 = s.sprites___78683; + s.tmp_0 = tileworld_Project_setWorldSprites__P3694_mk(s); + s.tmp_0.arg0 = s.p___22798; + s.tmp_0.arg1 = s.sprites___22745; s.callLocIdx = 277; s.pc = 78; return s.tmp_0; case 78: r0 = s.retval; - s.tmp_0 = tileworld_Project_setPlayer__P73570_mk(s); - s.tmp_0.arg0 = s.p___78736; - s.tmp_0.arg1 = s.player___78849; + s.tmp_0 = tileworld_Project_setPlayer__P3690_mk(s); + s.tmp_0.arg0 = s.p___22798; + s.tmp_0.arg1 = s.player___22911; s.callLocIdx = 278; s.pc = 79; return s.tmp_0; case 79: r0 = s.retval; - r0 = (s.p___78736).fields["help"] = (s.help___78724); - r0 = (s.p___78736).fields["version"] = (s.version___78654); - r0 = (s.p___78736).fields["highScore"] = (s.highScore___78726); - r0 = s.p___78736; + r0 = (s.p___22798).fields["help"] = (s.help___22786); + r0 = (s.p___22798).fields["version"] = (s.version___22716); + r0 = (s.p___22798).fields["highScore"] = (s.highScore___22788); + r0 = s.p___22798; case 27: return leave(s, r0) default: oops() } } } -tileworld_loadProject__P73594.info = {"start":10263,"length":3484,"line":280,"column":4,"endLine":349,"endColumn":5,"fileName":"project.ts","functionName":"loadProject","argumentNames":["prefix","output"]} +tileworld_loadProject__P3714.info = {"start":10263,"length":3484,"line":280,"column":4,"endLine":349,"endColumn":5,"fileName":"project.ts","functionName":"loadProject","argumentNames":["prefix","output"]} -function tileworld_loadProject__P73594_mk(s) { +function tileworld_loadProject__P3714_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_loadProject__P73594, depth: s.depth + 1, + parent: s, fn: tileworld_loadProject__P3714, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55894,27 +56135,27 @@ function tileworld_loadProject__P73594_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - names___78643: undefined, - version___78654: undefined, - buf___78659: undefined, - world___78664: undefined, - sprites___78683: undefined, - backCnt___78697: undefined, - backImages___78702: undefined, - spriteCnt___78708: undefined, - spriteImages___78713: undefined, - helpNum___78719: undefined, - help___78724: undefined, - highScore___78726: undefined, - p___78736: undefined, - ruleName___78742: undefined, - ruleids___78748: undefined, - rules___78770: undefined, - derivedRules___78772: undefined, - whenDoCount___78773: undefined, - commandCount___78774: undefined, - attrCount___78775: undefined, - player___78849: undefined, + names___22705: undefined, + version___22716: undefined, + buf___22721: undefined, + world___22726: undefined, + sprites___22745: undefined, + backCnt___22759: undefined, + backImages___22764: undefined, + spriteCnt___22770: undefined, + spriteImages___22775: undefined, + helpNum___22781: undefined, + help___22786: undefined, + highScore___22788: undefined, + p___22798: undefined, + ruleName___22804: undefined, + ruleids___22810: undefined, + rules___22832: undefined, + derivedRules___22834: undefined, + whenDoCount___22835: undefined, + commandCount___22836: undefined, + attrCount___22837: undefined, + player___22911: undefined, arg0: undefined, arg1: undefined, } } @@ -55923,7 +56164,7 @@ function tileworld_loadProject__P73594_mk(s) { -function inline__P78752(s) { +function inline__P22814(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55943,12 +56184,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P78752.info = {"start":11928,"length":29,"line":308,"column":35,"endLine":308,"endColumn":64,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} +inline__P22814.info = {"start":11928,"length":29,"line":308,"column":35,"endLine":308,"endColumn":64,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} -function inline__P78752_mk(s) { +function inline__P22814_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P78752, depth: s.depth + 1, + parent: s, fn: inline__P22814, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -55958,7 +56199,7 @@ function inline__P78752_mk(s) { -function inline__P78760(s) { +function inline__P22822(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55972,7 +56213,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = parseInt__P69975_mk(s); + s.tmp_0 = parseInt__P95_mk(s); s.tmp_1 = r0 = s.arg0; r0 = pxsim_String_.length(s.caps[0]); s.tmp_2 = r0; @@ -55985,12 +56226,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P78760.info = {"start":11963,"length":40,"line":308,"column":70,"endLine":308,"endColumn":110,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} +inline__P22822.info = {"start":11963,"length":40,"line":308,"column":70,"endLine":308,"endColumn":110,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} -function inline__P78760_mk(s) { +function inline__P22822_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P78760, depth: s.depth + 1, + parent: s, fn: inline__P22822, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56002,7 +56243,7 @@ function inline__P78760_mk(s) { -function inline__P78778(s) { +function inline__P22840(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56012,24 +56253,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___78780 = undefined; - s.rule___78792 = undefined; - s.rv___78797 = undefined; - s.wdCnt___78817 = undefined; - s.cmdCnt___78818 = undefined; - s.attrCnt___78819 = undefined; + s.buf___22842 = undefined; + s.rule___22854 = undefined; + s.rv___22859 = undefined; + s.wdCnt___22879 = undefined; + s.cmdCnt___22880 = undefined; + s.attrCnt___22881 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_settingsReadBuffer__P78570_mk(s); + s.tmp_0 = tileworld_settingsReadBuffer__P6005_mk(s); s.tmp_0.arg0 = s.caps[0]; - if ((globals.RuleKey___78184) && (globals.RuleKey___78184).vtable) { + if ((globals.RuleKey___6015) && (globals.RuleKey___6015).vtable) { setupResume(s, 6); - pxsim_String__stringConv(globals.RuleKey___78184); + pxsim_String__stringConv(globals.RuleKey___6015); checkResumeConsumed(); return; - } else { s.retval = (globals.RuleKey___78184) + ""; } + } else { s.retval = (globals.RuleKey___6015) + ""; } case 6: r0 = s.retval; s.tmp_1 = r0; @@ -56050,36 +56291,36 @@ switch (step) { s.callLocIdx = 260; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.buf___78780 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___78780); + s.buf___22842 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___22842); if (!r0) { step = 3; continue; } - s.tmp_0 = tileworld_unPackRule__P73513_mk(s); - s.tmp_0.arg0 = s.buf___78780; + s.tmp_0 = tileworld_unPackRule__P3633_mk(s); + s.tmp_0.arg0 = s.buf___22842; s.tmp_0.arg1 = s.caps[2]; s.tmp_0.arg2 = s.caps[3]; s.callLocIdx = 261; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.rule___78792 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleView__C73515_VT); + s.rule___22854 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleView__C3635_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_RuleView_constructor__P73516_mk(s); + s.tmp_1 = tileworld_RuleView_constructor__P3636_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.caps[4]; s.tmp_1.arg2 = s.arg0; - s.tmp_1.arg3 = s.rule___78792; + s.tmp_1.arg3 = s.rule___22854; s.callLocIdx = 262; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.rv___78797 = (s.tmp_0); - r0 = pxsim_Array__push(s.caps[5], s.rv___78797); + s.rv___22859 = (s.tmp_0); + r0 = pxsim_Array__push(s.caps[5], s.rv___22859); r0 = pxsim_numops_toBoolDecr(s.caps[1]); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.caps[6]; r0 = pxsim_pxtrt_ldlocRef(s.caps[6]); s.tmp_2 = r0; - s.tmp_5 = tileworld_RuleView_getDerivedRules__P73518_mk(s); - s.tmp_5.arg0 = s.rv___78797; + s.tmp_5 = tileworld_RuleView_getDerivedRules__P3638_mk(s); + s.tmp_5.arg0 = s.rv___22859; s.callLocIdx = 263; s.pc = 10; return s.tmp_5; case 10: r0 = s.retval; @@ -56089,42 +56330,42 @@ switch (step) { r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - s.tmp_1 = tileworld_ruleStats__P73511_mk(s); - s.tmp_1.arg0 = s.rv___78797; + s.tmp_1 = tileworld_ruleStats__P3631_mk(s); + s.tmp_1.arg0 = s.rv___22859; s.callLocIdx = 264; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, 0); - s.wdCnt___78817 = (r0); + s.wdCnt___22879 = (r0); r0 = pxsim_Array__getAt(s.tmp_0, 1); - s.cmdCnt___78818 = (r0); + s.cmdCnt___22880 = (r0); r0 = pxsim_Array__getAt(s.tmp_0, 2); - s.attrCnt___78819 = (r0); + s.attrCnt___22881 = (r0); s.tmp_0 = r0 = s.caps[7]; r0 = pxsim_pxtrt_ldlocRef(s.caps[7]); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.wdCnt___78817); + r0 = (s.tmp_2 + s.wdCnt___22879); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); s.tmp_0 = r0 = s.caps[8]; r0 = pxsim_pxtrt_ldlocRef(s.caps[8]); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.cmdCnt___78818); + r0 = (s.tmp_2 + s.cmdCnt___22880); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); s.tmp_0 = r0 = s.caps[9]; r0 = pxsim_pxtrt_ldlocRef(s.caps[9]); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.attrCnt___78819); + r0 = (s.tmp_2 + s.attrCnt___22881); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); case 1: case 2: { step = 4; continue; } case 3: - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; r0 = pxsim_numops.toString(s.arg0); s.tmp_4 = r0; if ((s.tmp_4) && (s.tmp_4).vtable) { @@ -56157,7 +56398,7 @@ switch (step) { s.callLocIdx = 265; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = control_assert__P70202_mk(s); + s.tmp_0 = control_assert__P322_mk(s); s.tmp_0.arg0 = false; s.tmp_0.arg1 = 42; s.callLocIdx = 266; s.pc = 15; return s.tmp_0; @@ -56168,12 +56409,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P78778.info = {"start":12182,"length":732,"line":314,"column":24,"endLine":331,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["rid"]} +inline__P22840.info = {"start":12182,"length":732,"line":314,"column":24,"endLine":331,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["rid"]} -function inline__P78778_mk(s) { +function inline__P22840_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P78778, depth: s.depth + 1, + parent: s, fn: inline__P22840, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56181,12 +56422,12 @@ function inline__P78778_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - buf___78780: undefined, - rule___78792: undefined, - rv___78797: undefined, - wdCnt___78817: undefined, - cmdCnt___78818: undefined, - attrCnt___78819: undefined, + buf___22842: undefined, + rule___22854: undefined, + rv___22859: undefined, + wdCnt___22879: undefined, + cmdCnt___22880: undefined, + attrCnt___22881: undefined, arg0: undefined, } } @@ -56194,7 +56435,7 @@ function inline__P78778_mk(s) { -function tileworld_Project_setRules__P73568(s) { +function tileworld_Project_setRules__P3688(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56210,18 +56451,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C73562_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C3682_VT)) failedCast(r0); r0 = (s.arg0).fields["rules"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_setRules__P73568.info = {"start":2335,"length":74,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"project.ts","functionName":"setRules","argumentNames":["this","rvl"]} +tileworld_Project_setRules__P3688.info = {"start":2335,"length":74,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"project.ts","functionName":"setRules","argumentNames":["this","rvl"]} -function tileworld_Project_setRules__P73568_mk(s) { +function tileworld_Project_setRules__P3688_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_setRules__P73568, depth: s.depth + 1, + parent: s, fn: tileworld_Project_setRules__P3688, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -56231,7 +56472,7 @@ function tileworld_Project_setRules__P73568_mk(s) { -function tileworld_ruleStats__P73511(s) { +function tileworld_ruleStats__P3631(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56241,99 +56482,99 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wdCnt___76550 = undefined; - s.cmdCnt___76551 = undefined; - s.attrCnt___76552 = undefined; - s.col___76553 = undefined; - s.row___76557 = undefined; - s.whendo___76561 = undefined; + s.wdCnt___23041 = undefined; + s.cmdCnt___23042 = undefined; + s.attrCnt___23043 = undefined; + s.col___23044 = undefined; + s.row___23048 = undefined; + s.whendo___23052 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.wdCnt___76550 = (0); - s.cmdCnt___76551 = (0); - s.attrCnt___76552 = (0); - s.col___76553 = (1); + s.wdCnt___23041 = (0); + s.cmdCnt___23042 = (0); + s.attrCnt___23043 = (0); + s.col___23044 = (1); case 1: - r0 = (s.col___76553 <= 3); + r0 = (s.col___23044 <= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___76557 = (1); + s.row___23048 = (1); case 2: - r0 = (s.row___76557 <= 3); + r0 = (s.row___23048 <= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tileworld_RuleView_getWhenDo__P73528_mk(s); + s.tmp_1 = tileworld_RuleView_getWhenDo__P3648_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.col___76553; - s.tmp_1.arg2 = s.row___76557; + s.tmp_1.arg1 = s.col___23044; + s.tmp_1.arg2 = s.row___23048; s.callLocIdx = 74; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.whendo___76561 = (r0); - r0 = (s.whendo___76561 != -1); + s.whendo___23052 = (r0); + r0 = (s.whendo___23052 != -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = (s.wdCnt___76550 + 1); - s.wdCnt___76550 = (r0); - s.tmp_0 = r0 = s.cmdCnt___76551; + r0 = (s.wdCnt___23041 + 1); + s.wdCnt___23041 = (r0); + s.tmp_0 = r0 = s.cmdCnt___23042; r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_2 = r0; - r0 = pxsim_Array__getAt(s.tmp_2, s.whendo___76561); + r0 = pxsim_Array__getAt(s.tmp_2, s.whendo___23052); r0 = r0.fields["commandsLen"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.cmdCnt___76551 = (r0); - s.tmp_0 = r0 = s.attrCnt___76552; - s.tmp_2 = tileworld_RuleView_attrCnt__P73534_mk(s); + s.cmdCnt___23042 = (r0); + s.tmp_0 = r0 = s.attrCnt___23043; + s.tmp_2 = tileworld_RuleView_attrCnt__P3654_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.whendo___76561; + s.tmp_2.arg1 = s.whendo___23052; s.callLocIdx = 76; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.attrCnt___76552 = (r0); + s.attrCnt___23043 = (r0); case 3: case 4: - r0 = (s.row___76557 + 1); - s.row___76557 = (r0); + r0 = (s.row___23048 + 1); + s.row___23048 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___76553 + 1); - s.col___76553 = (r0); + r0 = (s.col___23044 + 1); + s.col___23044 = (r0); { step = 1; continue; } case 6: r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.wdCnt___76550); - r0 = pxsim_Array__push(s.tmp_0, s.cmdCnt___76551); - r0 = pxsim_Array__push(s.tmp_0, s.attrCnt___76552); + r0 = pxsim_Array__push(s.tmp_0, s.wdCnt___23041); + r0 = pxsim_Array__push(s.tmp_0, s.cmdCnt___23042); + r0 = pxsim_Array__push(s.tmp_0, s.attrCnt___23043); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -tileworld_ruleStats__P73511.info = {"start":8007,"length":517,"line":215,"column":4,"endLine":230,"endColumn":5,"fileName":"rule.ts","functionName":"ruleStats","argumentNames":["rv"]} +tileworld_ruleStats__P3631.info = {"start":8007,"length":517,"line":215,"column":4,"endLine":230,"endColumn":5,"fileName":"rule.ts","functionName":"ruleStats","argumentNames":["rv"]} -function tileworld_ruleStats__P73511_mk(s) { +function tileworld_ruleStats__P3631_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleStats__P73511, depth: s.depth + 1, + parent: s, fn: tileworld_ruleStats__P3631, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - wdCnt___76550: undefined, - cmdCnt___76551: undefined, - attrCnt___76552: undefined, - col___76553: undefined, - row___76557: undefined, - whendo___76561: undefined, + wdCnt___23041: undefined, + cmdCnt___23042: undefined, + attrCnt___23043: undefined, + col___23044: undefined, + row___23048: undefined, + whendo___23052: undefined, arg0: undefined, } } @@ -56341,7 +56582,7 @@ function tileworld_ruleStats__P73511_mk(s) { -function tileworld_RuleView_attrCnt__P73534(s) { +function tileworld_RuleView_attrCnt__P3654(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56351,20 +56592,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cnt___77283 = undefined; - s.i___77284 = undefined; - s.i___77301 = undefined; + s.cnt___23087 = undefined; + s.i___23088 = undefined; + s.i___23105 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C73515_VT)) failedCast(r0); - s.cnt___77283 = (0); - s.i___77284 = (0); + if (!checkSubtype(r0, tileworld_RuleView__C3635_VT)) failedCast(r0); + s.cnt___23087 = (0); + s.i___23088 = (0); case 1: - s.tmp_1 = r0 = s.i___77284; + s.tmp_1 = r0 = s.i___23088; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_backgroundsI"]; @@ -56375,10 +56616,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_7 = tileworld_RuleView_getSetBgAttr__P73532_mk(s); + s.tmp_7 = tileworld_RuleView_getSetBgAttr__P3652_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = s.arg1; - s.tmp_7.arg2 = s.i___77284; + s.tmp_7.arg2 = s.i___23088; s.tmp_7.arg3 = 65535; s.callLocIdx = 131; s.pc = 9; return s.tmp_7; case 9: @@ -56388,17 +56629,17 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 2; continue; } - r0 = (s.cnt___77283 + 1); - s.cnt___77283 = (r0); + r0 = (s.cnt___23087 + 1); + s.cnt___23087 = (r0); case 2: case 3: - r0 = (s.i___77284 + 1); - s.i___77284 = (r0); + r0 = (s.i___23088 + 1); + s.i___23088 = (r0); { step = 1; continue; } case 4: - s.i___77301 = (0); + s.i___23105 = (0); case 5: - s.tmp_1 = r0 = s.i___77301; + s.tmp_1 = r0 = s.i___23105; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_spritesI"]; @@ -56409,10 +56650,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_7 = tileworld_RuleView_getSetSpAttr__P73533_mk(s); + s.tmp_7 = tileworld_RuleView_getSetSpAttr__P3653_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = s.arg1; - s.tmp_7.arg2 = s.i___77301; + s.tmp_7.arg2 = s.i___23105; s.tmp_7.arg3 = 65535; s.callLocIdx = 133; s.pc = 10; return s.tmp_7; case 10: @@ -56422,24 +56663,24 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 6; continue; } - r0 = (s.cnt___77283 + 1); - s.cnt___77283 = (r0); + r0 = (s.cnt___23087 + 1); + s.cnt___23087 = (r0); case 6: case 7: - r0 = (s.i___77301 + 1); - s.i___77301 = (r0); + r0 = (s.i___23105 + 1); + s.i___23105 = (r0); { step = 5; continue; } case 8: - r0 = s.cnt___77283; + r0 = s.cnt___23087; return leave(s, r0) default: oops() } } } -tileworld_RuleView_attrCnt__P73534.info = {"start":4924,"length":419,"line":142,"column":8,"endLine":153,"endColumn":9,"fileName":"ruleview.ts","functionName":"attrCnt","argumentNames":["this","whendo"]} +tileworld_RuleView_attrCnt__P3654.info = {"start":4924,"length":419,"line":142,"column":8,"endLine":153,"endColumn":9,"fileName":"ruleview.ts","functionName":"attrCnt","argumentNames":["this","whendo"]} -function tileworld_RuleView_attrCnt__P73534_mk(s) { +function tileworld_RuleView_attrCnt__P3654_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_attrCnt__P73534, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_attrCnt__P3654, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56449,9 +56690,9 @@ function tileworld_RuleView_attrCnt__P73534_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - cnt___77283: undefined, - i___77284: undefined, - i___77301: undefined, + cnt___23087: undefined, + i___23088: undefined, + i___23105: undefined, arg0: undefined, arg1: undefined, } } @@ -56460,7 +56701,7 @@ function tileworld_RuleView_attrCnt__P73534_mk(s) { -function tileworld_unPackRule__P73513(s) { +function tileworld_unPackRule__P3633(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56470,85 +56711,85 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rt___76844 = undefined; - s.ra___76846 = undefined; - s.rv___76848 = undefined; - s.rule___76850 = undefined; - s.whenDoLen___76857 = undefined; - s.i___76859 = undefined; - s.col___76864 = undefined; - s.row___76866 = undefined; - s.wd___76868 = undefined; + s.rt___23129 = undefined; + s.ra___23131 = undefined; + s.rv___23133 = undefined; + s.rule___23135 = undefined; + s.whenDoLen___23142 = undefined; + s.i___23144 = undefined; + s.col___23149 = undefined; + s.row___23151 = undefined; + s.wd___23153 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - globals.ruleBuf___76595 = (s.arg0); - globals.bitIndex___76597 = (0); - s.tmp_0 = tileworld_readBuf__P76708_mk(s); + globals.ruleBuf___5984 = (s.arg0); + globals.bitIndex___5986 = (0); + s.tmp_0 = tileworld_readBuf__P5990_mk(s); s.tmp_0.arg0 = 4; s.callLocIdx = 99; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.rt___76844 = (r0); - s.tmp_0 = tileworld_readBuf__P76708_mk(s); + s.rt___23129 = (r0); + s.tmp_0 = tileworld_readBuf__P5990_mk(s); s.tmp_0.arg0 = 4; s.callLocIdx = 100; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.ra___76846 = (r0); - s.tmp_0 = tileworld_readBuf__P76708_mk(s); + s.ra___23131 = (r0); + s.tmp_0 = tileworld_readBuf__P5990_mk(s); s.tmp_0.arg0 = 4; s.callLocIdx = 101; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.rv___76848 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Rule__C73500_VT); + s.rv___23133 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Rule__C3620_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_Rule_constructor__P73501_mk(s); + s.tmp_1 = tileworld_Rule_constructor__P3621_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.rt___76844; - s.tmp_1.arg2 = s.ra___76846; + s.tmp_1.arg1 = s.rt___23129; + s.tmp_1.arg2 = s.ra___23131; r0 = pxsim_Array__mk(); s.tmp_1.arg3 = r0; - s.tmp_1.arg4 = s.rv___76848; + s.tmp_1.arg4 = s.rv___23133; s.callLocIdx = 102; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.rule___76850 = (s.tmp_0); - s.tmp_0 = tileworld_readBuf__P76708_mk(s); + s.rule___23135 = (s.tmp_0); + s.tmp_0 = tileworld_readBuf__P5990_mk(s); s.tmp_0.arg0 = 4; s.callLocIdx = 103; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.whenDoLen___76857 = (r0); - s.i___76859 = (0); + s.whenDoLen___23142 = (r0); + s.i___23144 = (0); case 1: - r0 = (s.i___76859 < s.whenDoLen___76857); + r0 = (s.i___23144 < s.whenDoLen___23142); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = tileworld_readBuf__P76708_mk(s); + s.tmp_1 = tileworld_readBuf__P5990_mk(s); s.tmp_1.arg0 = 4; s.callLocIdx = 104; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.col___76864 = (r0); - s.tmp_0 = tileworld_readBuf__P76708_mk(s); + s.col___23149 = (r0); + s.tmp_0 = tileworld_readBuf__P5990_mk(s); s.tmp_0.arg0 = 4; s.callLocIdx = 105; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.row___76866 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_WhenDo__C73488_VT); + s.row___23151 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_WhenDo__C3608_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_WhenDo_constructor__P73489_mk(s); + s.tmp_1 = tileworld_WhenDo_constructor__P3609_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.col___76864; - s.tmp_1.arg2 = s.row___76866; - s.tmp_2 = tileworld_readBufRaw__P76712_mk(s); + s.tmp_1.arg1 = s.col___23149; + s.tmp_1.arg2 = s.row___23151; + s.tmp_2 = tileworld_readBufRaw__P5991_mk(s); r0 = (s.arg1 >> 2); s.tmp_2.arg0 = r0; r0 = (s.arg1 >> 2); @@ -56557,7 +56798,7 @@ switch (step) { case 11: r0 = s.retval; s.tmp_1.arg3 = r0; - s.tmp_3 = tileworld_readBufRaw__P76712_mk(s); + s.tmp_3 = tileworld_readBufRaw__P5991_mk(s); r0 = (s.arg2 >> 2); s.tmp_3.arg0 = r0; r0 = (s.arg2 >> 2); @@ -56572,61 +56813,61 @@ switch (step) { s.callLocIdx = 108; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.wd___76868 = (s.tmp_0); - s.tmp_0 = r0 = s.wd___76868; - s.tmp_2 = tileworld_readBuf__P76708_mk(s); + s.wd___23153 = (s.tmp_0); + s.tmp_0 = r0 = s.wd___23153; + s.tmp_2 = tileworld_readBuf__P5990_mk(s); s.tmp_2.arg0 = 4; s.callLocIdx = 109; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["dir"] = (s.tmp_1); - s.tmp_0 = r0 = s.wd___76868; - s.tmp_2 = tileworld_readBuf__P76708_mk(s); + s.tmp_0 = r0 = s.wd___23153; + s.tmp_2 = tileworld_readBuf__P5990_mk(s); s.tmp_2.arg0 = 4; s.callLocIdx = 110; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["commandsLen"] = (s.tmp_1); - r0 = s.rule___76850.fields["whenDo"]; + r0 = s.rule___23135.fields["whenDo"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.wd___76868); - r0 = (s.i___76859 + 1); - s.i___76859 = (r0); + r0 = pxsim_Array__push(s.tmp_0, s.wd___23153); + r0 = (s.i___23144 + 1); + s.i___23144 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = helpers_arrayForEach__P69987_mk(s); - r0 = s.rule___76850.fields["whenDo"]; + s.tmp_0 = helpers_arrayForEach__P107_mk(s); + r0 = s.rule___23135.fields["whenDo"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P76902; + s.tmp_0.arg1 = inline__P23187; s.callLocIdx = 112; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = s.rule___76850; + r0 = s.rule___23135; return leave(s, r0) default: oops() } } } -tileworld_unPackRule__P73513.info = {"start":11735,"length":1027,"line":327,"column":4,"endLine":355,"endColumn":5,"fileName":"rule.ts","functionName":"unPackRule","argumentNames":["buf","bgLen","spLen"]} +tileworld_unPackRule__P3633.info = {"start":11735,"length":1027,"line":327,"column":4,"endLine":355,"endColumn":5,"fileName":"rule.ts","functionName":"unPackRule","argumentNames":["buf","bgLen","spLen"]} -function tileworld_unPackRule__P73513_mk(s) { +function tileworld_unPackRule__P3633_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_unPackRule__P73513, depth: s.depth + 1, + parent: s, fn: tileworld_unPackRule__P3633, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - rt___76844: undefined, - ra___76846: undefined, - rv___76848: undefined, - rule___76850: undefined, - whenDoLen___76857: undefined, - i___76859: undefined, - col___76864: undefined, - row___76866: undefined, - wd___76868: undefined, + rt___23129: undefined, + ra___23131: undefined, + rv___23133: undefined, + rule___23135: undefined, + whenDoLen___23142: undefined, + i___23144: undefined, + col___23149: undefined, + row___23151: undefined, + wd___23153: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -56636,7 +56877,7 @@ function tileworld_unPackRule__P73513_mk(s) { -function inline__P76902(s) { +function inline__P23187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56657,7 +56898,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_2 = r0 = s.arg0; - s.tmp_4 = tileworld_readBufRaw__P76712_mk(s); + s.tmp_4 = tileworld_readBufRaw__P5991_mk(s); s.tmp_4.arg0 = 8; r0 = s.arg0.fields["commandsLen"]; s.tmp_5 = r0; @@ -56679,12 +56920,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P76902.info = {"start":12492,"length":241,"line":347,"column":28,"endLine":353,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} +inline__P23187.info = {"start":12492,"length":241,"line":347,"column":28,"endLine":353,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} -function inline__P76902_mk(s) { +function inline__P23187_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P76902, depth: s.depth + 1, + parent: s, fn: inline__P23187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56699,7 +56940,7 @@ function inline__P76902_mk(s) { -function tileworld_readBufRaw__P76712(s) { +function tileworld_readBufRaw__P5991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56709,52 +56950,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.b___76715 = undefined; - s.i___76719 = undefined; + s.b___23211 = undefined; + s.i___23215 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(s.arg0); - s.b___76715 = (r0); - s.i___76719 = (0); + s.b___23211 = (r0); + s.i___23215 = (0); case 1: - r0 = (s.i___76719 < s.arg1); + r0 = (s.i___23215 < s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.b___76715; - s.tmp_2 = r0 = s.i___76719; - s.tmp_4 = tileworld_readBuf__P76708_mk(s); + s.tmp_1 = r0 = s.b___23211; + s.tmp_2 = r0 = s.i___23215; + s.tmp_4 = tileworld_readBuf__P5990_mk(s); s.tmp_4.arg0 = 8; s.callLocIdx = 83; s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; s.tmp_3 = r0; r0 = pxsim.BufferMethods.setUint8(s.tmp_1, s.tmp_2, s.tmp_3); - r0 = (s.i___76719 + 1); - s.i___76719 = (r0); + r0 = (s.i___23215 + 1); + s.i___23215 = (r0); { step = 1; continue; } case 2: - r0 = s.b___76715; + r0 = s.b___23211; return leave(s, r0) default: oops() } } } -tileworld_readBufRaw__P76712.info = {"start":10235,"length":207,"line":288,"column":4,"endLine":294,"endColumn":5,"fileName":"rule.ts","functionName":"readBufRaw","argumentNames":["bytes","cnt"]} +tileworld_readBufRaw__P5991.info = {"start":10235,"length":207,"line":288,"column":4,"endLine":294,"endColumn":5,"fileName":"rule.ts","functionName":"readBufRaw","argumentNames":["bytes","cnt"]} -function tileworld_readBufRaw__P76712_mk(s) { +function tileworld_readBufRaw__P5991_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_readBufRaw__P76712, depth: s.depth + 1, + parent: s, fn: tileworld_readBufRaw__P5991, depth: s.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, - b___76715: undefined, - i___76719: undefined, + b___23211: undefined, + i___23215: undefined, arg0: undefined, arg1: undefined, } } @@ -56763,7 +57004,7 @@ function tileworld_readBufRaw__P76712_mk(s) { -function tileworld_readBuf__P76708(s) { +function tileworld_readBuf__P5990(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56777,7 +57018,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_readWriteBuf__P76598_mk(s); + s.tmp_0 = tileworld_readWriteBuf__P5987_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = false; @@ -56787,12 +57028,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_readBuf__P76708.info = {"start":10092,"length":83,"line":283,"column":4,"endLine":285,"endColumn":5,"fileName":"rule.ts","functionName":"readBuf","argumentNames":["bits"]} +tileworld_readBuf__P5990.info = {"start":10092,"length":83,"line":283,"column":4,"endLine":285,"endColumn":5,"fileName":"rule.ts","functionName":"readBuf","argumentNames":["bits"]} -function tileworld_readBuf__P76708_mk(s) { +function tileworld_readBuf__P5990_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_readBuf__P76708, depth: s.depth + 1, + parent: s, fn: tileworld_readBuf__P5990, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -56802,7 +57043,7 @@ function tileworld_readBuf__P76708_mk(s) { -function parseInt__P69975(s) { +function parseInt__P95(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56812,13 +57053,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.start___96677 = undefined; - s.sign___96707 = undefined; - s.output___96752 = undefined; - s.hasDigit___96753 = undefined; - s.i___96754 = undefined; - s.code___96761 = undefined; - s.val___96768 = undefined; + s.start___23246 = undefined; + s.sign___23276 = undefined; + s.output___23321 = undefined; + s.hasDigit___23322 = undefined; + s.i___23323 = undefined; + s.code___23330 = undefined; + s.val___23337 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -56865,9 +57106,9 @@ switch (step) { { step = 46; continue; } case 7: case 8: - s.start___96677 = (0); + s.start___23246 = (0); case 9: - s.tmp_1 = r0 = s.start___96677; + s.tmp_1 = r0 = s.start___23246; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -56877,8 +57118,8 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - s.tmp_3 = helpers_isWhitespace__P69999_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.start___96677); + s.tmp_3 = helpers_isWhitespace__P119_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.start___23246); s.tmp_3.arg0 = r0; s.callLocIdx = 0; s.pc = 47; return s.tmp_3; case 47: @@ -56888,11 +57129,11 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 12; continue; } - r0 = (s.start___96677 + 1); - s.start___96677 = (r0); + r0 = (s.start___23246 + 1); + s.start___23246 = (r0); { step = 9; continue; } case 12: - s.tmp_1 = r0 = s.start___96677; + s.tmp_1 = r0 = s.start___23246; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 === s.tmp_2); @@ -56903,8 +57144,8 @@ switch (step) { { step = 46; continue; } case 13: case 14: - s.sign___96707 = (1); - r0 = pxsim_String_.charAt(s.arg0, s.start___96677); + s.sign___23276 = (1); + r0 = pxsim_String_.charAt(s.arg0, s.start___23246); s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq("-", s.tmp_0); if (r0) { step = 15; continue; } @@ -56913,10 +57154,10 @@ switch (step) { r0 = s.tmp_0; { step = 17; continue; } case 15: - s.sign___96707 = (-1); + s.sign___23276 = (-1); case 16: - r0 = (s.start___96677 + 1); - s.start___96677 = (r0); + r0 = (s.start___23246 + 1); + s.start___23246 = (r0); case 17: r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; @@ -56936,7 +57177,7 @@ switch (step) { r0 = s.tmp_2; { step = 21; continue; } case 20: - r0 = pxsim_String_.charAt(s.arg0, s.start___96677); + r0 = pxsim_String_.charAt(s.arg0, s.start___23246); s.tmp_3 = r0; r0 = ("0" === s.tmp_3); case 21: @@ -56948,7 +57189,7 @@ switch (step) { { step = 25; continue; } case 22: s.tmp_7 = r0 = s.arg0; - r0 = (s.start___96677 + 1); + r0 = (s.start___23246 + 1); s.tmp_8 = r0; r0 = pxsim_String_.charAt(s.tmp_7, s.tmp_8); s.tmp_6 = r0; @@ -56960,7 +57201,7 @@ switch (step) { { step = 24; continue; } case 23: s.tmp_10 = r0 = s.arg0; - r0 = (s.start___96677 + 1); + r0 = (s.start___23246 + 1); s.tmp_11 = r0; r0 = pxsim_String_.charAt(s.tmp_10, s.tmp_11); s.tmp_9 = r0; @@ -56975,8 +57216,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_13); if (!r0) { step = 26; continue; } s.arg1 = (16); - r0 = (s.start___96677 + 2); - s.start___96677 = (r0); + r0 = (s.start___23246 + 2); + s.start___23246 = (r0); { step = 29; continue; } case 26: r0 = pxsim_numops_toBoolDecr(s.arg1); @@ -56989,73 +57230,73 @@ switch (step) { case 27: case 28: case 29: - s.output___96752 = (0); - s.hasDigit___96753 = (false); - s.i___96754 = (s.start___96677); + s.output___23321 = (0); + s.hasDigit___23322 = (false); + s.i___23323 = (s.start___23246); case 30: - s.tmp_1 = r0 = s.i___96754; + s.tmp_1 = r0 = s.i___23323; 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 = 45; continue; } - r0 = pxsim_String_.charCodeAt(s.arg0, s.i___96754); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___23323); s.tmp_3 = r0; r0 = (s.tmp_3 | 32); - s.code___96761 = (r0); - s.val___96768 = (undefined); - r0 = (s.code___96761 >= 48); + s.code___23330 = (r0); + s.val___23337 = (undefined); + r0 = (s.code___23330 >= 48); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 31; continue; } r0 = s.tmp_0; { step = 32; continue; } case 31: - r0 = (s.code___96761 < 58); + r0 = (s.code___23330 < 58); case 32: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 33; continue; } - r0 = (s.code___96761 - 48); - s.val___96768 = (r0); + r0 = (s.code___23330 - 48); + s.val___23337 = (r0); { step = 38; continue; } case 33: - r0 = (s.code___96761 >= 97); + r0 = (s.code___23330 >= 97); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 34; continue; } r0 = s.tmp_0; { step = 35; continue; } case 34: - r0 = (s.code___96761 < 123); + r0 = (s.code___23330 < 123); case 35: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 36; continue; } - r0 = (10 + s.code___96761); + r0 = (10 + s.code___23330); s.tmp_2 = r0; r0 = (s.tmp_2 - 97); - s.val___96768 = (r0); + s.val___23337 = (r0); case 36: case 37: case 38: - r0 = (s.val___96768 == undefined); + r0 = (s.val___23337 == undefined); 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: - r0 = (s.val___96768 >= s.arg1); + r0 = (s.val___23337 >= s.arg1); case 40: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 43; continue; } - r0 = pxsim_numops_toBoolDecr(s.hasDigit___96753); + r0 = pxsim_numops_toBoolDecr(s.hasDigit___23322); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -57068,26 +57309,26 @@ switch (step) { { step = 45; continue; } case 43: case 44: - s.hasDigit___96753 = (true); - r0 = (s.output___96752 * s.arg1); + s.hasDigit___23322 = (true); + r0 = (s.output___23321 * s.arg1); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.val___96768); - s.output___96752 = (r0); - r0 = (s.i___96754 + 1); - s.i___96754 = (r0); + r0 = (s.tmp_0 + s.val___23337); + s.output___23321 = (r0); + r0 = (s.i___23323 + 1); + s.i___23323 = (r0); { step = 30; continue; } case 45: - r0 = (s.sign___96707 * s.output___96752); + r0 = (s.sign___23276 * s.output___23321); case 46: return leave(s, r0) default: oops() } } } -parseInt__P69975.info = {"start":1064,"length":1690,"line":44,"column":0,"endLine":103,"endColumn":1,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"parseInt","argumentNames":["text","radix"]} +parseInt__P95.info = {"start":1064,"length":1690,"line":44,"column":0,"endLine":103,"endColumn":1,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"parseInt","argumentNames":["text","radix"]} -function parseInt__P69975_mk(s) { +function parseInt__P95_mk(s) { checkStack(s.depth); return { - parent: s, fn: parseInt__P69975, depth: s.depth + 1, + parent: s, fn: parseInt__P95, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57103,13 +57344,13 @@ function parseInt__P69975_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - start___96677: undefined, - sign___96707: undefined, - output___96752: undefined, - hasDigit___96753: undefined, - i___96754: undefined, - code___96761: undefined, - val___96768: undefined, + start___23246: undefined, + sign___23276: undefined, + output___23321: undefined, + hasDigit___23322: undefined, + i___23323: undefined, + code___23330: undefined, + val___23337: undefined, arg0: undefined, arg1: undefined, } } @@ -57118,7 +57359,7 @@ function parseInt__P69975_mk(s) { -function helpers_isWhitespace__P69999(s) { +function helpers_isWhitespace__P119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57175,12 +57416,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_isWhitespace__P69999.info = {"start":13875,"length":674,"line":476,"column":4,"endLine":493,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"isWhitespace","argumentNames":["c"]} +helpers_isWhitespace__P119.info = {"start":13875,"length":674,"line":476,"column":4,"endLine":493,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"isWhitespace","argumentNames":["c"]} -function helpers_isWhitespace__P69999_mk(s) { +function helpers_isWhitespace__P119_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_isWhitespace__P69999, depth: s.depth + 1, + parent: s, fn: helpers_isWhitespace__P119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -57190,7 +57431,7 @@ function helpers_isWhitespace__P69999_mk(s) { -function tileworld_readImages__P78591(s) { +function tileworld_readImages__P6017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57200,10 +57441,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.images___78596 = undefined; - s.i___78598 = undefined; - s.buf___78603 = undefined; - s.img___78614 = undefined; + s.images___23397 = undefined; + s.i___23399 = undefined; + s.buf___23404 = undefined; + s.img___23415 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -57212,14 +57453,14 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.images___78596 = (r0); - s.i___78598 = (0); + s.images___23397 = (r0); + s.i___23399 = (0); case 1: - r0 = (s.i___78598 < s.arg0); + r0 = (s.i___23399 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_1 = tileworld_settingsReadBuffer__P78570_mk(s); + s.tmp_1 = tileworld_settingsReadBuffer__P6005_mk(s); s.tmp_1.arg0 = s.arg1; if ((s.arg2) && (s.arg2).vtable) { setupResume(s, 10); @@ -57230,7 +57471,7 @@ switch (step) { case 10: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_numops.toString(s.i___78598); + r0 = pxsim_numops.toString(s.i___23399); s.tmp_4 = r0; if ((s.tmp_4) && (s.tmp_4).vtable) { setupResume(s, 11); @@ -57247,14 +57488,14 @@ switch (step) { s.callLocIdx = 240; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.buf___78603 = (r0); - s.tmp_0 = r0 = s.buf___78603; + s.buf___23404 = (r0); + s.tmp_0 = r0 = s.buf___23404; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } r0 = s.tmp_0; { step = 3; continue; } case 2: - r0 = pxsim.BufferMethods.length(s.buf___78603); + r0 = pxsim.BufferMethods.length(s.buf___23404); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); case 3: @@ -57262,8 +57503,8 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_3 = tileworld_bufferToImage__P73428_mk(s); - s.tmp_3.arg0 = s.buf___78603; + s.tmp_3 = tileworld_bufferToImage__P3548_mk(s); + s.tmp_3.arg0 = s.buf___23404; s.callLocIdx = 241; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; @@ -57273,46 +57514,46 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_4 = r0; - s.img___78614 = (s.tmp_4); - r0 = pxsim_numops_toBoolDecr(s.img___78614); + s.img___23415 = (s.tmp_4); + r0 = pxsim_numops_toBoolDecr(s.img___23415); 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 = pxsim.image.create(16, 16); - s.img___78614 = (r0); - s.tmp_0 = r0 = s.img___78614; - r0 = (1 + s.i___78598); + s.img___23415 = (r0); + s.tmp_0 = r0 = s.img___23415; + r0 = (1 + s.i___23399); s.tmp_1 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, s.tmp_1); case 6: case 7: - r0 = pxsim_Array__push(s.images___78596, s.img___78614); - r0 = (s.i___78598 + 1); - s.i___78598 = (r0); + r0 = pxsim_Array__push(s.images___23397, s.img___23415); + r0 = (s.i___23399 + 1); + s.i___23399 = (r0); { step = 1; continue; } case 8: - r0 = s.images___78596; + r0 = s.images___23397; return leave(s, r0) default: oops() } } } -tileworld_readImages__P78591.info = {"start":9717,"length":442,"line":266,"column":4,"endLine":275,"endColumn":5,"fileName":"project.ts","functionName":"readImages","argumentNames":["cnt","prefix","key","output"]} +tileworld_readImages__P6017.info = {"start":9717,"length":442,"line":266,"column":4,"endLine":275,"endColumn":5,"fileName":"project.ts","functionName":"readImages","argumentNames":["cnt","prefix","key","output"]} -function tileworld_readImages__P78591_mk(s) { +function tileworld_readImages__P6017_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_readImages__P78591, depth: s.depth + 1, + parent: s, fn: tileworld_readImages__P6017, depth: s.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, - images___78596: undefined, - i___78598: undefined, - buf___78603: undefined, - img___78614: undefined, + images___23397: undefined, + i___23399: undefined, + buf___23404: undefined, + img___23415: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -57323,7 +57564,7 @@ function tileworld_readImages__P78591_mk(s) { -function tileworld_settingsReadNumber__P78506(s) { +function tileworld_settingsReadNumber__P6003(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57333,14 +57574,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.val___78510 = undefined; + s.val___23445 = 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 = settings_readNumber__P71713_mk(s); + s.tmp_0 = settings_readNumber__P1833_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 4); pxsim_String__stringConv(s.arg0); @@ -57364,10 +57605,10 @@ switch (step) { s.callLocIdx = 234; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.val___78510 = (r0); + s.val___23445 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } - s.tmp_0 = console_log__P70249_mk(s); + s.tmp_0 = console_log__P369_mk(s); if ((s.arg1) && (s.arg1).vtable) { setupResume(s, 7); pxsim_String__stringConv(s.arg1); @@ -57399,7 +57640,7 @@ switch (step) { case 9: r0 = s.retval; s.tmp_3 = r0; - r0 = pxsim_numops.toString(s.val___78510); + r0 = pxsim_numops.toString(s.val___23445); s.tmp_9 = r0; if ((s.tmp_9) && (s.tmp_9).vtable) { setupResume(s, 10); @@ -57428,16 +57669,16 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = s.val___78510; + r0 = s.val___23445; return leave(s, r0) default: oops() } } } -tileworld_settingsReadNumber__P78506.info = {"start":8600,"length":249,"line":236,"column":4,"endLine":240,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadNumber","argumentNames":["prefix","key","output"]} +tileworld_settingsReadNumber__P6003.info = {"start":8600,"length":249,"line":236,"column":4,"endLine":240,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadNumber","argumentNames":["prefix","key","output"]} -function tileworld_settingsReadNumber__P78506_mk(s) { +function tileworld_settingsReadNumber__P6003_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_settingsReadNumber__P78506, depth: s.depth + 1, + parent: s, fn: tileworld_settingsReadNumber__P6003, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57449,7 +57690,7 @@ function tileworld_settingsReadNumber__P78506_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - val___78510: undefined, + val___23445: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -57459,7 +57700,7 @@ function tileworld_settingsReadNumber__P78506_mk(s) { -function settings_readNumber__P71713(s) { +function settings_readNumber__P1833(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57469,15 +57710,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___96847 = undefined; - s.nums___96854 = undefined; + s.buf___23475 = undefined; + s.nums___23482 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___96847 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___96847); + s.buf___23475 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___23475); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -57487,20 +57728,20 @@ switch (step) { { step = 7; continue; } { step = 6; continue; } case 1: - s.tmp_2 = msgpack_unpackNumberArray__P70056_mk(s); - s.tmp_2.arg0 = s.buf___96847; + s.tmp_2 = msgpack_unpackNumberArray__P176_mk(s); + s.tmp_2.arg0 = s.buf___23475; s.tmp_2.arg1 = 0; s.callLocIdx = 137; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___96854 = (r0); - s.tmp_0 = r0 = s.nums___96854; + s.nums___23482 = (r0); + s.tmp_0 = r0 = s.nums___23482; 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___96854); + r0 = pxsim_Array__length(s.nums___23482); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -57508,7 +57749,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___96854, 0); + r0 = pxsim_Array__getAt(s.nums___23482, 0); { step = 7; continue; } case 4: case 5: @@ -57520,18 +57761,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readNumber__P71713.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__P1833.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__P71713_mk(s) { +function settings_readNumber__P1833_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P71713, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P1833, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___96847: undefined, - nums___96854: undefined, + buf___23475: undefined, + nums___23482: undefined, arg0: undefined, } } @@ -57539,7 +57780,7 @@ function settings_readNumber__P71713_mk(s) { -function settings_readBuffer__P71711(s) { +function settings_readBuffer__P1831(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57557,12 +57798,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readBuffer__P71711.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__P1831.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__P71711_mk(s) { +function settings_readBuffer__P1831_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P71711, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P1831, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -57571,7 +57812,7 @@ function settings_readBuffer__P71711_mk(s) { -function msgpack_unpackNumberArray__P70056(s) { +function msgpack_unpackNumberArray__P176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57581,16 +57822,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___96867 = undefined; - s.fmt___96874 = undefined; - s.v___96883 = undefined; + s.res___23495 = undefined; + s.fmt___23502 = undefined; + s.v___23511 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___96867 = (r0); + s.res___23495 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -57602,14 +57843,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P73786_mk(s); + s.tmp_4 = msgpack_tagFormat__P3906_mk(s); r0 = pxsim.BufferMethods.getByte(s.arg0, s.tmp_3); s.tmp_4.arg0 = r0; s.callLocIdx = 21; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___96874 = (r0); - r0 = (s.fmt___96874 === null); + s.fmt___23502 = (r0); + r0 = (s.fmt___23502 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -57617,21 +57858,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___96883 = (r0); - r0 = (-31 <= s.v___96883); + s.v___23511 = (r0); + r0 = (-31 <= s.v___23511); 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___96883 <= 127); + r0 = (s.v___23511 <= 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___96867, s.v___96883); + r0 = pxsim_Array__push(s.res___23495, s.v___23511); { step = 5; continue; } case 4: r0 = null; @@ -57639,13 +57880,13 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___96867; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___96874, s.arg1); + s.tmp_0 = r0 = s.res___23495; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___23502, 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__P70048_mk(s); - s.tmp_2.arg0 = s.fmt___96874; + s.tmp_2 = pins_sizeOf__P168_mk(s); + s.tmp_2.arg0 = s.fmt___23502; s.callLocIdx = 22; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -57666,26 +57907,26 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___96867; + r0 = s.res___23495; case 11: return leave(s, r0) default: oops() } } } -msgpack_unpackNumberArray__P70056.info = {"start":2650,"length":669,"line":91,"column":4,"endLine":111,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"unpackNumberArray","argumentNames":["buf","offset"]} +msgpack_unpackNumberArray__P176.info = {"start":2650,"length":669,"line":91,"column":4,"endLine":111,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"unpackNumberArray","argumentNames":["buf","offset"]} -function msgpack_unpackNumberArray__P70056_mk(s) { +function msgpack_unpackNumberArray__P176_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P70056, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P176, depth: s.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___96867: undefined, - fmt___96874: undefined, - v___96883: undefined, + res___23495: undefined, + fmt___23502: undefined, + v___23511: undefined, arg0: undefined, arg1: undefined, } } @@ -57694,7 +57935,7 @@ function msgpack_unpackNumberArray__P70056_mk(s) { -function tileworld_bufferToImage__P73428(s) { +function tileworld_bufferToImage__P3548(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57704,76 +57945,76 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.width___76207 = undefined; - s.height___76212 = undefined; - s.index___76217 = undefined; - s.img___76218 = undefined; - s.x___76223 = undefined; - s.y___76224 = undefined; - s.pair___76230 = undefined; - s.pixel___76236 = undefined; - s.len___76239 = undefined; + s.width___23557 = undefined; + s.height___23562 = undefined; + s.index___23567 = undefined; + s.img___23568 = undefined; + s.x___23573 = undefined; + s.y___23574 = undefined; + s.pair___23580 = undefined; + s.pixel___23586 = undefined; + s.len___23589 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.BufferMethods.getNumber(s.arg0, 1, 0); - s.width___76207 = (r0); + s.width___23557 = (r0); r0 = pxsim.BufferMethods.getNumber(s.arg0, 1, 1); - s.height___76212 = (r0); - s.index___76217 = (2); - r0 = pxsim.image.create(s.width___76207, s.height___76212); - s.img___76218 = (r0); - s.x___76223 = (0); - s.y___76224 = (0); - case 1: - s.tmp_1 = r0 = s.index___76217; + s.height___23562 = (r0); + s.index___23567 = (2); + r0 = pxsim.image.create(s.width___23557, s.height___23562); + s.img___23568 = (r0); + s.x___23573 = (0); + s.y___23574 = (0); + case 1: + s.tmp_1 = r0 = s.index___23567; 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___76217; + s.tmp_3 = r0 = s.index___23567; r0 = (s.tmp_3 + 1); - s.index___76217 = (r0); + s.index___23567 = (r0); r0 = pxsim.BufferMethods.getUint8(s.arg0, s.tmp_3); - s.pair___76230 = (r0); - r0 = (s.pair___76230 & 15); - s.pixel___76236 = (r0); - r0 = (s.pair___76230 & 240); + s.pair___23580 = (r0); + r0 = (s.pair___23580 & 15); + s.pixel___23586 = (r0); + r0 = (s.pair___23580 & 240); s.tmp_0 = r0; r0 = (s.tmp_0 >> 4); - s.len___76239 = (r0); + s.len___23589 = (r0); case 2: - r0 = (s.len___76239 > 0); + r0 = (s.len___23589 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.setPixel(s.img___76218, s.x___76223, s.y___76224, s.pixel___76236); - s.tmp_1 = r0 = s.y___76224; - r0 = (s.height___76212 - 1); + r0 = pxsim_ImageMethods.setPixel(s.img___23568, s.x___23573, s.y___23574, s.pixel___23586); + s.tmp_1 = r0 = s.y___23574; + r0 = (s.height___23562 - 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___76223 + 1); - s.x___76223 = (r0); - s.y___76224 = (0); + r0 = (s.x___23573 + 1); + s.x___23573 = (r0); + s.y___23574 = (0); { step = 4; continue; } case 3: - r0 = (s.y___76224 + 1); - s.y___76224 = (r0); + r0 = (s.y___23574 + 1); + s.y___23574 = (r0); case 4: - r0 = (s.len___76239 - 1); - s.len___76239 = (r0); + r0 = (s.len___23589 - 1); + s.len___23589 = (r0); { step = 2; continue; } case 5: { step = 1; continue; } case 6: - s.tmp_0 = control_assert__P70202_mk(s); - s.tmp_1 = r0 = s.index___76217; + s.tmp_0 = control_assert__P322_mk(s); + s.tmp_1 = r0 = s.index___23567; r0 = pxsim.BufferMethods.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 == s.tmp_2); @@ -57782,30 +58023,30 @@ switch (step) { s.callLocIdx = 72; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = s.img___76218; + r0 = s.img___23568; return leave(s, r0) default: oops() } } } -tileworld_bufferToImage__P73428.info = {"start":3821,"length":694,"line":108,"column":4,"endLine":127,"endColumn":5,"fileName":"utilities.ts","functionName":"bufferToImage","argumentNames":["buf"]} +tileworld_bufferToImage__P3548.info = {"start":3821,"length":694,"line":108,"column":4,"endLine":127,"endColumn":5,"fileName":"utilities.ts","functionName":"bufferToImage","argumentNames":["buf"]} -function tileworld_bufferToImage__P73428_mk(s) { +function tileworld_bufferToImage__P3548_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_bufferToImage__P73428, depth: s.depth + 1, + parent: s, fn: tileworld_bufferToImage__P3548, depth: s.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___76207: undefined, - height___76212: undefined, - index___76217: undefined, - img___76218: undefined, - x___76223: undefined, - y___76224: undefined, - pair___76230: undefined, - pixel___76236: undefined, - len___76239: undefined, + width___23557: undefined, + height___23562: undefined, + index___23567: undefined, + img___23568: undefined, + x___23573: undefined, + y___23574: undefined, + pair___23580: undefined, + pixel___23586: undefined, + len___23589: undefined, arg0: undefined, } } @@ -57813,7 +58054,7 @@ function tileworld_bufferToImage__P73428_mk(s) { -function tileworld_settingsReadBuffer__P78570(s) { +function tileworld_settingsReadBuffer__P6005(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57823,7 +58064,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___78574 = undefined; + s.buf___23623 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -57851,33 +58092,33 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); s.tmp_0 = r0; r0 = pxsim.settings._get(s.tmp_0); - s.buf___78574 = (r0); + s.buf___23623 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } - s.tmp_0 = tileworld_outputKeyBuffer__P78436_mk(s); + s.tmp_0 = tileworld_outputKeyBuffer__P6002_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.buf___78574; + s.tmp_0.arg2 = s.buf___23623; s.callLocIdx = 239; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: case 2: - r0 = s.buf___78574; + r0 = s.buf___23623; return leave(s, r0) default: oops() } } } -tileworld_settingsReadBuffer__P78570.info = {"start":9110,"length":207,"line":248,"column":4,"endLine":252,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadBuffer","argumentNames":["prefix","key","output"]} +tileworld_settingsReadBuffer__P6005.info = {"start":9110,"length":207,"line":248,"column":4,"endLine":252,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadBuffer","argumentNames":["prefix","key","output"]} -function tileworld_settingsReadBuffer__P78570_mk(s) { +function tileworld_settingsReadBuffer__P6005_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_settingsReadBuffer__P78570, depth: s.depth + 1, + parent: s, fn: tileworld_settingsReadBuffer__P6005, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___78574: undefined, + buf___23623: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -57887,7 +58128,7 @@ function tileworld_settingsReadBuffer__P78570_mk(s) { -function tileworld_outputKeyBuffer__P78436(s) { +function tileworld_outputKeyBuffer__P6002(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57897,17 +58138,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.chunk___78459 = undefined; - s.str___78460 = undefined; - s.i___78461 = undefined; - s.byte___78467 = undefined; + s.chunk___23658 = undefined; + s.str___23659 = undefined; + s.i___23660 = undefined; + s.byte___23666 = 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 = console_log__P70249_mk(s); + s.tmp_0 = console_log__P369_mk(s); r0 = pxsim.BufferMethods.length(s.arg2); s.tmp_3 = r0; r0 = pxsim_numops.toString(s.tmp_3); @@ -57926,7 +58167,7 @@ switch (step) { s.callLocIdx = 230; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = console_log__P70249_mk(s); + s.tmp_0 = console_log__P369_mk(s); if ((s.arg1) && (s.arg1).vtable) { setupResume(s, 8); pxsim_String__stringConv(s.arg1); @@ -57952,31 +58193,31 @@ switch (step) { s.callLocIdx = 231; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.chunk___78459 = (40); + s.chunk___23658 = (40); r0 = pxsim_String_.mkEmpty(); - s.str___78460 = (r0); - s.i___78461 = (0); + s.str___23659 = (r0); + s.i___23660 = (0); case 1: - s.tmp_1 = r0 = s.i___78461; + s.tmp_1 = r0 = s.i___23660; r0 = pxsim.BufferMethods.length(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 = 4; continue; } - r0 = pxsim.BufferMethods.getUint8(s.arg2, s.i___78461); - s.byte___78467 = (r0); - if ((s.str___78460) && (s.str___78460).vtable) { + r0 = pxsim.BufferMethods.getUint8(s.arg2, s.i___23660); + s.byte___23666 = (r0); + if ((s.str___23659) && (s.str___23659).vtable) { setupResume(s, 10); - pxsim_String__stringConv(s.str___78460); + pxsim_String__stringConv(s.str___23659); checkResumeConsumed(); return; - } else { s.retval = (s.str___78460) + ""; } + } else { s.retval = (s.str___23659) + ""; } case 10: r0 = s.retval; s.tmp_0 = r0; - s.tmp_5 = r0 = globals.toHex___78434; - r0 = (s.byte___78467 & 240); + s.tmp_5 = r0 = globals.toHex___6001; + r0 = (s.byte___23666 & 240); s.tmp_7 = r0; r0 = (s.tmp_7 >> 4); s.tmp_6 = r0; @@ -57991,8 +58232,8 @@ switch (step) { case 11: r0 = s.retval; s.tmp_3 = r0; - s.tmp_10 = r0 = globals.toHex___78434; - r0 = (s.byte___78467 & 15); + s.tmp_10 = r0 = globals.toHex___6001; + r0 = (s.byte___23666 & 15); s.tmp_11 = r0; r0 = pxsim_String_.charAt(s.tmp_10, s.tmp_11); s.tmp_9 = r0; @@ -58017,34 +58258,34 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.str___78460 = (r0); - r0 = (s.chunk___78459 - 1); - s.chunk___78459 = (r0); - r0 = (s.chunk___78459 == 0); + s.str___23659 = (r0); + r0 = (s.chunk___23658 - 1); + s.chunk___23658 = (r0); + r0 = (s.chunk___23658 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = console_log__P70249_mk(s); - s.tmp_1.arg0 = s.str___78460; + s.tmp_1 = console_log__P369_mk(s); + s.tmp_1.arg0 = s.str___23659; s.callLocIdx = 232; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - s.chunk___78459 = (40); + s.chunk___23658 = (40); r0 = pxsim_String_.mkEmpty(); - s.str___78460 = (r0); + s.str___23659 = (r0); case 2: case 3: - r0 = (s.i___78461 + 1); - s.i___78461 = (r0); + r0 = (s.i___23660 + 1); + s.i___23660 = (r0); { step = 1; continue; } case 4: - s.tmp_0 = console_log__P70249_mk(s); - if ((s.str___78460) && (s.str___78460).vtable) { + s.tmp_0 = console_log__P369_mk(s); + if ((s.str___23659) && (s.str___23659).vtable) { setupResume(s, 16); - pxsim_String__stringConv(s.str___78460); + pxsim_String__stringConv(s.str___23659); checkResumeConsumed(); return; - } else { s.retval = (s.str___78460) + ""; } + } else { s.retval = (s.str___23659) + ""; } case 16: r0 = s.retval; s.tmp_1 = r0; @@ -58057,12 +58298,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_outputKeyBuffer__P78436.info = {"start":8016,"length":578,"line":221,"column":4,"endLine":234,"endColumn":5,"fileName":"project.ts","functionName":"outputKeyBuffer","argumentNames":["prefix","key","val"]} +tileworld_outputKeyBuffer__P6002.info = {"start":8016,"length":578,"line":221,"column":4,"endLine":234,"endColumn":5,"fileName":"project.ts","functionName":"outputKeyBuffer","argumentNames":["prefix","key","val"]} -function tileworld_outputKeyBuffer__P78436_mk(s) { +function tileworld_outputKeyBuffer__P6002_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_outputKeyBuffer__P78436, depth: s.depth + 1, + parent: s, fn: tileworld_outputKeyBuffer__P6002, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58076,10 +58317,10 @@ function tileworld_outputKeyBuffer__P78436_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - chunk___78459: undefined, - str___78460: undefined, - i___78461: undefined, - byte___78467: undefined, + chunk___23658: undefined, + str___23659: undefined, + i___23660: undefined, + byte___23666: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -58089,7 +58330,7 @@ function tileworld_outputKeyBuffer__P78436_mk(s) { -function tileworld_settingsReadString__P78539(s) { +function tileworld_settingsReadString__P6004(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58099,14 +58340,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.val___78543 = undefined; + s.val___23709 = 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 = settings_readString__P71712_mk(s); + s.tmp_0 = settings_readString__P1832_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 4); pxsim_String__stringConv(s.arg0); @@ -58130,10 +58371,10 @@ switch (step) { s.callLocIdx = 236; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.val___78543 = (r0); + s.val___23709 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } - s.tmp_0 = console_log__P70249_mk(s); + s.tmp_0 = console_log__P369_mk(s); if ((s.arg1) && (s.arg1).vtable) { setupResume(s, 7); pxsim_String__stringConv(s.arg1); @@ -58165,12 +58406,12 @@ switch (step) { case 9: r0 = s.retval; s.tmp_3 = r0; - if ((s.val___78543) && (s.val___78543).vtable) { + if ((s.val___23709) && (s.val___23709).vtable) { setupResume(s, 10); - pxsim_String__stringConv(s.val___78543); + pxsim_String__stringConv(s.val___23709); checkResumeConsumed(); return; - } else { s.retval = (s.val___78543) + ""; } + } else { s.retval = (s.val___23709) + ""; } case 10: r0 = s.retval; s.tmp_8 = r0; @@ -58192,16 +58433,16 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = s.val___78543; + r0 = s.val___23709; return leave(s, r0) default: oops() } } } -tileworld_settingsReadString__P78539.info = {"start":8855,"length":249,"line":242,"column":4,"endLine":246,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadString","argumentNames":["prefix","key","output"]} +tileworld_settingsReadString__P6004.info = {"start":8855,"length":249,"line":242,"column":4,"endLine":246,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadString","argumentNames":["prefix","key","output"]} -function tileworld_settingsReadString__P78539_mk(s) { +function tileworld_settingsReadString__P6004_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_settingsReadString__P78539, depth: s.depth + 1, + parent: s, fn: tileworld_settingsReadString__P6004, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58212,7 +58453,7 @@ function tileworld_settingsReadString__P78539_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - val___78543: undefined, + val___23709: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -58222,7 +58463,7 @@ function tileworld_settingsReadString__P78539_mk(s) { -function settings_readString__P71712(s) { +function settings_readString__P1832(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58232,14 +58473,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___96836 = undefined; + s.buf___23737 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___96836 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___96836); + s.buf___23737 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___23737); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -58249,7 +58490,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___96836); + r0 = pxsim.BufferMethods.toString(s.buf___23737); { step = 3; continue; } case 2: r0 = undefined; @@ -58257,16 +58498,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readString__P71712.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__P1832.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__P71712_mk(s) { +function settings_readString__P1832_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P71712, depth: s.depth + 1, + parent: s, fn: settings_readString__P1832, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___96836: undefined, + buf___23737: undefined, arg0: undefined, } } @@ -58274,7 +58515,7 @@ function settings_readString__P71712_mk(s) { -function tileworld_RuleVisualsBase_row__P82567(s) { +function tileworld_RuleVisualsBase_row__P6302(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58290,13 +58531,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C3789_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } - s.tmp_2 = Sprite_y__P71907_mk(s); + s.tmp_2 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 682; s.pc = 3; return s.tmp_2; + s.callLocIdx = 694; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -58305,10 +58546,10 @@ switch (step) { r0 = (s.tmp_0 >> 4); { step = 2; continue; } case 1: - s.tmp_5 = Sprite_y__P71907_mk(s); + s.tmp_5 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 683; s.pc = 4; return s.tmp_5; + s.callLocIdx = 695; s.pc = 4; return s.tmp_5; case 4: r0 = s.retval; s.tmp_4 = r0; @@ -58322,12 +58563,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_row__P82567.info = {"start":4214,"length":135,"line":108,"column":8,"endLine":110,"endColumn":9,"fileName":"rulesBase.ts","functionName":"row","argumentNames":["this","curr"]} +tileworld_RuleVisualsBase_row__P6302.info = {"start":4214,"length":135,"line":108,"column":8,"endLine":110,"endColumn":9,"fileName":"rulesBase.ts","functionName":"row","argumentNames":["this","curr"]} -function tileworld_RuleVisualsBase_row__P82567_mk(s) { +function tileworld_RuleVisualsBase_row__P6302_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_row__P82567, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_row__P6302, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58344,7 +58585,7 @@ function tileworld_RuleVisualsBase_row__P82567_mk(s) { -function tileworld_RuleVisualsBase_col__P82566(s) { +function tileworld_RuleVisualsBase_col__P6301(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58360,23 +58601,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C3789_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } - s.tmp_1 = Sprite_x__P71905_mk(s); + s.tmp_1 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 680; s.pc = 3; return s.tmp_1; + s.callLocIdx = 692; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 >> 4); { step = 2; continue; } case 1: - s.tmp_3 = Sprite_x__P71905_mk(s); + s.tmp_3 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 681; s.pc = 4; return s.tmp_3; + s.callLocIdx = 693; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; s.tmp_2 = r0; @@ -58388,12 +58629,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_col__P82566.info = {"start":4087,"length":117,"line":104,"column":8,"endLine":106,"endColumn":9,"fileName":"rulesBase.ts","functionName":"col","argumentNames":["this","curr"]} +tileworld_RuleVisualsBase_col__P6301.info = {"start":4087,"length":117,"line":104,"column":8,"endLine":106,"endColumn":9,"fileName":"rulesBase.ts","functionName":"col","argumentNames":["this","curr"]} -function tileworld_RuleVisualsBase_col__P82566_mk(s) { +function tileworld_RuleVisualsBase_col__P6301_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_col__P82566, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_col__P6301, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58408,7 +58649,7 @@ function tileworld_RuleVisualsBase_col__P82566_mk(s) { -function controller_Button_onEvent__P71790(s) { +function controller_Button_onEvent__P1910(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58425,8 +58666,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C71783_VT)) failedCast(r0); - s.tmp_0 = control_onEvent__P70260_mk(s); + if (!checkSubtype(r0, controller_Button__C1903_VT)) failedCast(r0); + s.tmp_0 = control_onEvent__P380_mk(s); s.tmp_0.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_0.arg1 = r0; @@ -58439,12 +58680,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_onEvent__P71790.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__P1910.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__P71790_mk(s) { +function controller_Button_onEvent__P1910_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P71790, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P1910, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -58456,7 +58697,7 @@ function controller_Button_onEvent__P71790_mk(s) { -function controller_setRepeatDefault__P71796(s) { +function controller_setRepeatDefault__P1916(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58471,18 +58712,18 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - globals.defaultRepeatDelay___73993 = (s.arg0); - globals.defaultRepeatInterval___73995 = (s.arg1); + globals.defaultRepeatDelay___4113 = (s.arg0); + globals.defaultRepeatInterval___4115 = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_setRepeatDefault__P71796.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__P1916.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__P71796_mk(s) { +function controller_setRepeatDefault__P1916_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setRepeatDefault__P71796, depth: s.depth + 1, + parent: s, fn: controller_setRepeatDefault__P1916, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -58492,7 +58733,7 @@ function controller_setRepeatDefault__P71796_mk(s) { -function tileworld_RuleVisualsBase_constructor__P73670(s) { +function tileworld_RuleVisualsBase_constructor__P3790(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58508,11 +58749,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C3789_VT)) failedCast(r0); r0 = (s.arg0).fields["p"] = (s.arg1); - s.tmp_0 = tileworld_BackgroundBase_constructor__P73668_mk(s); + s.tmp_0 = tileworld_BackgroundBase_constructor__P3788_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 635; s.pc = 1; return s.tmp_0; + s.callLocIdx = 647; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -58530,199 +58771,199 @@ 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__P71854_mk(s); - s.tmp_2.arg0 = globals.cursorIn___73608; + s.tmp_2 = sprites_create__P1974_mk(s); + s.tmp_2.arg0 = globals.cursorIn___3728; s.tmp_2.arg1 = undefined; - s.callLocIdx = 636; s.pc = 2; return s.tmp_2; + s.callLocIdx = 648; 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__P71906_mk(s); + s.tmp_0 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 24; - s.callLocIdx = 637; s.pc = 3; return s.tmp_0; + s.callLocIdx = 649; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 46; - s.callLocIdx = 638; s.pc = 4; return s.tmp_0; + s.callLocIdx = 650; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_cursorAnimation__P73423_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3543_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.cursorOut___73609; - s.callLocIdx = 639; s.pc = 5; return s.tmp_0; + s.tmp_0.arg1 = globals.cursorOut___3729; + s.callLocIdx = 651; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P71854_mk(s); - s.tmp_2.arg0 = globals.cursorIn___73608; + s.tmp_2 = sprites_create__P1974_mk(s); + s.tmp_2.arg0 = globals.cursorIn___3728; s.tmp_2.arg1 = undefined; - s.callLocIdx = 640; s.pc = 6; return s.tmp_2; + s.callLocIdx = 652; 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__P71959_mk(s); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 641; s.pc = 7; return s.tmp_0; + s.callLocIdx = 653; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P71854_mk(s); - s.tmp_2.arg0 = globals.cursorOut___73609; + s.tmp_2 = sprites_create__P1974_mk(s); + s.tmp_2.arg0 = globals.cursorOut___3729; s.tmp_2.arg1 = undefined; - s.callLocIdx = 642; s.pc = 8; return s.tmp_2; + s.callLocIdx = 654; 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__P71959_mk(s); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 643; s.pc = 9; return s.tmp_0; + s.callLocIdx = 655; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P82638); + r0 = pxsim_pxtcore_mkAction(1, inline__P23849); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.left___71759; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.left___1879; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 645; s.pc = 10; return s.tmp_1; + s.callLocIdx = 657; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P82644); + r0 = pxsim_pxtcore_mkAction(1, inline__P23855); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.left___71759; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.left___1879; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 647; s.pc = 11; return s.tmp_1; + s.callLocIdx = 659; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P82650); + r0 = pxsim_pxtcore_mkAction(1, inline__P23861); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.left___71759; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.left___1879; s.tmp_1.arg1 = 2048; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 648; s.pc = 12; return s.tmp_1; + s.callLocIdx = 660; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P82659); + r0 = pxsim_pxtcore_mkAction(1, inline__P23870); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.right___71761; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.right___1881; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 650; s.pc = 13; return s.tmp_1; + s.callLocIdx = 662; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P82665); + r0 = pxsim_pxtcore_mkAction(1, inline__P23876); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.right___71761; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.right___1881; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 652; s.pc = 14; return s.tmp_1; + s.callLocIdx = 664; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P82671); + r0 = pxsim_pxtcore_mkAction(1, inline__P23882); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.right___71761; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.right___1881; s.tmp_1.arg1 = 2048; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 653; s.pc = 15; return s.tmp_1; + s.callLocIdx = 665; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P82680); + r0 = pxsim_pxtcore_mkAction(1, inline__P23891); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.up___71760; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.up___1880; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 655; s.pc = 16; return s.tmp_1; + s.callLocIdx = 667; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P82685); + r0 = pxsim_pxtcore_mkAction(1, inline__P23896); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.up___71760; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.up___1880; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 657; s.pc = 17; return s.tmp_1; + s.callLocIdx = 669; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P82690); + r0 = pxsim_pxtcore_mkAction(1, inline__P23901); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.up___71760; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.up___1880; s.tmp_1.arg1 = 2048; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 658; s.pc = 18; return s.tmp_1; + s.callLocIdx = 670; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P82699); + r0 = pxsim_pxtcore_mkAction(1, inline__P23910); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.down___71762; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.down___1882; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 660; s.pc = 19; return s.tmp_1; + s.callLocIdx = 672; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P82704); + r0 = pxsim_pxtcore_mkAction(1, inline__P23915); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.down___71762; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.down___1882; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 662; s.pc = 20; return s.tmp_1; + s.callLocIdx = 674; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P82709); + r0 = pxsim_pxtcore_mkAction(1, inline__P23920); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.down___71762; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.down___1882; s.tmp_1.arg1 = 2048; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 663; s.pc = 21; return s.tmp_1; + s.callLocIdx = 675; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_constructor__P73670.info = {"start":650,"length":2272,"line":24,"column":8,"endLine":66,"endColumn":9,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_RuleVisualsBase_constructor__P3790.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__P73670_mk(s) { +function tileworld_RuleVisualsBase_constructor__P3790_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_constructor__P73670, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_constructor__P3790, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58735,7 +58976,7 @@ function tileworld_RuleVisualsBase_constructor__P73670_mk(s) { -function inline__P82638(s) { +function inline__P23849(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58745,22 +58986,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P82559_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P6294_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; - s.callLocIdx = 644; s.pc = 1; return s.tmp_0; + s.callLocIdx = 656; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P82638.info = {"start":1393,"length":38,"line":42,"column":67,"endLine":42,"endColumn":105,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P23849.info = {"start":1393,"length":38,"line":42,"column":67,"endLine":42,"endColumn":105,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P82638_mk(s) { +function inline__P23849_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P82638, depth: s.depth + 1, + parent: s, fn: inline__P23849, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -58769,7 +59010,7 @@ function inline__P82638_mk(s) { -function inline__P82644(s) { +function inline__P23855(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58779,22 +59020,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P82559_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P6294_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; - s.callLocIdx = 646; s.pc = 1; return s.tmp_0; + s.callLocIdx = 658; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P82644.info = {"start":1503,"length":38,"line":43,"column":68,"endLine":43,"endColumn":106,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P23855.info = {"start":1503,"length":38,"line":43,"column":68,"endLine":43,"endColumn":106,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P82644_mk(s) { +function inline__P23855_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P82644, depth: s.depth + 1, + parent: s, fn: inline__P23855, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -58803,7 +59044,7 @@ function inline__P82644_mk(s) { -function inline__P82650(s) { +function inline__P23861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58813,9 +59054,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = tileworld_RuleVisualsBase__C73669_v1_1_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase__C3789_v1_1_mk(s); s.tmp_3.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C3789_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: @@ -58830,11 +59071,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_4 = tileworld_RuleVisualsBase__C73669_v2_3_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase__C3789_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__C73669_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, tileworld_RuleVisualsBase__C3789_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: @@ -58844,12 +59085,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P82650.info = {"start":1612,"length":127,"line":44,"column":68,"endLine":47,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P23861.info = {"start":1612,"length":127,"line":44,"column":68,"endLine":47,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P82650_mk(s) { +function inline__P23861_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P82650, depth: s.depth + 1, + parent: s, fn: inline__P23861, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58862,7 +59103,7 @@ function inline__P82650_mk(s) { -function inline__P82659(s) { +function inline__P23870(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58872,22 +59113,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P82559_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P6294_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 2; - s.callLocIdx = 649; s.pc = 1; return s.tmp_0; + s.callLocIdx = 661; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P82659.info = {"start":1810,"length":39,"line":48,"column":68,"endLine":48,"endColumn":107,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P23870.info = {"start":1810,"length":39,"line":48,"column":68,"endLine":48,"endColumn":107,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P82659_mk(s) { +function inline__P23870_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P82659, depth: s.depth + 1, + parent: s, fn: inline__P23870, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -58896,7 +59137,7 @@ function inline__P82659_mk(s) { -function inline__P82665(s) { +function inline__P23876(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58906,22 +59147,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P82559_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P6294_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 2; - s.callLocIdx = 651; s.pc = 1; return s.tmp_0; + s.callLocIdx = 663; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P82665.info = {"start":1921,"length":39,"line":49,"column":69,"endLine":49,"endColumn":108,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P23876.info = {"start":1921,"length":39,"line":49,"column":69,"endLine":49,"endColumn":108,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P82665_mk(s) { +function inline__P23876_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P82665, depth: s.depth + 1, + parent: s, fn: inline__P23876, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -58930,7 +59171,7 @@ function inline__P82665_mk(s) { -function inline__P82671(s) { +function inline__P23882(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58940,9 +59181,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = tileworld_RuleVisualsBase__C73669_v1_1_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase__C3789_v1_1_mk(s); s.tmp_3.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C3789_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: @@ -58957,11 +59198,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_4 = tileworld_RuleVisualsBase__C73669_v2_3_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase__C3789_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__C73669_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, tileworld_RuleVisualsBase__C3789_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: @@ -58971,12 +59212,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P82671.info = {"start":2032,"length":128,"line":50,"column":69,"endLine":53,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P23882.info = {"start":2032,"length":128,"line":50,"column":69,"endLine":53,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P82671_mk(s) { +function inline__P23882_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P82671, depth: s.depth + 1, + parent: s, fn: inline__P23882, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58989,7 +59230,7 @@ function inline__P82671_mk(s) { -function inline__P82680(s) { +function inline__P23891(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58999,21 +59240,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveUp__P82560_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveUp__P6295_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 654; s.pc = 1; return s.tmp_0; + s.callLocIdx = 666; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P82680.info = {"start":2228,"length":19,"line":54,"column":65,"endLine":54,"endColumn":84,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P23891.info = {"start":2228,"length":19,"line":54,"column":65,"endLine":54,"endColumn":84,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P82680_mk(s) { +function inline__P23891_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P82680, depth: s.depth + 1, + parent: s, fn: inline__P23891, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -59022,7 +59263,7 @@ function inline__P82680_mk(s) { -function inline__P82685(s) { +function inline__P23896(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59032,21 +59273,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveUp__P82560_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveUp__P6295_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 656; s.pc = 1; return s.tmp_0; + s.callLocIdx = 668; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P82685.info = {"start":2316,"length":19,"line":55,"column":66,"endLine":55,"endColumn":85,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P23896.info = {"start":2316,"length":19,"line":55,"column":66,"endLine":55,"endColumn":85,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P82685_mk(s) { +function inline__P23896_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P82685, depth: s.depth + 1, + parent: s, fn: inline__P23896, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -59055,7 +59296,7 @@ function inline__P82685_mk(s) { -function inline__P82690(s) { +function inline__P23901(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59065,9 +59306,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = tileworld_RuleVisualsBase__C73669_v1_1_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase__C3789_v1_1_mk(s); s.tmp_3.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C3789_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: @@ -59082,11 +59323,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_4 = tileworld_RuleVisualsBase__C73669_v2_3_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase__C3789_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__C73669_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, tileworld_RuleVisualsBase__C3789_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: @@ -59096,12 +59337,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P82690.info = {"start":2404,"length":125,"line":56,"column":66,"endLine":59,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P23901.info = {"start":2404,"length":125,"line":56,"column":66,"endLine":59,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P82690_mk(s) { +function inline__P23901_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P82690, depth: s.depth + 1, + parent: s, fn: inline__P23901, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59114,7 +59355,7 @@ function inline__P82690_mk(s) { -function inline__P82699(s) { +function inline__P23910(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59124,21 +59365,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveDown__P82561_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveDown__P6296_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 659; s.pc = 1; return s.tmp_0; + s.callLocIdx = 671; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P82699.info = {"start":2599,"length":21,"line":60,"column":67,"endLine":60,"endColumn":88,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P23910.info = {"start":2599,"length":21,"line":60,"column":67,"endLine":60,"endColumn":88,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P82699_mk(s) { +function inline__P23910_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P82699, depth: s.depth + 1, + parent: s, fn: inline__P23910, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -59147,7 +59388,7 @@ function inline__P82699_mk(s) { -function inline__P82704(s) { +function inline__P23915(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59157,21 +59398,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveDown__P82561_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveDown__P6296_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 661; s.pc = 1; return s.tmp_0; + s.callLocIdx = 673; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P82704.info = {"start":2691,"length":21,"line":61,"column":68,"endLine":61,"endColumn":89,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P23915.info = {"start":2691,"length":21,"line":61,"column":68,"endLine":61,"endColumn":89,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P82704_mk(s) { +function inline__P23915_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P82704, depth: s.depth + 1, + parent: s, fn: inline__P23915, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -59180,7 +59421,7 @@ function inline__P82704_mk(s) { -function inline__P82709(s) { +function inline__P23920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59190,9 +59431,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = tileworld_RuleVisualsBase__C73669_v1_1_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase__C3789_v1_1_mk(s); s.tmp_3.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C3789_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: @@ -59207,11 +59448,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_4 = tileworld_RuleVisualsBase__C73669_v2_3_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase__C3789_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__C73669_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, tileworld_RuleVisualsBase__C3789_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: @@ -59221,12 +59462,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P82709.info = {"start":2783,"length":127,"line":62,"column":68,"endLine":65,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P23920.info = {"start":2783,"length":127,"line":62,"column":68,"endLine":65,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P82709_mk(s) { +function inline__P23920_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P82709, depth: s.depth + 1, + parent: s, fn: inline__P23920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59239,7 +59480,7 @@ function inline__P82709_mk(s) { -function tileworld_RuleVisualsBase_moveDown__P82561(s) { +function tileworld_RuleVisualsBase_moveDown__P6296(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59254,10 +59495,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(r0); - s.tmp_3 = tileworld_RuleVisualsBase__C73669_v1_1_mk(s); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C3789_VT)) failedCast(r0); + s.tmp_3 = tileworld_RuleVisualsBase__C3789_v1_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C3789_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: @@ -59272,10 +59513,10 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_6 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = true; - s.callLocIdx = 672; s.pc = 7; return s.tmp_6; + s.callLocIdx = 684; s.pc = 7; return s.tmp_6; case 7: r0 = s.retval; s.tmp_5 = r0; @@ -59283,28 +59524,28 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - s.tmp_7 = Sprite_y__P71908_mk(s); + s.tmp_7 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_8 = r0; s.tmp_7.arg0 = r0; - s.tmp_10 = Sprite_y__P71907_mk(s); + s.tmp_10 = Sprite_y__P2027_mk(s); s.tmp_10.arg0 = s.tmp_8; - s.callLocIdx = 673; s.pc = 9; return s.tmp_10; + s.callLocIdx = 685; s.pc = 9; return s.tmp_10; case 9: r0 = s.retval; s.tmp_9 = r0; r0 = (s.tmp_9 + 16); s.tmp_7.arg1 = r0; - s.callLocIdx = 674; s.pc = 8; return s.tmp_7; + s.callLocIdx = 686; s.pc = 8; return s.tmp_7; case 8: r0 = s.retval; case 3: case 4: - s.tmp_0 = tileworld_RuleVisualsBase__C73669_v2_3_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase__C3789_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__C73669_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleVisualsBase__C3789_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: @@ -59314,12 +59555,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_moveDown__P82561.info = {"start":3441,"length":190,"line":83,"column":8,"endLine":88,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveDown","argumentNames":["this"]} +tileworld_RuleVisualsBase_moveDown__P6296.info = {"start":3441,"length":190,"line":83,"column":8,"endLine":88,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveDown","argumentNames":["this"]} -function tileworld_RuleVisualsBase_moveDown__P82561_mk(s) { +function tileworld_RuleVisualsBase_moveDown__P6296_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_moveDown__P82561, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_moveDown__P6296, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59339,7 +59580,7 @@ function tileworld_RuleVisualsBase_moveDown__P82561_mk(s) { -function tileworld_RuleVisualsBase_moveUp__P82560(s) { +function tileworld_RuleVisualsBase_moveUp__P6295(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59354,10 +59595,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(r0); - s.tmp_3 = tileworld_RuleVisualsBase__C73669_v1_1_mk(s); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C3789_VT)) failedCast(r0); + s.tmp_3 = tileworld_RuleVisualsBase__C3789_v1_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C3789_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: @@ -59372,10 +59613,10 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_6 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = true; - s.callLocIdx = 669; s.pc = 7; return s.tmp_6; + s.callLocIdx = 681; s.pc = 7; return s.tmp_6; case 7: r0 = s.retval; s.tmp_5 = r0; @@ -59383,28 +59624,28 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - s.tmp_7 = Sprite_y__P71908_mk(s); + s.tmp_7 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_8 = r0; s.tmp_7.arg0 = r0; - s.tmp_10 = Sprite_y__P71907_mk(s); + s.tmp_10 = Sprite_y__P2027_mk(s); s.tmp_10.arg0 = s.tmp_8; - s.callLocIdx = 670; s.pc = 9; return s.tmp_10; + s.callLocIdx = 682; s.pc = 9; return s.tmp_10; case 9: r0 = s.retval; s.tmp_9 = r0; r0 = (s.tmp_9 - 16); s.tmp_7.arg1 = r0; - s.callLocIdx = 671; s.pc = 8; return s.tmp_7; + s.callLocIdx = 683; s.pc = 8; return s.tmp_7; case 8: r0 = s.retval; case 3: case 4: - s.tmp_0 = tileworld_RuleVisualsBase__C73669_v2_3_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase__C3789_v2_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = true; - if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleVisualsBase__C3789_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: @@ -59414,12 +59655,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_moveUp__P82560.info = {"start":3245,"length":186,"line":76,"column":8,"endLine":81,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveUp","argumentNames":["this"]} +tileworld_RuleVisualsBase_moveUp__P6295.info = {"start":3245,"length":186,"line":76,"column":8,"endLine":81,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveUp","argumentNames":["this"]} -function tileworld_RuleVisualsBase_moveUp__P82560_mk(s) { +function tileworld_RuleVisualsBase_moveUp__P6295_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_moveUp__P82560, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_moveUp__P6295, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59439,7 +59680,7 @@ function tileworld_RuleVisualsBase_moveUp__P82560_mk(s) { -function tileworld_RuleVisualsBase_cursorMove__P82574(s) { +function tileworld_RuleVisualsBase_cursorMove__P6309(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59456,17 +59697,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C3789_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_cursorMove__P82574.info = {"start":5284,"length":69,"line":139,"column":8,"endLine":139,"endColumn":77,"fileName":"rulesBase.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_RuleVisualsBase_cursorMove__P6309.info = {"start":5284,"length":69,"line":139,"column":8,"endLine":139,"endColumn":77,"fileName":"rulesBase.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -function tileworld_RuleVisualsBase_cursorMove__P82574_mk(s) { +function tileworld_RuleVisualsBase_cursorMove__P6309_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_cursorMove__P82574, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_cursorMove__P6309, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -59477,7 +59718,7 @@ function tileworld_RuleVisualsBase_cursorMove__P82574_mk(s) { -function tileworld_RuleVisualsBase_okToMove__P82562(s) { +function tileworld_RuleVisualsBase_okToMove__P6297(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59492,17 +59733,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C3789_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_okToMove__P82562.info = {"start":3641,"length":37,"line":90,"column":8,"endLine":90,"endColumn":45,"fileName":"rulesBase.ts","functionName":"okToMove","argumentNames":["this"]} +tileworld_RuleVisualsBase_okToMove__P6297.info = {"start":3641,"length":37,"line":90,"column":8,"endLine":90,"endColumn":45,"fileName":"rulesBase.ts","functionName":"okToMove","argumentNames":["this"]} -function tileworld_RuleVisualsBase_okToMove__P82562_mk(s) { +function tileworld_RuleVisualsBase_okToMove__P6297_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_okToMove__P82562, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_okToMove__P6297, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -59511,7 +59752,7 @@ function tileworld_RuleVisualsBase_okToMove__P82562_mk(s) { -function tileworld_RuleVisualsBase_moveInX__P82559(s) { +function tileworld_RuleVisualsBase_moveInX__P6294(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59527,10 +59768,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(r0); - s.tmp_3 = tileworld_RuleVisualsBase__C73669_v1_1_mk(s); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C3789_VT)) failedCast(r0); + s.tmp_3 = tileworld_RuleVisualsBase__C3789_v1_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C73669_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C3789_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: @@ -59552,10 +59793,10 @@ switch (step) { r0 = s.tmp_4; { step = 4; continue; } case 3: - s.tmp_6 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = true; - s.callLocIdx = 664; s.pc = 13; return s.tmp_6; + s.callLocIdx = 676; s.pc = 13; return s.tmp_6; case 13: r0 = s.retval; s.tmp_5 = r0; @@ -59575,10 +59816,10 @@ switch (step) { r0 = s.tmp_8; { step = 7; continue; } case 6: - s.tmp_10 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_10 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_10.arg0 = s.arg0; s.tmp_10.arg1 = true; - s.callLocIdx = 665; s.pc = 14; return s.tmp_10; + s.callLocIdx = 677; s.pc = 14; return s.tmp_10; case 14: r0 = s.retval; s.tmp_9 = r0; @@ -59592,19 +59833,19 @@ switch (step) { s.tmp_12 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_12); if (!r0) { step = 9; continue; } - s.tmp_13 = Sprite_x__P71906_mk(s); + s.tmp_13 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_14 = r0; s.tmp_13.arg0 = r0; - s.tmp_16 = Sprite_x__P71905_mk(s); + s.tmp_16 = Sprite_x__P2025_mk(s); s.tmp_16.arg0 = s.tmp_14; - s.callLocIdx = 667; s.pc = 16; return s.tmp_16; + s.callLocIdx = 679; s.pc = 16; return s.tmp_16; case 16: r0 = s.retval; s.tmp_15 = r0; - s.tmp_19 = tileworld_moveXdelta__P73503_mk(s); + s.tmp_19 = tileworld_moveXdelta__P3623_mk(s); s.tmp_19.arg0 = s.arg1; - s.callLocIdx = 666; s.pc = 17; return s.tmp_19; + s.callLocIdx = 678; s.pc = 17; return s.tmp_19; case 17: r0 = s.retval; s.tmp_18 = r0; @@ -59612,16 +59853,16 @@ switch (step) { s.tmp_17 = r0; r0 = (s.tmp_15 + s.tmp_17); s.tmp_13.arg1 = r0; - s.callLocIdx = 668; s.pc = 15; return s.tmp_13; + s.callLocIdx = 680; s.pc = 15; return s.tmp_13; case 15: r0 = s.retval; case 9: case 10: - s.tmp_0 = tileworld_RuleVisualsBase__C73669_v2_3_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase__C3789_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__C73669_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleVisualsBase__C3789_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: @@ -59631,12 +59872,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_moveInX__P82559.info = {"start":2932,"length":303,"line":68,"column":8,"endLine":74,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveInX","argumentNames":["this","dir"]} +tileworld_RuleVisualsBase_moveInX__P6294.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__P82559_mk(s) { +function tileworld_RuleVisualsBase_moveInX__P6294_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_moveInX__P82559, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_moveInX__P6294, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59666,7 +59907,7 @@ function tileworld_RuleVisualsBase_moveInX__P82559_mk(s) { -function createPacMan__P192887(s) { +function createPacMan__P3845(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59689,7 +59930,7 @@ switch (step) { case 4: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_String__concat(s.tmp_2, "VersionS"); + r0 = pxsim_String__concat(s.tmp_2, "-VersionS"); s.tmp_1 = r0; r0 = pxsim.settings._exists(s.tmp_1); s.tmp_0 = r0; @@ -59698,7 +59939,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = settings_writeString__P71708_mk(s); + s.tmp_3 = settings_writeString__P1828_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 6); pxsim_String__stringConv(s.arg0); @@ -59711,10 +59952,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_4, "VersionS"); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = "4.0.0"; - s.callLocIdx = 1563; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1576; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 8); pxsim_String__stringConv(s.arg0); @@ -59726,11 +59967,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WBackM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193872; - s.callLocIdx = 1564; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = _hex24011; + s.callLocIdx = 1577; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 10); pxsim_String__stringConv(s.arg0); @@ -59742,11 +59983,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WSpriteM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193880; - s.callLocIdx = 1565; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = _hex24019; + s.callLocIdx = 1578; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 12); pxsim_String__stringConv(s.arg0); @@ -59759,10 +60000,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "BackN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1566; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1579; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 14); pxsim_String__stringConv(s.arg0); @@ -59774,11 +60015,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193894; - s.callLocIdx = 1567; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = _hex24033; + s.callLocIdx = 1580; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 16); pxsim_String__stringConv(s.arg0); @@ -59790,11 +60031,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193902; - s.callLocIdx = 1568; s.pc = 15; return s.tmp_0; + s.tmp_0.arg1 = _hex24041; + s.callLocIdx = 1581; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 18); pxsim_String__stringConv(s.arg0); @@ -59806,11 +60047,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193910; - s.callLocIdx = 1569; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = _hex24049; + s.callLocIdx = 1582; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 20); pxsim_String__stringConv(s.arg0); @@ -59822,11 +60063,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193918; - s.callLocIdx = 1570; s.pc = 19; return s.tmp_0; + s.tmp_0.arg1 = _hex24057; + s.callLocIdx = 1583; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 22); pxsim_String__stringConv(s.arg0); @@ -59839,10 +60080,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "SpriteN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1571; s.pc = 21; return s.tmp_0; + s.callLocIdx = 1584; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 24); pxsim_String__stringConv(s.arg0); @@ -59854,11 +60095,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193932; - s.callLocIdx = 1572; s.pc = 23; return s.tmp_0; + s.tmp_0.arg1 = _hex24071; + s.callLocIdx = 1585; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 26); pxsim_String__stringConv(s.arg0); @@ -59870,11 +60111,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193940; - s.callLocIdx = 1573; s.pc = 25; return s.tmp_0; + s.tmp_0.arg1 = _hex24079; + s.callLocIdx = 1586; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 28); pxsim_String__stringConv(s.arg0); @@ -59886,11 +60127,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193948; - s.callLocIdx = 1574; s.pc = 27; return s.tmp_0; + s.tmp_0.arg1 = _hex24087; + s.callLocIdx = 1587; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 30); pxsim_String__stringConv(s.arg0); @@ -59902,11 +60143,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193956; - s.callLocIdx = 1575; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = _hex24095; + s.callLocIdx = 1588; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 32); pxsim_String__stringConv(s.arg0); @@ -59919,10 +60160,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HelpN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1576; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1589; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 34); pxsim_String__stringConv(s.arg0); @@ -59934,11 +60175,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "HighN"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = 0; - s.callLocIdx = 1577; s.pc = 33; return s.tmp_0; + s.tmp_0.arg1 = 950; + s.callLocIdx = 1590; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 36); pxsim_String__stringConv(s.arg0); @@ -59950,11 +60191,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193976; - s.callLocIdx = 1578; s.pc = 35; return s.tmp_0; + s.tmp_0.arg1 = _hex24115; + s.callLocIdx = 1591; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 38); pxsim_String__stringConv(s.arg0); @@ -59964,13 +60205,13 @@ switch (step) { case 38: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB1"); + r0 = pxsim_String__concat(s.tmp_1, "RuleB2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193984; - s.callLocIdx = 1579; s.pc = 37; return s.tmp_0; + s.tmp_0.arg1 = _hex24123; + s.callLocIdx = 1592; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 40); pxsim_String__stringConv(s.arg0); @@ -59980,13 +60221,13 @@ switch (step) { case 40: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB2"); + r0 = pxsim_String__concat(s.tmp_1, "RuleB3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193992; - s.callLocIdx = 1580; s.pc = 39; return s.tmp_0; + s.tmp_0.arg1 = _hex24131; + s.callLocIdx = 1593; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 42); pxsim_String__stringConv(s.arg0); @@ -59996,13 +60237,13 @@ switch (step) { case 42: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB3"); + r0 = pxsim_String__concat(s.tmp_1, "RuleB4"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194000; - s.callLocIdx = 1581; s.pc = 41; return s.tmp_0; + s.tmp_0.arg1 = _hex24139; + s.callLocIdx = 1594; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 44); pxsim_String__stringConv(s.arg0); @@ -60012,13 +60253,13 @@ switch (step) { case 44: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB4"); + r0 = pxsim_String__concat(s.tmp_1, "RuleB6"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194008; - s.callLocIdx = 1582; s.pc = 43; return s.tmp_0; + s.tmp_0.arg1 = _hex24147; + s.callLocIdx = 1595; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 46); pxsim_String__stringConv(s.arg0); @@ -60028,13 +60269,13 @@ switch (step) { case 46: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB5"); + r0 = pxsim_String__concat(s.tmp_1, "RuleB7"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194016; - s.callLocIdx = 1583; s.pc = 45; return s.tmp_0; + s.tmp_0.arg1 = _hex24155; + s.callLocIdx = 1596; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 48); pxsim_String__stringConv(s.arg0); @@ -60044,13 +60285,13 @@ switch (step) { case 48: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB6"); + r0 = pxsim_String__concat(s.tmp_1, "RuleB8"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194024; - s.callLocIdx = 1584; s.pc = 47; return s.tmp_0; + s.tmp_0.arg1 = _hex24163; + s.callLocIdx = 1597; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 50); pxsim_String__stringConv(s.arg0); @@ -60060,13 +60301,13 @@ switch (step) { case 50: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB7"); + r0 = pxsim_String__concat(s.tmp_1, "RuleB9"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194032; - s.callLocIdx = 1585; s.pc = 49; return s.tmp_0; + s.tmp_0.arg1 = _hex24171; + s.callLocIdx = 1598; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 52); pxsim_String__stringConv(s.arg0); @@ -60076,13 +60317,13 @@ switch (step) { case 52: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB8"); + r0 = pxsim_String__concat(s.tmp_1, "RuleB10"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194040; - s.callLocIdx = 1586; s.pc = 51; return s.tmp_0; + s.tmp_0.arg1 = _hex24179; + s.callLocIdx = 1599; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 54); pxsim_String__stringConv(s.arg0); @@ -60092,13 +60333,13 @@ switch (step) { case 54: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB9"); + r0 = pxsim_String__concat(s.tmp_1, "RuleB11"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194048; - s.callLocIdx = 1587; s.pc = 53; return s.tmp_0; + s.tmp_0.arg1 = _hex24187; + s.callLocIdx = 1600; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 56); pxsim_String__stringConv(s.arg0); @@ -60108,13 +60349,13 @@ switch (step) { case 56: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB10"); + r0 = pxsim_String__concat(s.tmp_1, "RuleB12"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194056; - s.callLocIdx = 1588; s.pc = 55; return s.tmp_0; + s.tmp_0.arg1 = _hex24195; + s.callLocIdx = 1601; s.pc = 55; return s.tmp_0; case 55: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 58); pxsim_String__stringConv(s.arg0); @@ -60122,57 +60363,25 @@ switch (step) { return; } else { s.retval = (s.arg0) + ""; } case 58: - r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB11"); - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194064; - s.callLocIdx = 1589; s.pc = 57; return s.tmp_0; - case 57: - r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); - if ((s.arg0) && (s.arg0).vtable) { - setupResume(s, 60); - pxsim_String__stringConv(s.arg0); - checkResumeConsumed(); - return; - } else { s.retval = (s.arg0) + ""; } - case 60: - r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB12"); - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194072; - s.callLocIdx = 1590; s.pc = 59; return s.tmp_0; - case 59: - r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); - if ((s.arg0) && (s.arg0).vtable) { - setupResume(s, 62); - pxsim_String__stringConv(s.arg0); - checkResumeConsumed(); - return; - } else { s.retval = (s.arg0) + ""; } - case 62: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "PlayerN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1591; s.pc = 61; return s.tmp_0; - case 61: + s.callLocIdx = 1602; s.pc = 57; return s.tmp_0; + case 57: r0 = s.retval; case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -createPacMan__P192887.info = {"start":20045,"length":4566,"line":475,"column":0,"endLine":575,"endColumn":1,"fileName":"games.ts","functionName":"createPacMan","argumentNames":["prefix"]} +createPacMan__P3845.info = {"start":20085,"length":4375,"line":478,"column":0,"endLine":571,"endColumn":1,"fileName":"games.ts","functionName":"createPacMan","argumentNames":["prefix"]} -function createPacMan__P192887_mk(s) { +function createPacMan__P3845_mk(s) { checkStack(s.depth); return { - parent: s, fn: createPacMan__P192887, depth: s.depth + 1, + parent: s, fn: createPacMan__P3845, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60182,34 +60391,32 @@ function createPacMan__P192887_mk(s) { arg0: undefined, } } -const _hex193872 = pxsim.BufferMethods.createBufferFromHex("201880111012b021106110111011101110311031102110112011101110111011101110111031101110211011201110113011301130111011102110f13110111021101120115011301110113011102110112031107110311011102110411031101310111031103110214011301133113011301110211041103110131011103110311021101120311071103110111021101120115011301110113011102110f13110111021101120111011301130113011101110211011201110111011101110111011103110111021106110111011101110311031102180111012101190f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f121") -const _hex193880 = pxsim.BufferMethods.createBufferFromHex("2018ffaf613f113f311f314f112f111f113f113f111f311f114f112f111f113f113f113f111f114ff1311f114f112f115f113f111f113f114f112f316f211f311f114f411f212f123f311f317f114f121f124f103f114f411f212f123f311f314f112f316f211f311f114f112f115f113f111f113f114ff1311f114f112f111f113f113f113f111f114f112f111f113f113f111f311f114f613f113f311f31ffffffffffffffffffffffffffffffffffffffffffffffffffcf") -const _hex193894 = pxsim.BufferMethods.createBufferFromHex("1010ff4fa85f18af183f183f683f182f182f186f182f182f181f188f181f182f181f188f181f182f181f188f181f182f181f188f181f182f181f188f181f182f181f188f181f182f182f186f182f182f183f683f183f18af185fa8ff4f") -const _hex193902 = pxsim.BufferMethods.createBufferFromHex("1010ffffffffffffffffffffffffffffffffff1f") -const _hex193910 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") -const _hex193918 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") -const _hex193932 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e152f142e3f302f1e152f251d1e1512144f121e151f1e251d141512143f12131e151f1e142d14351f101f221e151f1e142d14351f102f121e151f1e251d141512142f102f1e152f251d1e1512142f103f1e152f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") -const _hex193940 = pxsim.BufferMethods.createBufferFromHex("1010f0f0f0f0f0f0d025d045c045d025f0f0f0f0f0f0d0") -const _hex193948 = pxsim.BufferMethods.createBufferFromHex("1010b01c2f502c2f301c21161f301c16371f101c1731161c101c271c16271f27412c1627161f271c22412c3726271c37312c3726271c2726212c37161f17161c171c1f26112c371c16171c17161f2c16112c16773c361c101c67161f561c201c1637161f27461f302c3f37261c1f801c27161c2fa01c171ce02c50") -const _hex193956 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") -const _hex193976 = pxsim.BufferMethods.createBufferFromHex("2016220801160002") -const _hex193984 = pxsim.BufferMethods.createBufferFromHex("222622000112234100060004") -const _hex193992 = pxsim.BufferMethods.createBufferFromHex("2226220001022300042603000402") -const _hex194000 = pxsim.BufferMethods.createBufferFromHex("202022200146210400060300050202000002") -const _hex194008 = pxsim.BufferMethods.createBufferFromHex("002022200146230400060300050202000000") -const _hex194016 = pxsim.BufferMethods.createBufferFromHex("002022200116210400060000") -const _hex194024 = pxsim.BufferMethods.createBufferFromHex("2146220010121201000623040006320100060002") -const _hex194032 = pxsim.BufferMethods.createBufferFromHex("2146220010122301000612010006320400060003") -const _hex194040 = pxsim.BufferMethods.createBufferFromHex("212622001014120400060001") -const _hex194048 = pxsim.BufferMethods.createBufferFromHex("2146220010123201000623010006120400060001") -const _hex194056 = pxsim.BufferMethods.createBufferFromHex("21362200101223040006320400060002") -const _hex194064 = pxsim.BufferMethods.createBufferFromHex("21362200101223040006320400060003") -const _hex194072 = pxsim.BufferMethods.createBufferFromHex("222622001012230001060401") +const _hex24011 = pxsim.BufferMethods.createBufferFromHex("201880111012b021106110111011101110311031102110112011101110111011101110111031101110211011201110113011301130111011102110f13110111021101120115011301110113011102110112031107110311011102110411031101310111031103110214011301133113011301110211041103110131011103110311021101120311071103110111021101120115011301110113011102110f13110111021101120111011301130113011101110211011201110111011101110111011103110111021106110111011101110311031102180111012101190c110f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f141") +const _hex24019 = pxsim.BufferMethods.createBufferFromHex("2018ffaf613f113f311f314f112f111f113f113f111f311f114f112f111f113f113f113f111f114ff1311f114f112f115f113f111f113f114f112f316f211f311f114f411f212f123f311f317f114f121f124f103f114f411f212f123f311f314f112f316f211f311f114f112f115f113f111f113f114ff1311f114f112f111f113f113f113f111f114f112f111f113f113f111f311f114f613f113f311f31ffffffffffffffffffffffffffffffffffffffffffffffffffcf") +const _hex24033 = pxsim.BufferMethods.createBufferFromHex("1010ff4fa85f18af183f183f683f182f182f186f182f182f181f188f181f182f181f188f181f182f181f188f181f182f181f188f181f182f181f188f181f182f181f188f181f182f182f186f182f182f183f683f183f18af185fa8ff4f") +const _hex24041 = pxsim.BufferMethods.createBufferFromHex("1010ffffffffffffffffffffffffffffffffff1f") +const _hex24049 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") +const _hex24057 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") +const _hex24071 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e152f142e3f302f1e152f251d1e1512144f121e151f1e251d141512143f12131e151f1e142d14351f101f221e151f1e142d14351f102f121e151f1e251d141512142f102f1e152f251d1e1512142f103f1e152f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") +const _hex24079 = pxsim.BufferMethods.createBufferFromHex("1010f0f0f0f0f0f0d025d045c045d025f0f0f0f0f0f0d0") +const _hex24087 = pxsim.BufferMethods.createBufferFromHex("1010b01c2f502c2f301c21161f301c16371f101c1731161c101c271c16271f27412c1627161f271c22412c3726271c37312c3726271c2726212c37161f17161c171c1f26112c371c16171c17161f2c16112c16773c361c101c67161f561c201c1637161f27461f302c3f37261c1f801c27161c2fa01c171ce02c50") +const _hex24095 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") +const _hex24115 = pxsim.BufferMethods.createBufferFromHex("202622000116231400060002") +const _hex24123 = pxsim.BufferMethods.createBufferFromHex("2226220001022300042603000402") +const _hex24131 = pxsim.BufferMethods.createBufferFromHex("20202220013621040006030005020200") +const _hex24139 = pxsim.BufferMethods.createBufferFromHex("00202220013623040006030005020200") +const _hex24147 = pxsim.BufferMethods.createBufferFromHex("2146220010121201000623040006320100060002") +const _hex24155 = pxsim.BufferMethods.createBufferFromHex("2146220010122301000612010006320400060003") +const _hex24163 = pxsim.BufferMethods.createBufferFromHex("212622001014120400060001") +const _hex24171 = pxsim.BufferMethods.createBufferFromHex("2146220010123201000623010006120400060001") +const _hex24179 = pxsim.BufferMethods.createBufferFromHex("21362200101223040006320400060002") +const _hex24187 = pxsim.BufferMethods.createBufferFromHex("21362200101223040006320400060003") +const _hex24195 = pxsim.BufferMethods.createBufferFromHex("222622001012230001060401") -function settings_exists__P71717(s) { +function settings_exists__P1837(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60227,12 +60434,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_exists__P71717.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__P1837.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__P71717_mk(s) { +function settings_exists__P1837_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_exists__P71717, depth: s.depth + 1, + parent: s, fn: settings_exists__P1837, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -60241,7 +60448,7 @@ function settings_exists__P71717_mk(s) { -function createSokoban__P192885(s) { +function createSokoban__P3847(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60273,7 +60480,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = settings_writeString__P71708_mk(s); + s.tmp_3 = settings_writeString__P1828_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 6); pxsim_String__stringConv(s.arg0); @@ -60286,10 +60493,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_4, "VersionS"); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = "4.0.0"; - s.callLocIdx = 1593; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1604; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 8); pxsim_String__stringConv(s.arg0); @@ -60301,11 +60508,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WBackM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194311; - s.callLocIdx = 1594; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = _hex24226; + s.callLocIdx = 1605; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 10); pxsim_String__stringConv(s.arg0); @@ -60317,11 +60524,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WSpriteM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194319; - s.callLocIdx = 1595; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = _hex24234; + s.callLocIdx = 1606; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 12); pxsim_String__stringConv(s.arg0); @@ -60334,10 +60541,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "BackN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1596; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1607; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 14); pxsim_String__stringConv(s.arg0); @@ -60349,11 +60556,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194333; - s.callLocIdx = 1597; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = _hex24248; + s.callLocIdx = 1608; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 16); pxsim_String__stringConv(s.arg0); @@ -60365,11 +60572,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194341; - s.callLocIdx = 1598; s.pc = 15; return s.tmp_0; + s.tmp_0.arg1 = _hex24256; + s.callLocIdx = 1609; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 18); pxsim_String__stringConv(s.arg0); @@ -60381,11 +60588,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194349; - s.callLocIdx = 1599; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = _hex24264; + s.callLocIdx = 1610; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 20); pxsim_String__stringConv(s.arg0); @@ -60397,11 +60604,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194357; - s.callLocIdx = 1600; s.pc = 19; return s.tmp_0; + s.tmp_0.arg1 = _hex24272; + s.callLocIdx = 1611; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 22); pxsim_String__stringConv(s.arg0); @@ -60414,10 +60621,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "SpriteN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1601; s.pc = 21; return s.tmp_0; + s.callLocIdx = 1612; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 24); pxsim_String__stringConv(s.arg0); @@ -60429,11 +60636,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194371; - s.callLocIdx = 1602; s.pc = 23; return s.tmp_0; + s.tmp_0.arg1 = _hex24286; + s.callLocIdx = 1613; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 26); pxsim_String__stringConv(s.arg0); @@ -60445,11 +60652,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194379; - s.callLocIdx = 1603; s.pc = 25; return s.tmp_0; + s.tmp_0.arg1 = _hex24294; + s.callLocIdx = 1614; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 28); pxsim_String__stringConv(s.arg0); @@ -60461,11 +60668,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194387; - s.callLocIdx = 1604; s.pc = 27; return s.tmp_0; + s.tmp_0.arg1 = _hex24302; + s.callLocIdx = 1615; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 30); pxsim_String__stringConv(s.arg0); @@ -60477,11 +60684,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194395; - s.callLocIdx = 1605; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = _hex24310; + s.callLocIdx = 1616; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 32); pxsim_String__stringConv(s.arg0); @@ -60494,10 +60701,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HelpN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1606; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1617; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 34); pxsim_String__stringConv(s.arg0); @@ -60510,10 +60717,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HighN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1607; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1618; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 36); pxsim_String__stringConv(s.arg0); @@ -60525,11 +60732,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194415; - s.callLocIdx = 1608; s.pc = 35; return s.tmp_0; + s.tmp_0.arg1 = _hex24330; + s.callLocIdx = 1619; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 38); pxsim_String__stringConv(s.arg0); @@ -60541,11 +60748,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194423; - s.callLocIdx = 1609; s.pc = 37; return s.tmp_0; + s.tmp_0.arg1 = _hex24338; + s.callLocIdx = 1620; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 40); pxsim_String__stringConv(s.arg0); @@ -60557,11 +60764,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194431; - s.callLocIdx = 1610; s.pc = 39; return s.tmp_0; + s.tmp_0.arg1 = _hex24346; + s.callLocIdx = 1621; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 42); pxsim_String__stringConv(s.arg0); @@ -60573,11 +60780,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194439; - s.callLocIdx = 1611; s.pc = 41; return s.tmp_0; + s.tmp_0.arg1 = _hex24354; + s.callLocIdx = 1622; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 44); pxsim_String__stringConv(s.arg0); @@ -60589,11 +60796,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB4"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194447; - s.callLocIdx = 1612; s.pc = 43; return s.tmp_0; + s.tmp_0.arg1 = _hex24362; + s.callLocIdx = 1623; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 46); pxsim_String__stringConv(s.arg0); @@ -60605,11 +60812,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB5"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194455; - s.callLocIdx = 1613; s.pc = 45; return s.tmp_0; + s.tmp_0.arg1 = _hex24370; + s.callLocIdx = 1624; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 48); pxsim_String__stringConv(s.arg0); @@ -60621,11 +60828,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB6"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194463; - s.callLocIdx = 1614; s.pc = 47; return s.tmp_0; + s.tmp_0.arg1 = _hex24378; + s.callLocIdx = 1625; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 50); pxsim_String__stringConv(s.arg0); @@ -60638,7 +60845,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "PlayerN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1615; s.pc = 49; return s.tmp_0; + s.callLocIdx = 1626; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; case 3: @@ -60646,12 +60853,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -createSokoban__P192885.info = {"start":28312,"length":3563,"line":666,"column":0,"endLine":744,"endColumn":1,"fileName":"games.ts","functionName":"createSokoban","argumentNames":["prefix"]} +createSokoban__P3847.info = {"start":28163,"length":3563,"line":663,"column":0,"endLine":741,"endColumn":1,"fileName":"games.ts","functionName":"createSokoban","argumentNames":["prefix"]} -function createSokoban__P192885_mk(s) { +function createSokoban__P3847_mk(s) { checkStack(s.depth); return { - parent: s, fn: createSokoban__P192885, depth: s.depth + 1, + parent: s, fn: createSokoban__P3847, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60661,28 +60868,28 @@ function createSokoban__P192885_mk(s) { arg0: undefined, } } -const _hex194311 = pxsim.BufferMethods.createBufferFromHex("2018118041b011101210123110e13011302110e120311011121110e1204112111210e12021124110e170121110e1105140e110f18110f18110f18110f18120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f171f0a0") -const _hex194319 = pxsim.BufferMethods.createBufferFromHex("2018ffff11ff4f10ff8f113f13ff5f211f11ff8f11ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf") -const _hex194333 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") -const _hex194341 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") -const _hex194349 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f176c4f3c1f375c7f573c8f572c8f2c375f1c4f4c175f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") -const _hex194357 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") -const _hex194371 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e122f142e3f302f1e122f1b111d1e22144f121e121f1e2f1d1422143f12131e121f1e142d1422151f101f221e121f1e142d1422151f102f121e121f1e2f1d1422142f102f1e122f1b111d1e22142f103f1e122f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") -const _hex194379 = pxsim.BufferMethods.createBufferFromHex("1010f020ee20ee202e844e202e745e202e643e142e202e543e242e202e443e342e202e343e442e202e243e542e202e143e642e205e742e205e742e20ee20eef020") -const _hex194387 = pxsim.BufferMethods.createBufferFromHex("1010b01c2f502c2f301c21161f301c16371f101c1731161c101c271c16271f27412c1627161f271c22412c3726271c37312c3726271c2726212c37161f17161c171c1f26112c371c16171c17161f2c16112c16773c361c101c67161f561c201c1637161f27461f302c3f37261c1f801c27161c2fa01c171ce02c50") -const _hex194395 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") -const _hex194415 = pxsim.BufferMethods.createBufferFromHex("2026220001162314cc060002") -const _hex194423 = pxsim.BufferMethods.createBufferFromHex("2026220001162300441600020002") -const _hex194431 = pxsim.BufferMethods.createBufferFromHex("322622004413320144060004") -const _hex194439 = pxsim.BufferMethods.createBufferFromHex("322622000113320044060004") -const _hex194447 = pxsim.BufferMethods.createBufferFromHex("61102220042603000203") -const _hex194455 = pxsim.BufferMethods.createBufferFromHex("61102208402603000201") -const _hex194463 = pxsim.BufferMethods.createBufferFromHex("6310220004160400") +const _hex24226 = pxsim.BufferMethods.createBufferFromHex("2018118041b011101210123110e13011302110e120311011121110e1204112111210e12021124110e170121110e1105140e110f18110f18110f18110f18120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f171f0a0") +const _hex24234 = pxsim.BufferMethods.createBufferFromHex("2018ffff11ff4f10ff8f113f13ff5f211f11ff8f11ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf") +const _hex24248 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") +const _hex24256 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") +const _hex24264 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f176c4f3c1f375c7f573c8f572c8f2c375f1c4f4c175f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") +const _hex24272 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") +const _hex24286 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e122f142e3f302f1e122f1b111d1e22144f121e121f1e2f1d1422143f12131e121f1e142d1422151f101f221e121f1e142d1422151f102f121e121f1e2f1d1422142f102f1e122f1b111d1e22142f103f1e122f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") +const _hex24294 = pxsim.BufferMethods.createBufferFromHex("1010f020ee20ee202e844e202e745e202e643e142e202e543e242e202e443e342e202e343e442e202e243e542e202e143e642e205e742e205e742e20ee20eef020") +const _hex24302 = pxsim.BufferMethods.createBufferFromHex("1010b01c2f502c2f301c21161f301c16371f101c1731161c101c271c16271f27412c1627161f271c22412c3726271c37312c3726271c2726212c37161f17161c171c1f26112c371c16171c17161f2c16112c16773c361c101c67161f561c201c1637161f27461f302c3f37261c1f801c27161c2fa01c171ce02c50") +const _hex24310 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") +const _hex24330 = pxsim.BufferMethods.createBufferFromHex("2026220001162314cc060002") +const _hex24338 = pxsim.BufferMethods.createBufferFromHex("2026220001162300441600020002") +const _hex24346 = pxsim.BufferMethods.createBufferFromHex("322622004413320144060004") +const _hex24354 = pxsim.BufferMethods.createBufferFromHex("322622000113320044060004") +const _hex24362 = pxsim.BufferMethods.createBufferFromHex("61102220042603000203") +const _hex24370 = pxsim.BufferMethods.createBufferFromHex("61102208402603000201") +const _hex24378 = pxsim.BufferMethods.createBufferFromHex("6310220004160400") -function createBoulderDash__P192883(s) { +function createBoulderDash__P3840(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60714,7 +60921,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = settings_writeString__P71708_mk(s); + s.tmp_3 = settings_writeString__P1828_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 6); pxsim_String__stringConv(s.arg0); @@ -60727,10 +60934,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_4, "VersionS"); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = "4.0.0"; - s.callLocIdx = 1479; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1491; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 8); pxsim_String__stringConv(s.arg0); @@ -60742,11 +60949,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WBackM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex192908; - s.callLocIdx = 1480; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = _hex24405; + s.callLocIdx = 1492; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 10); pxsim_String__stringConv(s.arg0); @@ -60758,11 +60965,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WSpriteM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex192916; - s.callLocIdx = 1481; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = _hex24413; + s.callLocIdx = 1493; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 12); pxsim_String__stringConv(s.arg0); @@ -60775,10 +60982,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "BackN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1482; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1494; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 14); pxsim_String__stringConv(s.arg0); @@ -60790,11 +60997,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex192930; - s.callLocIdx = 1483; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = _hex24427; + s.callLocIdx = 1495; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 16); pxsim_String__stringConv(s.arg0); @@ -60806,11 +61013,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex192938; - s.callLocIdx = 1484; s.pc = 15; return s.tmp_0; + s.tmp_0.arg1 = _hex24435; + s.callLocIdx = 1496; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 18); pxsim_String__stringConv(s.arg0); @@ -60822,11 +61029,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex192946; - s.callLocIdx = 1485; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = _hex24443; + s.callLocIdx = 1497; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 20); pxsim_String__stringConv(s.arg0); @@ -60838,11 +61045,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex192954; - s.callLocIdx = 1486; s.pc = 19; return s.tmp_0; + s.tmp_0.arg1 = _hex24451; + s.callLocIdx = 1498; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 22); pxsim_String__stringConv(s.arg0); @@ -60855,10 +61062,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "SpriteN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1487; s.pc = 21; return s.tmp_0; + s.callLocIdx = 1499; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 24); pxsim_String__stringConv(s.arg0); @@ -60870,11 +61077,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex192968; - s.callLocIdx = 1488; s.pc = 23; return s.tmp_0; + s.tmp_0.arg1 = _hex24465; + s.callLocIdx = 1500; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 26); pxsim_String__stringConv(s.arg0); @@ -60886,11 +61093,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex192976; - s.callLocIdx = 1489; s.pc = 25; return s.tmp_0; + s.tmp_0.arg1 = _hex24473; + s.callLocIdx = 1501; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 28); pxsim_String__stringConv(s.arg0); @@ -60902,11 +61109,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex192984; - s.callLocIdx = 1490; s.pc = 27; return s.tmp_0; + s.tmp_0.arg1 = _hex24481; + s.callLocIdx = 1502; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 30); pxsim_String__stringConv(s.arg0); @@ -60918,11 +61125,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex192992; - s.callLocIdx = 1491; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = _hex24489; + s.callLocIdx = 1503; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 32); pxsim_String__stringConv(s.arg0); @@ -60935,10 +61142,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HelpN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1492; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1504; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 34); pxsim_String__stringConv(s.arg0); @@ -60951,10 +61158,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HighN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1493; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1505; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 36); pxsim_String__stringConv(s.arg0); @@ -60966,11 +61173,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193012; - s.callLocIdx = 1494; s.pc = 35; return s.tmp_0; + s.tmp_0.arg1 = _hex24509; + s.callLocIdx = 1506; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 38); pxsim_String__stringConv(s.arg0); @@ -60982,11 +61189,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193020; - s.callLocIdx = 1495; s.pc = 37; return s.tmp_0; + s.tmp_0.arg1 = _hex24517; + s.callLocIdx = 1507; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 40); pxsim_String__stringConv(s.arg0); @@ -60998,11 +61205,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB4"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193028; - s.callLocIdx = 1496; s.pc = 39; return s.tmp_0; + s.tmp_0.arg1 = _hex24525; + s.callLocIdx = 1508; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 42); pxsim_String__stringConv(s.arg0); @@ -61014,11 +61221,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB5"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193036; - s.callLocIdx = 1497; s.pc = 41; return s.tmp_0; + s.tmp_0.arg1 = _hex24533; + s.callLocIdx = 1509; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 44); pxsim_String__stringConv(s.arg0); @@ -61030,11 +61237,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB7"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193044; - s.callLocIdx = 1498; s.pc = 43; return s.tmp_0; + s.tmp_0.arg1 = _hex24541; + s.callLocIdx = 1510; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 46); pxsim_String__stringConv(s.arg0); @@ -61046,11 +61253,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB8"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193052; - s.callLocIdx = 1499; s.pc = 45; return s.tmp_0; + s.tmp_0.arg1 = _hex24549; + s.callLocIdx = 1511; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 48); pxsim_String__stringConv(s.arg0); @@ -61062,11 +61269,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB9"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193060; - s.callLocIdx = 1500; s.pc = 47; return s.tmp_0; + s.tmp_0.arg1 = _hex24557; + s.callLocIdx = 1512; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 50); pxsim_String__stringConv(s.arg0); @@ -61078,11 +61285,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193068; - s.callLocIdx = 1501; s.pc = 49; return s.tmp_0; + s.tmp_0.arg1 = _hex24565; + s.callLocIdx = 1513; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 52); pxsim_String__stringConv(s.arg0); @@ -61094,11 +61301,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB6"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193076; - s.callLocIdx = 1502; s.pc = 51; return s.tmp_0; + s.tmp_0.arg1 = _hex24573; + s.callLocIdx = 1514; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 54); pxsim_String__stringConv(s.arg0); @@ -61110,11 +61317,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB10"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193084; - s.callLocIdx = 1503; s.pc = 53; return s.tmp_0; + s.tmp_0.arg1 = _hex24581; + s.callLocIdx = 1515; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 56); pxsim_String__stringConv(s.arg0); @@ -61126,11 +61333,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB13"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193092; - s.callLocIdx = 1504; s.pc = 55; return s.tmp_0; + s.tmp_0.arg1 = _hex24589; + s.callLocIdx = 1516; s.pc = 55; return s.tmp_0; case 55: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 58); pxsim_String__stringConv(s.arg0); @@ -61142,11 +61349,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193100; - s.callLocIdx = 1505; s.pc = 57; return s.tmp_0; + s.tmp_0.arg1 = _hex24597; + s.callLocIdx = 1517; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 60); pxsim_String__stringConv(s.arg0); @@ -61158,11 +61365,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB12"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193108; - s.callLocIdx = 1506; s.pc = 59; return s.tmp_0; + s.tmp_0.arg1 = _hex24605; + s.callLocIdx = 1518; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 62); pxsim_String__stringConv(s.arg0); @@ -61174,11 +61381,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB14"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193116; - s.callLocIdx = 1507; s.pc = 61; return s.tmp_0; + s.tmp_0.arg1 = _hex24613; + s.callLocIdx = 1519; s.pc = 61; return s.tmp_0; case 61: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 64); pxsim_String__stringConv(s.arg0); @@ -61191,7 +61398,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "PlayerN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1508; s.pc = 63; return s.tmp_0; + s.callLocIdx = 1520; s.pc = 63; return s.tmp_0; case 63: r0 = s.retval; case 3: @@ -61199,12 +61406,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -createBoulderDash__P192883.info = {"start":370,"length":4379,"line":16,"column":0,"endLine":114,"endColumn":1,"fileName":"games.ts","functionName":"createBoulderDash","argumentNames":["prefix"]} +createBoulderDash__P3840.info = {"start":370,"length":4379,"line":16,"column":0,"endLine":114,"endColumn":1,"fileName":"games.ts","functionName":"createBoulderDash","argumentNames":["prefix"]} -function createBoulderDash__P192883_mk(s) { +function createBoulderDash__P3840_mk(s) { checkStack(s.depth); return { - parent: s, fn: createBoulderDash__P192883, depth: s.depth + 1, + parent: s, fn: createBoulderDash__P3840, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61214,35 +61421,35 @@ function createBoulderDash__P192883_mk(s) { arg0: undefined, } } -const _hex192908 = pxsim.BufferMethods.createBufferFromHex("2018f0a0f17120f17120f171204112f12120f17120f17120f171203122f121205132e1201132f13120f171203132f11120f17120f171205132e120322132e1205132e120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f171f0a0") -const _hex192916 = pxsim.BufferMethods.createBufferFromHex("2018ffffffffffffbf10ffffffffffff4f21ff9f2112ff2f1221ffffff2f2112ffffffffbf31ff1f21122f111211ff6f31ffffffffffffffffffffffffffffffffffffffffffffff6f") -const _hex192930 = pxsim.BufferMethods.createBufferFromHex("1010fd181d363826181618161816181d2618361816181618161816181d1618163826181618161816181d1816281d28561816181d1816183d1876181d1816281d2876181d1618163886181d2618361866281d26181618164826381d2618161816181628261816181d2618161816182618261816181d2618161816182618261816181d261816181618162826381d48163866f828") -const _hex192938 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") -const _hex192946 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") -const _hex192954 = pxsim.BufferMethods.createBufferFromHex("1010bd21ed217d1bcd21ed21fd6d1bfd5d11fdfd8d2bed2bfdfd8d1b4d1bfded1bfd1d") -const _hex192968 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e122f142e3f302f1e122f1b111d1e22144f121e121f1e2f1d1422143f12131e121f1e142d1422151f101f221e121f1e142d1422151f102f121e121f1e2f1d1422142f102f1e122f1b111d1e22142f103f1e122f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") -const _hex192976 = pxsim.BufferMethods.createBufferFromHex("1010804ca02c1b1c1b2c901c1d2b1c1b2c603c2d1b1c1b2c303c2b1c1b2d4c201c1b2d3b1c2d1b3c201c5d3b1d1b4c101b5d3b1d1b2c1b1c101b5d3b1d2b1c2b1c1b6d2b1d1b1d1c2b1c101b5d2b1d1b1d1c2b1c201b4d1b1d2b1d1c2b1c201b3d2b1d1b1d3b1c407b1d1c2b1c701b3d2c1b1c902b2c2b30") -const _hex192984 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") -const _hex192992 = pxsim.BufferMethods.createBufferFromHex("10106057a01730373fb0271c111d1f408f1b1c1f302f5d1b1c1f211d1f101f1b513d1f1b1c1f201f611d1b1c1b1c111d2f812f1d3f101f811d111b3f101f811d213f101f812f1b3f201f611d1b1c1d3f201f1b513d3f402f5d1b1c1f807f1cc01f1c1b1f40") -const _hex193012 = pxsim.BufferMethods.createBufferFromHex("20262200011623030c060002") -const _hex193020 = pxsim.BufferMethods.createBufferFromHex("4120220014143210ff060003") -const _hex193028 = pxsim.BufferMethods.createBufferFromHex("41202200141332103c060003") -const _hex193036 = pxsim.BufferMethods.createBufferFromHex("222622000102230010140300") -const _hex193044 = pxsim.BufferMethods.createBufferFromHex("414122001416320014042110ff063110ff060000") -const _hex193052 = pxsim.BufferMethods.createBufferFromHex("322022001403320001160401") -const _hex193060 = pxsim.BufferMethods.createBufferFromHex("6310220010160400") -const _hex193068 = pxsim.BufferMethods.createBufferFromHex("21212200141232103c060003") -const _hex193076 = pxsim.BufferMethods.createBufferFromHex("203122000116230004163305140600020002") -const _hex193084 = pxsim.BufferMethods.createBufferFromHex("2016220001160102") -const _hex193092 = pxsim.BufferMethods.createBufferFromHex("222122001412230554060004") -const _hex193100 = pxsim.BufferMethods.createBufferFromHex("2031220001162300041633103c0600020003") -const _hex193108 = pxsim.BufferMethods.createBufferFromHex("6110220001160102") -const _hex193116 = pxsim.BufferMethods.createBufferFromHex("222122000112230004060004") +const _hex24405 = pxsim.BufferMethods.createBufferFromHex("2018f0a0f17120f17120f171204112f12120f17120f17120f171203122f121205132e1201132f13120f171203132f11120f17120f171205132e120322132e1205132e120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f171f0a0") +const _hex24413 = pxsim.BufferMethods.createBufferFromHex("2018ffffffffffffbf10ffffffffffff4f21ff9f2112ff2f1221ffffff2f2112ffffffffbf31ff1f21122f111211ff6f31ffffffffffffffffffffffffffffffffffffffffffffff6f") +const _hex24427 = pxsim.BufferMethods.createBufferFromHex("1010fd181d363826181618161816181d2618361816181618161816181d1618163826181618161816181d1816281d28561816181d1816183d1876181d1816281d2876181d1618163886181d2618361866281d26181618164826381d2618161816181628261816181d2618161816182618261816181d2618161816182618261816181d261816181618162826381d48163866f828") +const _hex24435 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") +const _hex24443 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") +const _hex24451 = pxsim.BufferMethods.createBufferFromHex("1010bd21ed217d1bcd21ed21fd6d1bfd5d11fdfd8d2bed2bfdfd8d1b4d1bfded1bfd1d") +const _hex24465 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e122f142e3f302f1e122f1b111d1e22144f121e121f1e2f1d1422143f12131e121f1e142d1422151f101f221e121f1e142d1422151f102f121e121f1e2f1d1422142f102f1e122f1b111d1e22142f103f1e122f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") +const _hex24473 = pxsim.BufferMethods.createBufferFromHex("1010804ca02c1b1c1b2c901c1d2b1c1b2c603c2d1b1c1b2c303c2b1c1b2d4c201c1b2d3b1c2d1b3c201c5d3b1d1b4c101b5d3b1d1b2c1b1c101b5d3b1d2b1c2b1c1b6d2b1d1b1d1c2b1c101b5d2b1d1b1d1c2b1c201b4d1b1d2b1d1c2b1c201b3d2b1d1b1d3b1c407b1d1c2b1c701b3d2c1b1c902b2c2b30") +const _hex24481 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") +const _hex24489 = pxsim.BufferMethods.createBufferFromHex("10106057a01730373fb0271c111d1f408f1b1c1f302f5d1b1c1f211d1f101f1b513d1f1b1c1f201f611d1b1c1b1c111d2f812f1d3f101f811d111b3f101f811d213f101f812f1b3f201f611d1b1c1d3f201f1b513d3f402f5d1b1c1f807f1cc01f1c1b1f40") +const _hex24509 = pxsim.BufferMethods.createBufferFromHex("20262200011623030c060002") +const _hex24517 = pxsim.BufferMethods.createBufferFromHex("4120220014143210ff060003") +const _hex24525 = pxsim.BufferMethods.createBufferFromHex("41202200141332103c060003") +const _hex24533 = pxsim.BufferMethods.createBufferFromHex("222622000102230010140300") +const _hex24541 = pxsim.BufferMethods.createBufferFromHex("414122001416320014042110ff063110ff060000") +const _hex24549 = pxsim.BufferMethods.createBufferFromHex("322022001403320001160401") +const _hex24557 = pxsim.BufferMethods.createBufferFromHex("6310220010160400") +const _hex24565 = pxsim.BufferMethods.createBufferFromHex("21212200141232103c060003") +const _hex24573 = pxsim.BufferMethods.createBufferFromHex("203122000116230004163305140600020002") +const _hex24581 = pxsim.BufferMethods.createBufferFromHex("2016220001160102") +const _hex24589 = pxsim.BufferMethods.createBufferFromHex("222122001412230554060004") +const _hex24597 = pxsim.BufferMethods.createBufferFromHex("2031220001162300041633103c0600020003") +const _hex24605 = pxsim.BufferMethods.createBufferFromHex("6110220001160102") +const _hex24613 = pxsim.BufferMethods.createBufferFromHex("222122000112230004060004") -function createSnake__P192881(s) { +function createSnake__P3841(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61256,23 +61463,6 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeString__P71708_mk(s); - 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(s.tmp_1, "VersionS"); - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = "4.0.0"; - s.callLocIdx = 1509; s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 4); pxsim_String__stringConv(s.arg0); @@ -61281,14 +61471,17 @@ switch (step) { } else { s.retval = (s.arg0) + ""; } case 4: r0 = s.retval; + s.tmp_2 = r0; + r0 = pxsim_String__concat(s.tmp_2, "-VersionS"); s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "WBackM"); - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193137; - s.callLocIdx = 1510; s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + r0 = pxsim.settings._exists(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 = settings_writeString__P1828_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 6); pxsim_String__stringConv(s.arg0); @@ -61297,14 +61490,14 @@ switch (step) { } else { s.retval = (s.arg0) + ""; } case 6: r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "WSpriteM"); - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193145; - s.callLocIdx = 1511; s.pc = 5; return s.tmp_0; + s.tmp_4 = r0; + r0 = pxsim_String__concat(s.tmp_4, "VersionS"); + s.tmp_3.arg0 = r0; + s.tmp_3.arg1 = "4.0.0"; + s.callLocIdx = 1522; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 8); pxsim_String__stringConv(s.arg0); @@ -61314,13 +61507,13 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "BackN"); + r0 = pxsim_String__concat(s.tmp_1, "WBackM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = 4; - s.callLocIdx = 1512; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = _hex24640; + s.callLocIdx = 1523; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 10); pxsim_String__stringConv(s.arg0); @@ -61330,13 +61523,13 @@ switch (step) { case 10: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "BackI0"); + r0 = pxsim_String__concat(s.tmp_1, "WSpriteM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193159; - s.callLocIdx = 1513; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = _hex24648; + s.callLocIdx = 1524; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 12); pxsim_String__stringConv(s.arg0); @@ -61346,13 +61539,13 @@ switch (step) { case 12: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "BackI1"); + r0 = pxsim_String__concat(s.tmp_1, "BackN"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193167; - s.callLocIdx = 1514; s.pc = 11; return s.tmp_0; + s.tmp_0.arg1 = 4; + s.callLocIdx = 1525; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 14); pxsim_String__stringConv(s.arg0); @@ -61362,13 +61555,13 @@ switch (step) { case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "BackI2"); + r0 = pxsim_String__concat(s.tmp_1, "BackI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193175; - s.callLocIdx = 1515; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = _hex24662; + s.callLocIdx = 1526; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 16); pxsim_String__stringConv(s.arg0); @@ -61378,13 +61571,13 @@ switch (step) { case 16: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "BackI3"); + r0 = pxsim_String__concat(s.tmp_1, "BackI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193183; - s.callLocIdx = 1516; s.pc = 15; return s.tmp_0; + s.tmp_0.arg1 = _hex24670; + s.callLocIdx = 1527; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 18); pxsim_String__stringConv(s.arg0); @@ -61394,13 +61587,13 @@ switch (step) { case 18: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "SpriteN"); + r0 = pxsim_String__concat(s.tmp_1, "BackI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = 4; - s.callLocIdx = 1517; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = _hex24678; + s.callLocIdx = 1528; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 20); pxsim_String__stringConv(s.arg0); @@ -61410,13 +61603,13 @@ switch (step) { case 20: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "SpriteI0"); + r0 = pxsim_String__concat(s.tmp_1, "BackI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193197; - s.callLocIdx = 1518; s.pc = 19; return s.tmp_0; + s.tmp_0.arg1 = _hex24686; + s.callLocIdx = 1529; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 22); pxsim_String__stringConv(s.arg0); @@ -61426,13 +61619,13 @@ switch (step) { case 22: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "SpriteI1"); + r0 = pxsim_String__concat(s.tmp_1, "SpriteN"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193205; - s.callLocIdx = 1519; s.pc = 21; return s.tmp_0; + s.tmp_0.arg1 = 4; + s.callLocIdx = 1530; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 24); pxsim_String__stringConv(s.arg0); @@ -61442,13 +61635,13 @@ switch (step) { case 24: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "SpriteI2"); + r0 = pxsim_String__concat(s.tmp_1, "SpriteI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193213; - s.callLocIdx = 1520; s.pc = 23; return s.tmp_0; + s.tmp_0.arg1 = _hex24700; + s.callLocIdx = 1531; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 26); pxsim_String__stringConv(s.arg0); @@ -61458,13 +61651,13 @@ switch (step) { case 26: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "SpriteI3"); + r0 = pxsim_String__concat(s.tmp_1, "SpriteI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193221; - s.callLocIdx = 1521; s.pc = 25; return s.tmp_0; + s.tmp_0.arg1 = _hex24708; + s.callLocIdx = 1532; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 28); pxsim_String__stringConv(s.arg0); @@ -61474,13 +61667,13 @@ switch (step) { case 28: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "HelpN"); + r0 = pxsim_String__concat(s.tmp_1, "SpriteI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = 0; - s.callLocIdx = 1522; s.pc = 27; return s.tmp_0; + s.tmp_0.arg1 = _hex24716; + s.callLocIdx = 1533; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 30); pxsim_String__stringConv(s.arg0); @@ -61490,13 +61683,13 @@ switch (step) { case 30: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "HighN"); + r0 = pxsim_String__concat(s.tmp_1, "SpriteI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = 0; - s.callLocIdx = 1523; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = _hex24724; + s.callLocIdx = 1534; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 32); pxsim_String__stringConv(s.arg0); @@ -61506,13 +61699,13 @@ switch (step) { case 32: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB1"); + r0 = pxsim_String__concat(s.tmp_1, "HelpN"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193241; - s.callLocIdx = 1524; s.pc = 31; return s.tmp_0; + s.tmp_0.arg1 = 0; + s.callLocIdx = 1535; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 34); pxsim_String__stringConv(s.arg0); @@ -61522,13 +61715,13 @@ switch (step) { case 34: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB2"); + r0 = pxsim_String__concat(s.tmp_1, "HighN"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193249; - s.callLocIdx = 1525; s.pc = 33; return s.tmp_0; + s.tmp_0.arg1 = 0; + s.callLocIdx = 1536; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 36); pxsim_String__stringConv(s.arg0); @@ -61538,13 +61731,13 @@ switch (step) { case 36: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB3"); + r0 = pxsim_String__concat(s.tmp_1, "RuleB1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193257; - s.callLocIdx = 1526; s.pc = 35; return s.tmp_0; + s.tmp_0.arg1 = _hex24744; + s.callLocIdx = 1537; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 38); pxsim_String__stringConv(s.arg0); @@ -61554,13 +61747,13 @@ switch (step) { case 38: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB5"); + r0 = pxsim_String__concat(s.tmp_1, "RuleB2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193265; - s.callLocIdx = 1527; s.pc = 37; return s.tmp_0; + s.tmp_0.arg1 = _hex24752; + s.callLocIdx = 1538; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 40); pxsim_String__stringConv(s.arg0); @@ -61570,13 +61763,13 @@ switch (step) { case 40: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB7"); + r0 = pxsim_String__concat(s.tmp_1, "RuleB3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193273; - s.callLocIdx = 1528; s.pc = 39; return s.tmp_0; + s.tmp_0.arg1 = _hex24760; + s.callLocIdx = 1539; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 42); pxsim_String__stringConv(s.arg0); @@ -61586,13 +61779,13 @@ switch (step) { case 42: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB9"); + r0 = pxsim_String__concat(s.tmp_1, "RuleB5"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193281; - s.callLocIdx = 1529; s.pc = 41; return s.tmp_0; + s.tmp_0.arg1 = _hex24768; + s.callLocIdx = 1540; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 44); pxsim_String__stringConv(s.arg0); @@ -61602,13 +61795,13 @@ switch (step) { case 44: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB0"); + r0 = pxsim_String__concat(s.tmp_1, "RuleB7"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193289; - s.callLocIdx = 1530; s.pc = 43; return s.tmp_0; + s.tmp_0.arg1 = _hex24776; + s.callLocIdx = 1541; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 46); pxsim_String__stringConv(s.arg0); @@ -61618,13 +61811,13 @@ switch (step) { case 46: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB4"); + r0 = pxsim_String__concat(s.tmp_1, "RuleB9"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193297; - s.callLocIdx = 1531; s.pc = 45; return s.tmp_0; + s.tmp_0.arg1 = _hex24784; + s.callLocIdx = 1542; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 48); pxsim_String__stringConv(s.arg0); @@ -61634,13 +61827,13 @@ switch (step) { case 48: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_String__concat(s.tmp_1, "RuleB10"); + r0 = pxsim_String__concat(s.tmp_1, "RuleB0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193305; - s.callLocIdx = 1532; s.pc = 47; return s.tmp_0; + s.tmp_0.arg1 = _hex24792; + s.callLocIdx = 1543; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 50); pxsim_String__stringConv(s.arg0); @@ -61648,54 +61841,90 @@ switch (step) { return; } else { s.retval = (s.arg0) + ""; } case 50: + r0 = s.retval; + s.tmp_1 = r0; + r0 = pxsim_String__concat(s.tmp_1, "RuleB4"); + s.tmp_0.arg0 = r0; + s.tmp_0.arg1 = _hex24800; + s.callLocIdx = 1544; s.pc = 49; return s.tmp_0; + case 49: + r0 = s.retval; + s.tmp_0 = settings_writeBuffer__P1827_mk(s); + if ((s.arg0) && (s.arg0).vtable) { + setupResume(s, 52); + pxsim_String__stringConv(s.arg0); + checkResumeConsumed(); + return; + } else { s.retval = (s.arg0) + ""; } + case 52: + r0 = s.retval; + s.tmp_1 = r0; + r0 = pxsim_String__concat(s.tmp_1, "RuleB10"); + s.tmp_0.arg0 = r0; + s.tmp_0.arg1 = _hex24808; + s.callLocIdx = 1545; s.pc = 51; return s.tmp_0; + case 51: + r0 = s.retval; + s.tmp_0 = settings_writeNumber__P1829_mk(s); + if ((s.arg0) && (s.arg0).vtable) { + setupResume(s, 54); + pxsim_String__stringConv(s.arg0); + checkResumeConsumed(); + return; + } else { s.retval = (s.arg0) + ""; } + case 54: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "PlayerN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1533; s.pc = 49; return s.tmp_0; - case 49: + s.callLocIdx = 1546; s.pc = 53; return s.tmp_0; + case 53: r0 = s.retval; + case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -createSnake__P192881.info = {"start":4755,"length":3598,"line":117,"column":0,"endLine":196,"endColumn":1,"fileName":"games.ts","functionName":"createSnake","argumentNames":["prefix"]} +createSnake__P3841.info = {"start":4755,"length":3634,"line":117,"column":0,"endLine":197,"endColumn":1,"fileName":"games.ts","functionName":"createSnake","argumentNames":["prefix"]} -function createSnake__P192881_mk(s) { +function createSnake__P3841_mk(s) { checkStack(s.depth); return { - parent: s, fn: createSnake__P192881, depth: s.depth + 1, + parent: s, fn: createSnake__P3841, depth: s.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, } } -const _hex193137 = pxsim.BufferMethods.createBufferFromHex("2018f0a0f17120f17120f17120f17120f17120f17120f17120f17120f17120a122a120914291208152912081529120815291209132a120f17120f17120f17120f17120f171204122f111203142f1203142f1203132f111204122f11120f17120f17120f17120f17120f171f0a0") -const _hex193145 = pxsim.BufferMethods.createBufferFromHex("2018ffffffffff1f11ff8f11ff8f116f12ff1f11ff8f11ff8f11ff8f10ffbf12ffffffcf12ff2f12ffffffff3f12ffffffffffffaf12ffbf12ffffffffffffffff4f12ffffffff12ffffffff6f") -const _hex193159 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") -const _hex193167 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") -const _hex193175 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") -const _hex193183 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") -const _hex193197 = pxsim.BufferMethods.createBufferFromHex("1010b01c2f502c2f301c21161f301c16371f101c1731161c101c271c16271f27412c1627161f271c22412c3726271c37312c3726271c2726212c37161f17161c171c1f26112c371c16171c17161f2c16112c16773c361c101c67161f561c201c1637161f27461f302c3f37261c1f801c27161c2fa01c171ce02c50") -const _hex193205 = pxsim.BufferMethods.createBufferFromHex("1010a02c2fb01c16372c801c272c16111c701c1627161c1f2c701c37361f1c701c37361f1c701c37161c1f111c701c372c162c404c16671c302c361c57161c301c27262c16371f1c201c37462c2f161c201c273c761c201c171c201c661c301c161c302c461c302c505c20") -const _hex193213 = pxsim.BufferMethods.createBufferFromHex("1010f0502c6e70ae603e523e403e821e402ea21e303e921e303c92142027161c921420172ea21430121e247214123022251462141e401214151452141260622412701e621ef050") -const _hex193221 = pxsim.BufferMethods.createBufferFromHex("1010f0f0f0f0f0801e8012602e7012602c12601260161c828072901452f0f0f0f0f0a0") -const _hex193241 = pxsim.BufferMethods.createBufferFromHex("212622000412230005020002") -const _hex193249 = pxsim.BufferMethods.createBufferFromHex("212622000412120005010001") -const _hex193257 = pxsim.BufferMethods.createBufferFromHex("212622000412320005030003") -const _hex193265 = pxsim.BufferMethods.createBufferFromHex("2016220001160002") -const _hex193273 = pxsim.BufferMethods.createBufferFromHex("222622000112231104060401") -const _hex193281 = pxsim.BufferMethods.createBufferFromHex("21262200040221004c36030002010002") -const _hex193289 = pxsim.BufferMethods.createBufferFromHex("4110220005140002") -const _hex193297 = pxsim.BufferMethods.createBufferFromHex("4116220001120002") -const _hex193305 = pxsim.BufferMethods.createBufferFromHex("2226220001322300102605010202040203000203") +const _hex24640 = pxsim.BufferMethods.createBufferFromHex("2018f0a0f17120f17120f17120f17120f17120f17120f17120f17120f17120a122a120914291208152912081529120815291209132a120f17120f17120f17120f17120f171204122f111203142f1203142f1203132f111204122f11120f17120f17120f17120f17120f171f0a0") +const _hex24648 = pxsim.BufferMethods.createBufferFromHex("2018ffffffffffffffffbf12ffffaf11ff8f11ff8f10ffbf12ffffffcf12ff2f12ffffffff3f12ffffffffffffaf12ffbf12ffffffffffffffff4f12ffffffff12ffffffff6f") +const _hex24662 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") +const _hex24670 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") +const _hex24678 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") +const _hex24686 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") +const _hex24700 = pxsim.BufferMethods.createBufferFromHex("1010b01c2f502c2f301c21161f301c16371f101c1731161c101c271c16271f27412c1627161f271c22412c3726271c37312c3726271c2726212c37161f17161c171c1f26112c371c16171c17161f2c16112c16773c361c101c67161f561c201c1637161f27461f302c3f37261c1f801c27161c2fa01c171ce02c50") +const _hex24708 = pxsim.BufferMethods.createBufferFromHex("1010a02c2fb01c16372c801c272c16111c701c1627161c1f2c701c37361f1c701c37361f1c701c37161c1f111c701c372c162c404c16671c302c361c57161c301c27262c16371f1c201c37462c2f161c201c273c761c201c171c201c661c301c161c302c461c302c505c20") +const _hex24716 = pxsim.BufferMethods.createBufferFromHex("1010f0502c6e70ae603e523e403e821e402ea21e303e921e303c92142027161c921420172ea21430121e247214123022251462141e401214151452141260622412701e621ef050") +const _hex24724 = pxsim.BufferMethods.createBufferFromHex("1010f0f0f0f0f0801e8012602e7012602c12601260161c828072901452f0f0f0f0f0a0") +const _hex24744 = pxsim.BufferMethods.createBufferFromHex("212622000412230005020002") +const _hex24752 = pxsim.BufferMethods.createBufferFromHex("212622000412120005010001") +const _hex24760 = pxsim.BufferMethods.createBufferFromHex("212622000412320005030003") +const _hex24768 = pxsim.BufferMethods.createBufferFromHex("2016220001160002") +const _hex24776 = pxsim.BufferMethods.createBufferFromHex("222622000112231104060401") +const _hex24784 = pxsim.BufferMethods.createBufferFromHex("21262200040221004c36030002010002") +const _hex24792 = pxsim.BufferMethods.createBufferFromHex("4110220005140002") +const _hex24800 = pxsim.BufferMethods.createBufferFromHex("4116220001120002") +const _hex24808 = pxsim.BufferMethods.createBufferFromHex("2226220001322300102605010202040203000203") -function createBejeweled__P192879(s) { +function createBejeweled__P3842(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61727,7 +61956,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = settings_writeString__P71708_mk(s); + s.tmp_3 = settings_writeString__P1828_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 6); pxsim_String__stringConv(s.arg0); @@ -61740,10 +61969,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_4, "VersionS"); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = "4.0.0"; - s.callLocIdx = 1535; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1548; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 8); pxsim_String__stringConv(s.arg0); @@ -61755,11 +61984,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WBackM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193332; - s.callLocIdx = 1536; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = _hex24835; + s.callLocIdx = 1549; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 10); pxsim_String__stringConv(s.arg0); @@ -61771,11 +62000,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WSpriteM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193340; - s.callLocIdx = 1537; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = _hex24843; + s.callLocIdx = 1550; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 12); pxsim_String__stringConv(s.arg0); @@ -61788,10 +62017,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "BackN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1538; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1551; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 14); pxsim_String__stringConv(s.arg0); @@ -61803,11 +62032,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193354; - s.callLocIdx = 1539; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = _hex24857; + s.callLocIdx = 1552; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 16); pxsim_String__stringConv(s.arg0); @@ -61819,11 +62048,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193362; - s.callLocIdx = 1540; s.pc = 15; return s.tmp_0; + s.tmp_0.arg1 = _hex24865; + s.callLocIdx = 1553; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 18); pxsim_String__stringConv(s.arg0); @@ -61835,11 +62064,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193370; - s.callLocIdx = 1541; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = _hex24873; + s.callLocIdx = 1554; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 20); pxsim_String__stringConv(s.arg0); @@ -61851,11 +62080,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193378; - s.callLocIdx = 1542; s.pc = 19; return s.tmp_0; + s.tmp_0.arg1 = _hex24881; + s.callLocIdx = 1555; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 22); pxsim_String__stringConv(s.arg0); @@ -61868,10 +62097,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "SpriteN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1543; s.pc = 21; return s.tmp_0; + s.callLocIdx = 1556; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 24); pxsim_String__stringConv(s.arg0); @@ -61883,11 +62112,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193392; - s.callLocIdx = 1544; s.pc = 23; return s.tmp_0; + s.tmp_0.arg1 = _hex24895; + s.callLocIdx = 1557; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 26); pxsim_String__stringConv(s.arg0); @@ -61899,11 +62128,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193400; - s.callLocIdx = 1545; s.pc = 25; return s.tmp_0; + s.tmp_0.arg1 = _hex24903; + s.callLocIdx = 1558; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 28); pxsim_String__stringConv(s.arg0); @@ -61915,11 +62144,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193408; - s.callLocIdx = 1546; s.pc = 27; return s.tmp_0; + s.tmp_0.arg1 = _hex24911; + s.callLocIdx = 1559; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 30); pxsim_String__stringConv(s.arg0); @@ -61931,11 +62160,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193416; - s.callLocIdx = 1547; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = _hex24919; + s.callLocIdx = 1560; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 32); pxsim_String__stringConv(s.arg0); @@ -61948,10 +62177,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HelpN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1548; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1561; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 34); pxsim_String__stringConv(s.arg0); @@ -61964,10 +62193,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HighN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1549; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1562; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 36); pxsim_String__stringConv(s.arg0); @@ -61979,11 +62208,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193436; - s.callLocIdx = 1550; s.pc = 35; return s.tmp_0; + s.tmp_0.arg1 = _hex24939; + s.callLocIdx = 1563; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 38); pxsim_String__stringConv(s.arg0); @@ -61995,11 +62224,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193444; - s.callLocIdx = 1551; s.pc = 37; return s.tmp_0; + s.tmp_0.arg1 = _hex24947; + s.callLocIdx = 1564; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 40); pxsim_String__stringConv(s.arg0); @@ -62011,11 +62240,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193452; - s.callLocIdx = 1552; s.pc = 39; return s.tmp_0; + s.tmp_0.arg1 = _hex24955; + s.callLocIdx = 1565; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 42); pxsim_String__stringConv(s.arg0); @@ -62027,11 +62256,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193460; - s.callLocIdx = 1553; s.pc = 41; return s.tmp_0; + s.tmp_0.arg1 = _hex24963; + s.callLocIdx = 1566; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 44); pxsim_String__stringConv(s.arg0); @@ -62043,11 +62272,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB7"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193468; - s.callLocIdx = 1554; s.pc = 43; return s.tmp_0; + s.tmp_0.arg1 = _hex24971; + s.callLocIdx = 1567; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 46); pxsim_String__stringConv(s.arg0); @@ -62059,11 +62288,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB8"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193476; - s.callLocIdx = 1555; s.pc = 45; return s.tmp_0; + s.tmp_0.arg1 = _hex24979; + s.callLocIdx = 1568; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 48); pxsim_String__stringConv(s.arg0); @@ -62075,11 +62304,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB4"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193484; - s.callLocIdx = 1556; s.pc = 47; return s.tmp_0; + s.tmp_0.arg1 = _hex24987; + s.callLocIdx = 1569; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 50); pxsim_String__stringConv(s.arg0); @@ -62091,11 +62320,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB6"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193492; - s.callLocIdx = 1557; s.pc = 49; return s.tmp_0; + s.tmp_0.arg1 = _hex24995; + s.callLocIdx = 1570; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 52); pxsim_String__stringConv(s.arg0); @@ -62107,11 +62336,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB9"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193500; - s.callLocIdx = 1558; s.pc = 51; return s.tmp_0; + s.tmp_0.arg1 = _hex25003; + s.callLocIdx = 1571; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 54); pxsim_String__stringConv(s.arg0); @@ -62123,11 +62352,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB11"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193508; - s.callLocIdx = 1559; s.pc = 53; return s.tmp_0; + s.tmp_0.arg1 = _hex25011; + s.callLocIdx = 1572; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 56); pxsim_String__stringConv(s.arg0); @@ -62139,11 +62368,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB10"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex193516; - s.callLocIdx = 1560; s.pc = 55; return s.tmp_0; + s.tmp_0.arg1 = _hex25019; + s.callLocIdx = 1573; s.pc = 55; return s.tmp_0; case 55: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 58); pxsim_String__stringConv(s.arg0); @@ -62156,7 +62385,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "PlayerN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1561; s.pc = 57; return s.tmp_0; + s.callLocIdx = 1574; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; case 3: @@ -62164,12 +62393,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -createBejeweled__P192879.info = {"start":8357,"length":4133,"line":198,"column":0,"endLine":287,"endColumn":1,"fileName":"games.ts","functionName":"createBejeweled","argumentNames":["prefix"]} +createBejeweled__P3842.info = {"start":8397,"length":4133,"line":201,"column":0,"endLine":290,"endColumn":1,"fileName":"games.ts","functionName":"createBejeweled","argumentNames":["prefix"]} -function createBejeweled__P192879_mk(s) { +function createBejeweled__P3842_mk(s) { checkStack(s.depth); return { - parent: s, fn: createBejeweled__P192879, depth: s.depth + 1, + parent: s, fn: createBejeweled__P3842, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62179,32 +62408,32 @@ function createBejeweled__P192879_mk(s) { arg0: undefined, } } -const _hex193332 = pxsim.BufferMethods.createBufferFromHex("2018b0d1109110d1109110d1109110d1109110d1109110d1109110d1109110d1109110d1109110d1109110d1109110d1109110d1b0f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1a1") -const _hex193340 = pxsim.BufferMethods.createBufferFromHex("2018ffaf13111223121122ff1213211311131112ff1211231112111211ff1113111213111223ff1012132113121112ff131211121311131211ff13111211221123ff222311231211ff221311232112ff1113111213112213ff2213111213111213ff1113121112231112ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5f") -const _hex193354 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") -const _hex193362 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") -const _hex193370 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") -const _hex193378 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") -const _hex193392 = pxsim.BufferMethods.createBufferFromHex("1010f0f0707f801f751f601f951f501f353f351f501f251f301f251f501f251f301f251f501f251f301f251f501f251f301f251f501f353f351f501f951f601f751f807ff0f060") -const _hex193400 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") -const _hex193408 = pxsim.BufferMethods.createBufferFromHex("1010804ca02c1b1c1b2c901c1d2b1c1b2c603c2d1b1c1b2c303c2b1c1b2d4c201c1b2d3b1c2d1b3c201c5d3b1d1b4c101b5d3b1d1b2c1b1c101b5d3b1d2b1c2b1c1b6d2b1d1b1d1c2b1c101b5d2b1d1b1d1c2b1c201b4d1b1d2b1d1c2b1c201b3d2b1d1b1d3b1c407b1d1c2b1c701b3d2c1b1c902b2c2b30") -const _hex193416 = pxsim.BufferMethods.createBufferFromHex("1010506c802c7e12501cae12404e523e12204e821e12203ea21e12104e921e121e4c92141e1c27161c92141e272ea2141e101e121e247214121e101e22251462141e301e121415145214121e301e7224121e502e622e806e50") -const _hex193436 = pxsim.BufferMethods.createBufferFromHex("6143220040242100401423004024120000260300010103000300010106000402") -const _hex193444 = pxsim.BufferMethods.createBufferFromHex("61432200102421001024230010241200002603000101030001010300010106000402") -const _hex193452 = pxsim.BufferMethods.createBufferFromHex("6130220054163204fc061200001600030600") -const _hex193460 = pxsim.BufferMethods.createBufferFromHex("61432200042423000424210004241200002603000101030001010300010106000402") -const _hex193468 = pxsim.BufferMethods.createBufferFromHex("202622080116231000060002") -const _hex193476 = pxsim.BufferMethods.createBufferFromHex("205622000116230400061230000621300006323000060002") -const _hex193484 = pxsim.BufferMethods.createBufferFromHex("412322205424212054240000010300020103") -const _hex193492 = pxsim.BufferMethods.createBufferFromHex("4010222001160101") -const _hex193500 = pxsim.BufferMethods.createBufferFromHex("4016220801160102") -const _hex193508 = pxsim.BufferMethods.createBufferFromHex("612322805424218054240000010100020101") -const _hex193516 = pxsim.BufferMethods.createBufferFromHex("61502280541621c0000612c0000623c0000632c000060101") +const _hex24835 = pxsim.BufferMethods.createBufferFromHex("2018b0d1109110d1109110d1109110d1109110d1109110d1109110d1109110d1109110d1109110d1109110d1109110d1109110d1b0f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1a1") +const _hex24843 = pxsim.BufferMethods.createBufferFromHex("2018ffaf13111223121122ff1213211311131112ff1211231112111211ff1113111213111223ff1012132113121112ff131211121311131211ff13111211221123ff222311231211ff221311232112ff1113111213112213ff2213111213111213ff1113121112231112ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5f") +const _hex24857 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") +const _hex24865 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") +const _hex24873 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") +const _hex24881 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") +const _hex24895 = pxsim.BufferMethods.createBufferFromHex("1010f0f0707f801f751f601f951f501f353f351f501f251f301f251f501f251f301f251f501f251f301f251f501f251f301f251f501f353f351f501f951f601f751f807ff0f060") +const _hex24903 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") +const _hex24911 = pxsim.BufferMethods.createBufferFromHex("1010804ca02c1b1c1b2c901c1d2b1c1b2c603c2d1b1c1b2c303c2b1c1b2d4c201c1b2d3b1c2d1b3c201c5d3b1d1b4c101b5d3b1d1b2c1b1c101b5d3b1d2b1c2b1c1b6d2b1d1b1d1c2b1c101b5d2b1d1b1d1c2b1c201b4d1b1d2b1d1c2b1c201b3d2b1d1b1d3b1c407b1d1c2b1c701b3d2c1b1c902b2c2b30") +const _hex24919 = pxsim.BufferMethods.createBufferFromHex("1010506c802c7e12501cae12404e523e12204e821e12203ea21e12104e921e121e4c92141e1c27161c92141e272ea2141e101e121e247214121e101e22251462141e301e121415145214121e301e7224121e502e622e806e50") +const _hex24939 = pxsim.BufferMethods.createBufferFromHex("6143220040242100401423004024120000260300010103000300010106000402") +const _hex24947 = pxsim.BufferMethods.createBufferFromHex("61432200102421001024230010241200002603000101030001010300010106000402") +const _hex24955 = pxsim.BufferMethods.createBufferFromHex("6130220054163204fc061200001600030600") +const _hex24963 = pxsim.BufferMethods.createBufferFromHex("61432200042423000424210004241200002603000101030001010300010106000402") +const _hex24971 = pxsim.BufferMethods.createBufferFromHex("202622080116231000060002") +const _hex24979 = pxsim.BufferMethods.createBufferFromHex("205622000116230400061230000621300006323000060002") +const _hex24987 = pxsim.BufferMethods.createBufferFromHex("412322205424212054240000010300020103") +const _hex24995 = pxsim.BufferMethods.createBufferFromHex("4010222001160101") +const _hex25003 = pxsim.BufferMethods.createBufferFromHex("4016220801160102") +const _hex25011 = pxsim.BufferMethods.createBufferFromHex("612322805424218054240000010100020101") +const _hex25019 = pxsim.BufferMethods.createBufferFromHex("61502280541621c0000612c0000623c0000632c000060101") -function createHelloWorld__P192877(s) { +function createHelloWorld__P3848(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62236,7 +62465,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = settings_writeString__P71708_mk(s); + s.tmp_3 = settings_writeString__P1828_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 6); pxsim_String__stringConv(s.arg0); @@ -62249,10 +62478,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_4, "VersionS"); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = "4.0.0"; - s.callLocIdx = 1617; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1628; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 8); pxsim_String__stringConv(s.arg0); @@ -62264,11 +62493,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WBackM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194490; - s.callLocIdx = 1618; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = _hex25046; + s.callLocIdx = 1629; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 10); pxsim_String__stringConv(s.arg0); @@ -62280,11 +62509,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WSpriteM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194498; - s.callLocIdx = 1619; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = _hex25054; + s.callLocIdx = 1630; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 12); pxsim_String__stringConv(s.arg0); @@ -62297,10 +62526,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "BackN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1620; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1631; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 14); pxsim_String__stringConv(s.arg0); @@ -62312,11 +62541,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194512; - s.callLocIdx = 1621; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = _hex25068; + s.callLocIdx = 1632; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 16); pxsim_String__stringConv(s.arg0); @@ -62328,11 +62557,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194520; - s.callLocIdx = 1622; s.pc = 15; return s.tmp_0; + s.tmp_0.arg1 = _hex25076; + s.callLocIdx = 1633; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 18); pxsim_String__stringConv(s.arg0); @@ -62344,11 +62573,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194528; - s.callLocIdx = 1623; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = _hex25084; + s.callLocIdx = 1634; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 20); pxsim_String__stringConv(s.arg0); @@ -62360,11 +62589,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194536; - s.callLocIdx = 1624; s.pc = 19; return s.tmp_0; + s.tmp_0.arg1 = _hex25092; + s.callLocIdx = 1635; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 22); pxsim_String__stringConv(s.arg0); @@ -62377,10 +62606,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "SpriteN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1625; s.pc = 21; return s.tmp_0; + s.callLocIdx = 1636; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 24); pxsim_String__stringConv(s.arg0); @@ -62392,11 +62621,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194550; - s.callLocIdx = 1626; s.pc = 23; return s.tmp_0; + s.tmp_0.arg1 = _hex25106; + s.callLocIdx = 1637; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 26); pxsim_String__stringConv(s.arg0); @@ -62408,11 +62637,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194558; - s.callLocIdx = 1627; s.pc = 25; return s.tmp_0; + s.tmp_0.arg1 = _hex25114; + s.callLocIdx = 1638; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 28); pxsim_String__stringConv(s.arg0); @@ -62424,11 +62653,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194566; - s.callLocIdx = 1628; s.pc = 27; return s.tmp_0; + s.tmp_0.arg1 = _hex25122; + s.callLocIdx = 1639; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 30); pxsim_String__stringConv(s.arg0); @@ -62440,11 +62669,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194574; - s.callLocIdx = 1629; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = _hex25130; + s.callLocIdx = 1640; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 32); pxsim_String__stringConv(s.arg0); @@ -62457,10 +62686,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HelpN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 1; - s.callLocIdx = 1630; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1641; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 34); pxsim_String__stringConv(s.arg0); @@ -62473,10 +62702,10 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HighN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1631; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1642; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 36); pxsim_String__stringConv(s.arg0); @@ -62488,11 +62717,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194594; - s.callLocIdx = 1632; s.pc = 35; return s.tmp_0; + s.tmp_0.arg1 = _hex25150; + s.callLocIdx = 1643; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 38); pxsim_String__stringConv(s.arg0); @@ -62504,11 +62733,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194602; - s.callLocIdx = 1633; s.pc = 37; return s.tmp_0; + s.tmp_0.arg1 = _hex25158; + s.callLocIdx = 1644; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 40); pxsim_String__stringConv(s.arg0); @@ -62520,11 +62749,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194610; - s.callLocIdx = 1634; s.pc = 39; return s.tmp_0; + s.tmp_0.arg1 = _hex25166; + s.callLocIdx = 1645; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 42); pxsim_String__stringConv(s.arg0); @@ -62536,11 +62765,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194618; - s.callLocIdx = 1635; s.pc = 41; return s.tmp_0; + s.tmp_0.arg1 = _hex25174; + s.callLocIdx = 1646; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 44); pxsim_String__stringConv(s.arg0); @@ -62552,11 +62781,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB4"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194626; - s.callLocIdx = 1636; s.pc = 43; return s.tmp_0; + s.tmp_0.arg1 = _hex25182; + s.callLocIdx = 1647; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 46); pxsim_String__stringConv(s.arg0); @@ -62568,11 +62797,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB5"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194634; - s.callLocIdx = 1637; s.pc = 45; return s.tmp_0; + s.tmp_0.arg1 = _hex25190; + s.callLocIdx = 1648; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; - s.tmp_0 = settings_writeBuffer__P71707_mk(s); + s.tmp_0 = settings_writeBuffer__P1827_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 48); pxsim_String__stringConv(s.arg0); @@ -62584,11 +62813,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB6"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex194642; - s.callLocIdx = 1638; s.pc = 47; return s.tmp_0; + s.tmp_0.arg1 = _hex25198; + s.callLocIdx = 1649; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 50); pxsim_String__stringConv(s.arg0); @@ -62601,7 +62830,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "PlayerN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1639; s.pc = 49; return s.tmp_0; + s.callLocIdx = 1650; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; case 3: @@ -62609,12 +62838,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -createHelloWorld__P192877.info = {"start":31879,"length":3473,"line":746,"column":0,"endLine":821,"endColumn":1,"fileName":"games.ts","functionName":"createHelloWorld","argumentNames":["prefix"]} +createHelloWorld__P3848.info = {"start":31730,"length":3473,"line":743,"column":0,"endLine":818,"endColumn":1,"fileName":"games.ts","functionName":"createHelloWorld","argumentNames":["prefix"]} -function createHelloWorld__P192877_mk(s) { +function createHelloWorld__P3848_mk(s) { checkStack(s.depth); return { - parent: s, fn: createHelloWorld__P192877, depth: s.depth + 1, + parent: s, fn: createHelloWorld__P3848, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62624,28 +62853,28 @@ function createHelloWorld__P192877_mk(s) { arg0: undefined, } } -const _hex194490 = pxsim.BufferMethods.createBufferFromHex("2018f0a0f17120f17120f17120f17150f141202110f1412021102150c1207110e1207110e120f17120f171204110f121204110f1212041103110d12011403110d12011106110d1201110f15120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f171f0a0") -const _hex194498 = pxsim.BufferMethods.createBufferFromHex("2018ffaf10ffdf11ffffffffffff11ff8f123f12ffffffffffffffffffffffffffff4f1112ffffffffffffffffffffffffffffffffffffffffffffffffff3f") -const _hex194512 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") -const _hex194520 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") -const _hex194528 = pxsim.BufferMethods.createBufferFromHex("1010bd21ed217d1bcd21ed21fd6d1bfd5d11fdfd8d2bed2bfdfd8d1b4d1bfded1bfd1d") -const _hex194536 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") -const _hex194550 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e122f142e3f302f1e122f1b111d1e22144f121e121f1e2f1d1422143f12131e121f1e142d1422151f101f221e121f1e142d1422151f102f121e121f1e2f1d1422142f102f1e122f1b111d1e22142f103f1e122f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") -const _hex194558 = pxsim.BufferMethods.createBufferFromHex("1010506c802c7e12501cae12404e523e12204e821e12203ea21e12104e921e121e4c92141e1c27161c92141e272ea2141e101e121e247214121e101e22251462141e301e121415145214121e301e7224121e502e622e806e50") -const _hex194566 = pxsim.BufferMethods.createBufferFromHex("1010a02c2fb01c16372c801c272c16111c701c1627161c1f2c701c37361f1c701c37361f1c701c37161c1f111c701c372c162c404c16671c302c361c57161c301c27262c16371f1c201c37462c2f161c201c273c761c201c171c201c661c301c161c302c461c302c505c20") -const _hex194574 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") -const _hex194594 = pxsim.BufferMethods.createBufferFromHex("202622000116230400060002") -const _hex194602 = pxsim.BufferMethods.createBufferFromHex("201022000106") -const _hex194610 = pxsim.BufferMethods.createBufferFromHex("201022000106") -const _hex194618 = pxsim.BufferMethods.createBufferFromHex("201022000106") -const _hex194626 = pxsim.BufferMethods.createBufferFromHex("401022000106") -const _hex194634 = pxsim.BufferMethods.createBufferFromHex("2226220001022300042603000402") -const _hex194642 = pxsim.BufferMethods.createBufferFromHex("222622000102230010160401") +const _hex25046 = pxsim.BufferMethods.createBufferFromHex("2018f0a0f17120f17120f17120f17150f141202110f1412021102150c1207110e1207110e120f17120f171204110f121204110f1212041103110d12011403110d12011106110d1201110f15120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f171f0a0") +const _hex25054 = pxsim.BufferMethods.createBufferFromHex("2018ffaf10ffdf11ffffffffffff11ff8f123f12ffffffffffffffffffffffffffff4f1112ffffffffffffffffffffffffffffffffffffffffffffffffff3f") +const _hex25068 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") +const _hex25076 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") +const _hex25084 = pxsim.BufferMethods.createBufferFromHex("1010bd21ed217d1bcd21ed21fd6d1bfd5d11fdfd8d2bed2bfdfd8d1b4d1bfded1bfd1d") +const _hex25092 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") +const _hex25106 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e122f142e3f302f1e122f1b111d1e22144f121e121f1e2f1d1422143f12131e121f1e142d1422151f101f221e121f1e142d1422151f102f121e121f1e2f1d1422142f102f1e122f1b111d1e22142f103f1e122f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") +const _hex25114 = pxsim.BufferMethods.createBufferFromHex("1010506c802c7e12501cae12404e523e12204e821e12203ea21e12104e921e121e4c92141e1c27161c92141e272ea2141e101e121e247214121e101e22251462141e301e121415145214121e301e7224121e502e622e806e50") +const _hex25122 = pxsim.BufferMethods.createBufferFromHex("1010a02c2fb01c16372c801c272c16111c701c1627161c1f2c701c37361f1c701c37361f1c701c37161c1f111c701c372c162c404c16671c302c361c57161c301c27262c16371f1c201c37462c2f161c201c273c761c201c171c201c661c301c161c302c461c302c505c20") +const _hex25130 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") +const _hex25150 = pxsim.BufferMethods.createBufferFromHex("202622000116230400060002") +const _hex25158 = pxsim.BufferMethods.createBufferFromHex("201022000106") +const _hex25166 = pxsim.BufferMethods.createBufferFromHex("201022000106") +const _hex25174 = pxsim.BufferMethods.createBufferFromHex("201022000106") +const _hex25182 = pxsim.BufferMethods.createBufferFromHex("401022000106") +const _hex25190 = pxsim.BufferMethods.createBufferFromHex("2226220001022300042603000402") +const _hex25198 = pxsim.BufferMethods.createBufferFromHex("222622000102230010160401") -function game_eventContext__P72412(s) { +function game_eventContext__P2532(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62655,21 +62884,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P74170_mk(s); + s.tmp_0 = game_init__P4290_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 850; s.pc = 1; return s.tmp_0; + s.callLocIdx = 848; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___74162.fields["eventContext"]; + r0 = globals._scene___4282.fields["eventContext"]; return leave(s, r0) default: oops() } } } -game_eventContext__P72412.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} +game_eventContext__P2532.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__P72412_mk(s) { +function game_eventContext__P2532_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_eventContext__P72412, depth: s.depth + 1, + parent: s, fn: game_eventContext__P2532, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -62678,7 +62907,7 @@ function game_eventContext__P72412_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P71833(s) { +function controller_pauseUntilAnyButtonIsPressed__P1953(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62698,12 +62927,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_pauseUntilAnyButtonIsPressed__P71833.info = {"start":19144,"length":96,"line":583,"column":4,"endLine":585,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P1953.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__P71833_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P1953_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P71833, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P1953, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -62711,7 +62940,7 @@ function controller_pauseUntilAnyButtonIsPressed__P71833_mk(s) { -function game_setWaitAnyButton__P72410(s) { +function game_setWaitAnyButton__P2530(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62725,17 +62954,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___74166 = (s.arg0); + globals.__waitAnyButton___4286 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setWaitAnyButton__P72410.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__P2530.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__P72410_mk(s) { +function game_setWaitAnyButton__P2530_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P72410, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P2530, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -62744,7 +62973,7 @@ function game_setWaitAnyButton__P72410_mk(s) { -function Math_abs__P70003(s) { +function Math_abs__P123(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62773,12 +63002,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_abs__P70003.info = {"start":15106,"length":77,"line":511,"column":4,"endLine":513,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} +Math_abs__P123.info = {"start":15106,"length":77,"line":511,"column":4,"endLine":513,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} -function Math_abs__P70003_mk(s) { +function Math_abs__P123_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_abs__P70003, depth: s.depth + 1, + parent: s, fn: Math_abs__P123, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62789,7 +63018,7 @@ function Math_abs__P70003_mk(s) { -function Math_sign__P70004(s) { +function Math_sign__P124(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62824,12 +63053,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_sign__P70004.info = {"start":15341,"length":125,"line":519,"column":4,"endLine":523,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} +Math_sign__P124.info = {"start":15341,"length":125,"line":519,"column":4,"endLine":523,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} -function Math_sign__P70004_mk(s) { +function Math_sign__P124_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_sign__P70004, depth: s.depth + 1, + parent: s, fn: Math_sign__P124, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62840,7 +63069,7 @@ function Math_sign__P70004_mk(s) { -function texteffects_TextEffect_constructor__P72710(s) { +function texteffects_TextEffect_constructor__P2830(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62856,18 +63085,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, texteffects_TextEffect__C72708_VT)) failedCast(r0); + if (!checkSubtype(r0, texteffects_TextEffect__C2828_VT)) failedCast(r0); r0 = (s.arg0).fields["getState"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -texteffects_TextEffect_constructor__P72710.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__P2830.info = {"start":657,"length":133,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":["this","getState"]} -function texteffects_TextEffect_constructor__P72710_mk(s) { +function texteffects_TextEffect_constructor__P2830_mk(s) { checkStack(s.depth); return { - parent: s, fn: texteffects_TextEffect_constructor__P72710, depth: s.depth + 1, + parent: s, fn: texteffects_TextEffect_constructor__P2830, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -62877,7 +63106,7 @@ function texteffects_TextEffect_constructor__P72710_mk(s) { -function Math_FastRandom_constructor__P72465(s) { +function Math_FastRandom_constructor__P2585(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62893,7 +63122,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C72463_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C2583_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -62908,12 +63137,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_constructor__P72465.info = {"start":1425,"length":175,"line":44,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"inline","argumentNames":["this","seed"]} +Math_FastRandom_constructor__P2585.info = {"start":1425,"length":175,"line":44,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"inline","argumentNames":["this","seed"]} -function Math_FastRandom_constructor__P72465_mk(s) { +function Math_FastRandom_constructor__P2585_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_constructor__P72465, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P2585, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -62924,7 +63153,7 @@ function Math_FastRandom_constructor__P72465_mk(s) { -function control_ramSize__P70215(s) { +function control_ramSize__P335(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62949,12 +63178,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_ramSize__P70215.info = {"start":5058,"length":100,"line":172,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} +control_ramSize__P335.info = {"start":5058,"length":100,"line":172,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} -function control_ramSize__P70215_mk(s) { +function control_ramSize__P335_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_ramSize__P70215, depth: s.depth + 1, + parent: s, fn: control_ramSize__P335, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62964,7 +63193,7 @@ function control_ramSize__P70215_mk(s) { -function control__ramSize__P73809(s) { +function control__ramSize__P3929(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62978,12 +63207,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control__ramSize__P73809.info = {"start":4938,"length":60,"line":167,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P3929.info = {"start":4938,"length":60,"line":167,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} -function control__ramSize__P73809_mk(s) { +function control__ramSize__P3929_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P73809, depth: s.depth + 1, + parent: s, fn: control__ramSize__P3929, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -62991,7 +63220,7 @@ function control__ramSize__P73809_mk(s) { -function game_consoleOverlay_listener__P74495(s) { +function game_consoleOverlay_listener__P4615(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63006,7 +63235,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___74460); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4580); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -63026,39 +63255,39 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_4 = helpers_arrayForEach__P69987_mk(s); - s.tmp_5 = helpers_arrayFilter__P69988_mk(s); - s.tmp_6 = helpers_stringSplit__P69997_mk(s); + s.tmp_4 = helpers_arrayForEach__P107_mk(s); + s.tmp_5 = helpers_arrayFilter__P108_mk(s); + s.tmp_6 = helpers_stringSplit__P117_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; - s.callLocIdx = 1055; s.pc = 10; return s.tmp_6; + s.callLocIdx = 1053; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = inline__P97614; - s.callLocIdx = 1056; s.pc = 9; return s.tmp_5; + s.tmp_5.arg1 = inline__P25269; + s.callLocIdx = 1054; s.pc = 9; return s.tmp_5; case 9: r0 = s.retval; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = inline__P97619; - s.callLocIdx = 1058; s.pc = 8; return s.tmp_4; + s.tmp_4.arg1 = inline__P25274; + s.callLocIdx = 1056; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___74460); + r0 = pxsim_Array__length(globals.consoleStrings___4580); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___74473); + r0 = (s.tmp_1 > globals.consoleLines___4593); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_arraySplice__P69978_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___74460; + s.tmp_2 = helpers_arraySplice__P98_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___4580; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___74460); + r0 = pxsim_Array__length(globals.consoleStrings___4580); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___74473); + r0 = (s.tmp_3 - globals.consoleLines___4593); s.tmp_2.arg2 = r0; - s.callLocIdx = 1059; s.pc = 11; return s.tmp_2; + s.callLocIdx = 1057; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; case 5: @@ -63068,12 +63297,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener__P74495.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__P4615.info = {"start":787,"length":571,"line":26,"column":4,"endLine":42,"endColumn":5,"fileName":"pxt_modules/game/console.ts","functionName":"listener","argumentNames":["priority","text"]} -function game_consoleOverlay_listener__P74495_mk(s) { +function game_consoleOverlay_listener__P4615_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P74495, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P4615, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63090,7 +63319,7 @@ function game_consoleOverlay_listener__P74495_mk(s) { -function inline__P97614(s) { +function inline__P25269(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63114,12 +63343,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P97614.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P25269.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} -function inline__P97614_mk(s) { +function inline__P25269_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P97614, depth: s.depth + 1, + parent: s, fn: inline__P25269, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63131,7 +63360,7 @@ function inline__P97614_mk(s) { -function inline__P97619(s) { +function inline__P25274(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63141,45 +63370,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___97621 = undefined; + s.j___25276 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___97621 = (0); + s.j___25276 = (0); case 1: - s.tmp_1 = r0 = s.j___97621; + s.tmp_1 = r0 = s.j___25276; 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___74460; - s.tmp_5 = helpers_stringSlice__P69995_mk(s); + s.tmp_3 = r0 = globals.consoleStrings___4580; + s.tmp_5 = helpers_stringSlice__P115_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___97621; - r0 = (s.j___97621 + globals.consoleColumns___74483); + s.tmp_5.arg1 = s.j___25276; + r0 = (s.j___25276 + globals.consoleColumns___4603); s.tmp_5.arg2 = r0; - s.callLocIdx = 1057; s.pc = 3; return s.tmp_5; + s.callLocIdx = 1055; 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___97621 + globals.consoleColumns___74483); - s.j___97621 = (r0); + r0 = (s.j___25276 + globals.consoleColumns___4603); + s.j___25276 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P97619.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P25274.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} -function inline__P97619_mk(s) { +function inline__P25274_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P97619, 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, @@ -63187,7 +63416,7 @@ function inline__P97619_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___97621: undefined, + j___25276: undefined, arg0: undefined, } } @@ -63195,7 +63424,7 @@ function inline__P97619_mk(s) { -function console_addListener__P70252(s) { +function console_addListener__P372(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63218,7 +63447,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___73824, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___3944, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -63229,18 +63458,18 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___73824, s.arg0); + r0 = pxsim_Array__push(globals.listeners___3944, s.arg0); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -console_addListener__P70252.info = {"start":3558,"length":197,"line":121,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"addListener","argumentNames":["listener"]} +console_addListener__P372.info = {"start":3558,"length":197,"line":121,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"addListener","argumentNames":["listener"]} -function console_addListener__P70252_mk(s) { +function console_addListener__P372_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_addListener__P70252, depth: s.depth + 1, + parent: s, fn: console_addListener__P372, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63253,7 +63482,7 @@ function console_addListener__P70252_mk(s) { -function scene_systemMenu_register__P72510(s) { +function scene_systemMenu_register__P2630(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63263,16 +63492,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___74414); + r0 = pxsim_numops_toBoolDecr(globals.instance___4534); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = controller_Button_onEvent__P71790_mk(s); - s.tmp_0.arg0 = globals.menu___71763; + s.tmp_0 = controller_Button_onEvent__P1910_mk(s); + s.tmp_0.arg0 = globals.menu___1883; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P72511; - s.callLocIdx = 1042; s.pc = 4; return s.tmp_0; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P2631; + s.callLocIdx = 1040; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 3: @@ -63280,12 +63509,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_register__P72510.info = {"start":12678,"length":193,"line":379,"column":4,"endLine":383,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"register","argumentNames":[]} +scene_systemMenu_register__P2630.info = {"start":12678,"length":193,"line":379,"column":4,"endLine":383,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"register","argumentNames":[]} -function scene_systemMenu_register__P72510_mk(s) { +function scene_systemMenu_register__P2630_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_register__P72510, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P2630, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -63294,7 +63523,7 @@ function scene_systemMenu_register__P72510_mk(s) { -function scene_systemMenu_showSystemMenu__P72511(s) { +function scene_systemMenu_showSystemMenu__P2631(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63304,28 +63533,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___74414); + r0 = pxsim_numops_toBoolDecr(globals.instance___4534); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = game_pushScene__P72413_mk(s); - s.callLocIdx = 1043; s.pc = 4; return s.tmp_0; + s.tmp_0 = game_pushScene__P2533_mk(s); + s.callLocIdx = 1041; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C72499_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C2619_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P72500_mk(s); + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P2620_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P72507; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P2627; s.tmp_1.arg2 = undefined; - s.callLocIdx = 1044; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1042; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___74414 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P72501_mk(s); - s.tmp_0.arg0 = globals.instance___74414; - s.callLocIdx = 1045; s.pc = 6; return s.tmp_0; + globals.instance___4534 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P2621_mk(s); + s.tmp_0.arg0 = globals.instance___4534; + s.callLocIdx = 1043; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: @@ -63333,12 +63562,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_showSystemMenu__P72511.info = {"start":12877,"length":172,"line":385,"column":4,"endLine":390,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"showSystemMenu","argumentNames":[]} +scene_systemMenu_showSystemMenu__P2631.info = {"start":12877,"length":172,"line":385,"column":4,"endLine":390,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"showSystemMenu","argumentNames":[]} -function scene_systemMenu_showSystemMenu__P72511_mk(s) { +function scene_systemMenu_showSystemMenu__P2631_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_showSystemMenu__P72511, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P2631, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63348,7 +63577,7 @@ function scene_systemMenu_showSystemMenu__P72511_mk(s) { -function scene_systemMenu_buildOptionList__P72507(s) { +function scene_systemMenu_buildOptionList__P2627(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63358,136 +63587,136 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___98297 = undefined; + s.options___25952 = undefined; r0 = pxsim_Array__mk(); - s.options___98297 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C72491_VT); + s.options___25952 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2611_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P72492_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2612_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___72521; - s.tmp_1.arg2 = inline__P98305; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P74420; - s.callLocIdx = 1025; s.pc = 5; return s.tmp_1; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___2641; + s.tmp_1.arg2 = inline__P25960; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P4540; + s.callLocIdx = 1023; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___98297, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C72491_VT); + r0 = pxsim_Array__push(s.options___25952, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2611_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P72492_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2612_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___72518; - s.tmp_1.arg2 = inline__P98319; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P74419; - s.callLocIdx = 1027; s.pc = 6; return s.tmp_1; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___2638; + s.tmp_1.arg2 = inline__P25974; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P4539; + s.callLocIdx = 1025; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___98297, s.tmp_0); + r0 = pxsim_Array__push(s.options___25952, 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__C72491_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2611_VT); s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P72492_mk(s); + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P2612_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___72519; - s.tmp_2.arg2 = inline__P98334; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P74422; - s.callLocIdx = 1030; s.pc = 7; return s.tmp_2; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___2639; + s.tmp_2.arg2 = inline__P25989; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P4542; + s.callLocIdx = 1028; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___98297, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C72491_VT); + r0 = pxsim_Array__push(s.options___25952, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2611_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P72492_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2612_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___72524; - s.tmp_1.arg2 = inline__P98349; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P74421; - s.callLocIdx = 1032; s.pc = 8; return s.tmp_1; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___2644; + s.tmp_1.arg2 = inline__P26004; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P4541; + s.callLocIdx = 1030; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___98297, s.tmp_0); + r0 = pxsim_Array__push(s.options___25952, s.tmp_0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C72491_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2611_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P72492_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2612_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___72525; - s.tmp_1.arg2 = inline__P98364; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P74424; - s.callLocIdx = 1033; s.pc = 9; return s.tmp_1; + s.tmp_1.arg1 = globals.STATS_ICON___2645; + s.tmp_1.arg2 = inline__P26019; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P4544; + s.callLocIdx = 1031; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___98297, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C72491_VT); + r0 = pxsim_Array__push(s.options___25952, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2611_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P72492_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2612_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___72523; - s.tmp_1.arg2 = inline__P98373; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P74425; - s.callLocIdx = 1035; s.pc = 10; return s.tmp_1; + s.tmp_1.arg1 = globals.CONSOLE_ICON___2643; + s.tmp_1.arg2 = inline__P26028; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P4545; + s.callLocIdx = 1033; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___98297, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C72491_VT); + r0 = pxsim_Array__push(s.options___25952, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2611_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P72492_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2612_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___72522; - s.tmp_1.arg2 = inline__P98382; - s.tmp_1.arg3 = scene_systemMenu_sleep__P74426; - s.callLocIdx = 1036; s.pc = 11; return s.tmp_1; + s.tmp_1.arg1 = globals.SLEEP_ICON___2642; + s.tmp_1.arg2 = inline__P26037; + s.tmp_1.arg3 = scene_systemMenu_sleep__P4546; + s.callLocIdx = 1034; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___98297, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___74415); + r0 = pxsim_Array__push(s.options___25952, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___4535); if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P69991_mk(s); - s.tmp_0.arg0 = s.options___98297; - s.tmp_0.arg1 = globals.customMenuOptions___74415; - s.callLocIdx = 1037; s.pc = 12; return s.tmp_0; + s.tmp_0 = helpers_arrayConcat__P111_mk(s); + s.tmp_0.arg0 = s.options___25952; + s.tmp_0.arg1 = globals.customMenuOptions___4535; + s.callLocIdx = 1035; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___98297 = (r0); + s.options___25952 = (r0); case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C72491_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2611_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P72492_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2612_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___72520; - s.tmp_1.arg2 = inline__P98395; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P72506; - s.callLocIdx = 1038; s.pc = 13; return s.tmp_1; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___2640; + s.tmp_1.arg2 = inline__P26050; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P2626; + s.callLocIdx = 1036; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___98297, s.tmp_0); - r0 = s.options___98297; + r0 = pxsim_Array__push(s.options___25952, s.tmp_0); + r0 = s.options___25952; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList__P72507.info = {"start":10384,"length":1149,"line":331,"column":4,"endLine":351,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildOptionList","argumentNames":[]} +scene_systemMenu_buildOptionList__P2627.info = {"start":10384,"length":1149,"line":331,"column":4,"endLine":351,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildOptionList","argumentNames":[]} -function scene_systemMenu_buildOptionList__P72507_mk(s) { +function scene_systemMenu_buildOptionList__P2627_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList__P72507, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P2627, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___98297: undefined, + options___25952: undefined, } } -function inline__P98305(s) { +function inline__P25960(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63497,8 +63726,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P71473_mk(s); - s.callLocIdx = 1024; s.pc = 1; return s.tmp_3; + s.tmp_3 = music_volume__P1593_mk(s); + s.callLocIdx = 1022; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -63517,12 +63746,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P98305.info = {"start":10529,"length":39,"line":334,"column":54,"endLine":334,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25960.info = {"start":10529,"length":39,"line":334,"column":54,"endLine":334,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P98305_mk(s) { +function inline__P25960_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P98305, depth: s.depth + 1, + parent: s, fn: inline__P25960, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63534,7 +63763,7 @@ function inline__P98305_mk(s) { -function inline__P98319(s) { +function inline__P25974(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63544,8 +63773,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P71473_mk(s); - s.callLocIdx = 1026; s.pc = 1; return s.tmp_3; + s.tmp_3 = music_volume__P1593_mk(s); + s.callLocIdx = 1024; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -63564,12 +63793,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P98319.info = {"start":10636,"length":37,"line":335,"column":52,"endLine":335,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25974.info = {"start":10636,"length":37,"line":335,"column":52,"endLine":335,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P98319_mk(s) { +function inline__P25974_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P98319, depth: s.depth + 1, + parent: s, fn: inline__P25974, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63581,7 +63810,7 @@ function inline__P98319_mk(s) { -function inline__P98334(s) { +function inline__P25989(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63591,7 +63820,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___71604; + r0 = globals.brightness___1724; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -63608,12 +63837,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P98334.info = {"start":10795,"length":48,"line":337,"column":62,"endLine":337,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25989.info = {"start":10795,"length":48,"line":337,"column":62,"endLine":337,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P98334_mk(s) { +function inline__P25989_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P98334, depth: s.depth + 1, + parent: s, fn: inline__P25989, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63624,7 +63853,7 @@ function inline__P98334_mk(s) { -function inline__P98349(s) { +function inline__P26004(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63634,7 +63863,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___71604; + r0 = globals.brightness___1724; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -63651,12 +63880,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P98349.info = {"start":10923,"length":46,"line":338,"column":60,"endLine":338,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26004.info = {"start":10923,"length":46,"line":338,"column":60,"endLine":338,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P98349_mk(s) { +function inline__P26004_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P98349, depth: s.depth + 1, + parent: s, fn: inline__P26004, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63667,7 +63896,7 @@ function inline__P98349_mk(s) { -function inline__P98364(s) { +function inline__P26019(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63677,7 +63906,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___72406); + r0 = pxsim_numops_toBoolDecr(globals.stats___2526); if (!r0) { step = 1; continue; } r0 = "HIDE STATS"; { step = 2; continue; } @@ -63690,12 +63919,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P98364.info = {"start":11045,"length":46,"line":340,"column":48,"endLine":340,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26019.info = {"start":11045,"length":46,"line":340,"column":48,"endLine":340,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P98364_mk(s) { +function inline__P26019_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P98364, depth: s.depth + 1, + parent: s, fn: inline__P26019, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -63704,7 +63933,7 @@ function inline__P98364_mk(s) { -function inline__P98373(s) { +function inline__P26028(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63714,7 +63943,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___74460); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4580); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -63735,12 +63964,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P98373.info = {"start":11158,"length":71,"line":341,"column":50,"endLine":341,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26028.info = {"start":11158,"length":71,"line":341,"column":50,"endLine":341,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P98373_mk(s) { +function inline__P26028_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P98373, depth: s.depth + 1, + parent: s, fn: inline__P26028, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63753,7 +63982,7 @@ function inline__P98373_mk(s) { -function inline__P98382(s) { +function inline__P26037(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63767,12 +63996,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P98382.info = {"start":11296,"length":13,"line":342,"column":48,"endLine":342,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26037.info = {"start":11296,"length":13,"line":342,"column":48,"endLine":342,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P98382_mk(s) { +function inline__P26037_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P98382, depth: s.depth + 1, + parent: s, fn: inline__P26037, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -63780,7 +64009,7 @@ function inline__P98382_mk(s) { -function inline__P98395(s) { +function inline__P26050(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63794,12 +64023,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P98395.info = {"start":11475,"length":13,"line":348,"column":53,"endLine":348,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26050.info = {"start":11475,"length":13,"line":348,"column":53,"endLine":348,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P98395_mk(s) { +function inline__P26050_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P98395, depth: s.depth + 1, + parent: s, fn: inline__P26050, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -63807,7 +64036,7 @@ function inline__P98395_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P74427(s) { +function scene_systemMenu_setScreenBrightnessSupported__P4547(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63821,12 +64050,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightnessSupported__P74427.info = {"start":10283,"length":95,"line":327,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setScreenBrightnessSupported","argumentNames":[]} +scene_systemMenu_setScreenBrightnessSupported__P4547.info = {"start":10283,"length":95,"line":327,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setScreenBrightnessSupported","argumentNames":[]} -function scene_systemMenu_setScreenBrightnessSupported__P74427_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P4547_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P74427, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P4547, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -63834,7 +64063,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P74427_mk(s) { -function scene_systemMenu_sleep__P74426(s) { +function scene_systemMenu_sleep__P4546(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63849,12 +64078,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_sleep__P74426.info = {"start":9957,"length":51,"line":313,"column":4,"endLine":315,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"sleep","argumentNames":[]} +scene_systemMenu_sleep__P4546.info = {"start":9957,"length":51,"line":313,"column":4,"endLine":315,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"sleep","argumentNames":[]} -function scene_systemMenu_sleep__P74426_mk(s) { +function scene_systemMenu_sleep__P4546_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P74426, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P4546, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -63862,7 +64091,7 @@ function scene_systemMenu_sleep__P74426_mk(s) { -function scene_systemMenu_toggleConsole__P74425(s) { +function scene_systemMenu_toggleConsole__P4545(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63872,7 +64101,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___74460); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4580); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -63882,23 +64111,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = game_consoleOverlay_setVisible__P72530_mk(s); + s.tmp_4 = game_consoleOverlay_setVisible__P2650_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; - s.callLocIdx = 1018; s.pc = 3; return s.tmp_4; + s.callLocIdx = 1016; s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P72530_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P2650_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; - s.callLocIdx = 1019; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1017; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = console_log__P70249_mk(s); + s.tmp_0 = console_log__P369_mk(s); s.tmp_0.arg0 = "console"; - s.callLocIdx = 1020; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1018; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 2: @@ -63906,12 +64135,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleConsole__P74425.info = {"start":9712,"length":239,"line":304,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleConsole","argumentNames":[]} +scene_systemMenu_toggleConsole__P4545.info = {"start":9712,"length":239,"line":304,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleConsole","argumentNames":[]} -function scene_systemMenu_toggleConsole__P74425_mk(s) { +function scene_systemMenu_toggleConsole__P4545_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P74425, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P4545, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63924,7 +64153,7 @@ function scene_systemMenu_toggleConsole__P74425_mk(s) { -function game_consoleOverlay_setVisible__P72530(s) { +function game_consoleOverlay_setVisible__P2650(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63940,7 +64169,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___74460); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4580); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -63961,26 +64190,26 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___74460 = (s.tmp_6); + globals.consoleStrings___4580 = (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___74459 = (s.arg1); + globals.consoleColor___4579 = (s.arg1); case 5: case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_setVisible__P72530.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__P2650.info = {"start":562,"length":219,"line":19,"column":4,"endLine":24,"endColumn":5,"fileName":"pxt_modules/game/console.ts","functionName":"setVisible","argumentNames":["value","col"]} -function game_consoleOverlay_setVisible__P72530_mk(s) { +function game_consoleOverlay_setVisible__P2650_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P72530, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P2650, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63997,7 +64226,7 @@ function game_consoleOverlay_setVisible__P72530_mk(s) { -function scene_systemMenu_toggleStats__P74424(s) { +function scene_systemMenu_toggleStats__P4544(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64007,20 +64236,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___72406); + r0 = pxsim_numops_toBoolDecr(globals.stats___2526); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___72406 = (r0); + globals.stats___2526 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleStats__P74424.info = {"start":9642,"length":64,"line":300,"column":4,"endLine":302,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleStats","argumentNames":[]} +scene_systemMenu_toggleStats__P4544.info = {"start":9642,"length":64,"line":300,"column":4,"endLine":302,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleStats","argumentNames":[]} -function scene_systemMenu_toggleStats__P74424_mk(s) { +function scene_systemMenu_toggleStats__P4544_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P74424, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P4544, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -64029,7 +64258,7 @@ function scene_systemMenu_toggleStats__P74424_mk(s) { -function scene_systemMenu_brightnessDown__P74422(s) { +function scene_systemMenu_brightnessDown__P4542(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64039,24 +64268,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P74423_mk(s); - r0 = globals.brightness___71604; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P4543_mk(s); + r0 = globals.brightness___1724; s.tmp_1 = r0; r0 = (s.tmp_1 - 5); s.tmp_0.arg0 = r0; - s.callLocIdx = 1013; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1011; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessDown__P74422.info = {"start":9198,"length":87,"line":289,"column":4,"endLine":291,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessDown","argumentNames":[]} +scene_systemMenu_brightnessDown__P4542.info = {"start":9198,"length":87,"line":289,"column":4,"endLine":291,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessDown","argumentNames":[]} -function scene_systemMenu_brightnessDown__P74422_mk(s) { +function scene_systemMenu_brightnessDown__P4542_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P74422, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P4542, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64066,7 +64295,7 @@ function scene_systemMenu_brightnessDown__P74422_mk(s) { -function scene_systemMenu_setScreenBrightness__P74423(s) { +function scene_systemMenu_setScreenBrightness__P4543(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64080,29 +64309,29 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_setScreenBrightness__P71615_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_setScreenBrightness__P1735_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1014; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1012; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); s.tmp_0.arg0 = "#brightness"; - r0 = globals.brightness___71604; + r0 = globals.brightness___1724; s.tmp_0.arg1 = r0; - s.callLocIdx = 1016; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1014; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightness__P74423.info = {"start":9291,"length":345,"line":293,"column":4,"endLine":298,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setScreenBrightness","argumentNames":["b"]} +scene_systemMenu_setScreenBrightness__P4543.info = {"start":9291,"length":345,"line":293,"column":4,"endLine":298,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setScreenBrightness","argumentNames":["b"]} -function scene_systemMenu_setScreenBrightness__P74423_mk(s) { +function scene_systemMenu_setScreenBrightness__P4543_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightness__P74423, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightness__P4543, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -64112,7 +64341,7 @@ function scene_systemMenu_setScreenBrightness__P74423_mk(s) { -function helpers_setScreenBrightness__P71615(s) { +function helpers_setScreenBrightness__P1735(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64127,7 +64356,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P70002_mk(s); + s.tmp_0 = Math_clamp__P122_mk(s); s.tmp_0.arg0 = 10; s.tmp_0.arg1 = 100; r0 = (s.arg1 | 0); @@ -64136,18 +64365,18 @@ switch (step) { case 1: r0 = s.retval; s.arg1 = (r0); - globals.brightness___71604 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___71604); + globals.brightness___1724 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___1724); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_setScreenBrightness__P71615.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__P1735.info = {"start":6243,"length":210,"line":211,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} -function helpers_setScreenBrightness__P71615_mk(s) { +function helpers_setScreenBrightness__P1735_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_setScreenBrightness__P71615, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P1735, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -64158,7 +64387,7 @@ function helpers_setScreenBrightness__P71615_mk(s) { -function scene_systemMenu_brightnessUp__P74421(s) { +function scene_systemMenu_brightnessUp__P4541(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64168,24 +64397,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P74423_mk(s); - r0 = globals.brightness___71604; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P4543_mk(s); + r0 = globals.brightness___1724; s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg0 = r0; - s.callLocIdx = 1011; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1009; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessUp__P74421.info = {"start":9107,"length":85,"line":285,"column":4,"endLine":287,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessUp","argumentNames":[]} +scene_systemMenu_brightnessUp__P4541.info = {"start":9107,"length":85,"line":285,"column":4,"endLine":287,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessUp","argumentNames":[]} -function scene_systemMenu_brightnessUp__P74421_mk(s) { +function scene_systemMenu_brightnessUp__P4541_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P74421, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P4541, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64195,7 +64424,7 @@ function scene_systemMenu_brightnessUp__P74421_mk(s) { -function scene_systemMenu_volumeDown__P74420(s) { +function scene_systemMenu_volumeDown__P4540(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64205,54 +64434,54 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___98650 = undefined; - s.remainder___98653 = undefined; - s.newVolume___98656 = undefined; - s.tmp_0 = music_volume__P71473_mk(s); - s.callLocIdx = 1008; s.pc = 3; return s.tmp_0; + s.v___26305 = undefined; + s.remainder___26308 = undefined; + s.newVolume___26311 = undefined; + s.tmp_0 = music_volume__P1593_mk(s); + s.callLocIdx = 1006; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___98650 = (r0); - r0 = (s.v___98650 % 32); - s.remainder___98653 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___98653); + s.v___26305 = (r0); + r0 = (s.v___26305 % 32); + s.remainder___26308 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___26308); if (!r0) { step = 1; continue; } - r0 = s.remainder___98653; + r0 = s.remainder___26308; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___98650 - s.tmp_0); - s.newVolume___98656 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P74418_mk(s); - s.tmp_0.arg0 = s.newVolume___98656; - s.callLocIdx = 1009; s.pc = 4; return s.tmp_0; + r0 = (s.v___26305 - s.tmp_0); + s.newVolume___26311 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P4538_mk(s); + s.tmp_0.arg0 = s.newVolume___26311; + s.callLocIdx = 1007; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeDown__P74420.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__P4540.info = {"start":8914,"length":187,"line":278,"column":4,"endLine":283,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"volumeDown","argumentNames":[]} -function scene_systemMenu_volumeDown__P74420_mk(s) { +function scene_systemMenu_volumeDown__P4540_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P74420, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P4540, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___98650: undefined, - remainder___98653: undefined, - newVolume___98656: undefined, + v___26305: undefined, + remainder___26308: undefined, + newVolume___26311: undefined, } } -function scene_systemMenu_setVolume__P74418(s) { +function scene_systemMenu_setVolume__P4538(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64266,33 +64495,33 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_setVolume__P71472_mk(s); + s.tmp_0 = music_setVolume__P1592_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1003; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1001; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = music_playTone__P71474_mk(s); + s.tmp_0 = music_playTone__P1594_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; - s.callLocIdx = 1004; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1002; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P71709_mk(s); + s.tmp_0 = settings_writeNumber__P1829_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1005; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1003; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_setVolume__P74418.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__P4538.info = {"start":8565,"length":166,"line":265,"column":4,"endLine":269,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setVolume","argumentNames":["newVolume"]} -function scene_systemMenu_setVolume__P74418_mk(s) { +function scene_systemMenu_setVolume__P4538_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P74418, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P4538, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -64302,7 +64531,7 @@ function scene_systemMenu_setVolume__P74418_mk(s) { -function music_playTone__P71474(s) { +function music_playTone__P1594(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64312,7 +64541,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___98491 = undefined; + s.id___26146 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -64337,7 +64566,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P73882_mk(s); + s.tmp_2 = music_playNoteCore__P4002_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); @@ -64345,7 +64574,7 @@ switch (step) { s.callLocIdx = 77; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = pause__P70282_mk(s); + s.tmp_0 = pause__P402_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_0.arg0 = r0; s.callLocIdx = 78; s.pc = 6; return s.tmp_0; @@ -64353,13 +64582,13 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___73884 + 1); + r0 = (globals.playToneID___4004 + 1); s.tmp_0 = r0; - globals.playToneID___73884 = (r0); - s.id___98491 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, inline__P98497); + globals.playToneID___4004 = (r0); + s.id___26146 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, inline__P26152); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___98491); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___26146); 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); @@ -64368,17 +64597,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone__P71474.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__P1594.info = {"start":2591,"length":831,"line":83,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} -function music_playTone__P71474_mk(s) { +function music_playTone__P1594_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone__P71474, depth: s.depth + 1, + parent: s, fn: music_playTone__P1594, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___98491: undefined, + id___26146: undefined, arg0: undefined, arg1: undefined, } } @@ -64387,7 +64616,7 @@ function music_playTone__P71474_mk(s) { -function inline__P98497(s) { +function inline__P26152(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64397,14 +64626,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___98498 = undefined; - s.now___98508 = undefined; - s.d___98511 = undefined; - s.t___98515 = undefined; + s.pos___26153 = undefined; + s.now___26163 = undefined; + s.d___26166 = undefined; + s.t___26170 = undefined; r0 = pxsim.control.millis(); - s.pos___98498 = (r0); + s.pos___26153 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___73884); + r0 = (s.caps[0] == globals.playToneID___4004); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -64420,30 +64649,30 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___98508 = (r0); - r0 = (s.pos___98498 - s.now___98508); - s.d___98511 = (r0); - s.tmp_0 = Math_min__P70006_mk(s); + s.now___26163 = (r0); + r0 = (s.pos___26153 - s.now___26163); + s.d___26166 = (r0); + s.tmp_0 = Math_min__P126_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 500; s.callLocIdx = 79; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___98515 = (r0); + s.t___26170 = (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___98515); + r0 = (s.tmp_2 - s.t___26170); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___98498 + s.t___98515); - s.pos___98498 = (r0); - s.tmp_0 = music_playNoteCore__P73882_mk(s); - r0 = (s.d___98511 - 1); + r0 = (s.pos___26153 + s.t___26170); + s.pos___26153 = (r0); + s.tmp_0 = music_playNoteCore__P4002_mk(s); + r0 = (s.d___26166 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___98515; + s.tmp_0.arg2 = s.t___26170; s.callLocIdx = 80; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -64453,16 +64682,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = pause__P70282_mk(s); - r0 = (s.d___98511 + s.t___98515); + s.tmp_2 = pause__P402_mk(s); + r0 = (s.d___26166 + s.t___26170); s.tmp_2.arg0 = r0; s.callLocIdx = 81; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = pause__P70282_mk(s); - r0 = (s.d___98511 + s.t___98515); + s.tmp_0 = pause__P402_mk(s); + r0 = (s.d___26166 + s.t___26170); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; @@ -64476,27 +64705,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P98497.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P26152.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P98497_mk(s) { +function inline__P26152_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P98497, depth: s.depth + 1, + parent: s, fn: inline__P26152, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___98498: undefined, - now___98508: undefined, - d___98511: undefined, - t___98515: undefined, + pos___26153: undefined, + now___26163: undefined, + d___26166: undefined, + t___26170: undefined, } } -function music_playNoteCore__P73882(s) { +function music_playNoteCore__P4002(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64506,7 +64735,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___98545 = undefined; + s.buf___26200 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -64514,16 +64743,16 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___98545 = (r0); - s.tmp_0 = music_addNote__P73889_mk(s); - s.tmp_0.arg0 = s.buf___98545; + s.buf___26200 = (r0); + s.tmp_0 = music_addNote__P4009_mk(s); + s.tmp_0.arg0 = s.buf___26200; 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__P71473_mk(s); + s.tmp_1 = music_volume__P1593_mk(s); s.callLocIdx = 75; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -64532,21 +64761,21 @@ switch (step) { s.callLocIdx = 76; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___98545); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___26200); r0 = undefined; return leave(s, r0) default: oops() } } } -music_playNoteCore__P73882.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__P4002.info = {"start":1877,"length":240,"line":66,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playNoteCore","argumentNames":["when","frequency","ms"]} -function music_playNoteCore__P73882_mk(s) { +function music_playNoteCore__P4002_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P73882, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P4002, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___98545: undefined, + buf___26200: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -64556,7 +64785,7 @@ function music_playNoteCore__P73882_mk(s) { -function music_addNote__P73889(s) { +function music_addNote__P4009(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64624,12 +64853,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_addNote__P73889.info = {"start":9705,"length":904,"line":308,"column":4,"endLine":321,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} +music_addNote__P4009.info = {"start":9705,"length":904,"line":308,"column":4,"endLine":321,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} -function music_addNote__P73889_mk(s) { +function music_addNote__P4009_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_addNote__P73889, depth: s.depth + 1, + parent: s, fn: music_addNote__P4009, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64650,7 +64879,7 @@ function music_addNote__P73889_mk(s) { -function music_setVolume__P71472(s) { +function music_setVolume__P1592(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64664,7 +64893,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P70002_mk(s); + s.tmp_0 = Math_clamp__P122_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 255; r0 = (s.arg0 | 0); @@ -64672,8 +64901,8 @@ switch (step) { s.callLocIdx = 72; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___73877 = (r0); - r0 = (globals.globalVolume___73877 > 0); + globals.globalVolume___3997 = (r0); + r0 = (globals.globalVolume___3997 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -64689,12 +64918,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_setVolume__P71472.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__P1592.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__P71472_mk(s) { +function music_setVolume__P1592_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_setVolume__P71472, depth: s.depth + 1, + parent: s, fn: music_setVolume__P1592, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64705,7 +64934,7 @@ function music_setVolume__P71472_mk(s) { -function music_enableAmp__P73880(s) { +function music_enableAmp__P4000(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64723,12 +64952,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_enableAmp__P73880.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__P4000.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__P73880_mk(s) { +function music_enableAmp__P4000_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P73880, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P4000, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -64737,7 +64966,7 @@ function music_enableAmp__P73880_mk(s) { -function scene_systemMenu_volumeUp__P74419(s) { +function scene_systemMenu_volumeUp__P4539(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64747,47 +64976,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___98459 = undefined; - s.remainder___98462 = undefined; - s.newVolume___98465 = undefined; - s.tmp_0 = music_volume__P71473_mk(s); - s.callLocIdx = 1006; s.pc = 1; return s.tmp_0; + s.v___26114 = undefined; + s.remainder___26117 = undefined; + s.newVolume___26120 = undefined; + s.tmp_0 = music_volume__P1593_mk(s); + s.callLocIdx = 1004; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___98459 = (r0); - r0 = (s.v___98459 % 32); - s.remainder___98462 = (r0); - r0 = (s.v___98459 + 32); + s.v___26114 = (r0); + r0 = (s.v___26114 % 32); + s.remainder___26117 = (r0); + r0 = (s.v___26114 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___98462); - s.newVolume___98465 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P74418_mk(s); - s.tmp_0.arg0 = s.newVolume___98465; - s.callLocIdx = 1007; s.pc = 2; return s.tmp_0; + r0 = (s.tmp_0 - s.remainder___26117); + s.newVolume___26120 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P4538_mk(s); + s.tmp_0.arg0 = s.newVolume___26120; + s.callLocIdx = 1005; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeUp__P74419.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__P4539.info = {"start":8737,"length":171,"line":271,"column":4,"endLine":276,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"volumeUp","argumentNames":[]} -function scene_systemMenu_volumeUp__P74419_mk(s) { +function scene_systemMenu_volumeUp__P4539_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P74419, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P4539, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___98459: undefined, - remainder___98462: undefined, - newVolume___98465: undefined, + v___26114: undefined, + remainder___26117: undefined, + newVolume___26120: undefined, } } -function game_consoleOverlay_isVisible__P72528(s) { +function game_consoleOverlay_isVisible__P2648(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64797,7 +65026,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___74460); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4580); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -64807,12 +65036,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_isVisible__P72528.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__P2648.info = {"start":422,"length":68,"line":11,"column":4,"endLine":13,"endColumn":5,"fileName":"pxt_modules/game/console.ts","functionName":"isVisible","argumentNames":[]} -function game_consoleOverlay_isVisible__P72528_mk(s) { +function game_consoleOverlay_isVisible__P2648_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_isVisible__P72528, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P2648, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64823,7 +65052,7 @@ function game_consoleOverlay_isVisible__P72528_mk(s) { -function scene_systemMenu_closeMenu__P72506(s) { +function scene_systemMenu_closeMenu__P2626(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64833,21 +65062,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___74414); + r0 = pxsim_numops_toBoolDecr(globals.instance___4534); if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P72505_mk(s); - s.tmp_0.arg0 = globals.instance___74414; - s.callLocIdx = 1021; s.pc = 3; return s.tmp_0; + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P2625_mk(s); + s.tmp_0.arg0 = globals.instance___4534; + s.callLocIdx = 1019; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___74414 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P71834_mk(s); + globals.instance___4534 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P1954_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 1022; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1020; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_popScene__P72414_mk(s); - s.callLocIdx = 1023; s.pc = 5; return s.tmp_0; + s.tmp_0 = game_popScene__P2534_mk(s); + s.callLocIdx = 1021; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -64856,12 +65085,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_closeMenu__P72506.info = {"start":10014,"length":216,"line":317,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"closeMenu","argumentNames":[]} +scene_systemMenu_closeMenu__P2626.info = {"start":10014,"length":216,"line":317,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"closeMenu","argumentNames":[]} -function scene_systemMenu_closeMenu__P72506_mk(s) { +function scene_systemMenu_closeMenu__P2626_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_closeMenu__P72506, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P2626, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -64870,7 +65099,7 @@ function scene_systemMenu_closeMenu__P72506_mk(s) { -function scene_systemMenu_PauseMenu_dispose__P72505(s) { +function scene_systemMenu_PauseMenu_dispose__P2625(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64885,16 +65114,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C72499_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2619_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__P69987_mk(s); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = inline__P98157; - s.callLocIdx = 999; s.pc = 3; return s.tmp_1; + s.tmp_1.arg1 = inline__P25812; + s.callLocIdx = 997; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["options"] = (undefined); @@ -64904,12 +65133,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose__P72505.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__P2625.info = {"start":7732,"length":165,"line":243,"column":8,"endLine":248,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"dispose","argumentNames":["this"]} -function scene_systemMenu_PauseMenu_dispose__P72505_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P2625_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P72505, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P2625, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64920,7 +65149,7 @@ function scene_systemMenu_PauseMenu_dispose__P72505_mk(s) { -function inline__P98157(s) { +function inline__P25812(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64934,21 +65163,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_systemMenu_MenuOption_dispose__P72498_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P2618_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 998; s.pc = 1; return s.tmp_0; + s.callLocIdx = 996; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P98157.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} +inline__P25812.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} -function inline__P98157_mk(s) { +function inline__P25812_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P98157, depth: s.depth + 1, + parent: s, fn: inline__P25812, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -64958,7 +65187,7 @@ function inline__P98157_mk(s) { -function scene_systemMenu_MenuOption_dispose__P72498(s) { +function scene_systemMenu_MenuOption_dispose__P2618(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64973,25 +65202,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C72491_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2611_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__P71967_mk(s); + s.tmp_1 = Sprite_destroy__P2087_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; s.tmp_1.arg2 = undefined; - s.callLocIdx = 918; s.pc = 3; return s.tmp_1; + s.callLocIdx = 916; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P71967_mk(s); + s.tmp_0 = Sprite_destroy__P2087_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; - s.callLocIdx = 919; s.pc = 4; return s.tmp_0; + s.callLocIdx = 917; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = (s.arg0).fields["card"] = (undefined); @@ -65002,12 +65231,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_dispose__P72498.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__P2618.info = {"start":1812,"length":216,"line":77,"column":8,"endLine":84,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"dispose","argumentNames":["this"]} -function scene_systemMenu_MenuOption_dispose__P72498_mk(s) { +function scene_systemMenu_MenuOption_dispose__P2618_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P72498, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P2618, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65018,7 +65247,7 @@ function scene_systemMenu_MenuOption_dispose__P72498_mk(s) { -function controller__setUserEventsEnabled__P71834(s) { +function controller__setUserEventsEnabled__P1954(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65032,17 +65261,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___73991 = (s.arg0); + globals._userEventsEnabled___4111 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -controller__setUserEventsEnabled__P71834.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__P1954.info = {"start":19246,"length":101,"line":587,"column":4,"endLine":589,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} -function controller__setUserEventsEnabled__P71834_mk(s) { +function controller__setUserEventsEnabled__P1954_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__setUserEventsEnabled__P71834, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P1954, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -65051,7 +65280,7 @@ function controller__setUserEventsEnabled__P71834_mk(s) { -function scene_systemMenu_MenuOption_constructor__P72492(s) { +function scene_systemMenu_MenuOption_constructor__P2612(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65069,7 +65298,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C72491_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2611_VT)) failedCast(r0); r0 = (s.arg0).fields["iconImage"] = (s.arg1); r0 = (s.arg0).fields["getText"] = (s.arg2); r0 = (s.arg0).fields["action"] = (s.arg3); @@ -65077,12 +65306,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_constructor__P72492.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__P2612.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__P72492_mk(s) { +function scene_systemMenu_MenuOption_constructor__P2612_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P72492, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_constructor__P2612, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -65094,7 +65323,7 @@ function scene_systemMenu_MenuOption_constructor__P72492_mk(s) { -function helpers_screenBrightness__P71616(s) { +function helpers_screenBrightness__P1736(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65108,16 +65337,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = globals.brightness___71604; + r0 = globals.brightness___1724; return leave(s, r0) default: oops() } } } -helpers_screenBrightness__P71616.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__P1736.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__P71616_mk(s) { +function helpers_screenBrightness__P1736_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_screenBrightness__P71616, depth: s.depth + 1, + parent: s, fn: helpers_screenBrightness__P1736, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -65126,7 +65355,7 @@ function helpers_screenBrightness__P71616_mk(s) { -function music_volume__P71473(s) { +function music_volume__P1593(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65136,20 +65365,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_initVolume__P73881_mk(s); + s.tmp_0 = music_initVolume__P4001_mk(s); s.callLocIdx = 74; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___73877; + r0 = globals.globalVolume___3997; return leave(s, r0) default: oops() } } } -music_volume__P71473.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} +music_volume__P1593.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__P71473_mk(s) { +function music_volume__P1593_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_volume__P71473, depth: s.depth + 1, + parent: s, fn: music_volume__P1593, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -65158,7 +65387,7 @@ function music_volume__P71473_mk(s) { -function music_initVolume__P73881(s) { +function music_initVolume__P4001(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65168,12 +65397,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.globalVolume___73877 === null); + r0 = (globals.globalVolume___3997 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___73877 = (0); - s.tmp_0 = music_setVolume__P71472_mk(s); + globals.globalVolume___3997 = (0); + s.tmp_0 = music_setVolume__P1592_mk(s); r0 = pxsim_pxtcore.getConfig(59, 128); s.tmp_0.arg0 = r0; s.callLocIdx = 71; s.pc = 3; return s.tmp_0; @@ -65185,12 +65414,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_initVolume__P73881.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P4001.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__P73881_mk(s) { +function music_initVolume__P4001_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P73881, depth: s.depth + 1, + parent: s, fn: music_initVolume__P4001, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -65199,7 +65428,7 @@ function music_initVolume__P73881_mk(s) { -function scene_systemMenu_PauseMenu_show__P72501(s) { +function scene_systemMenu_PauseMenu_show__P2621(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65209,34 +65438,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___97691 = undefined; - s.i___97692 = undefined; + s.current___25346 = undefined; + s.i___25347 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C72499_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2619_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; s.tmp_2 = if_generator_1_mk(s); s.tmp_2.arg0 = s.arg0; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "generator"), 1); - s.callLocIdx = 931; s.pc = 3; return s.tmp_2; + s.callLocIdx = 929; s.pc = 3; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["generator"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["generator"], 1); s.callLocIdx = 931; s.pc = 3; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 931; s.pc = 3; return s.tmp_2;; } - else { s.callLocIdx = 931; s.pc = 3; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["generator"], 1); s.callLocIdx = 929; s.pc = 3; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 929; s.pc = 3; return s.tmp_2;; } + else { s.callLocIdx = 929; 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___97692 = (0); + s.i___25347 = (0); case 1: - s.tmp_1 = r0 = s.i___97692; + s.tmp_1 = r0 = s.i___25347; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -65247,22 +65476,22 @@ switch (step) { if (!r0) { step = 2; continue; } r0 = s.arg0.fields["options"]; s.tmp_4 = r0; - r0 = pxsim_Array__getAt(s.tmp_4, s.i___97692); - s.current___97691 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P72493_mk(s); - s.tmp_0.arg0 = s.current___97691; - s.callLocIdx = 932; s.pc = 4; return s.tmp_0; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___25347); + s.current___25346 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P2613_mk(s); + s.tmp_0.arg0 = s.current___25346; + s.callLocIdx = 930; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P72496_mk(s); - s.tmp_0.arg0 = s.current___97691; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P2616_mk(s); + s.tmp_0.arg0 = s.current___25346; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 933; s.pc = 5; return s.tmp_0; + s.callLocIdx = 931; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_position__P72494_mk(s); - s.tmp_0.arg0 = s.current___97691; + s.tmp_0 = scene_systemMenu_MenuOption_position__P2614_mk(s); + s.tmp_0.arg0 = s.current___25346; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -65272,12 +65501,12 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["padding"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["padding"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 934; s.pc = 7; return s.tmp_2; } + else { s.callLocIdx = 932; s.pc = 7; return s.tmp_2; } } case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___97692; + s.tmp_5 = r0 = s.i___25347; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -65287,7 +65516,7 @@ switch (step) { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["cardsPerRow"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 935; s.pc = 8; return s.tmp_7; } + else { s.callLocIdx = 933; s.pc = 8; return s.tmp_7; } } case 8: r0 = s.retval; @@ -65303,7 +65532,7 @@ switch (step) { s.tmp_10.fn = s.tmp_10.arg0.vtable.iface["cardWidth"]; if (s.tmp_10.fn == null) { s.retval = s.tmp_10.arg0.fields["cardWidth"]; } else if (!s.tmp_10.fn.isGetter) { s.retval = bind(s.tmp_10); } - else { s.callLocIdx = 936; s.pc = 9; return s.tmp_10; } + else { s.callLocIdx = 934; s.pc = 9; return s.tmp_10; } } case 9: r0 = s.retval; @@ -65317,7 +65546,7 @@ switch (step) { s.tmp_12.fn = s.tmp_12.arg0.vtable.iface["cardSpacing"]; if (s.tmp_12.fn == null) { s.retval = s.tmp_12.arg0.fields["cardSpacing"]; } else if (!s.tmp_12.fn.isGetter) { s.retval = bind(s.tmp_12); } - else { s.callLocIdx = 937; s.pc = 10; return s.tmp_12; } + else { s.callLocIdx = 935; s.pc = 10; return s.tmp_12; } } case 10: r0 = s.retval; @@ -65337,12 +65566,12 @@ switch (step) { s.tmp_14.fn = s.tmp_14.arg0.vtable.iface["cardsTop"]; if (s.tmp_14.fn == null) { s.retval = s.tmp_14.arg0.fields["cardsTop"]; } else if (!s.tmp_14.fn.isGetter) { s.retval = bind(s.tmp_14); } - else { s.callLocIdx = 938; s.pc = 11; return s.tmp_14; } + else { s.callLocIdx = 936; s.pc = 11; return s.tmp_14; } } case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___97692; + s.tmp_17 = r0 = s.i___25347; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -65352,7 +65581,7 @@ switch (step) { s.tmp_19.fn = s.tmp_19.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_19.fn == null) { s.retval = s.tmp_19.arg0.fields["cardsPerRow"]; } else if (!s.tmp_19.fn.isGetter) { s.retval = bind(s.tmp_19); } - else { s.callLocIdx = 939; s.pc = 12; return s.tmp_19; } + else { s.callLocIdx = 937; s.pc = 12; return s.tmp_19; } } case 12: r0 = s.retval; @@ -65368,7 +65597,7 @@ switch (step) { s.tmp_22.fn = s.tmp_22.arg0.vtable.iface["cardWidth"]; if (s.tmp_22.fn == null) { s.retval = s.tmp_22.arg0.fields["cardWidth"]; } else if (!s.tmp_22.fn.isGetter) { s.retval = bind(s.tmp_22); } - else { s.callLocIdx = 940; s.pc = 13; return s.tmp_22; } + else { s.callLocIdx = 938; s.pc = 13; return s.tmp_22; } } case 13: r0 = s.retval; @@ -65382,7 +65611,7 @@ switch (step) { s.tmp_24.fn = s.tmp_24.arg0.vtable.iface["cardSpacing"]; if (s.tmp_24.fn == null) { s.retval = s.tmp_24.arg0.fields["cardSpacing"]; } else if (!s.tmp_24.fn.isGetter) { s.retval = bind(s.tmp_24); } - else { s.callLocIdx = 941; s.pc = 14; return s.tmp_24; } + else { s.callLocIdx = 939; s.pc = 14; return s.tmp_24; } } case 14: r0 = s.retval; @@ -65393,116 +65622,116 @@ switch (step) { s.tmp_15 = r0; r0 = (s.tmp_13 + s.tmp_15); s.tmp_0.arg2 = r0; - s.callLocIdx = 942; s.pc = 6; return s.tmp_0; + s.callLocIdx = 940; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___97692 + 1); - s.i___97692 = (r0); + r0 = (s.i___25347 + 1); + s.i___25347 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = controller__setUserEventsEnabled__P71834_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P1954_mk(s); s.tmp_0.arg0 = false; - s.callLocIdx = 943; s.pc = 15; return s.tmp_0; + s.callLocIdx = 941; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P97755); + r0 = pxsim_pxtcore_mkAction(1, inline__P25410); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.A___71757; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.A___1877; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 945; s.pc = 16; return s.tmp_1; + s.callLocIdx = 943; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P97775); + r0 = pxsim_pxtcore_mkAction(1, inline__P25430); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.A___71757; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.A___1877; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 947; s.pc = 17; return s.tmp_1; + s.callLocIdx = 945; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P71790_mk(s); - s.tmp_0.arg0 = globals.B___71758; + s.tmp_0 = controller_Button_onEvent__P1910_mk(s); + s.tmp_0.arg0 = globals.B___1878; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P97804; - s.callLocIdx = 949; s.pc = 18; return s.tmp_0; + s.tmp_0.arg2 = inline__P25459; + s.callLocIdx = 947; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P71790_mk(s); - s.tmp_0.arg0 = globals.menu___71763; + s.tmp_0 = controller_Button_onEvent__P1910_mk(s); + s.tmp_0.arg0 = globals.menu___1883; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P97809; - s.callLocIdx = 951; s.pc = 19; return s.tmp_0; + s.tmp_0.arg2 = inline__P25464; + s.callLocIdx = 949; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P97814); + r0 = pxsim_pxtcore_mkAction(1, inline__P25469); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.up___71760; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.up___1880; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 955; s.pc = 20; return s.tmp_1; + s.callLocIdx = 953; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P97826); + r0 = pxsim_pxtcore_mkAction(1, inline__P25481); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.left___71759; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.left___1879; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 958; s.pc = 21; return s.tmp_1; + s.callLocIdx = 956; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P97835); + r0 = pxsim_pxtcore_mkAction(1, inline__P25490); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.down___71762; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.down___1882; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 962; s.pc = 22; return s.tmp_1; + s.callLocIdx = 960; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P97851); + r0 = pxsim_pxtcore_mkAction(1, inline__P25506); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P71790_mk(s); - s.tmp_1.arg0 = globals.right___71761; + s.tmp_1 = controller_Button_onEvent__P1910_mk(s); + s.tmp_1.arg0 = globals.right___1881; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 965; s.pc = 23; return s.tmp_1; + s.callLocIdx = 963; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P97863); + r0 = pxsim_pxtcore_mkAction(1, inline__P25518); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P72424_mk(s); + s.tmp_1 = game_onShade__P2544_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 968; s.pc = 24; return s.tmp_1; + s.callLocIdx = 966; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P72503_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2623_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 969; s.pc = 25; return s.tmp_0; + s.callLocIdx = 967; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show__P72501.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__P2621.info = {"start":3296,"length":2241,"line":123,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"show","argumentNames":["this"]} -function scene_systemMenu_PauseMenu_show__P72501_mk(s) { +function scene_systemMenu_PauseMenu_show__P2621_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P72501, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P2621, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65529,8 +65758,8 @@ function scene_systemMenu_PauseMenu_show__P72501_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___97691: undefined, - i___97692: undefined, + current___25346: undefined, + i___25347: undefined, arg0: undefined, } } @@ -65538,7 +65767,7 @@ function scene_systemMenu_PauseMenu_show__P72501_mk(s) { -function inline__P97755(s) { +function inline__P25410(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65576,7 +65805,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P72497_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P2617_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -65584,7 +65813,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); s.tmp_8.arg0 = r0; s.tmp_8.arg1 = 1; - s.callLocIdx = 944; s.pc = 6; return s.tmp_8; + s.callLocIdx = 942; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; case 5: @@ -65592,12 +65821,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P97755.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25410.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P97755_mk(s) { +function inline__P25410_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P97755, depth: s.depth + 1, + parent: s, fn: inline__P25410, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65616,7 +65845,7 @@ function inline__P97755_mk(s) { -function inline__P97775(s) { +function inline__P25430(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65654,7 +65883,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P72497_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P2617_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -65662,7 +65891,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); s.tmp_8.arg0 = r0; s.tmp_8.arg1 = 0; - s.callLocIdx = 946; s.pc = 6; return s.tmp_8; + s.callLocIdx = 944; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; r0 = s.caps[0].fields["options"]; @@ -65678,12 +65907,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P97775.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25430.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P97775_mk(s) { +function inline__P25430_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P97775, depth: s.depth + 1, + parent: s, fn: inline__P25430, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65702,7 +65931,7 @@ function inline__P97775_mk(s) { -function inline__P97804(s) { +function inline__P25459(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65712,20 +65941,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P72506_mk(s); - s.callLocIdx = 948; s.pc = 1; return s.tmp_0; + s.tmp_0 = scene_systemMenu_closeMenu__P2626_mk(s); + s.callLocIdx = 946; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P97804.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25459.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P97804_mk(s) { +function inline__P25459_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P97804, depth: s.depth + 1, + parent: s, fn: inline__P25459, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -65734,7 +65963,7 @@ function inline__P97804_mk(s) { -function inline__P97809(s) { +function inline__P25464(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65744,20 +65973,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P72506_mk(s); - s.callLocIdx = 950; s.pc = 1; return s.tmp_0; + s.tmp_0 = scene_systemMenu_closeMenu__P2626_mk(s); + s.callLocIdx = 948; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P97809.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25464.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P97809_mk(s) { +function inline__P25464_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P97809, depth: s.depth + 1, + parent: s, fn: inline__P25464, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -65766,7 +65995,7 @@ function inline__P97809_mk(s) { -function inline__P97814(s) { +function inline__P25469(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65776,9 +66005,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P72503_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2623_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P70005_mk(s); + s.tmp_1 = Math_max__P125_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -65791,30 +66020,30 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["cardsPerRow"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 952; s.pc = 3; return s.tmp_4; } + else { s.callLocIdx = 950; s.pc = 3; return s.tmp_4; } } case 3: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); s.tmp_1.arg1 = r0; - s.callLocIdx = 953; s.pc = 2; return s.tmp_1; + s.callLocIdx = 951; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 954; s.pc = 1; return s.tmp_0; + s.callLocIdx = 952; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P97814.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25469.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P97814_mk(s) { +function inline__P25469_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P97814, depth: s.depth + 1, + parent: s, fn: inline__P25469, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65827,7 +66056,7 @@ function inline__P97814_mk(s) { -function inline__P97826(s) { +function inline__P25481(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65837,31 +66066,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P72503_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2623_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P70005_mk(s); + s.tmp_1 = Math_max__P125_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1.arg1 = r0; - s.callLocIdx = 956; s.pc = 2; return s.tmp_1; + s.callLocIdx = 954; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 957; s.pc = 1; return s.tmp_0; + s.callLocIdx = 955; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P97826.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25481.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P97826_mk(s) { +function inline__P25481_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P97826, depth: s.depth + 1, + parent: s, fn: inline__P25481, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65872,7 +66101,7 @@ function inline__P97826_mk(s) { -function inline__P97835(s) { +function inline__P25490(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65882,9 +66111,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P72503_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2623_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P70006_mk(s); + s.tmp_1 = Math_min__P126_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -65902,30 +66131,30 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["cardsPerRow"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 959; s.pc = 3; return s.tmp_6; } + else { s.callLocIdx = 957; s.pc = 3; return s.tmp_6; } } case 3: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_1.arg1 = r0; - s.callLocIdx = 960; s.pc = 2; return s.tmp_1; + s.callLocIdx = 958; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 961; s.pc = 1; return s.tmp_0; + s.callLocIdx = 959; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P97835.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25490.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P97835_mk(s) { +function inline__P25490_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P97835, depth: s.depth + 1, + parent: s, fn: inline__P25490, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65940,7 +66169,7 @@ function inline__P97835_mk(s) { -function inline__P97851(s) { +function inline__P25506(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65950,9 +66179,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P72503_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2623_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P70006_mk(s); + s.tmp_1 = Math_min__P126_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -65963,23 +66192,23 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 1); s.tmp_1.arg1 = r0; - s.callLocIdx = 963; s.pc = 2; return s.tmp_1; + s.callLocIdx = 961; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 964; s.pc = 1; return s.tmp_0; + s.callLocIdx = 962; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P97851.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25506.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P97851_mk(s) { +function inline__P25506_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P97851, depth: s.depth + 1, + parent: s, fn: inline__P25506, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65992,7 +66221,7 @@ function inline__P97851_mk(s) { -function inline__P97863(s) { +function inline__P25518(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66002,26 +66231,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P72502_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P2622_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 966; s.pc = 1; return s.tmp_0; + s.callLocIdx = 964; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P72504_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P2624_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 967; s.pc = 2; return s.tmp_0; + s.callLocIdx = 965; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P97863.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25518.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P97863_mk(s) { +function inline__P25518_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P97863, depth: s.depth + 1, + parent: s, fn: inline__P25518, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -66030,7 +66259,7 @@ function inline__P97863_mk(s) { -function scene_systemMenu_PauseMenu_drawText__P72504(s) { +function scene_systemMenu_PauseMenu_drawText__P2624(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66045,7 +66274,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C72499_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2619_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -66057,11 +66286,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = helpers_imageFillRect__P71608_mk(s); - s.tmp_3.arg0 = globals.screen___71682; + s.tmp_3 = helpers_imageFillRect__P1728_mk(s); + s.tmp_3.arg0 = globals.screen___1802; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_3.arg3 = r0; s.tmp_5 = if_cardsTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -66072,7 +66301,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["cardsTop"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["cardsTop"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 980; s.pc = 5; return s.tmp_5; } + else { s.callLocIdx = 978; s.pc = 5; return s.tmp_5; } } case 5: r0 = s.retval; @@ -66080,11 +66309,11 @@ switch (step) { r0 = (s.tmp_4 - 2); s.tmp_3.arg4 = r0; s.tmp_3.arg5 = 15; - s.callLocIdx = 981; s.pc = 4; return s.tmp_3; + s.callLocIdx = 979; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P71639_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrintCenter__P1759_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_1 = if_headerText_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -66094,7 +66323,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["headerText"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["headerText"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 982; s.pc = 7; return s.tmp_1; } + else { s.callLocIdx = 980; s.pc = 7; return s.tmp_1; } } case 7: r0 = s.retval; @@ -66110,16 +66339,16 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["headerFont"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["headerFont"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 983; s.pc = 8; return s.tmp_2; } + else { s.callLocIdx = 981; s.pc = 8; return s.tmp_2; } } case 8: r0 = s.retval; s.tmp_0.arg4 = r0; - s.callLocIdx = 984; s.pc = 6; return s.tmp_0; + s.callLocIdx = 982; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = 0; s.tmp_2 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -66130,16 +66359,16 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["infoTop"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["infoTop"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 985; s.pc = 10; return s.tmp_2; } + else { s.callLocIdx = 983; 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___71682); + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___71682); + r0 = pxsim_ImageMethods.height(globals.screen___1802); s.tmp_4 = r0; s.tmp_6 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -66150,7 +66379,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["infoTop"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["infoTop"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 986; s.pc = 11; return s.tmp_6; } + else { s.callLocIdx = 984; s.pc = 11; return s.tmp_6; } } case 11: r0 = s.retval; @@ -66160,11 +66389,11 @@ switch (step) { r0 = (s.tmp_3 + 6); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 15; - s.callLocIdx = 987; s.pc = 9; return s.tmp_0; + s.callLocIdx = 985; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P71608_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imageFillRect__P1728_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_1 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -66174,7 +66403,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["padding"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["padding"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 988; s.pc = 13; return s.tmp_1; } + else { s.callLocIdx = 986; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; @@ -66188,12 +66417,12 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["infoTop"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["infoTop"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 989; s.pc = 14; return s.tmp_2; } + else { s.callLocIdx = 987; s.pc = 14; return s.tmp_2; } } case 14: r0 = s.retval; s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_3 = r0; s.tmp_6 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -66204,7 +66433,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["padding"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["padding"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 990; s.pc = 15; return s.tmp_6; } + else { s.callLocIdx = 988; s.pc = 15; return s.tmp_6; } } case 15: r0 = s.retval; @@ -66223,7 +66452,7 @@ switch (step) { s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["infoFont"]; if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["infoFont"]; } else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } - else { s.callLocIdx = 991; s.pc = 17; return s.tmp_9; } + else { s.callLocIdx = 989; s.pc = 17; return s.tmp_9; } } case 17: r0 = s.retval; @@ -66234,7 +66463,7 @@ switch (step) { s.tmp_8.fn = s.tmp_8.arg0.vtable.iface["charHeight"]; if (s.tmp_8.fn == null) { s.retval = s.tmp_8.arg0.fields["charHeight"]; } else if (!s.tmp_8.fn.isGetter) { s.retval = bind(s.tmp_8); } - else { s.callLocIdx = 992; s.pc = 16; return s.tmp_8; } + else { s.callLocIdx = 990; s.pc = 16; return s.tmp_8; } } case 16: r0 = s.retval; @@ -66242,11 +66471,11 @@ switch (step) { r0 = (s.tmp_7 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 993; s.pc = 12; return s.tmp_0; + s.callLocIdx = 991; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P71639_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrintCenter__P1759_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_1 = if_getText_1_mk(s); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; @@ -66256,12 +66485,12 @@ switch (step) { s.tmp_1.arg0 = r0; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "getText"), 1); - s.callLocIdx = 994; s.pc = 19; return s.tmp_1; + s.callLocIdx = 992; s.pc = 19; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["getText"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["getText"], 1); s.callLocIdx = 994; s.pc = 19; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 994; s.pc = 19; return s.tmp_1;; } - else { s.callLocIdx = 994; s.pc = 19; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["getText"], 1); s.callLocIdx = 992; s.pc = 19; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 992; s.pc = 19; return s.tmp_1;; } + else { s.callLocIdx = 992; s.pc = 19; return s.tmp_1; } } case 19: r0 = s.retval; @@ -66275,7 +66504,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["infoTop"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["infoTop"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 995; s.pc = 20; return s.tmp_5; } + else { s.callLocIdx = 993; s.pc = 20; return s.tmp_5; } } case 20: r0 = s.retval; @@ -66292,12 +66521,12 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["infoFont"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["infoFont"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 996; s.pc = 21; return s.tmp_6; } + else { s.callLocIdx = 994; s.pc = 21; return s.tmp_6; } } case 21: r0 = s.retval; s.tmp_0.arg4 = r0; - s.callLocIdx = 997; s.pc = 18; return s.tmp_0; + s.callLocIdx = 995; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 3: @@ -66305,12 +66534,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_drawText__P72504.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__P2624.info = {"start":6927,"length":795,"line":224,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"drawText","argumentNames":["this"]} -function scene_systemMenu_PauseMenu_drawText__P72504_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P2624_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P72504, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P2624, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66329,7 +66558,7 @@ function scene_systemMenu_PauseMenu_drawText__P72504_mk(s) { -function helpers_imagePrintCenter__P71639(s) { +function helpers_imagePrintCenter__P1759(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66339,8 +66568,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___97950 = undefined; - s.x___97956 = undefined; + s.w___25605 = undefined; + s.x___25611 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -66355,7 +66584,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P71627_mk(s); + s.tmp_2 = image_getFontForText__P1747_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 105; s.pc = 3; return s.tmp_2; case 3: @@ -66379,17 +66608,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___97950 = (r0); + s.w___25605 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___97950); + r0 = (s.tmp_1 - s.w___25605); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___97956 = (r0); - s.tmp_0 = helpers_imagePrint__P71640_mk(s); + s.x___25611 = (r0); + s.tmp_0 = helpers_imagePrint__P1760_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___97956; + s.tmp_0.arg2 = s.x___25611; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; @@ -66401,18 +66630,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrintCenter__P71639.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__P1759.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__P71639_mk(s) { +function helpers_imagePrintCenter__P1759_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P71639, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P1759, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___97950: undefined, - x___97956: undefined, + w___25605: undefined, + x___25611: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -66424,7 +66653,7 @@ function helpers_imagePrintCenter__P71639_mk(s) { -function scene_systemMenu_PauseMenu_setSelection__P72503(s) { +function scene_systemMenu_PauseMenu_setSelection__P2623(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66440,7 +66669,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C72499_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2619_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -66460,7 +66689,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_6 = scene_systemMenu_MenuOption_setState__P72497_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P2617_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -66468,7 +66697,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_7, s.tmp_8); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = 2; - s.callLocIdx = 977; s.pc = 10; return s.tmp_6; + s.callLocIdx = 975; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; case 3: @@ -66482,9 +66711,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = controller_Button__C71783_v0_1_mk(s); - s.tmp_4.arg0 = globals.A___71757; - if (!checkSubtype(s.tmp_4.arg0, controller_Button__C71783_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = controller_Button__C1903_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___1877; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C1903_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: @@ -66499,7 +66728,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P72497_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P2617_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -66507,14 +66736,14 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_7, s.tmp_8); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = s.tmp_5; - s.callLocIdx = 978; s.pc = 12; return s.tmp_6; + s.callLocIdx = 976; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P74417_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P4537_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 979; s.pc = 13; return s.tmp_0; + s.callLocIdx = 977; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 9: @@ -66522,12 +66751,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_setSelection__P72503.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__P2623.info = {"start":6436,"length":481,"line":208,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setSelection","argumentNames":["this","selection"]} -function scene_systemMenu_PauseMenu_setSelection__P72503_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P2623_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P72503, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P2623, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66546,7 +66775,7 @@ function scene_systemMenu_PauseMenu_setSelection__P72503_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P74417(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P4537(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66556,13 +66785,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___98103 = undefined; + s.row___25758 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C72499_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2619_VT)) failedCast(r0); r0 = s.arg0.fields["selection"]; s.tmp_0 = r0; s.tmp_2 = if_cardsPerRow_1_mk(s); @@ -66574,23 +66803,23 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["cardsPerRow"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1000; s.pc = 8; return s.tmp_2; } + else { s.callLocIdx = 998; 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___98103 = (r0); + s.row___25758 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___98103 === s.tmp_1); + r0 = (s.row___25758 === 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___98103 - 1); + r0 = (s.row___25758 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -66605,7 +66834,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___98103 > s.tmp_6); + r0 = (s.row___25758 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -66636,7 +66865,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["cardSpacing"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["cardSpacing"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1001; s.pc = 9; return s.tmp_5; } + else { s.callLocIdx = 999; s.pc = 9; return s.tmp_5; } } case 9: r0 = s.retval; @@ -66650,7 +66879,7 @@ switch (step) { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["cardWidth"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["cardWidth"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 1002; s.pc = 10; return s.tmp_7; } + else { s.callLocIdx = 1000; s.pc = 10; return s.tmp_7; } } case 10: r0 = s.retval; @@ -66665,12 +66894,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_updateScrollTarget__P74417.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__P4537.info = {"start":7907,"length":458,"line":250,"column":8,"endLine":260,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"updateScrollTarget","argumentNames":["this"]} -function scene_systemMenu_PauseMenu_updateScrollTarget__P74417_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P4537_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P74417, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P4537, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66682,7 +66911,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P74417_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___98103: undefined, + row___25758: undefined, arg0: undefined, } } @@ -66690,7 +66919,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P74417_mk(s) { -function scene_systemMenu_PauseMenu_onUpdate__P72502(s) { +function scene_systemMenu_PauseMenu_onUpdate__P2622(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66700,22 +66929,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___97972 = undefined; - s.i___97976 = undefined; - s.dt___98005 = undefined; + s.t___25627 = undefined; + s.i___25631 = undefined; + s.dt___25660 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C72499_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2619_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___97972 = (r0); - s.i___97976 = (0); + s.t___25627 = (r0); + s.i___25631 = (0); case 1: - s.tmp_1 = r0 = s.i___97976; + s.tmp_1 = r0 = s.i___25631; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -66724,13 +66953,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P72495_mk(s); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P2615_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___97976); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___25631); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___97972; - s.tmp_11 = r0 = s.i___97976; + s.tmp_8 = r0 = s.t___25627; + s.tmp_11 = r0 = s.i___25631; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -66740,7 +66969,7 @@ switch (step) { s.tmp_13.fn = s.tmp_13.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_13.fn == null) { s.retval = s.tmp_13.arg0.fields["cardsPerRow"]; } else if (!s.tmp_13.fn.isGetter) { s.retval = bind(s.tmp_13); } - else { s.callLocIdx = 970; s.pc = 11; return s.tmp_13; } + else { s.callLocIdx = 968; s.pc = 11; return s.tmp_13; } } case 11: r0 = s.retval; @@ -66755,15 +66984,15 @@ switch (step) { s.tmp_6 = r0; r0 = (2 * s.tmp_6); s.tmp_4.arg1 = r0; - s.callLocIdx = 971; s.pc = 10; return s.tmp_4; + s.callLocIdx = 969; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___97976 + 1); - s.i___97976 = (r0); + r0 = (s.i___25631 + 1); + s.i___25631 = (r0); { step = 1; continue; } case 2: - s.tmp_1 = game_currentScene__P72409_mk(s); - s.callLocIdx = 972; s.pc = 12; return s.tmp_1; + s.tmp_1 = game_currentScene__P2529_mk(s); + s.callLocIdx = 970; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; r0 = r0.fields["eventContext"]; @@ -66771,7 +67000,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___98005 = (r0); + s.dt___25660 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -66783,7 +67012,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___98005 * 100); + r0 = (s.dt___25660 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -66801,7 +67030,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___98005 * 100); + r0 = (s.dt___25660 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -66811,14 +67040,14 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_2 = Math_abs__P70003_mk(s); + s.tmp_2 = Math_abs__P123_mk(s); r0 = s.arg0.fields["scrollOffset"]; s.tmp_3 = r0; r0 = s.arg0.fields["scrollTarget"]; s.tmp_4 = r0; r0 = (s.tmp_3 - s.tmp_4); s.tmp_2.arg0 = r0; - s.callLocIdx = 974; s.pc = 13; return s.tmp_2; + s.callLocIdx = 972; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; @@ -66831,16 +67060,16 @@ switch (step) { r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); case 7: case 8: - s.tmp_0 = scene_Camera_offsetY__P72245_mk(s); - s.tmp_1 = game_currentScene__P72409_mk(s); - s.callLocIdx = 975; s.pc = 15; return s.tmp_1; + s.tmp_0 = scene_Camera_offsetY__P2365_mk(s); + s.tmp_1 = game_currentScene__P2529_mk(s); + s.callLocIdx = 973; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; r0 = r0.fields["camera"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["scrollOffset"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 976; s.pc = 14; return s.tmp_0; + s.callLocIdx = 974; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 9: @@ -66848,12 +67077,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_onUpdate__P72502.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__P2622.info = {"start":5547,"length":879,"line":183,"column":8,"endLine":206,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"onUpdate","argumentNames":["this"]} -function scene_systemMenu_PauseMenu_onUpdate__P72502_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P2622_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P72502, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P2622, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66869,9 +67098,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P72502_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___97972: undefined, - i___97976: undefined, - dt___98005: undefined, + t___25627: undefined, + i___25631: undefined, + dt___25660: undefined, arg0: undefined, } } @@ -66879,7 +67108,7 @@ function scene_systemMenu_PauseMenu_onUpdate__P72502_mk(s) { -function scene_systemMenu_MenuOption_setOffset__P72495(s) { +function scene_systemMenu_MenuOption_setOffset__P2615(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66895,40 +67124,40 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C72491_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P71947_mk(s); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2611_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P2067_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["top"]; s.tmp_1 = r0; r0 = (s.tmp_1 + s.arg1); s.tmp_0.arg1 = r0; - s.callLocIdx = 913; s.pc = 1; return s.tmp_0; + s.callLocIdx = 911; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P71907_mk(s); + s.tmp_1 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 914; s.pc = 3; return s.tmp_1; + s.callLocIdx = 912; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 915; s.pc = 2; return s.tmp_0; + s.callLocIdx = 913; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setOffset__P72495.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__P2615.info = {"start":1411,"length":123,"line":61,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setOffset","argumentNames":["this","offset"]} -function scene_systemMenu_MenuOption_setOffset__P72495_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P2615_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P72495, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P2615, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66940,7 +67169,7 @@ function scene_systemMenu_MenuOption_setOffset__P72495_mk(s) { -function scene_systemMenu_MenuOption_setState__P72497(s) { +function scene_systemMenu_MenuOption_setState__P2617(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66956,7 +67185,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C72491_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2611_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg1); @@ -66967,9 +67196,9 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P74416_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P4536_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 917; s.pc = 4; return s.tmp_0; + s.callLocIdx = 915; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 3: @@ -66977,12 +67206,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setState__P72497.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__P2617.info = {"start":1655,"length":147,"line":71,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setState","argumentNames":["this","state"]} -function scene_systemMenu_MenuOption_setState__P72497_mk(s) { +function scene_systemMenu_MenuOption_setState__P2617_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P72497, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setState__P2617, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66994,7 +67223,7 @@ function scene_systemMenu_MenuOption_setState__P72497_mk(s) { -function scene_systemMenu_MenuOption_updateCard__P74416(s) { +function scene_systemMenu_MenuOption_updateCard__P4536(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67009,7 +67238,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C72491_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2611_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -67032,7 +67261,7 @@ switch (step) { r0 = s.tmp_3; { step = 6; continue; } case 3: - s.tmp_4 = Sprite_setImage__P71936_mk(s); + s.tmp_4 = Sprite_setImage__P2056_mk(s); r0 = s.arg0.fields["card"]; s.tmp_4.arg0 = r0; s.tmp_5 = if_basicCard_1_mk(s); @@ -67044,17 +67273,17 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["basicCard"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["basicCard"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 920; s.pc = 9; return s.tmp_5; } + else { s.callLocIdx = 918; s.pc = 9; return s.tmp_5; } } case 9: r0 = s.retval; s.tmp_4.arg1 = r0; - s.callLocIdx = 921; s.pc = 8; return s.tmp_4; + s.callLocIdx = 919; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; { step = 6; continue; } case 4: - s.tmp_0 = Sprite_setImage__P71936_mk(s); + s.tmp_0 = Sprite_setImage__P2056_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_selectedCard_1_mk(s); @@ -67066,17 +67295,17 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["selectedCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["selectedCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 922; s.pc = 11; return s.tmp_1; } + else { s.callLocIdx = 920; s.pc = 11; return s.tmp_1; } } case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 923; s.pc = 10; return s.tmp_0; + s.callLocIdx = 921; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = Sprite_setImage__P71936_mk(s); + s.tmp_0 = Sprite_setImage__P2056_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_activeCard_1_mk(s); @@ -67088,39 +67317,39 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["activeCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["activeCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 924; s.pc = 13; return s.tmp_1; } + else { s.callLocIdx = 922; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 925; s.pc = 12; return s.tmp_0; + s.callLocIdx = 923; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; case 6: - s.tmp_0 = Sprite_x__P71906_mk(s); + s.tmp_0 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P71905_mk(s); + s.tmp_1 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 926; s.pc = 15; return s.tmp_1; + s.callLocIdx = 924; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 927; s.pc = 14; return s.tmp_0; + s.callLocIdx = 925; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P71907_mk(s); + s.tmp_1 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 928; s.pc = 17; return s.tmp_1; + s.callLocIdx = 926; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 929; s.pc = 16; return s.tmp_0; + s.callLocIdx = 927; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; case 7: @@ -67128,12 +67357,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_updateCard__P74416.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__P4536.info = {"start":2038,"length":497,"line":86,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"updateCard","argumentNames":["this"]} -function scene_systemMenu_MenuOption_updateCard__P74416_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P4536_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P74416, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P4536, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67148,7 +67377,7 @@ function scene_systemMenu_MenuOption_updateCard__P74416_mk(s) { -function scene_systemMenu_MenuOption_setTheme__P72496(s) { +function scene_systemMenu_MenuOption_setTheme__P2616(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67164,23 +67393,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C72491_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2611_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P74416_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P4536_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 916; s.pc = 1; return s.tmp_0; + s.callLocIdx = 914; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setTheme__P72496.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__P2616.info = {"start":1544,"length":101,"line":66,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setTheme","argumentNames":["this","theme"]} -function scene_systemMenu_MenuOption_setTheme__P72496_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P2616_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P72496, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P2616, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -67191,7 +67420,7 @@ function scene_systemMenu_MenuOption_setTheme__P72496_mk(s) { -function scene_systemMenu_MenuOption_position__P72494(s) { +function scene_systemMenu_MenuOption_position__P2614(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67208,58 +67437,58 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C72491_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2611_VT)) failedCast(r0); r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P71943_mk(s); + s.tmp_0 = Sprite_left__P2063_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 907; s.pc = 1; return s.tmp_0; + s.callLocIdx = 905; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_top__P71947_mk(s); + s.tmp_0 = Sprite_top__P2067_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 908; s.pc = 2; return s.tmp_0; + s.callLocIdx = 906; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_x__P71906_mk(s); + s.tmp_0 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P71905_mk(s); + s.tmp_1 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 909; s.pc = 4; return s.tmp_1; + s.callLocIdx = 907; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 910; s.pc = 3; return s.tmp_0; + s.callLocIdx = 908; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P71907_mk(s); + s.tmp_1 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 911; s.pc = 6; return s.tmp_1; + s.callLocIdx = 909; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 912; s.pc = 5; return s.tmp_0; + s.callLocIdx = 910; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_position__P72494.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__P2614.info = {"start":1178,"length":223,"line":51,"column":8,"endLine":59,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"position","argumentNames":["this","left","top"]} -function scene_systemMenu_MenuOption_position__P72494_mk(s) { +function scene_systemMenu_MenuOption_position__P2614_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_position__P72494, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P2614, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67272,7 +67501,7 @@ function scene_systemMenu_MenuOption_position__P72494_mk(s) { -function scene_systemMenu_MenuOption_show__P72493(s) { +function scene_systemMenu_MenuOption_show__P2613(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67287,7 +67516,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C72491_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2611_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -67301,21 +67530,21 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["basicCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["basicCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 902; s.pc = 3; return s.tmp_1; } + else { s.callLocIdx = 900; s.pc = 3; return s.tmp_1; } } case 3: r0 = s.retval; { step = 2; continue; } case 1: - r0 = globals.CARD_NORMAL___72515; + r0 = globals.CARD_NORMAL___2635; case 2: // jmp value (already in r0) s.tmp_2 = r0; s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P71854_mk(s); + s.tmp_5 = sprites_create__P1974_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; - s.callLocIdx = 903; s.pc = 4; return s.tmp_5; + s.callLocIdx = 901; s.pc = 4; return s.tmp_5; case 4: r0 = s.retval; s.tmp_4 = r0; @@ -67330,16 +67559,16 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.callLocIdx = 904; s.pc = 5; return s.tmp_0; } + else { s.callLocIdx = 902; s.pc = 5; return s.tmp_0; } } case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P71854_mk(s); + s.tmp_2 = sprites_create__P1974_mk(s); r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; - s.callLocIdx = 905; s.pc = 6; return s.tmp_2; + s.callLocIdx = 903; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; @@ -67354,7 +67583,7 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.callLocIdx = 906; s.pc = 7; return s.tmp_0; } + else { s.callLocIdx = 904; s.pc = 7; return s.tmp_0; } } case 7: r0 = s.retval; @@ -67363,12 +67592,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_show__P72493.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__P2613.info = {"start":904,"length":264,"line":41,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"show","argumentNames":["this"]} -function scene_systemMenu_MenuOption_show__P72493_mk(s) { +function scene_systemMenu_MenuOption_show__P2613_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_show__P72493, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P2613, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67383,7 +67612,7 @@ function scene_systemMenu_MenuOption_show__P72493_mk(s) { -function scene_systemMenu_PauseMenu_constructor__P72500(s) { +function scene_systemMenu_PauseMenu_constructor__P2620(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67400,7 +67629,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C72499_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2619_VT)) failedCast(r0); r0 = (s.arg0).fields["generator"] = (s.arg1); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); @@ -67408,13 +67637,13 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = scene_systemMenu_buildMenuTheme__P72508_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___72515); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P2628_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___2635); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; s.tmp_1.arg3 = undefined; - s.callLocIdx = 930; s.pc = 3; return s.tmp_1; + s.callLocIdx = 928; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 2: @@ -67428,12 +67657,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_constructor__P72500.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__P2620.info = {"start":3029,"length":257,"line":116,"column":8,"endLine":121,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["this","generator","theme"]} -function scene_systemMenu_PauseMenu_constructor__P72500_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P2620_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P72500, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P2620, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67447,7 +67676,7 @@ function scene_systemMenu_PauseMenu_constructor__P72500_mk(s) { -function scene_systemMenu_buildMenuTheme__P72508(s) { +function scene_systemMenu_buildMenuTheme__P2628(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67457,7 +67686,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___98695 = undefined; + s.cardsPerRow___26350 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -67465,19 +67694,19 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___71682); + r0 = pxsim_ImageMethods.width(globals.screen___1802); 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___98695 = (r0); + s.cardsPerRow___26350 = (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___71625; + r0 = globals.font8___1745; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -67488,9 +67717,9 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = image_doubledFont__P71628_mk(s); + s.tmp_1 = image_doubledFont__P1748_mk(s); s.tmp_1.arg0 = s.arg2; - s.callLocIdx = 1039; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1037; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; case 4: @@ -67501,12 +67730,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardSpacing", s.arg1); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardWidth", s.arg0); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___98695); - r0 = pxsim_ImageMethods.width(globals.screen___71682); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___26350); + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_3 = r0; - r0 = (s.cardsPerRow___98695 * s.arg0); + r0 = (s.cardsPerRow___26350 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___98695 - 1); + r0 = (s.cardsPerRow___26350 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -67527,7 +67756,7 @@ switch (step) { s.tmp_11.fn = s.tmp_11.arg0.vtable.iface["charHeight"]; if (s.tmp_11.fn == null) { s.retval = s.tmp_11.arg0.fields["charHeight"]; } else if (!s.tmp_11.fn.isGetter) { s.retval = bind(s.tmp_11); } - else { s.callLocIdx = 1040; s.pc = 6; return s.tmp_11; } + else { s.callLocIdx = 1038; s.pc = 6; return s.tmp_11; } } case 6: r0 = s.retval; @@ -67537,7 +67766,7 @@ switch (step) { r0 = (s.tmp_9 + s.arg1); s.tmp_8 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsTop", s.tmp_8); - r0 = pxsim_ImageMethods.height(globals.screen___71682); + r0 = pxsim_ImageMethods.height(globals.screen___1802); s.tmp_14 = r0; s.tmp_16 = if_charHeight_1_mk(s); s.tmp_16.arg0 = s.arg2; @@ -67547,7 +67776,7 @@ switch (step) { s.tmp_16.fn = s.tmp_16.arg0.vtable.iface["charHeight"]; if (s.tmp_16.fn == null) { s.retval = s.tmp_16.arg0.fields["charHeight"]; } else if (!s.tmp_16.fn.isGetter) { s.retval = bind(s.tmp_16); } - else { s.callLocIdx = 1041; s.pc = 7; return s.tmp_16; } + else { s.callLocIdx = 1039; s.pc = 7; return s.tmp_16; } } case 7: r0 = s.retval; @@ -67558,19 +67787,19 @@ switch (step) { s.tmp_12 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "infoTop", s.tmp_12); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "headerText", "PAUSED"); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___72516); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___72517); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___72515); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___2636); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___2637); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___2635); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildMenuTheme__P72508.info = {"start":11539,"length":906,"line":353,"column":4,"endLine":372,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildMenuTheme","argumentNames":["cardWidth","cardSpacing","infoFont","headerFont"]} +scene_systemMenu_buildMenuTheme__P2628.info = {"start":11539,"length":906,"line":353,"column":4,"endLine":372,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildMenuTheme","argumentNames":["cardWidth","cardSpacing","infoFont","headerFont"]} -function scene_systemMenu_buildMenuTheme__P72508_mk(s) { +function scene_systemMenu_buildMenuTheme__P2628_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P72508, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P2628, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67589,7 +67818,7 @@ function scene_systemMenu_buildMenuTheme__P72508_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___98695: undefined, + cardsPerRow___26350: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -67600,7 +67829,7 @@ function scene_systemMenu_buildMenuTheme__P72508_mk(s) { -function image_doubledFont__P71628(s) { +function image_doubledFont__P1748(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67614,7 +67843,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_scaledFont__P71629_mk(s); + s.tmp_0 = image_scaledFont__P1749_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.callLocIdx = 99; s.pc = 1; return s.tmp_0; @@ -67623,12 +67852,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_doubledFont__P71628.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__P1748.info = {"start":12008,"length":82,"line":146,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/screen/text.ts","functionName":"doubledFont","argumentNames":["f"]} -function image_doubledFont__P71628_mk(s) { +function image_doubledFont__P1748_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_doubledFont__P71628, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P1748, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -67638,7 +67867,7 @@ function image_doubledFont__P71628_mk(s) { -function image_scaledFont__P71629(s) { +function image_scaledFont__P1749(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67753,12 +67982,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_scaledFont__P71629.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__P1749.info = {"start":12096,"length":331,"line":150,"column":4,"endLine":160,"endColumn":5,"fileName":"pxt_modules/screen/text.ts","functionName":"scaledFont","argumentNames":["f","size"]} -function image_scaledFont__P71629_mk(s) { +function image_scaledFont__P1749_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_scaledFont__P71629, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P1749, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67784,7 +68013,7 @@ function image_scaledFont__P71629_mk(s) { -function scene_systemMenu_initScreen__P74429(s) { +function scene_systemMenu_initScreen__P4549(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67794,21 +68023,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___98775 = undefined; - s.tmp_0 = settings_readNumber__P71713_mk(s); + s.brightness___26430 = undefined; + s.tmp_0 = settings_readNumber__P1833_mk(s); s.tmp_0.arg0 = "#brightness"; - s.callLocIdx = 1048; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1046; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___98775 = (r0); - r0 = (s.brightness___98775 !== undefined); + s.brightness___26430 = (r0); + r0 = (s.brightness___26430 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_setScreenBrightness__P71615_mk(s); - s.tmp_1.arg0 = globals.screen___71682; - s.tmp_1.arg1 = s.brightness___98775; - s.callLocIdx = 1049; s.pc = 4; return s.tmp_1; + s.tmp_1 = helpers_setScreenBrightness__P1735_mk(s); + s.tmp_1.arg0 = globals.screen___1802; + s.tmp_1.arg1 = s.brightness___26430; + s.callLocIdx = 1047; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -67817,23 +68046,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initScreen__P74429.info = {"start":13273,"length":175,"line":402,"column":4,"endLine":406,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"initScreen","argumentNames":[]} +scene_systemMenu_initScreen__P4549.info = {"start":13273,"length":175,"line":402,"column":4,"endLine":406,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"initScreen","argumentNames":[]} -function scene_systemMenu_initScreen__P74429_mk(s) { +function scene_systemMenu_initScreen__P4549_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initScreen__P74429, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initScreen__P4549, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___98775: undefined, + brightness___26430: undefined, } } -function scene_systemMenu_initVolume__P74428(s) { +function scene_systemMenu_initVolume__P4548(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67843,20 +68072,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___98785 = undefined; - s.tmp_0 = settings_readNumber__P71713_mk(s); + s.vol___26440 = undefined; + s.tmp_0 = settings_readNumber__P1833_mk(s); s.tmp_0.arg0 = "#volume"; - s.callLocIdx = 1046; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1044; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___98785 = (r0); - r0 = (s.vol___98785 !== undefined); + s.vol___26440 = (r0); + r0 = (s.vol___26440 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_setVolume__P71472_mk(s); - s.tmp_1.arg0 = s.vol___98785; - s.callLocIdx = 1047; s.pc = 4; return s.tmp_1; + s.tmp_1 = music_setVolume__P1592_mk(s); + s.tmp_1.arg0 = s.vol___26440; + s.callLocIdx = 1045; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -67865,23 +68094,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initVolume__P74428.info = {"start":13123,"length":144,"line":396,"column":4,"endLine":400,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"initVolume","argumentNames":[]} +scene_systemMenu_initVolume__P4548.info = {"start":13123,"length":144,"line":396,"column":4,"endLine":400,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"initVolume","argumentNames":[]} -function scene_systemMenu_initVolume__P74428_mk(s) { +function scene_systemMenu_initVolume__P4548_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P74428, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P4548, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___98785: undefined, + vol___26440: undefined, } } -function game_currentScene__P72409(s) { +function game_currentScene__P2529(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67891,21 +68120,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P74170_mk(s); + s.tmp_0 = game_init__P4290_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 847; s.pc = 1; return s.tmp_0; + s.callLocIdx = 845; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___74162; + r0 = globals._scene___4282; return leave(s, r0) default: oops() } } } -game_currentScene__P72409.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P2529.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} -function game_currentScene__P72409_mk(s) { +function game_currentScene__P2529_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_currentScene__P72409, depth: s.depth + 1, + parent: s, fn: game_currentScene__P2529, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -67914,7 +68143,7 @@ function game_currentScene__P72409_mk(s) { -function game_addScenePopHandler__P72428(s) { +function game_addScenePopHandler__P2548(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67928,35 +68157,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___74165); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___4285); 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___74165 = (r0); + globals._scenePopHandlers___4285 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___74165, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___4285, 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___74165, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___4285, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePopHandler__P72428.info = {"start":11754,"length":237,"line":368,"column":4,"endLine":372,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} +game_addScenePopHandler__P2548.info = {"start":11754,"length":237,"line":368,"column":4,"endLine":372,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} -function game_addScenePopHandler__P72428_mk(s) { +function game_addScenePopHandler__P2548_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePopHandler__P72428, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P2548, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67967,7 +68196,7 @@ function game_addScenePopHandler__P72428_mk(s) { -function game_addScenePushHandler__P72426(s) { +function game_addScenePushHandler__P2546(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67981,35 +68210,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___74164); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___4284); 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___74164 = (r0); + globals._scenePushHandlers___4284 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___74164, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___4284, 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___74164, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___4284, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePushHandler__P72426.info = {"start":10753,"length":242,"line":344,"column":4,"endLine":348,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} +game_addScenePushHandler__P2546.info = {"start":10753,"length":242,"line":344,"column":4,"endLine":348,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} -function game_addScenePushHandler__P72426_mk(s) { +function game_addScenePushHandler__P2546_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePushHandler__P72426, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P2546, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68020,7 +68249,7 @@ function game_addScenePushHandler__P72426_mk(s) { -function Fx8__P70024(s) { +function Fx8__P144(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68040,12 +68269,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx8__P70024.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} +Fx8__P144.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__P70024_mk(s) { +function Fx8__P144_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx8__P70024, depth: s.depth + 1, + parent: s, fn: Fx8__P144, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -68055,7 +68284,7 @@ function Fx8__P70024_mk(s) { -function SpriteKind_create__P72007(s) { +function SpriteKind_create__P2127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68065,26 +68294,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___74015 === undefined); + r0 = (globals.nextKind___4135 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___74015 = (1000); + globals.nextKind___4135 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___74015; + s.tmp_0 = r0 = globals.nextKind___4135; r0 = (s.tmp_0 + 1); - globals.nextKind___74015 = (r0); + globals.nextKind___4135 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -SpriteKind_create__P72007.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P2127.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__P72007_mk(s) { +function SpriteKind_create__P2127_mk(s) { checkStack(s.depth); return { - parent: s, fn: SpriteKind_create__P72007, depth: s.depth + 1, + parent: s, fn: SpriteKind_create__P2127, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -68093,7 +68322,7 @@ function SpriteKind_create__P72007_mk(s) { -function controller_Button_constructor__P71789(s) { +function controller_Button_constructor__P1909(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68110,7 +68339,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C71783_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1903_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["_pressed"] = (false); r0 = (s.arg0).fields["repeatDelay"] = (undefined); @@ -68120,13 +68349,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P98861); + r0 = pxsim_pxtcore_mkAction(1, inline__P26516); 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__P98868); + r0 = pxsim_pxtcore_mkAction(1, inline__P26523); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -68145,12 +68374,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_constructor__P71789.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__P1909.info = {"start":1589,"length":863,"line":67,"column":8,"endLine":83,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","id","configKey"]} -function controller_Button_constructor__P71789_mk(s) { +function controller_Button_constructor__P1909_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_constructor__P71789, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P1909, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68164,7 +68393,7 @@ function controller_Button_constructor__P71789_mk(s) { -function inline__P98861(s) { +function inline__P26516(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68174,7 +68403,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P71794_mk(s); + s.tmp_0 = controller_Button_setPressed__P1914_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; s.callLocIdx = 149; s.pc = 1; return s.tmp_0; @@ -68184,12 +68413,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P98861.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P26516.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P98861_mk(s) { +function inline__P26516_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P98861, depth: s.depth + 1, + parent: s, fn: inline__P26516, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -68198,7 +68427,7 @@ function inline__P98861_mk(s) { -function inline__P98868(s) { +function inline__P26523(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68208,7 +68437,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P71794_mk(s); + s.tmp_0 = controller_Button_setPressed__P1914_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; s.callLocIdx = 150; s.pc = 1; return s.tmp_0; @@ -68218,12 +68447,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P98868.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P26523.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P98868_mk(s) { +function inline__P26523_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P98868, depth: s.depth + 1, + parent: s, fn: inline__P26523, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -68232,7 +68461,7 @@ function inline__P98868_mk(s) { -function controller_setupButton__P73997(s) { +function controller_setupButton__P4117(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68251,12 +68480,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_setupButton__P73997.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__P4117.info = {"start":983,"length":93,"line":47,"column":4,"endLine":49,"endColumn":6,"fileName":"pxt_modules/game/controller.ts","functionName":"setupButton","argumentNames":["buttonId","key"]} -function controller_setupButton__P73997_mk(s) { +function controller_setupButton__P4117_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P73997, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P4117, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -68266,7 +68495,7 @@ function controller_setupButton__P73997_mk(s) { -function controller_Button_setPressed__P71794(s) { +function controller_Button_setPressed__P1914(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68282,14 +68511,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C71783_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1903_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__P71585_mk(s); + s.tmp_2 = power_poke__P1705_mk(s); s.callLocIdx = 153; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -68297,7 +68526,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = controller_Controller_connected__P71823_mk(s); + s.tmp_1 = controller_Controller_connected__P1943_mk(s); r0 = s.arg0.fields["_owner"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = true; @@ -68312,7 +68541,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } r0 = (s.arg0).fields["_pressedElasped"] = (0); - s.tmp_0 = controller_Button_raiseButtonDown__P73999_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P4119_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 155; s.pc = 9; return s.tmp_0; case 9: @@ -68320,7 +68549,7 @@ switch (step) { { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P73998_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P4118_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 156; s.pc = 10; return s.tmp_0; case 10: @@ -68332,12 +68561,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_setPressed__P71794.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__P1914.info = {"start":4600,"length":507,"line":148,"column":8,"endLine":162,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"setPressed","argumentNames":["this","pressed"]} -function controller_Button_setPressed__P71794_mk(s) { +function controller_Button_setPressed__P1914_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_setPressed__P71794, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P1914, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68350,7 +68579,7 @@ function controller_Button_setPressed__P71794_mk(s) { -function controller_Button_raiseButtonDown__P73999(s) { +function controller_Button_raiseButtonDown__P4119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68365,8 +68594,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C71783_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___73991); + if (!checkSubtype(r0, controller_Button__C1903_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4111); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -68381,12 +68610,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonDown__P73999.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__P4119.info = {"start":2672,"length":205,"line":92,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonDown","argumentNames":["this"]} -function controller_Button_raiseButtonDown__P73999_mk(s) { +function controller_Button_raiseButtonDown__P4119_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P73999, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P4119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -68396,7 +68625,7 @@ function controller_Button_raiseButtonDown__P73999_mk(s) { -function controller_Button_raiseButtonUp__P73998(s) { +function controller_Button_raiseButtonUp__P4118(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68411,8 +68640,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C71783_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___73991); + if (!checkSubtype(r0, controller_Button__C1903_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4111); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -68427,12 +68656,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonUp__P73998.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__P4118.info = {"start":2462,"length":200,"line":85,"column":8,"endLine":90,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonUp","argumentNames":["this"]} -function controller_Button_raiseButtonUp__P73998_mk(s) { +function controller_Button_raiseButtonUp__P4118_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P73998, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P4118, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -68442,7 +68671,7 @@ function controller_Button_raiseButtonUp__P73998_mk(s) { -function controller_Controller_connected__P71823(s) { +function controller_Controller_connected__P1943(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68458,7 +68687,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C71803_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1923_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; s.tmp_1 = r0; r0 = (s.arg1 != s.tmp_1); @@ -68486,12 +68715,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_connected__P71823.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__P1943.info = {"start":12550,"length":261,"line":405,"column":8,"endLine":410,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]} -function controller_Controller_connected__P71823_mk(s) { +function controller_Controller_connected__P1943_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P71823, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P1943, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68504,7 +68733,7 @@ function controller_Controller_connected__P71823_mk(s) { -function controller_Controller_id__P71810(s) { +function controller_Controller_id__P1930(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68519,18 +68748,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C71803_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1923_VT)) failedCast(r0); r0 = s.arg0.fields["_id"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_id__P71810.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__P71810.isGetter = true; +controller_Controller_id__P1930.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__P1930.isGetter = true; -function controller_Controller_id__P71810_mk(s) { +function controller_Controller_id__P1930_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_id__P71810, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P1930, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -68539,7 +68768,7 @@ function controller_Controller_id__P71810_mk(s) { -function controller_Controller_connected__P71822(s) { +function controller_Controller_connected__P1942(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68554,18 +68783,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C71803_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1923_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_connected__P71822.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__P71822.isGetter = true; +controller_Controller_connected__P1942.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__P1942.isGetter = true; -function controller_Controller_connected__P71822_mk(s) { +function controller_Controller_connected__P1942_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P71822, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P1942, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -68574,7 +68803,7 @@ function controller_Controller_connected__P71822_mk(s) { -function settings_initScopes__P73964(s) { +function settings_initScopes__P4084(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68584,17 +68813,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___98946 = undefined; - s.tmp_1 = settings_runNumber__P71705_mk(s); + s.rn___26601 = undefined; + s.tmp_1 = settings_runNumber__P1825_mk(s); s.callLocIdx = 128; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.rn___98946 = (r0); - s.tmp_0 = settings_writeNumber__P71709_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___73952; - s.tmp_0.arg1 = s.rn___98946; + s.rn___26601 = (r0); + s.tmp_0 = settings_writeNumber__P1829_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___4072; + s.tmp_0.arg1 = s.rn___26601; s.callLocIdx = 129; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -68603,8 +68832,8 @@ switch (step) { r0 = (s.tmp_1 & 2147483647); s.tmp_0 = r0; r0 = pxsim_pxtcore.seedAddRandom(s.tmp_0); - r0 = pxsim_pxtcore.seedAddRandom(s.rn___98946); - s.tmp_0 = settings_setScope__P73963_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___26601); + s.tmp_0 = settings_setScope__P4083_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; s.callLocIdx = 130; s.pc = 3; return s.tmp_0; @@ -68614,23 +68843,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_initScopes__P73964.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P4084.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__P73964_mk(s) { +function settings_initScopes__P4084_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P73964, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P4084, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___98946: undefined, + rn___26601: undefined, } } -function settings_setScope__P73963(s) { +function settings_setScope__P4083(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68640,7 +68869,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___98975 = undefined; + s.currScope___26630 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -68665,19 +68894,19 @@ switch (step) { r0 = pxsim_pxtrt.panic(922); case 3: case 4: - s.tmp_0 = settings_readString__P71712_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___73953; + s.tmp_0 = settings_readString__P1832_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___4073; s.callLocIdx = 126; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___98975 = (r0); - r0 = (s.currScope___98975 != s.arg0); + s.currScope___26630 = (r0); + r0 = (s.currScope___26630 != 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__P71708_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___73953; + s.tmp_0 = settings_writeString__P1828_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___4073; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 127; s.pc = 8; return s.tmp_0; case 8: @@ -68688,18 +68917,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_setScope__P73963.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__P4083.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__P73963_mk(s) { +function settings_setScope__P4083_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P73963, depth: s.depth + 1, + parent: s, fn: settings_setScope__P4083, depth: s.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___98975: undefined, + currScope___26630: undefined, arg0: undefined, } } @@ -68707,7 +68936,7 @@ function settings_setScope__P73963_mk(s) { -function settings_runNumber__P71705(s) { +function settings_runNumber__P1825(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68717,8 +68946,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P71713_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___73952; + s.tmp_1 = settings_readNumber__P1833_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___4072; s.callLocIdx = 125; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -68736,12 +68965,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_runNumber__P71705.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P1825.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__P71705_mk(s) { +function settings_runNumber__P1825_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_runNumber__P71705, depth: s.depth + 1, + parent: s, fn: settings_runNumber__P1825, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68752,7 +68981,7 @@ function settings_runNumber__P71705_mk(s) { -function control___screen_setupUpdate__P71644(s) { +function control___screen_setupUpdate__P1764(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68766,8 +68995,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___73921 = (true); - globals.__update___73919 = (s.arg0); + globals.__updated___4041 = (true); + globals.__update___4039 = (s.arg0); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); @@ -68778,12 +69007,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_setupUpdate__P71644.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__P1764.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__P71644_mk(s) { +function control___screen_setupUpdate__P1764_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_setupUpdate__P71644, depth: s.depth + 1, + parent: s, fn: control___screen_setupUpdate__P1764, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -68793,7 +69022,7 @@ function control___screen_setupUpdate__P71644_mk(s) { -function control___screen_update__P71643(s) { +function control___screen_update__P1763(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68803,27 +69032,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___73919); + r0 = pxsim_numops_toBoolDecr(globals.__update___4039); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___73919; + s.tmp_0.argL = globals.__update___4039; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 120; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - globals.__updated___73921 = (true); + globals.__updated___4041 = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_update__P71643.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__P1763.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__P71643_mk(s) { +function control___screen_update__P1763_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_update__P71643, depth: s.depth + 1, + parent: s, fn: control___screen_update__P1763, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -68832,7 +69061,7 @@ function control___screen_update__P71643_mk(s) { -function pause__P70282(s) { +function pause__P402(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68856,12 +69085,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pause__P70282.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} +pause__P402.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__P70282_mk(s) { +function pause__P402_mk(s) { checkStack(s.depth); return { - parent: s, fn: pause__P70282, depth: s.depth + 1, + parent: s, fn: pause__P402, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -68870,7 +69099,7 @@ function pause__P70282_mk(s) { -function tiles_legacy_LegacyTilemap_getTileIndex__P73759(s) { +function tiles_legacy_LegacyTilemap_getTileIndex__P3879(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68887,19 +69116,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_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__P73759.info = {"start":9165,"length":111,"line":269,"column":8,"endLine":271,"endColumn":9,"fileName":"mytilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} +tiles_legacy_LegacyTilemap_getTileIndex__P3879.info = {"start":9165,"length":111,"line":269,"column":8,"endLine":271,"endColumn":9,"fileName":"mytilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} -function tiles_legacy_LegacyTilemap_getTileIndex__P73759_mk(s) { +function tiles_legacy_LegacyTilemap_getTileIndex__P3879_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_getTileIndex__P73759, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_getTileIndex__P3879, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -68911,7 +69140,7 @@ function tiles_legacy_LegacyTilemap_getTileIndex__P73759_mk(s) { -function tiles_legacy_LegacyTilemap_draw__P81313(s) { +function tiles_legacy_LegacyTilemap_draw__P6508(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68921,21 +69150,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___90368 = undefined; - s.offsetX___90374 = undefined; - s.offsetY___90379 = undefined; - s.x0___90384 = undefined; - s.xn___90391 = undefined; - s.y0___90408 = undefined; - s.yn___90415 = undefined; - s.x___90432 = undefined; - s.y___90438 = undefined; - s.index___90444 = undefined; - s.tile___90451 = undefined; - s.x___90493 = undefined; - s.xLine___90499 = undefined; - s.y___90525 = undefined; - s.yLine___90531 = undefined; + s.bitmask___26673 = undefined; + s.offsetX___26679 = undefined; + s.offsetY___26684 = undefined; + s.x0___26689 = undefined; + s.xn___26696 = undefined; + s.y0___26713 = undefined; + s.yn___26720 = undefined; + s.x___26737 = undefined; + s.y___26743 = undefined; + s.index___26749 = undefined; + s.tile___26756 = undefined; + s.x___26798 = undefined; + s.xLine___26804 = undefined; + s.y___26830 = undefined; + s.yLine___26836 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -68943,10 +69172,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); - s.tmp_3 = tiles_legacy_LegacyTilemap__C73735_v6_1_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); + s.tmp_3 = tiles_legacy_LegacyTilemap__C3855_v6_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C3855_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: @@ -68966,16 +69195,16 @@ switch (step) { r0 = (1 << s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_4 - 1); - s.bitmask___90368 = (r0); + s.bitmask___26673 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___90368); - s.offsetX___90374 = (r0); + r0 = (s.tmp_0 & s.bitmask___26673); + s.offsetX___26679 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___90368); - s.offsetY___90379 = (r0); - s.tmp_0 = Math_max__P70005_mk(s); + r0 = (s.tmp_0 & s.bitmask___26673); + s.offsetY___26684 = (r0); + s.tmp_0 = Math_max__P125_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -68983,20 +69212,20 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 1663; s.pc = 27; return s.tmp_0; + s.callLocIdx = 1674; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.x0___90384 = (r0); - s.tmp_0 = Math_min__P70006_mk(s); + s.x0___26689 = (r0); + s.tmp_0 = Math_min__P126_mk(s); r0 = s.arg0.fields["_mapImage"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.width(s.tmp_1); s.tmp_0.arg0 = r0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_4 = r0; - s.tmp_6 = tiles_legacy_LegacyTilemap_myWidth__P73741_mk(s); + s.tmp_6 = tiles_legacy_LegacyTilemap_myWidth__P3861_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 1664; s.pc = 29; return s.tmp_6; + s.callLocIdx = 1675; s.pc = 29; return s.tmp_6; case 29: r0 = s.retval; s.tmp_5 = r0; @@ -69008,11 +69237,11 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 1666; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1677; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.xn___90391 = (r0); - s.tmp_0 = Math_max__P70005_mk(s); + s.xn___26696 = (r0); + s.tmp_0 = Math_max__P125_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -69020,11 +69249,11 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 1668; s.pc = 30; return s.tmp_0; + s.callLocIdx = 1679; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - s.y0___90408 = (r0); - s.tmp_0 = Math_min__P70006_mk(s); + s.y0___26713 = (r0); + s.tmp_0 = Math_min__P126_mk(s); r0 = s.arg0.fields["_mapImage"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.height(s.tmp_1); @@ -69041,61 +69270,61 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 1670; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1681; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.yn___90415 = (r0); - s.x___90432 = (s.x0___90384); + s.yn___26720 = (r0); + s.x___26737 = (s.x0___26689); case 3: - r0 = (s.x___90432 <= s.xn___90391); + r0 = (s.x___26737 <= s.xn___26696); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.y___90438 = (s.y0___90408); + s.y___26743 = (s.y0___26713); case 4: - r0 = (s.y___90438 <= s.yn___90415); + r0 = (s.y___26743 <= s.yn___26720); 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___90432, s.y___90438); - s.index___90444 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.x___26737, s.y___26743); + s.index___26749 = (r0); r0 = s.arg0.fields["_tileSets"]; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.index___90444); + r0 = pxsim_Array__getAt(s.tmp_1, s.index___26749); 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__P81310_mk(s); + s.tmp_2 = tiles_legacy_LegacyTilemap_generateTile__P6505_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.index___90444; - s.callLocIdx = 1671; s.pc = 32; return s.tmp_2; + s.tmp_2.arg1 = s.index___26749; + s.callLocIdx = 1682; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.tile___90451 = (s.tmp_3); - r0 = pxsim_numops_toBoolDecr(s.tile___90451); + s.tile___26756 = (s.tmp_3); + r0 = pxsim_numops_toBoolDecr(s.tile___26756); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_2 = tiles_legacy_TileSet_image__P90005_mk(s); - s.tmp_2.arg0 = s.tile___90451; - s.callLocIdx = 1672; s.pc = 33; return s.tmp_2; + s.tmp_2 = tiles_legacy_TileSet_image__P6502_mk(s); + s.tmp_2.arg0 = s.tile___26756; + s.callLocIdx = 1683; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = tiles_legacy_LegacyTilemap_myLeft__P73740_mk(s); + s.tmp_6 = tiles_legacy_LegacyTilemap_myLeft__P3860_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 1673; s.pc = 34; return s.tmp_6; + s.callLocIdx = 1684; s.pc = 34; return s.tmp_6; case 34: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.x___90432 - s.x0___90384); + r0 = (s.x___26737 - s.x0___26689); s.tmp_8 = r0; r0 = s.arg0.fields["_scale"]; s.tmp_9 = r0; @@ -69103,52 +69332,52 @@ switch (step) { s.tmp_7 = r0; r0 = (s.tmp_5 + s.tmp_7); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.offsetX___90374); + r0 = (s.tmp_4 - s.offsetX___26679); s.tmp_3 = r0; - r0 = (s.y___90438 - s.y0___90408); + r0 = (s.y___26743 - s.y0___26713); s.tmp_12 = r0; r0 = s.arg0.fields["_scale"]; s.tmp_13 = r0; r0 = (s.tmp_12 << s.tmp_13); s.tmp_11 = r0; - r0 = (s.tmp_11 - s.offsetY___90379); + r0 = (s.tmp_11 - s.offsetY___26684); s.tmp_10 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_3, s.tmp_10); case 7: case 8: - r0 = (s.y___90438 + 1); - s.y___90438 = (r0); + r0 = (s.y___26743 + 1); + s.y___26743 = (r0); { step = 4; continue; } case 9: - r0 = (s.x___90432 + 1); - s.x___90432 = (r0); + r0 = (s.x___26737 + 1); + s.x___26737 = (r0); { step = 3; continue; } case 10: - r0 = pxsim_numops_toBoolDecr(globals.debug___72405); + r0 = pxsim_numops_toBoolDecr(globals.debug___2525); if (!r0) { step = 23; continue; } - s.x___90493 = (s.x0___90384); + s.x___26798 = (s.x0___26689); case 11: - r0 = (s.x___90493 <= s.xn___90391); + r0 = (s.x___26798 <= s.xn___26696); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = (s.x___90493 - s.x0___90384); + r0 = (s.x___26798 - s.x0___26689); 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___90374); - s.xLine___90499 = (r0); - r0 = (s.xLine___90499 >= 0); + r0 = (s.tmp_1 - s.offsetX___26679); + s.xLine___26804 = (r0); + r0 = (s.xLine___26804 >= 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___90499; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + s.tmp_1 = r0 = s.xLine___26804; + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 13: @@ -69156,46 +69385,46 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 14; continue; } - s.tmp_4 = helpers_imageDrawLine__P71610_mk(s); + s.tmp_4 = helpers_imageDrawLine__P1730_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___90499; + s.tmp_4.arg1 = s.xLine___26804; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___90499; + s.tmp_4.arg3 = s.xLine___26804; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; - s.callLocIdx = 1677; s.pc = 35; return s.tmp_4; + s.callLocIdx = 1688; s.pc = 35; return s.tmp_4; case 35: r0 = s.retval; case 14: case 15: - r0 = (s.x___90493 + 1); - s.x___90493 = (r0); + r0 = (s.x___26798 + 1); + s.x___26798 = (r0); { step = 11; continue; } case 16: - s.y___90525 = (s.y0___90408); + s.y___26830 = (s.y0___26713); case 17: - r0 = (s.y___90525 <= s.yn___90415); + r0 = (s.y___26830 <= s.yn___26720); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___90525 - s.y0___90408); + r0 = (s.y___26830 - s.y0___26713); 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___90379); - s.yLine___90531 = (r0); - r0 = (s.yLine___90531 >= 0); + r0 = (s.tmp_1 - s.offsetY___26684); + s.yLine___26836 = (r0); + r0 = (s.yLine___26836 >= 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___90531; - r0 = pxsim_ImageMethods.height(globals.screen___71682); + s.tmp_1 = r0 = s.yLine___26836; + r0 = pxsim_ImageMethods.height(globals.screen___1802); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 19: @@ -69203,21 +69432,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 20; continue; } - s.tmp_4 = helpers_imageDrawLine__P71610_mk(s); + s.tmp_4 = helpers_imageDrawLine__P1730_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___90531; + s.tmp_4.arg2 = s.yLine___26836; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___90531; + s.tmp_4.arg4 = s.yLine___26836; s.tmp_4.arg5 = 1; - s.callLocIdx = 1679; s.pc = 36; return s.tmp_4; + s.callLocIdx = 1690; s.pc = 36; return s.tmp_4; case 36: r0 = s.retval; case 20: case 21: - r0 = (s.y___90525 + 1); - s.y___90525 = (r0); + r0 = (s.y___26830 + 1); + s.y___26830 = (r0); { step = 17; continue; } case 22: case 23: @@ -69227,12 +69456,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_draw__P81313.info = {"start":5512,"length":2284,"line":173,"column":8,"endLine":228,"endColumn":9,"fileName":"mytilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} +tiles_legacy_LegacyTilemap_draw__P6508.info = {"start":5512,"length":2284,"line":173,"column":8,"endLine":228,"endColumn":9,"fileName":"mytilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} -function tiles_legacy_LegacyTilemap_draw__P81313_mk(s) { +function tiles_legacy_LegacyTilemap_draw__P6508_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_draw__P81313, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_draw__P6508, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -69248,21 +69477,21 @@ function tiles_legacy_LegacyTilemap_draw__P81313_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - bitmask___90368: undefined, - offsetX___90374: undefined, - offsetY___90379: undefined, - x0___90384: undefined, - xn___90391: undefined, - y0___90408: undefined, - yn___90415: undefined, - x___90432: undefined, - y___90438: undefined, - index___90444: undefined, - tile___90451: undefined, - x___90493: undefined, - xLine___90499: undefined, - y___90525: undefined, - yLine___90531: undefined, + bitmask___26673: undefined, + offsetX___26679: undefined, + offsetY___26684: undefined, + x0___26689: undefined, + xn___26696: undefined, + y0___26713: undefined, + yn___26720: undefined, + x___26737: undefined, + y___26743: undefined, + index___26749: undefined, + tile___26756: undefined, + x___26798: undefined, + xLine___26804: undefined, + y___26830: undefined, + yLine___26836: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -69272,7 +69501,7 @@ function tiles_legacy_LegacyTilemap_draw__P81313_mk(s) { -function tiles_legacy_LegacyTilemap_myLeft__P73740(s) { +function tiles_legacy_LegacyTilemap_myLeft__P3860(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69287,7 +69516,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); r0 = s.arg0.fields["_screenX"]; s.tmp_0 = r0; r0 = s.arg0.fields["_scale"]; @@ -69296,12 +69525,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_myLeft__P73740.info = {"start":1975,"length":68,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"mytilemap.ts","functionName":"myLeft","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_myLeft__P3860.info = {"start":1975,"length":68,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"mytilemap.ts","functionName":"myLeft","argumentNames":["this"]} -function tiles_legacy_LegacyTilemap_myLeft__P73740_mk(s) { +function tiles_legacy_LegacyTilemap_myLeft__P3860_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_myLeft__P73740, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_myLeft__P3860, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -69312,7 +69541,7 @@ function tiles_legacy_LegacyTilemap_myLeft__P73740_mk(s) { -function tiles_legacy_TileSet_image__P90005(s) { +function tiles_legacy_TileSet_image__P6502(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69322,19 +69551,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___90024 = undefined; + s.size___26868 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_TileSet__C90004_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_TileSet__C6501_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___90024 = (r0); + s.size___26868 = (r0); r0 = s.arg0.fields["cachedImage"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -69350,7 +69579,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 != s.size___90024); + r0 = (s.tmp_3 != s.size___26868); case 2: // jmp value (already in r0) s.tmp_5 = r0; @@ -69363,7 +69592,7 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_ImageMethods.height(s.tmp_7); s.tmp_6 = r0; - r0 = (s.tmp_6 != s.size___90024); + r0 = (s.tmp_6 != s.size___26868); case 4: // jmp value (already in r0) s.tmp_8 = r0; @@ -69373,7 +69602,7 @@ switch (step) { s.tmp_11 = r0; r0 = pxsim_ImageMethods.width(s.tmp_11); s.tmp_10 = r0; - r0 = (s.tmp_10 == s.size___90024); + r0 = (s.tmp_10 == s.size___26868); s.tmp_9 = r0; r0 = pxsim_numops_toBool(s.tmp_9); if (r0) { step = 5; continue; } @@ -69384,7 +69613,7 @@ switch (step) { s.tmp_13 = r0; r0 = pxsim_ImageMethods.height(s.tmp_13); s.tmp_12 = r0; - r0 = (s.tmp_12 == s.size___90024); + r0 = (s.tmp_12 == s.size___26868); case 6: // jmp value (already in r0) s.tmp_14 = r0; @@ -69396,7 +69625,7 @@ switch (step) { { step = 8; continue; } case 7: s.tmp_0 = r0 = s.arg0; - r0 = pxsim.image.create(s.size___90024, s.size___90024); + r0 = pxsim.image.create(s.size___26868, s.size___26868); s.tmp_1 = r0; r0 = (s.tmp_0).fields["cachedImage"] = (s.tmp_1); r0 = s.arg0.fields["cachedImage"]; @@ -69411,13 +69640,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_legacy_TileSet_image__P90005.info = {"start":834,"length":567,"line":27,"column":8,"endLine":38,"endColumn":9,"fileName":"mytilemap.ts","functionName":"image","argumentNames":["this"]} -tiles_legacy_TileSet_image__P90005.isGetter = true; +tiles_legacy_TileSet_image__P6502.info = {"start":834,"length":567,"line":27,"column":8,"endLine":38,"endColumn":9,"fileName":"mytilemap.ts","functionName":"image","argumentNames":["this"]} +tiles_legacy_TileSet_image__P6502.isGetter = true; -function tiles_legacy_TileSet_image__P90005_mk(s) { +function tiles_legacy_TileSet_image__P6502_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_TileSet_image__P90005, depth: s.depth + 1, + parent: s, fn: tiles_legacy_TileSet_image__P6502, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -69435,7 +69664,7 @@ function tiles_legacy_TileSet_image__P90005_mk(s) { tmp_13: undefined, tmp_14: undefined, tmp_15: undefined, - size___90024: undefined, + size___26868: undefined, arg0: undefined, } } @@ -69443,7 +69672,7 @@ function tiles_legacy_TileSet_image__P90005_mk(s) { -function tiles_legacy_LegacyTilemap_generateTile__P81310(s) { +function tiles_legacy_LegacyTilemap_generateTile__P6505(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69453,30 +69682,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___90313 = undefined; - s.i___90317 = undefined; + s.size___26921 = undefined; + s.i___26925 = 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__C73735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___90313 = (r0); - r0 = pxsim.image.create(s.size___90313, s.size___90313); - s.i___90317 = (r0); - r0 = pxsim_ImageMethods.fill(s.i___90317, s.arg1); - r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_TileSet__C90004_VT); + s.size___26921 = (r0); + r0 = pxsim.image.create(s.size___26921, s.size___26921); + s.i___26925 = (r0); + r0 = pxsim_ImageMethods.fill(s.i___26925, s.arg1); + r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_TileSet__C6501_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_legacy_TileSet_constructor__P90006_mk(s); + s.tmp_1 = tiles_legacy_TileSet_constructor__P6503_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.i___90317; + s.tmp_1.arg1 = s.i___26925; s.tmp_1.arg2 = false; s.tmp_1.arg3 = s.arg0; - s.callLocIdx = 1660; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1671; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = s.arg0.fields["_tileSets"]; @@ -69486,18 +69715,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_generateTile__P81310.info = {"start":4880,"length":245,"line":155,"column":8,"endLine":161,"endColumn":9,"fileName":"mytilemap.ts","functionName":"generateTile","argumentNames":["this","index"]} +tiles_legacy_LegacyTilemap_generateTile__P6505.info = {"start":4880,"length":245,"line":155,"column":8,"endLine":161,"endColumn":9,"fileName":"mytilemap.ts","functionName":"generateTile","argumentNames":["this","index"]} -function tiles_legacy_LegacyTilemap_generateTile__P81310_mk(s) { +function tiles_legacy_LegacyTilemap_generateTile__P6505_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_generateTile__P81310, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_generateTile__P6505, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - size___90313: undefined, - i___90317: undefined, + size___26921: undefined, + i___26925: undefined, arg0: undefined, arg1: undefined, } } @@ -69506,7 +69735,7 @@ function tiles_legacy_LegacyTilemap_generateTile__P81310_mk(s) { -function tiles_legacy_LegacyTilemap_myWidth__P73741(s) { +function tiles_legacy_LegacyTilemap_myWidth__P3861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69521,12 +69750,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___71682); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_0 = r0; - s.tmp_2 = tiles_legacy_LegacyTilemap_myLeft__P73740_mk(s); + s.tmp_2 = tiles_legacy_LegacyTilemap_myLeft__P3860_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1648; s.pc = 1; return s.tmp_2; + s.callLocIdx = 1659; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; @@ -69534,12 +69763,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_myWidth__P73741.info = {"start":2053,"length":70,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"mytilemap.ts","functionName":"myWidth","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_myWidth__P3861.info = {"start":2053,"length":70,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"mytilemap.ts","functionName":"myWidth","argumentNames":["this"]} -function tiles_legacy_LegacyTilemap_myWidth__P73741_mk(s) { +function tiles_legacy_LegacyTilemap_myWidth__P3861_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_myWidth__P73741, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_myWidth__P3861, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -69551,7 +69780,7 @@ function tiles_legacy_LegacyTilemap_myWidth__P73741_mk(s) { -function tiles_legacy_LegacyTilemap_setTileAt__P73753(s) { +function tiles_legacy_LegacyTilemap_setTileAt__P3873(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69569,12 +69798,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); - s.tmp_3 = tiles_legacy_LegacyTilemap_isOutsideMap__P81311_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); + s.tmp_3 = tiles_legacy_LegacyTilemap_isOutsideMap__P6506_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.arg2; - s.callLocIdx = 1658; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1669; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2 = r0; @@ -69587,10 +69816,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_6 = tiles_legacy_LegacyTilemap__C73735_v10_2_mk(s); + s.tmp_6 = tiles_legacy_LegacyTilemap__C3855_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__C73735_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, tiles_legacy_LegacyTilemap__C3855_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: @@ -69613,12 +69842,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_setTileAt__P73753.info = {"start":3492,"length":210,"line":120,"column":8,"endLine":123,"endColumn":9,"fileName":"mytilemap.ts","functionName":"setTileAt","argumentNames":["this","col","row","index"]} +tiles_legacy_LegacyTilemap_setTileAt__P3873.info = {"start":3492,"length":210,"line":120,"column":8,"endLine":123,"endColumn":9,"fileName":"mytilemap.ts","functionName":"setTileAt","argumentNames":["this","col","row","index"]} -function tiles_legacy_LegacyTilemap_setTileAt__P73753_mk(s) { +function tiles_legacy_LegacyTilemap_setTileAt__P3873_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_setTileAt__P73753, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_setTileAt__P3873, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -69639,7 +69868,7 @@ function tiles_legacy_LegacyTilemap_setTileAt__P73753_mk(s) { -function tiles_legacy_LegacyTilemap_isOutsideMap__P81311(s) { +function tiles_legacy_LegacyTilemap_isOutsideMap__P6506(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69656,10 +69885,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); - s.tmp_3 = tiles_legacy_LegacyTilemap__C73735_v6_1_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); + s.tmp_3 = tiles_legacy_LegacyTilemap__C3855_v6_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C3855_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: @@ -69719,12 +69948,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_isOutsideMap__P81311.info = {"start":5135,"length":202,"line":163,"column":8,"endLine":166,"endColumn":9,"fileName":"mytilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} +tiles_legacy_LegacyTilemap_isOutsideMap__P6506.info = {"start":5135,"length":202,"line":163,"column":8,"endLine":166,"endColumn":9,"fileName":"mytilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} -function tiles_legacy_LegacyTilemap_isOutsideMap__P81311_mk(s) { +function tiles_legacy_LegacyTilemap_isOutsideMap__P6506_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_isOutsideMap__P81311, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_isOutsideMap__P6506, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -69749,7 +69978,7 @@ function tiles_legacy_LegacyTilemap_isOutsideMap__P81311_mk(s) { -function tiles_legacy_LegacyTilemap_enabled__P73748(s) { +function tiles_legacy_LegacyTilemap_enabled__P3868(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69764,7 +69993,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); r0 = s.arg0.fields["_mapImage"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -69777,13 +70006,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_enabled__P73748.info = {"start":2895,"length":71,"line":99,"column":8,"endLine":101,"endColumn":9,"fileName":"mytilemap.ts","functionName":"enabled","argumentNames":["this"]} -tiles_legacy_LegacyTilemap_enabled__P73748.isGetter = true; +tiles_legacy_LegacyTilemap_enabled__P3868.info = {"start":2895,"length":71,"line":99,"column":8,"endLine":101,"endColumn":9,"fileName":"mytilemap.ts","functionName":"enabled","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_enabled__P3868.isGetter = true; -function tiles_legacy_LegacyTilemap_enabled__P73748_mk(s) { +function tiles_legacy_LegacyTilemap_enabled__P3868_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_enabled__P73748, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_enabled__P3868, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -69796,7 +70025,7 @@ function tiles_legacy_LegacyTilemap_enabled__P73748_mk(s) { -function tiles_legacy_LegacyTilemap_areaHeight__P73745(s) { +function tiles_legacy_LegacyTilemap_areaHeight__P3865(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69811,7 +70040,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); r0 = s.arg0.fields["_mapImage"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -69833,12 +70062,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_areaHeight__P73745.info = {"start":2572,"length":103,"line":85,"column":8,"endLine":87,"endColumn":9,"fileName":"mytilemap.ts","functionName":"areaHeight","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_areaHeight__P3865.info = {"start":2572,"length":103,"line":85,"column":8,"endLine":87,"endColumn":9,"fileName":"mytilemap.ts","functionName":"areaHeight","argumentNames":["this"]} -function tiles_legacy_LegacyTilemap_areaHeight__P73745_mk(s) { +function tiles_legacy_LegacyTilemap_areaHeight__P3865_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_areaHeight__P73745, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_areaHeight__P3865, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -69852,7 +70081,7 @@ function tiles_legacy_LegacyTilemap_areaHeight__P73745_mk(s) { -function tiles_legacy_LegacyTilemap_areaWidth__P73744(s) { +function tiles_legacy_LegacyTilemap_areaWidth__P3864(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69867,7 +70096,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); r0 = s.arg0.fields["_mapImage"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -69889,12 +70118,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_areaWidth__P73744.info = {"start":2461,"length":101,"line":81,"column":8,"endLine":83,"endColumn":9,"fileName":"mytilemap.ts","functionName":"areaWidth","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_areaWidth__P3864.info = {"start":2461,"length":101,"line":81,"column":8,"endLine":83,"endColumn":9,"fileName":"mytilemap.ts","functionName":"areaWidth","argumentNames":["this"]} -function tiles_legacy_LegacyTilemap_areaWidth__P73744_mk(s) { +function tiles_legacy_LegacyTilemap_areaWidth__P3864_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_areaWidth__P73744, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_areaWidth__P3864, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -69908,7 +70137,7 @@ function tiles_legacy_LegacyTilemap_areaWidth__P73744_mk(s) { -function tiles_legacy_LegacyTilemap_offsetY__P73743(s) { +function tiles_legacy_LegacyTilemap_offsetY__P3863(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69924,40 +70153,40 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P70002_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P122_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P70005_mk(s); - s.tmp_3 = tiles_legacy_LegacyTilemap__C73735_v4_1_mk(s); + s.tmp_1 = Math_max__P125_mk(s); + s.tmp_3 = tiles_legacy_LegacyTilemap__C3855_v4_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C3855_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___71682); + r0 = pxsim_ImageMethods.height(globals.screen___1802); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 1652; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1663; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 1653; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1664; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_offsetY__P73743.info = {"start":2328,"length":123,"line":77,"column":8,"endLine":79,"endColumn":9,"fileName":"mytilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} +tiles_legacy_LegacyTilemap_offsetY__P3863.info = {"start":2328,"length":123,"line":77,"column":8,"endLine":79,"endColumn":9,"fileName":"mytilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} -function tiles_legacy_LegacyTilemap_offsetY__P73743_mk(s) { +function tiles_legacy_LegacyTilemap_offsetY__P3863_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_offsetY__P73743, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_offsetY__P3863, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -69972,7 +70201,7 @@ function tiles_legacy_LegacyTilemap_offsetY__P73743_mk(s) { -function tiles_legacy_LegacyTilemap_offsetX__P73742(s) { +function tiles_legacy_LegacyTilemap_offsetX__P3862(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69988,44 +70217,44 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P70002_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P122_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P70005_mk(s); - s.tmp_3 = tiles_legacy_LegacyTilemap__C73735_v3_1_mk(s); + s.tmp_1 = Math_max__P125_mk(s); + s.tmp_3 = tiles_legacy_LegacyTilemap__C3855_v3_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C3855_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; - s.tmp_5 = tiles_legacy_LegacyTilemap_myWidth__P73741_mk(s); + s.tmp_5 = tiles_legacy_LegacyTilemap_myWidth__P3861_mk(s); s.tmp_5.arg0 = s.arg0; - s.callLocIdx = 1649; s.pc = 4; return s.tmp_5; + s.callLocIdx = 1660; s.pc = 4; return s.tmp_5; case 4: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 1650; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1661; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 1651; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1662; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_offsetX__P73742.info = {"start":2133,"length":185,"line":71,"column":8,"endLine":75,"endColumn":9,"fileName":"mytilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} +tiles_legacy_LegacyTilemap_offsetX__P3862.info = {"start":2133,"length":185,"line":71,"column":8,"endLine":75,"endColumn":9,"fileName":"mytilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} -function tiles_legacy_LegacyTilemap_offsetX__P73742_mk(s) { +function tiles_legacy_LegacyTilemap_offsetX__P3862_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_offsetX__P73742, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_offsetX__P3862, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70041,7 +70270,7 @@ function tiles_legacy_LegacyTilemap_offsetX__P73742_mk(s) { -function tiles_legacy_LegacyTilemap_data__P73738(s) { +function tiles_legacy_LegacyTilemap_data__P3858(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70056,18 +70285,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); r0 = null; return leaveAccessor(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_data__P73738.info = {"start":1830,"length":60,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"mytilemap.ts","functionName":"data","argumentNames":["this"]} -tiles_legacy_LegacyTilemap_data__P73738.isGetter = true; +tiles_legacy_LegacyTilemap_data__P3858.info = {"start":1830,"length":60,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"mytilemap.ts","functionName":"data","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_data__P3858.isGetter = true; -function tiles_legacy_LegacyTilemap_data__P73738_mk(s) { +function tiles_legacy_LegacyTilemap_data__P3858_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_data__P73738, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_data__P3858, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -70076,7 +70305,7 @@ function tiles_legacy_LegacyTilemap_data__P73738_mk(s) { -function tileworld_TileSprite_isOutOfScreen__P79257(s) { +function tileworld_TileSprite_isOutOfScreen__P5955908(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70086,15 +70315,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___79350 = undefined; - s.oy___79358 = undefined; + s.ox___5956001 = undefined; + s.oy___5956009 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileSprite__C79252_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileSprite__C5955903_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -70108,7 +70337,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___79350 = (s.tmp_2); + s.ox___5956001 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -70122,7 +70351,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___79358 = (s.tmp_2); + s.oy___5956009 = (s.tmp_2); r0 = s.arg0.fields["debug"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -70134,13 +70363,13 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_5 = Sprite_right__P71944_mk(s); + s.tmp_5 = Sprite_right__P2064_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 294; s.pc = 15; return s.tmp_5; case 15: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.ox___79350); + r0 = (s.tmp_4 - s.ox___5956001); s.tmp_3 = r0; r0 = (s.tmp_3 < s.tmp_1); s.tmp_2 = r0; @@ -70149,13 +70378,13 @@ switch (step) { r0 = s.tmp_2; { step = 8; continue; } case 7: - s.tmp_8 = Sprite_bottom__P71948_mk(s); + s.tmp_8 = Sprite_bottom__P2068_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 295; s.pc = 16; return s.tmp_8; case 16: r0 = s.retval; s.tmp_7 = r0; - r0 = (s.tmp_7 - s.oy___79358); + r0 = (s.tmp_7 - s.oy___5956009); s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 8: @@ -70177,15 +70406,15 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_11 = r0; - s.tmp_14 = Sprite_left__P71942_mk(s); + s.tmp_14 = Sprite_left__P2062_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 296; s.pc = 17; return s.tmp_14; case 17: r0 = s.retval; s.tmp_13 = r0; - r0 = (s.tmp_13 - s.ox___79350); + r0 = (s.tmp_13 - s.ox___5956001); s.tmp_12 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_16 = r0; r0 = (s.tmp_16 - s.tmp_11); s.tmp_15 = r0; @@ -70198,15 +70427,15 @@ switch (step) { r0 = s.tmp_17; { step = 14; continue; } case 13: - s.tmp_20 = Sprite_top__P71946_mk(s); + s.tmp_20 = Sprite_top__P2066_mk(s); s.tmp_20.arg0 = s.arg0; s.callLocIdx = 297; s.pc = 18; return s.tmp_20; case 18: r0 = s.retval; s.tmp_19 = r0; - r0 = (s.tmp_19 - s.oy___79358); + r0 = (s.tmp_19 - s.oy___5956009); s.tmp_18 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___71682); + r0 = pxsim_ImageMethods.height(globals.screen___1802); s.tmp_21 = r0; r0 = (s.tmp_18 > s.tmp_21); case 14: @@ -70216,12 +70445,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileSprite_isOutOfScreen__P79257.info = {"start":1700,"length":438,"line":38,"column":8,"endLine":43,"endColumn":9,"fileName":"vm.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} +tileworld_TileSprite_isOutOfScreen__P5955908.info = {"start":1660,"length":438,"line":38,"column":8,"endLine":43,"endColumn":9,"fileName":"vm.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} -function tileworld_TileSprite_isOutOfScreen__P79257_mk(s) { +function tileworld_TileSprite_isOutOfScreen__P5955908_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileSprite_isOutOfScreen__P79257, depth: s.depth + 1, + parent: s, fn: tileworld_TileSprite_isOutOfScreen__P5955908, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70246,8 +70475,8 @@ function tileworld_TileSprite_isOutOfScreen__P79257_mk(s) { tmp_20: undefined, tmp_21: undefined, tmp_22: undefined, - ox___79350: undefined, - oy___79358: undefined, + ox___5956001: undefined, + oy___5956009: undefined, arg0: undefined, arg1: undefined, } } @@ -70256,7 +70485,7 @@ function tileworld_TileSprite_isOutOfScreen__P79257_mk(s) { -function sprites_SpriteSet_toString__P72002(s) { +function sprites_SpriteSet_toString__P2122(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70271,7 +70500,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C71991_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2111_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -70293,12 +70522,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_toString__P72002.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__P2122.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__P72002_mk(s) { +function sprites_SpriteSet_toString__P2122_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P72002, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P2122, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70312,7 +70541,7 @@ function sprites_SpriteSet_toString__P72002_mk(s) { -function sprites_SpriteSet_length__P71994(s) { +function sprites_SpriteSet_length__P2114(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70327,20 +70556,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C71991_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2111_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__P71994.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__P71994.isGetter = true; +sprites_SpriteSet_length__P2114.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__P2114.isGetter = true; -function sprites_SpriteSet_length__P71994_mk(s) { +function sprites_SpriteSet_length__P2114_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P71994, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P2114, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -70350,7 +70579,7 @@ function sprites_SpriteSet_length__P71994_mk(s) { -function tileworld_ruleediting_RuleViewDisplay_update__P84094(s) { +function tileworld_ruleediting_RuleViewDisplay_update__P6388(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70360,74 +70589,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___84223 = undefined; - s.col___84236 = undefined; + s.index___27101 = undefined; + s.col___27114 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleViewDisplay__C73686_VT)) failedCast(r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_update__P82983_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleViewDisplay__C3806_VT)) failedCast(r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_update__P3873467_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 825; s.pc = 1; return s.tmp_0; + s.callLocIdx = 837; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P84215); + r0 = pxsim_pxtcore_mkAction(1, inline__P27093); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); - s.tmp_1.arg0 = globals.transformImages___84084; + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + s.tmp_1.arg0 = globals.transformImages___6378; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 827; s.pc = 2; return s.tmp_1; + s.callLocIdx = 839; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.tmp_0 = r0 = globals.transformMap___84081; + s.tmp_0 = r0 = globals.transformMap___6376; r0 = s.arg0.fields["baseRule"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["r"]; r0 = r0.fields["transforms"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.tmp_1, undefined); - s.index___84223 = (r0); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.index___27101 = (r0); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = (1 + s.index___84223); + r0 = (1 + s.index___27101); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.cursorOut___73609; - s.callLocIdx = 829; s.pc = 3; return s.tmp_0; + s.tmp_0.arg3 = globals.cursorOut___3729; + s.callLocIdx = 841; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = (s.index___84223 + 1); - s.col___84236 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P84243); + r0 = (s.index___27101 + 1); + s.col___27114 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P27121); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.col___84236); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.col___27114); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["ruleViews"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 831; s.pc = 4; return s.tmp_1; + s.callLocIdx = 843; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleViewDisplay_update__P84094.info = {"start":1968,"length":555,"line":46,"column":8,"endLine":60,"endColumn":9,"fileName":"ruleTransform.ts","functionName":"update","argumentNames":["this"]} +tileworld_ruleediting_RuleViewDisplay_update__P6388.info = {"start":1968,"length":555,"line":46,"column":8,"endLine":60,"endColumn":9,"fileName":"ruleTransform.ts","functionName":"update","argumentNames":["this"]} -function tileworld_ruleediting_RuleViewDisplay_update__P84094_mk(s) { +function tileworld_ruleediting_RuleViewDisplay_update__P6388_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleViewDisplay_update__P84094, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleViewDisplay_update__P6388, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - index___84223: undefined, - col___84236: undefined, + index___27101: undefined, + col___27114: undefined, arg0: undefined, } } @@ -70435,7 +70664,7 @@ function tileworld_ruleediting_RuleViewDisplay_update__P84094_mk(s) { -function inline__P84215(s) { +function inline__P27093(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70450,25 +70679,25 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = (s.arg1 + 1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; s.tmp_0.arg3 = s.arg0; - s.callLocIdx = 826; s.pc = 1; return s.tmp_0; + s.callLocIdx = 838; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P84215.info = {"start":2081,"length":72,"line":49,"column":36,"endLine":51,"endColumn":13,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P27093.info = {"start":2081,"length":72,"line":49,"column":36,"endLine":51,"endColumn":13,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P84215_mk(s) { +function inline__P27093_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P84215, depth: s.depth + 1, + parent: s, fn: inline__P27093, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -70479,7 +70708,7 @@ function inline__P84215_mk(s) { -function inline__P84243(s) { +function inline__P27121(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70494,25 +70723,25 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = (s.caps[1] + s.arg1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 1; - s.tmp_0.arg3 = globals.include2___73614; - s.callLocIdx = 830; s.pc = 1; return s.tmp_0; + s.tmp_0.arg3 = globals.include2___3734; + s.callLocIdx = 842; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P84243.info = {"start":2425,"length":86,"line":57,"column":35,"endLine":59,"endColumn":13,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":["rv","index"]} +inline__P27121.info = {"start":2425,"length":86,"line":57,"column":35,"endLine":59,"endColumn":13,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":["rv","index"]} -function inline__P84243_mk(s) { +function inline__P27121_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P84243, depth: s.depth + 1, + parent: s, fn: inline__P27121, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -70523,7 +70752,7 @@ function inline__P84243_mk(s) { -function tileworld_ruleediting_RuleViewDisplay_cursorMove__P84092(s) { +function tileworld_ruleediting_RuleViewDisplay_cursorMove__P6386(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70540,22 +70769,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleViewDisplay__C73686_VT)) failedCast(r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_cursorMove__P82980_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleViewDisplay__C3806_VT)) failedCast(r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_cursorMove__P3873464_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 817; s.pc = 1; return s.tmp_0; + s.callLocIdx = 829; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleViewDisplay_cursorToView__P84093_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleViewDisplay_cursorToView__P6387_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 818; s.pc = 2; return s.tmp_0; + s.callLocIdx = 830; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleViewDisplay__C73686_v0_1_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleViewDisplay__C3806_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleViewDisplay__C73686_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleViewDisplay__C3806_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 3; return s.tmp_0; case 3: @@ -70564,12 +70793,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleViewDisplay_cursorMove__P84092.info = {"start":1196,"length":173,"line":26,"column":8,"endLine":30,"endColumn":9,"fileName":"ruleTransform.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_ruleediting_RuleViewDisplay_cursorMove__P6386.info = {"start":1196,"length":173,"line":26,"column":8,"endLine":30,"endColumn":9,"fileName":"ruleTransform.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -function tileworld_ruleediting_RuleViewDisplay_cursorMove__P84092_mk(s) { +function tileworld_ruleediting_RuleViewDisplay_cursorMove__P6386_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleViewDisplay_cursorMove__P84092, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleViewDisplay_cursorMove__P6386, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -70581,7 +70810,7 @@ function tileworld_ruleediting_RuleViewDisplay_cursorMove__P84092_mk(s) { -function tileworld_ruleediting_RuleViewDisplay_cursorToView__P84093(s) { +function tileworld_ruleediting_RuleViewDisplay_cursorToView__P6387(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70591,26 +70820,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___84155 = undefined; - s.index___84175 = undefined; + s.t___27138 = undefined; + s.index___27158 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleViewDisplay__C73686_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleViewDisplay__C3806_VT)) failedCast(r0); r0 = s.arg0.fields["baseRule"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["r"]; r0 = r0.fields["transforms"]; - s.t___84155 = (r0); + s.t___27138 = (r0); r0 = s.arg0.fields["baseRule"]; s.tmp_0 = r0; r0 = (s.arg0).fields["rule"] = (s.tmp_0); - s.tmp_2 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 820; s.pc = 15; return s.tmp_2; + s.callLocIdx = 832; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; s.tmp_1 = r0; @@ -70621,7 +70850,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = (s.t___84155 != 0); + r0 = (s.t___27138 != 0); case 2: // jmp value (already in r0) s.tmp_3 = r0; @@ -70640,16 +70869,16 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 13; continue; } - r0 = pxsim_Array_.indexOf(globals.transformMap___84081, s.t___84155, undefined); - s.index___84175 = (r0); - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + r0 = pxsim_Array_.indexOf(globals.transformMap___6376, s.t___27138, undefined); + s.index___27158 = (r0); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 821; s.pc = 16; return s.tmp_2; + s.callLocIdx = 833; s.pc = 16; return s.tmp_2; case 16: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.index___84175 + 1); + r0 = (s.index___27158 + 1); s.tmp_3 = r0; r0 = (s.tmp_1 == s.tmp_3); s.tmp_0 = r0; @@ -70674,10 +70903,10 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_4 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 822; s.pc = 17; return s.tmp_4; + s.callLocIdx = 834; s.pc = 17; return s.tmp_4; case 17: r0 = s.retval; s.tmp_3 = r0; @@ -70690,10 +70919,10 @@ switch (step) { r0 = s.tmp_5; { step = 9; continue; } case 8: - s.tmp_7 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = true; - s.callLocIdx = 823; s.pc = 18; return s.tmp_7; + s.callLocIdx = 835; s.pc = 18; return s.tmp_7; case 18: r0 = s.retval; s.tmp_6 = r0; @@ -70706,10 +70935,10 @@ switch (step) { s.tmp_9 = r0 = s.arg0; r0 = s.arg0.fields["ruleViews"]; s.tmp_11 = r0; - s.tmp_14 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_14 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_14.arg0 = s.arg0; s.tmp_14.arg1 = true; - s.callLocIdx = 824; s.pc = 19; return s.tmp_14; + s.callLocIdx = 836; s.pc = 19; return s.tmp_14; case 19: r0 = s.retval; s.tmp_13 = r0; @@ -70723,9 +70952,9 @@ switch (step) { case 12: case 13: case 14: - s.tmp_0 = tileworld_ruleediting_RuleViewDisplay__C73686_v0_1_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleViewDisplay__C3806_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleViewDisplay__C73686_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleViewDisplay__C3806_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 20; return s.tmp_0; case 20: @@ -70734,12 +70963,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleViewDisplay_cursorToView__P84093.info = {"start":1379,"length":579,"line":32,"column":8,"endLine":44,"endColumn":9,"fileName":"ruleTransform.ts","functionName":"cursorToView","argumentNames":["this"]} +tileworld_ruleediting_RuleViewDisplay_cursorToView__P6387.info = {"start":1379,"length":579,"line":32,"column":8,"endLine":44,"endColumn":9,"fileName":"ruleTransform.ts","functionName":"cursorToView","argumentNames":["this"]} -function tileworld_ruleediting_RuleViewDisplay_cursorToView__P84093_mk(s) { +function tileworld_ruleediting_RuleViewDisplay_cursorToView__P6387_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleViewDisplay_cursorToView__P84093, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleViewDisplay_cursorToView__P6387, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70756,8 +70985,8 @@ function tileworld_ruleediting_RuleViewDisplay_cursorToView__P84093_mk(s) { tmp_12: undefined, tmp_13: undefined, tmp_14: undefined, - t___84155: undefined, - index___84175: undefined, + t___27138: undefined, + index___27158: undefined, arg0: undefined, } } @@ -70765,7 +70994,7 @@ function tileworld_ruleediting_RuleViewDisplay_cursorToView__P84093_mk(s) { -function tileworld_ruleediting_RuleEditor_showAttributes__P84393(s) { +function tileworld_ruleediting_RuleEditor_showAttributes__P6438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70783,8 +71012,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_showAttributes__P82995_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_showAttributes__P3873479_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -70792,19 +71021,19 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0.arg3 = r0; - s.callLocIdx = 1149; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1161; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_showAttributes__P84393.info = {"start":19025,"length":160,"line":431,"column":8,"endLine":433,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showAttributes","argumentNames":["this","col","row","show"]} +tileworld_ruleediting_RuleEditor_showAttributes__P6438.info = {"start":19025,"length":160,"line":431,"column":8,"endLine":433,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showAttributes","argumentNames":["this","col","row","show"]} -function tileworld_ruleediting_RuleEditor_showAttributes__P84393_mk(s) { +function tileworld_ruleediting_RuleEditor_showAttributes__P6438_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_showAttributes__P84393, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_showAttributes__P6438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70818,7 +71047,7 @@ function tileworld_ruleediting_RuleEditor_showAttributes__P84393_mk(s) { -function tileworld_ruleediting_RuleEditor_cursorMove__P84380(s) { +function tileworld_ruleediting_RuleEditor_cursorMove__P6425(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70835,24 +71064,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_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 = 3; continue; } - s.tmp_2 = tileworld_ruleediting_RuleDisplay_cursorMove__P82980_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_cursorMove__P3873464_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; - s.callLocIdx = 1025; s.pc = 29; return s.tmp_2; + s.callLocIdx = 1037; s.pc = 29; return s.tmp_2; case 29: r0 = s.retval; - s.tmp_2 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1026; s.pc = 30; return s.tmp_2; + s.callLocIdx = 1038; s.pc = 30; return s.tmp_2; case 30: r0 = s.retval; s.tmp_1 = r0; @@ -70860,9 +71089,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = tileworld_ruleediting_RuleEditor_restoreCursor__P84375_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleEditor_restoreCursor__P6420_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1027; s.pc = 31; return s.tmp_3; + s.callLocIdx = 1039; s.pc = 31; return s.tmp_3; case 31: r0 = s.retval; case 1: @@ -70874,10 +71103,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - s.tmp_3 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; - s.callLocIdx = 1028; s.pc = 32; return s.tmp_3; + s.callLocIdx = 1040; s.pc = 32; return s.tmp_3; case 32: r0 = s.retval; s.tmp_2 = r0; @@ -70885,20 +71114,20 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 5; continue; } - s.tmp_5 = Sprite_x__P71905_mk(s); + s.tmp_5 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 1029; s.pc = 33; return s.tmp_5; + s.callLocIdx = 1041; s.pc = 33; return s.tmp_5; case 33: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_4 + 16); { step = 6; continue; } case 5: - s.tmp_7 = Sprite_x__P71905_mk(s); + s.tmp_7 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_7.arg0 = r0; - s.callLocIdx = 1030; s.pc = 34; return s.tmp_7; + s.callLocIdx = 1042; s.pc = 34; return s.tmp_7; case 34: r0 = s.retval; s.tmp_6 = r0; @@ -70906,17 +71135,17 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_8 = r0; - s.tmp_9 = Sprite_x__P71906_mk(s); + s.tmp_9 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.tmp_8; - s.callLocIdx = 1031; s.pc = 35; return s.tmp_9; + s.callLocIdx = 1043; s.pc = 35; return s.tmp_9; case 35: r0 = s.retval; - s.tmp_2 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1032; s.pc = 36; return s.tmp_2; + s.callLocIdx = 1044; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; s.tmp_1 = r0; @@ -70924,40 +71153,40 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_y__P71907_mk(s); + s.tmp_4 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 1033; s.pc = 37; return s.tmp_4; + s.callLocIdx = 1045; s.pc = 37; return s.tmp_4; case 37: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_3 + 32); { step = 8; continue; } case 7: - s.tmp_5 = Sprite_y__P71907_mk(s); + s.tmp_5 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 1034; s.pc = 38; return s.tmp_5; + s.callLocIdx = 1046; s.pc = 38; return s.tmp_5; case 38: r0 = s.retval; case 8: // jmp value (already in r0) s.tmp_6 = r0; - s.tmp_7 = Sprite_y__P71908_mk(s); + s.tmp_7 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = s.tmp_6; - s.callLocIdx = 1035; s.pc = 39; return s.tmp_7; + s.callLocIdx = 1047; s.pc = 39; return s.tmp_7; case 39: r0 = s.retval; - s.tmp_0 = Sprite_say__P71954_mk(s); + s.tmp_0 = Sprite_say__P2074_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = null; s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; - s.callLocIdx = 1036; s.pc = 40; return s.tmp_0; + s.callLocIdx = 1048; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; r0 = s.arg0.fields["menu"]; @@ -70966,10 +71195,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1037; s.pc = 41; return s.tmp_4; + s.callLocIdx = 1049; s.pc = 41; return s.tmp_4; case 41: r0 = s.retval; s.tmp_3 = r0; @@ -70980,10 +71209,10 @@ switch (step) { r0 = s.tmp_2; { step = 10; continue; } case 9: - s.tmp_6 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = true; - s.callLocIdx = 1038; s.pc = 42; return s.tmp_6; + s.callLocIdx = 1050; s.pc = 42; return s.tmp_6; case 42: r0 = s.retval; s.tmp_5 = r0; @@ -70993,53 +71222,53 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 11; continue; } - s.tmp_8 = Sprite_say__P71954_mk(s); + s.tmp_8 = Sprite_say__P2074_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_8.arg0 = r0; - s.tmp_9 = tileworld_getHelp__P73422_mk(s); - s.tmp_9.arg0 = globals.menuHelpString___84987; - s.tmp_10 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_9 = tileworld_getHelp__P3542_mk(s); + s.tmp_9.arg0 = globals.menuHelpString___6415; + s.tmp_10 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_10.arg0 = s.arg0; s.tmp_10.arg1 = true; - s.callLocIdx = 1039; s.pc = 45; return s.tmp_10; + s.callLocIdx = 1051; s.pc = 45; return s.tmp_10; case 45: r0 = s.retval; s.tmp_9.arg1 = r0; - s.tmp_11 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_11 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_11.arg0 = s.arg0; s.tmp_11.arg1 = true; - s.callLocIdx = 1040; s.pc = 46; return s.tmp_11; + s.callLocIdx = 1052; s.pc = 46; return s.tmp_11; case 46: r0 = s.retval; s.tmp_9.arg2 = r0; - s.callLocIdx = 1041; s.pc = 44; return s.tmp_9; + s.callLocIdx = 1053; s.pc = 44; return s.tmp_9; case 44: r0 = s.retval; s.tmp_8.arg1 = r0; s.tmp_8.arg2 = undefined; s.tmp_8.arg3 = 15; s.tmp_8.arg4 = 1; - s.callLocIdx = 1042; s.pc = 43; return s.tmp_8; + s.callLocIdx = 1054; s.pc = 43; return s.tmp_8; case 43: r0 = s.retval; { step = 14; continue; } case 11: - s.tmp_1 = tileworld_ruleediting_RuleEditor_inWhenPredicate__P84381_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleEditor_inWhenPredicate__P6426_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 1043; s.pc = 47; return s.tmp_1; + s.callLocIdx = 1055; s.pc = 47; return s.tmp_1; case 47: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_2 = Sprite_say__P71954_mk(s); + s.tmp_2 = Sprite_say__P2074_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = "A: predicate"; s.tmp_2.arg2 = undefined; s.tmp_2.arg3 = 15; s.tmp_2.arg4 = 1; - s.callLocIdx = 1044; s.pc = 48; return s.tmp_2; + s.callLocIdx = 1056; s.pc = 48; return s.tmp_2; case 48: r0 = s.retval; case 12: @@ -71053,10 +71282,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1045; s.pc = 49; return s.tmp_4; + s.callLocIdx = 1057; s.pc = 49; return s.tmp_4; case 49: r0 = s.retval; s.tmp_3 = r0; @@ -71064,41 +71293,41 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 16; continue; } - s.tmp_5 = Sprite_say__P71954_mk(s); + s.tmp_5 = Sprite_say__P2074_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tileworld_getHelp__P73422_mk(s); - s.tmp_6.arg0 = globals.attrHelpString___84989; - s.tmp_7 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_6 = tileworld_getHelp__P3542_mk(s); + s.tmp_6.arg0 = globals.attrHelpString___6416; + s.tmp_7 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = true; - s.callLocIdx = 1046; s.pc = 52; return s.tmp_7; + s.callLocIdx = 1058; s.pc = 52; return s.tmp_7; case 52: r0 = s.retval; s.tmp_6.arg1 = r0; - s.tmp_8 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_8.arg0 = s.arg0; s.tmp_8.arg1 = true; - s.callLocIdx = 1047; s.pc = 53; return s.tmp_8; + s.callLocIdx = 1059; s.pc = 53; return s.tmp_8; case 53: r0 = s.retval; s.tmp_6.arg2 = r0; - s.callLocIdx = 1048; s.pc = 51; return s.tmp_6; + s.callLocIdx = 1060; s.pc = 51; return s.tmp_6; case 51: r0 = s.retval; s.tmp_5.arg1 = r0; s.tmp_5.arg2 = undefined; s.tmp_5.arg3 = 15; s.tmp_5.arg4 = 1; - s.callLocIdx = 1049; s.pc = 50; return s.tmp_5; + s.callLocIdx = 1061; s.pc = 50; return s.tmp_5; case 50: r0 = s.retval; { step = 21; continue; } case 16: - s.tmp_2 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1050; s.pc = 54; return s.tmp_2; + s.callLocIdx = 1062; s.pc = 54; return s.tmp_2; case 54: r0 = s.retval; s.tmp_1 = r0; @@ -71109,10 +71338,10 @@ switch (step) { r0 = s.tmp_0; { step = 18; continue; } case 17: - s.tmp_4 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1051; s.pc = 55; return s.tmp_4; + s.callLocIdx = 1063; s.pc = 55; return s.tmp_4; case 55: r0 = s.retval; s.tmp_3 = r0; @@ -71122,14 +71351,14 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 19; continue; } - s.tmp_6 = Sprite_say__P71954_mk(s); + s.tmp_6 = Sprite_say__P2074_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "A: set flag"; s.tmp_6.arg2 = undefined; s.tmp_6.arg3 = 15; s.tmp_6.arg4 = 1; - s.callLocIdx = 1052; s.pc = 56; return s.tmp_6; + s.callLocIdx = 1064; s.pc = 56; return s.tmp_6; case 56: r0 = s.retval; case 19: @@ -71143,10 +71372,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_2 = tileworld_ruleediting_RuleEditor_commandUpdate__P84391_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_commandUpdate__P6436_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1053; s.pc = 57; return s.tmp_2; + s.callLocIdx = 1065; s.pc = 57; return s.tmp_2; case 57: r0 = s.retval; case 23: @@ -71159,12 +71388,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_cursorMove__P84380.info = {"start":8816,"length":1412,"line":189,"column":8,"endLine":216,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_ruleediting_RuleEditor_cursorMove__P6425.info = {"start":8816,"length":1412,"line":189,"column":8,"endLine":216,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -function tileworld_ruleediting_RuleEditor_cursorMove__P84380_mk(s) { +function tileworld_ruleediting_RuleEditor_cursorMove__P6425_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_cursorMove__P84380, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_cursorMove__P6425, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -71187,7 +71416,7 @@ function tileworld_ruleediting_RuleEditor_cursorMove__P84380_mk(s) { -function tileworld_getHelp__P73422(s) { +function tileworld_getHelp__P3542(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71197,11 +71426,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___75865 = undefined; - s.curr___75874 = undefined; - s.nextCol___75876 = undefined; - s.nextRow___75886 = undefined; - s.comma___75898 = undefined; + s.index___27319 = undefined; + s.curr___27328 = undefined; + s.nextCol___27330 = undefined; + s.nextRow___27340 = undefined; + s.comma___27352 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -71218,16 +71447,16 @@ switch (step) { { step = 11; continue; } case 1: case 2: - s.index___75865 = (0); + s.index___27319 = (0); case 3: - r0 = (s.index___75865 >= 0); + r0 = (s.index___27319 >= 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___75865; + s.tmp_1 = r0 = s.index___27319; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -71236,41 +71465,41 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.curr___75874 = (s.index___75865); - r0 = pxsim_String_.substr(s.arg0, s.curr___75874, 1); + s.curr___27328 = (s.index___27319); + r0 = pxsim_String_.substr(s.arg0, s.curr___27328, 1); s.tmp_1 = r0; r0 = pxsim_String_.charCodeAt(s.tmp_1, 0); s.tmp_0 = r0; - r0 = (s.tmp_0 - globals.zeroCode___75857); - s.nextCol___75876 = (r0); + r0 = (s.tmp_0 - globals.zeroCode___5977); + s.nextCol___27330 = (r0); s.tmp_2 = r0 = s.arg0; - r0 = (s.curr___75874 + 1); + r0 = (s.curr___27328 + 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___75857); - s.nextRow___75886 = (r0); - r0 = pxsim_String_.indexOf(s.arg0, ",", s.index___75865); - s.comma___75898 = (r0); - r0 = (s.nextCol___75876 == s.arg1); + r0 = (s.tmp_0 - globals.zeroCode___5977); + s.nextRow___27340 = (r0); + r0 = pxsim_String_.indexOf(s.arg0, ",", s.index___27319); + s.comma___27352 = (r0); + r0 = (s.nextCol___27330 == 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___75886 == s.arg2); + r0 = (s.nextRow___27340 == 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___75874 + 2); + r0 = (s.curr___27328 + 2); s.tmp_3 = r0; - r0 = (s.comma___75898 - s.curr___75874); + r0 = (s.comma___27352 - s.curr___27328); s.tmp_5 = r0; r0 = (s.tmp_5 - 2); s.tmp_4 = r0; @@ -71278,8 +71507,8 @@ switch (step) { { step = 11; continue; } case 8: case 9: - r0 = (s.comma___75898 + 1); - s.index___75865 = (r0); + r0 = (s.comma___27352 + 1); + s.index___27319 = (r0); { step = 3; continue; } case 10: r0 = null; @@ -71287,12 +71516,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_getHelp__P73422.info = {"start":68,"length":596,"line":4,"column":4,"endLine":18,"endColumn":5,"fileName":"utilities.ts","functionName":"getHelp","argumentNames":["help","col","row"]} +tileworld_getHelp__P3542.info = {"start":68,"length":596,"line":4,"column":4,"endLine":18,"endColumn":5,"fileName":"utilities.ts","functionName":"getHelp","argumentNames":["help","col","row"]} -function tileworld_getHelp__P73422_mk(s) { +function tileworld_getHelp__P3542_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_getHelp__P73422, depth: s.depth + 1, + parent: s, fn: tileworld_getHelp__P3542, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -71300,11 +71529,11 @@ function tileworld_getHelp__P73422_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___75865: undefined, - curr___75874: undefined, - nextCol___75876: undefined, - nextRow___75886: undefined, - comma___75898: undefined, + index___27319: undefined, + curr___27328: undefined, + nextCol___27330: undefined, + nextRow___27340: undefined, + comma___27352: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -71314,7 +71543,7 @@ function tileworld_getHelp__P73422_mk(s) { -function tileworld_ruleediting_RuleEditor_okToMove__P84374(s) { +function tileworld_ruleediting_RuleEditor_okToMove__P6419(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71329,7 +71558,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C73701_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C3821_VT)) failedCast(r0); r0 = s.arg0.fields["askDeleteRule"]; s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); @@ -71338,12 +71567,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_okToMove__P84374.info = {"start":7967,"length":72,"line":158,"column":8,"endLine":160,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"okToMove","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_okToMove__P6419.info = {"start":7967,"length":72,"line":158,"column":8,"endLine":160,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"okToMove","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_okToMove__P84374_mk(s) { +function tileworld_ruleediting_RuleEditor_okToMove__P6419_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_okToMove__P84374, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_okToMove__P6419, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -71354,7 +71583,7 @@ function tileworld_ruleediting_RuleEditor_okToMove__P84374_mk(s) { -function tileworld_ruleediting_RuleRoom_cursorMove__P84258(s) { +function tileworld_ruleediting_RuleRoom_cursorMove__P6394(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71364,8 +71593,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___84445 = undefined; - s.message___84455 = undefined; + s.index___27418 = undefined; + s.message___27428 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -71373,16 +71602,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C73690_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C3810_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 = 9; continue; } - s.tmp_3 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; - s.callLocIdx = 859; s.pc = 11; return s.tmp_3; + s.callLocIdx = 871; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; @@ -71390,20 +71619,20 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 1; continue; } - s.tmp_5 = Sprite_x__P71905_mk(s); + s.tmp_5 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 860; s.pc = 12; return s.tmp_5; + s.callLocIdx = 872; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_4 + 8); { step = 2; continue; } case 1: - s.tmp_7 = Sprite_x__P71905_mk(s); + s.tmp_7 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_7.arg0 = r0; - s.callLocIdx = 861; s.pc = 13; return s.tmp_7; + s.callLocIdx = 873; s.pc = 13; return s.tmp_7; case 13: r0 = s.retval; s.tmp_6 = r0; @@ -71411,17 +71640,17 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_8 = r0; - s.tmp_9 = Sprite_x__P71906_mk(s); + s.tmp_9 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.tmp_8; - s.callLocIdx = 862; s.pc = 14; return s.tmp_9; + s.callLocIdx = 874; s.pc = 14; return s.tmp_9; case 14: r0 = s.retval; - s.tmp_2 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 863; s.pc = 15; return s.tmp_2; + s.callLocIdx = 875; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; s.tmp_1 = r0; @@ -71429,54 +71658,54 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_y__P71907_mk(s); + s.tmp_4 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 864; s.pc = 16; return s.tmp_4; + s.callLocIdx = 876; s.pc = 16; return s.tmp_4; case 16: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_3 + 32); { step = 4; continue; } case 3: - s.tmp_5 = Sprite_y__P71907_mk(s); + s.tmp_5 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 865; s.pc = 17; return s.tmp_5; + s.callLocIdx = 877; s.pc = 17; return s.tmp_5; case 17: r0 = s.retval; case 4: // jmp value (already in r0) s.tmp_6 = r0; - s.tmp_7 = Sprite_y__P71908_mk(s); + s.tmp_7 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = s.tmp_6; - s.callLocIdx = 866; s.pc = 18; return s.tmp_7; + s.callLocIdx = 878; s.pc = 18; return s.tmp_7; case 18: r0 = s.retval; r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 867; s.pc = 19; return s.tmp_2; + s.callLocIdx = 879; s.pc = 19; return s.tmp_2; case 19: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 868; s.pc = 20; return s.tmp_4; + s.callLocIdx = 880; s.pc = 20; return s.tmp_4; case 20: r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_3); - s.index___84445 = (r0); - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.index___27418 = (r0); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 869; s.pc = 21; return s.tmp_2; + s.callLocIdx = 881; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; s.tmp_1 = r0; @@ -71484,10 +71713,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_5 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_5 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_5.arg0 = s.arg0; s.tmp_5.arg1 = true; - s.callLocIdx = 870; s.pc = 22; return s.tmp_5; + s.callLocIdx = 882; s.pc = 22; return s.tmp_5; case 22: r0 = s.retval; s.tmp_4 = r0; @@ -71495,63 +71724,63 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 5; continue; } - r0 = globals.helpStringTop___84253; + r0 = globals.helpStringTop___6391; { step = 6; continue; } case 5: - r0 = globals.helpStringBot___84255; + r0 = globals.helpStringBot___6392; case 6: // jmp value (already in r0) s.tmp_6 = r0; - s.tmp_7 = tileworld_getHelp__P73422_mk(s); + s.tmp_7 = tileworld_getHelp__P3542_mk(s); s.tmp_7.arg0 = s.tmp_6; - s.tmp_8 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_8.arg0 = s.arg0; s.tmp_8.arg1 = true; - s.callLocIdx = 871; s.pc = 24; return s.tmp_8; + s.callLocIdx = 883; s.pc = 24; return s.tmp_8; case 24: r0 = s.retval; s.tmp_7.arg1 = r0; - s.tmp_9 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_9 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_9.arg0 = s.arg0; s.tmp_9.arg1 = true; - s.callLocIdx = 872; s.pc = 25; return s.tmp_9; + s.callLocIdx = 884; s.pc = 25; return s.tmp_9; case 25: r0 = s.retval; s.tmp_7.arg2 = r0; - s.callLocIdx = 873; s.pc = 23; return s.tmp_7; + s.callLocIdx = 885; s.pc = 23; return s.tmp_7; case 23: r0 = s.retval; - s.message___84455 = (r0); - s.tmp_0 = Sprite_say__P71954_mk(s); + s.message___27428 = (r0); + s.tmp_0 = Sprite_say__P2074_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.message___84455; + s.tmp_0.arg1 = s.message___27428; s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; - s.callLocIdx = 874; s.pc = 26; return s.tmp_0; + s.callLocIdx = 886; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; { step = 8; continue; } case 7: - s.tmp_0 = Sprite_say__P71954_mk(s); + s.tmp_0 = Sprite_say__P2074_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = null; s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; - s.callLocIdx = 875; s.pc = 27; return s.tmp_0; + s.callLocIdx = 887; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.tmp_0 = Sprite_say__P71954_mk(s); + s.tmp_0 = Sprite_say__P2074_mk(s); r0 = s.arg0.fields["moreHelp"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = null; s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; - s.callLocIdx = 876; s.pc = 28; return s.tmp_0; + s.callLocIdx = 888; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; case 8: @@ -71561,12 +71790,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_cursorMove__P84258.info = {"start":2087,"length":728,"line":47,"column":8,"endLine":60,"endColumn":9,"fileName":"spriteRules.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_ruleediting_RuleRoom_cursorMove__P6394.info = {"start":2087,"length":728,"line":47,"column":8,"endLine":60,"endColumn":9,"fileName":"spriteRules.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -function tileworld_ruleediting_RuleRoom_cursorMove__P84258_mk(s) { +function tileworld_ruleediting_RuleRoom_cursorMove__P6394_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_cursorMove__P84258, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_cursorMove__P6394, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -71578,8 +71807,8 @@ function tileworld_ruleediting_RuleRoom_cursorMove__P84258_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - index___84445: undefined, - message___84455: undefined, + index___27418: undefined, + message___27428: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -71589,7 +71818,7 @@ function tileworld_ruleediting_RuleRoom_cursorMove__P84258_mk(s) { -function tileworld_ruleediting_RuleDisplay_cursorMove__P82980(s) { +function tileworld_ruleediting_RuleDisplay_cursorMove__P3873464(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71606,22 +71835,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_otherCursorMove__P82979_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_otherCursorMove__P3873463_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 713; s.pc = 1; return s.tmp_0; + s.callLocIdx = 725; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_cursorMove__P82980.info = {"start":2884,"length":106,"line":72,"column":8,"endLine":74,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_ruleediting_RuleDisplay_cursorMove__P3873464.info = {"start":2884,"length":106,"line":72,"column":8,"endLine":74,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -function tileworld_ruleediting_RuleDisplay_cursorMove__P82980_mk(s) { +function tileworld_ruleediting_RuleDisplay_cursorMove__P3873464_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_cursorMove__P82980, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_cursorMove__P3873464, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -71633,7 +71862,7 @@ function tileworld_ruleediting_RuleDisplay_cursorMove__P82980_mk(s) { -function tileworld_ruleediting_RuleDisplay_otherCursorMove__P82979(s) { +function tileworld_ruleediting_RuleDisplay_otherCursorMove__P3873463(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71643,17 +71872,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___83074 = undefined; + s.row___3875423 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C73682_VT)) failedCast(r0); - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C3873456_VT)) failedCast(r0); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 704; s.pc = 5; return s.tmp_2; + s.callLocIdx = 716; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; s.tmp_1 = r0; @@ -71664,10 +71893,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 705; s.pc = 6; return s.tmp_4; + s.callLocIdx = 717; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; s.tmp_3 = r0; @@ -71677,30 +71906,30 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 3; continue; } - s.tmp_7 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = true; - s.callLocIdx = 706; s.pc = 7; return s.tmp_7; + s.callLocIdx = 718; s.pc = 7; return s.tmp_7; case 7: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 - 2); - s.row___83074 = (r0); - s.tmp_0 = Sprite_setFlag__P71959_mk(s); + s.row___3875423 = (r0); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = false; - s.callLocIdx = 707; s.pc = 8; return s.tmp_0; + s.callLocIdx = 719; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_x__P71906_mk(s); + s.tmp_0 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; - s.tmp_3 = tileworld_ruleediting_RuleDisplay_rowToColCoord__P82986_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_rowToColCoord__P3873470_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.row___83074; - s.callLocIdx = 708; s.pc = 10; return s.tmp_3; + s.tmp_3.arg1 = s.row___3875423; + s.callLocIdx = 720; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; @@ -71708,16 +71937,16 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 8); s.tmp_0.arg1 = r0; - s.callLocIdx = 709; s.pc = 9; return s.tmp_0; + s.callLocIdx = 721; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; - s.tmp_5 = tileworld_ruleediting_RuleDisplay_rowToRowCoord__P82987_mk(s); + s.tmp_5 = tileworld_ruleediting_RuleDisplay_rowToRowCoord__P3873471_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.row___83074; - s.callLocIdx = 710; s.pc = 12; return s.tmp_5; + s.tmp_5.arg1 = s.row___3875423; + s.callLocIdx = 722; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; s.tmp_4 = r0; @@ -71729,17 +71958,17 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 32); s.tmp_0.arg1 = r0; - s.callLocIdx = 711; s.pc = 11; return s.tmp_0; + s.callLocIdx = 723; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite_setFlag__P71959_mk(s); + s.tmp_0 = Sprite_setFlag__P2079_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 712; s.pc = 13; return s.tmp_0; + s.callLocIdx = 724; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 4: @@ -71747,12 +71976,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_otherCursorMove__P82979.info = {"start":2203,"length":671,"line":58,"column":8,"endLine":70,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"otherCursorMove","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_otherCursorMove__P3873463.info = {"start":2203,"length":671,"line":58,"column":8,"endLine":70,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"otherCursorMove","argumentNames":["this"]} -function tileworld_ruleediting_RuleDisplay_otherCursorMove__P82979_mk(s) { +function tileworld_ruleediting_RuleDisplay_otherCursorMove__P3873463_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_otherCursorMove__P82979, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_otherCursorMove__P3873463, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -71762,7 +71991,7 @@ function tileworld_ruleediting_RuleDisplay_otherCursorMove__P82979_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - row___83074: undefined, + row___3875423: undefined, arg0: undefined, } } @@ -71770,7 +71999,7 @@ function tileworld_ruleediting_RuleDisplay_otherCursorMove__P82979_mk(s) { -function tileworld_Gallery_update__P87024(s) { +function tileworld_Gallery_update__P6472(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71780,80 +72009,80 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___87128 = undefined; - s.row___87129 = undefined; + s.col___27525 = undefined; + s.row___27526 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Gallery__C73708_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Gallery__C3828_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___71682, 0); - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + r0 = pxsim_ImageMethods.fill(globals.screen___1802, 0); + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; 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.callLocIdx = 1308; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1320; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 1; r0 = s.arg0.fields["newImage"]; s.tmp_0.arg3 = r0; - s.callLocIdx = 1309; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1321; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 1; r0 = s.arg0.fields["current"]; s.tmp_0.arg3 = r0; - s.callLocIdx = 1310; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1322; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = pxsim_pxtrt.mklocRef(); - s.col___87128 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.col___87128, 4); + s.col___27525 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.col___27525, 4); r0 = pxsim_pxtrt.mklocRef(); - s.row___87129 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.row___87129, 1); - r0 = pxsim_pxtcore_mkAction(3, inline__P87133); + s.row___27526 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.row___27526, 1); + r0 = pxsim_pxtcore_mkAction(3, inline__P27530); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.col___87128); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.row___87129); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.col___27525); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.row___27526); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["gallery"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1312; s.pc = 4; return s.tmp_1; + s.callLocIdx = 1324; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Gallery_update__P87024.info = {"start":1283,"length":525,"line":32,"column":8,"endLine":46,"endColumn":9,"fileName":"gallery.ts","functionName":"update","argumentNames":["this"]} +tileworld_Gallery_update__P6472.info = {"start":1283,"length":525,"line":32,"column":8,"endLine":46,"endColumn":9,"fileName":"gallery.ts","functionName":"update","argumentNames":["this"]} -function tileworld_Gallery_update__P87024_mk(s) { +function tileworld_Gallery_update__P6472_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Gallery_update__P87024, depth: s.depth + 1, + parent: s, fn: tileworld_Gallery_update__P6472, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - col___87128: undefined, - row___87129: undefined, + col___27525: undefined, + row___27526: undefined, arg0: undefined, } } @@ -71861,7 +72090,7 @@ function tileworld_Gallery_update__P87024_mk(s) { -function inline__P87133(s) { +function inline__P27530(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71876,14 +72105,14 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg1 = r0; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg0; - s.callLocIdx = 1311; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1323; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = s.caps[0].fields["dirMap"]; @@ -71918,12 +72147,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P87133.info = {"start":1593,"length":203,"line":40,"column":33,"endLine":45,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P27530.info = {"start":1593,"length":203,"line":40,"column":33,"endLine":45,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P87133_mk(s) { +function inline__P27530_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P87133, depth: s.depth + 1, + parent: s, fn: inline__P27530, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -71936,7 +72165,7 @@ function inline__P87133_mk(s) { -function music_Melody_toString__P71487(s) { +function music_Melody_toString__P1607(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71951,17 +72180,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C71478_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C1598_VT)) failedCast(r0); r0 = s.arg0.fields["_text"]; return leave(s, r0) default: oops() } } } -music_Melody_toString__P71487.info = {"start":9640,"length":53,"line":303,"column":8,"endLine":305,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} +music_Melody_toString__P1607.info = {"start":9640,"length":53,"line":303,"column":8,"endLine":305,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} -function music_Melody_toString__P71487_mk(s) { +function music_Melody_toString__P1607_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_toString__P71487, depth: s.depth + 1, + parent: s, fn: music_Melody_toString__P1607, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -71970,7 +72199,7 @@ function music_Melody_toString__P71487_mk(s) { -function sprites_SpriteMap_toString__P71982(s) { +function sprites_SpriteMap_toString__P2102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71985,7 +72214,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C71974_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C2094_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -72005,10 +72234,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, " buckets, "); s.tmp_1 = r0; - s.tmp_10 = helpers_arrayFilter__P69988_mk(s); + s.tmp_10 = helpers_arrayFilter__P108_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = inline__P99029; + s.tmp_10.arg1 = inline__P27569; s.callLocIdx = 491; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; @@ -72030,12 +72259,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_toString__P71982.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__P2102.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__P71982_mk(s) { +function sprites_SpriteMap_toString__P2102_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P71982, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P2102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -72055,7 +72284,7 @@ function sprites_SpriteMap_toString__P71982_mk(s) { -function inline__P99029(s) { +function inline__P27569(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72079,12 +72308,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P99029.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["b"]} +inline__P27569.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__P99029_mk(s) { +function inline__P27569_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P99029, depth: s.depth + 1, + parent: s, fn: inline__P27569, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -72096,7 +72325,7 @@ function inline__P99029_mk(s) { -function ArcadePhysicsEngine_moveSprite__P72067(s) { +function ArcadePhysicsEngine_moveSprite__P2187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72106,9 +72335,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___99067 = undefined; - s.maxDist___99077 = undefined; - s.ms___99097 = undefined; + s.tm___27607 = undefined; + s.maxDist___27617 = undefined; + s.ms___27637 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -72117,7 +72346,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -72146,21 +72375,21 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tmp_4 = game_currentScene__P72409_mk(s); + s.tmp_4 = game_currentScene__P2529_mk(s); s.callLocIdx = 687; s.pc = 16; return s.tmp_4; case 16: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___99067 = (r0); - s.tmp_0 = r0 = s.tm___99067; + s.tm___27607 = (r0); + s.tmp_0 = r0 = s.tm___27607; 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__C72197_v6_1_mk(s); - s.tmp_1.arg0 = s.tm___99067; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = tiles_TileMap__C2317_v6_1_mk(s); + s.tmp_1.arg0 = s.tm___27607; + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C2317_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: @@ -72182,8 +72411,8 @@ switch (step) { r0 = (s.tmp_5 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); - s.maxDist___99077 = (r0); - s.tmp_2 = Math_abs__P70003_mk(s); + s.maxDist___27617 = (r0); + s.tmp_2 = Math_abs__P123_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); @@ -72192,14 +72421,14 @@ switch (step) { case 18: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___99077); + r0 = (s.tmp_1 <= s.maxDist___27617); 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__P70003_mk(s); + s.tmp_5 = Math_abs__P123_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); @@ -72208,15 +72437,15 @@ switch (step) { case 19: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___99077); + r0 = (s.tmp_4 <= s.maxDist___27617); 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__C72051_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C2171_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P72052_mk(s); + s.tmp_9 = MovingSprite_constructor__P2172_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -72230,20 +72459,20 @@ switch (step) { s.callLocIdx = 693; s.pc = 20; return s.tmp_9; case 20: r0 = s.retval; - s.ms___99097 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P74037_mk(s); + s.ms___27637 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P4157_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___99097; - s.tmp_0.arg2 = s.tm___99067; + s.tmp_0.arg1 = s.ms___27637; + s.tmp_0.arg2 = s.tm___27607; s.callLocIdx = 694; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; { step = 12; continue; } case 7: - s.tmp_1 = tiles_TileMap__C72197_v14_2_mk(s); - s.tmp_1.arg0 = s.tm___99067; + s.tmp_1 = tiles_TileMap__C2317_v14_2_mk(s); + s.tmp_1.arg0 = s.tm___27607; s.tmp_1.arg1 = s.arg1; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C2317_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: @@ -72254,10 +72483,10 @@ switch (step) { r0 = s.tmp_0; { step = 9; continue; } case 8: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P74039_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P4159_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___99067; + s.tmp_4.arg2 = s.tm___27607; s.callLocIdx = 695; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; @@ -72293,12 +72522,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_moveSprite__P72067.info = {"start":21343,"length":1276,"line":622,"column":4,"endLine":655,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} +ArcadePhysicsEngine_moveSprite__P2187.info = {"start":21343,"length":1276,"line":622,"column":4,"endLine":655,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} -function ArcadePhysicsEngine_moveSprite__P72067_mk(s) { +function ArcadePhysicsEngine_moveSprite__P2187_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P72067, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P2187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -72310,9 +72539,9 @@ function ArcadePhysicsEngine_moveSprite__P72067_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___99067: undefined, - maxDist___99077: undefined, - ms___99097: undefined, + tm___27607: undefined, + maxDist___27617: undefined, + ms___27637: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -72323,7 +72552,7 @@ function ArcadePhysicsEngine_moveSprite__P72067_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P74039(s) { +function ArcadePhysicsEngine_canResolveClipping__P4159(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72333,19 +72562,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___99142 = undefined; - s.sz___99145 = undefined; - s.maxMove___99150 = undefined; - s.origY___99152 = undefined; - s.origX___99155 = undefined; - s.l___99158 = undefined; - s.r___99163 = undefined; - s.t___99168 = undefined; - s.b___99173 = undefined; - s.offset___99178 = undefined; - s.offset___99203 = undefined; - s.offset___99234 = undefined; - s.offset___99259 = undefined; + s.hbox___27682 = undefined; + s.sz___27685 = undefined; + s.maxMove___27690 = undefined; + s.origY___27692 = undefined; + s.origX___27695 = undefined; + s.l___27698 = undefined; + s.r___27703 = undefined; + s.t___27708 = undefined; + s.b___27713 = undefined; + s.offset___27718 = undefined; + s.offset___27743 = undefined; + s.offset___27774 = undefined; + s.offset___27799 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -72353,7 +72582,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_VT)) failedCast(r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); @@ -72364,7 +72593,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite_setHitbox__P71937_mk(s); + s.tmp_4 = Sprite_setHitbox__P2057_mk(s); s.tmp_4.arg0 = s.arg1; s.callLocIdx = 697; s.pc = 20; return s.tmp_4; case 20: @@ -72372,23 +72601,23 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___99142 = (r0); + s.hbox___27682 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___99145 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P72059_mk(s); + s.sz___27685 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P2179_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 699; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.maxMove___99150 = (r0); + s.maxMove___27690 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___99152 = (r0); + s.origY___27692 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___99155 = (r0); - s.tmp_1 = game_Hitbox_left__P71846_mk(s); - s.tmp_1.arg0 = s.hbox___99142; + s.origX___27695 = (r0); + s.tmp_1 = game_Hitbox_left__P1966_mk(s); + s.tmp_1.arg0 = s.hbox___27682; s.callLocIdx = 700; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; @@ -72396,9 +72625,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___99158 = (r0); - s.tmp_1 = game_Hitbox_right__P71848_mk(s); - s.tmp_1.arg0 = s.hbox___99142; + s.l___27698 = (r0); + s.tmp_1 = game_Hitbox_right__P1968_mk(s); + s.tmp_1.arg0 = s.hbox___27682; s.callLocIdx = 702; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; @@ -72406,9 +72635,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___99163 = (r0); - s.tmp_1 = game_Hitbox_top__P71847_mk(s); - s.tmp_1.arg0 = s.hbox___99142; + s.r___27703 = (r0); + s.tmp_1 = game_Hitbox_top__P1967_mk(s); + s.tmp_1.arg0 = s.hbox___27682; s.callLocIdx = 704; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; @@ -72416,9 +72645,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___99168 = (r0); - s.tmp_1 = game_Hitbox_bottom__P71849_mk(s); - s.tmp_1.arg0 = s.hbox___99142; + s.t___27708 = (r0); + s.tmp_1 = game_Hitbox_bottom__P1969_mk(s); + s.tmp_1.arg0 = s.hbox___27682; s.callLocIdx = 706; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -72426,29 +72655,29 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___99173 = (r0); - r0 = (s.b___99173 + 1); + s.b___27713 = (r0); + r0 = (s.b___27713 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___99145); - s.offset___99178 = (r0); - r0 = (s.offset___99178 <= s.maxMove___99150); + r0 = (s.tmp_0 % s.sz___27685); + s.offset___27718 = (r0); + r0 = (s.offset___27718 <= s.maxMove___27690); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } s.tmp_1 = r0 = s.arg1; r0 = s.arg1.fields["_y"]; s.tmp_3 = r0; - r0 = (s.offset___99178 * 256); + r0 = (s.offset___27718 * 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__C72197_v14_2_mk(s); + s.tmp_3 = tiles_TileMap__C2317_v14_2_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C2317_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: @@ -72464,38 +72693,38 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___99152); + r0 = (s.arg1).fields["_y"] = (s.origY___27692); case 4: case 5: case 6: - r0 = (s.t___99168 / s.sz___99145); + r0 = (s.t___27708 / s.sz___27685); 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___99145); + r0 = (s.tmp_1 * s.sz___27685); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___99168); - s.offset___99203 = (r0); - r0 = (s.offset___99203 <= s.maxMove___99150); + r0 = (s.tmp_0 - s.t___27708); + s.offset___27743 = (r0); + r0 = (s.offset___27743 <= s.maxMove___27690); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } s.tmp_1 = r0 = s.arg1; r0 = s.arg1.fields["_y"]; s.tmp_3 = r0; - r0 = (s.offset___99203 * 256); + r0 = (s.offset___27743 * 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__C72197_v14_2_mk(s); + s.tmp_3 = tiles_TileMap__C2317_v14_2_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isOnWall; s.pc = 27; return s.tmp_3; case 27: @@ -72511,32 +72740,32 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___99152); + r0 = (s.arg1).fields["_y"] = (s.origY___27692); case 8: case 9: case 10: - r0 = (s.r___99163 + 1); + r0 = (s.r___27703 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___99145); - s.offset___99234 = (r0); - r0 = (s.offset___99234 <= s.maxMove___99150); + r0 = (s.tmp_0 % s.sz___27685); + s.offset___27774 = (r0); + r0 = (s.offset___27774 <= s.maxMove___27690); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } s.tmp_1 = r0 = s.arg1; r0 = s.arg1.fields["_x"]; s.tmp_3 = r0; - r0 = (s.offset___99234 * 256); + r0 = (s.offset___27774 * 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__C72197_v14_2_mk(s); + s.tmp_3 = tiles_TileMap__C2317_v14_2_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isOnWall; s.pc = 28; return s.tmp_3; case 28: @@ -72552,38 +72781,38 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___99155); + r0 = (s.arg1).fields["_x"] = (s.origX___27695); case 12: case 13: case 14: - r0 = (s.l___99158 / s.sz___99145); + r0 = (s.l___27698 / s.sz___27685); 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___99145); + r0 = (s.tmp_1 * s.sz___27685); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___99158); - s.offset___99259 = (r0); - r0 = (s.offset___99259 <= s.maxMove___99150); + r0 = (s.tmp_0 - s.l___27698); + s.offset___27799 = (r0); + r0 = (s.offset___27799 <= s.maxMove___27690); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } s.tmp_1 = r0 = s.arg1; r0 = s.arg1.fields["_x"]; s.tmp_3 = r0; - r0 = (s.offset___99259 * 256); + r0 = (s.offset___27799 * 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__C72197_v14_2_mk(s); + s.tmp_3 = tiles_TileMap__C2317_v14_2_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isOnWall; s.pc = 29; return s.tmp_3; case 29: @@ -72599,7 +72828,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___99155); + r0 = (s.arg1).fields["_x"] = (s.origX___27695); case 16: case 17: case 18: @@ -72608,12 +72837,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P74039.info = {"start":22715,"length":2135,"line":658,"column":4,"endLine":729,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} +ArcadePhysicsEngine_canResolveClipping__P4159.info = {"start":22715,"length":2135,"line":658,"column":4,"endLine":729,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} -function ArcadePhysicsEngine_canResolveClipping__P74039_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P4159_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P74039, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P4159, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -72621,19 +72850,19 @@ function ArcadePhysicsEngine_canResolveClipping__P74039_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___99142: undefined, - sz___99145: undefined, - maxMove___99150: undefined, - origY___99152: undefined, - origX___99155: undefined, - l___99158: undefined, - r___99163: undefined, - t___99168: undefined, - b___99173: undefined, - offset___99178: undefined, - offset___99203: undefined, - offset___99234: undefined, - offset___99259: undefined, + hbox___27682: undefined, + sz___27685: undefined, + maxMove___27690: undefined, + origY___27692: undefined, + origX___27695: undefined, + l___27698: undefined, + r___27703: undefined, + t___27708: undefined, + b___27713: undefined, + offset___27718: undefined, + offset___27743: undefined, + offset___27774: undefined, + offset___27799: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -72643,7 +72872,7 @@ function ArcadePhysicsEngine_canResolveClipping__P74039_mk(s) { -function Sprite_isStatic__P71938(s) { +function Sprite_isStatic__P2058(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72658,19 +72887,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_0); return leave(s, r0) default: oops() } } } -Sprite_isStatic__P71938.info = {"start":8266,"length":57,"line":299,"column":4,"endLine":301,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} +Sprite_isStatic__P2058.info = {"start":8266,"length":57,"line":299,"column":4,"endLine":301,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} -function Sprite_isStatic__P71938_mk(s) { +function Sprite_isStatic__P2058_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isStatic__P71938, depth: s.depth + 1, + parent: s, fn: Sprite_isStatic__P2058, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -72680,7 +72909,7 @@ function Sprite_isStatic__P71938_mk(s) { -function game_Hitbox_bottom__P71849(s) { +function game_Hitbox_bottom__P1969(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72695,10 +72924,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C71839_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C1959_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P71847_mk(s); + s.tmp_3 = game_Hitbox_top__P1967_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 214; s.pc = 1; return s.tmp_3; case 1: @@ -72710,13 +72939,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_bottom__P71849.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__P71849.isGetter = true; +game_Hitbox_bottom__P1969.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__P1969.isGetter = true; -function game_Hitbox_bottom__P71849_mk(s) { +function game_Hitbox_bottom__P1969_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P71849, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P1969, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -72729,7 +72958,7 @@ function game_Hitbox_bottom__P71849_mk(s) { -function game_Hitbox_right__P71848(s) { +function game_Hitbox_right__P1968(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72744,10 +72973,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C71839_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C1959_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P71846_mk(s); + s.tmp_3 = game_Hitbox_left__P1966_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 211; s.pc = 1; return s.tmp_3; case 1: @@ -72759,13 +72988,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_right__P71848.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__P71848.isGetter = true; +game_Hitbox_right__P1968.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__P1968.isGetter = true; -function game_Hitbox_right__P71848_mk(s) { +function game_Hitbox_right__P1968_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P71848, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P1968, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -72778,7 +73007,7 @@ function game_Hitbox_right__P71848_mk(s) { -function game_Hitbox_top__P71847(s) { +function game_Hitbox_top__P1967(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72793,7 +73022,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C71839_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C1959_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -72803,13 +73032,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_top__P71847.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__P71847.isGetter = true; +game_Hitbox_top__P1967.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__P1967.isGetter = true; -function game_Hitbox_top__P71847_mk(s) { +function game_Hitbox_top__P1967_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P71847, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P1967, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -72820,7 +73049,7 @@ function game_Hitbox_top__P71847_mk(s) { -function game_Hitbox_left__P71846(s) { +function game_Hitbox_left__P1966(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72835,7 +73064,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C71839_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C1959_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -72845,13 +73074,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_left__P71846.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__P71846.isGetter = true; +game_Hitbox_left__P1966.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__P1966.isGetter = true; -function game_Hitbox_left__P71846_mk(s) { +function game_Hitbox_left__P1966_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P71846, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P1966, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -72862,7 +73091,7 @@ function game_Hitbox_left__P71846_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P74037(s) { +function ArcadePhysicsEngine_tilemapCollisions__P4157(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72872,38 +73101,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___99348 = undefined; - s.hbox___99371 = undefined; - s.tileScale___99374 = undefined; - s.tileSize___99377 = undefined; - s.xDiff___99381 = undefined; - s.yDiff___99388 = undefined; - s.overlappedTiles___99395 = undefined; - s.right___99400 = undefined; - s.x0___99404 = undefined; - s.collidedTiles___99419 = undefined; - s.y___99421 = undefined; - s.y0___99435 = undefined; - s.obstacle___99451 = undefined; - s.collisionDirection___99485 = undefined; - s.tile___99511 = undefined; - s.unnamed148___U15 = undefined; - s.unnamed149___U16 = undefined; - s.down___99589 = undefined; - s.y0___99593 = undefined; - s.collidedTiles___99608 = undefined; - s.overlappedTiles___99610 = undefined; - s.x___99612 = undefined; - s.x0___99622 = undefined; - s.obstacle___99636 = undefined; - s.collisionDirection___99670 = undefined; - s.tile___99696 = undefined; - s.unnamed150___U26 = undefined; - s.unnamed151___U27 = undefined; - s.x___99771 = undefined; - s.x0___99781 = undefined; - s.y___99791 = undefined; - s.y0___99801 = undefined; + s.s___27951 = undefined; + s.hbox___27974 = undefined; + s.tileScale___27977 = undefined; + s.tileSize___27980 = undefined; + s.xDiff___27984 = undefined; + s.yDiff___27991 = undefined; + s.overlappedTiles___27998 = undefined; + s.right___28003 = undefined; + s.x0___28007 = undefined; + s.collidedTiles___28022 = undefined; + s.y___28024 = undefined; + s.y0___28038 = undefined; + s.obstacle___28054 = undefined; + s.collisionDirection___28088 = undefined; + s.tile___28114 = undefined; + s.unnamed68___U15 = undefined; + s.unnamed69___U16 = undefined; + s.down___28192 = undefined; + s.y0___28196 = undefined; + s.collidedTiles___28211 = undefined; + s.overlappedTiles___28213 = undefined; + s.x___28215 = undefined; + s.x0___28225 = undefined; + s.obstacle___28239 = undefined; + s.collisionDirection___28273 = undefined; + s.tile___28299 = undefined; + s.unnamed70___U26 = undefined; + s.unnamed71___U27 = undefined; + s.x___28374 = undefined; + s.x0___28384 = undefined; + s.y___28394 = undefined; + s.y0___28404 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -72911,19 +73140,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___99348 = (r0); - r0 = s.s___99348.fields["flags"]; + s.s___27951 = (r0); + r0 = s.s___27951.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__C72197_v14_2_mk(s); + s.tmp_3 = tiles_TileMap__C2317_v14_2_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.s___99348; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_3.arg0); + s.tmp_3.arg1 = s.s___27951; + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isOnWall; s.pc = 84; return s.tmp_3; case 84: @@ -72934,7 +73163,7 @@ switch (step) { { step = 83; continue; } { step = 2; continue; } case 1: - s.tmp_4 = r0 = s.s___99348; + s.tmp_4 = r0 = s.s___27951; r0 = s.tmp_4.fields["flags"]; s.tmp_6 = r0; r0 = (s.tmp_6 & -257); @@ -72943,7 +73172,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___99348.fields["_image"]; + r0 = s.s___27951.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -72953,43 +73182,43 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = Sprite_setHitbox__P71937_mk(s); - s.tmp_4.arg0 = s.s___99348; + s.tmp_4 = Sprite_setHitbox__P2057_mk(s); + s.tmp_4.arg0 = s.s___27951; s.callLocIdx = 590; s.pc = 85; return s.tmp_4; case 85: r0 = s.retval; case 5: case 6: - r0 = s.s___99348.fields["_hitbox"]; - s.hbox___99371 = (r0); + r0 = s.s___27951.fields["_hitbox"]; + s.hbox___27974 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___99374 = (r0); - r0 = (1 << s.tileScale___99374); - s.tileSize___99377 = (r0); - r0 = s.s___99348.fields["_x"]; + s.tileScale___27977 = (r0); + r0 = (1 << s.tileScale___27977); + s.tileSize___27980 = (r0); + r0 = s.s___27951.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___99348.fields["_lastX"]; + r0 = s.s___27951.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___99381 = (r0); - r0 = s.s___99348.fields["_y"]; + s.xDiff___27984 = (r0); + r0 = s.s___27951.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___99348.fields["_lastY"]; + r0 = s.s___27951.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___99388 = (r0); + s.yDiff___27991 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___99395 = (r0); - r0 = (s.xDiff___99381 !== 0); + s.overlappedTiles___27998 = (r0); + r0 = (s.xDiff___27984 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 39; continue; } - r0 = (s.xDiff___99381 > 0); - s.right___99400 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___99400); + r0 = (s.xDiff___27984 > 0); + s.right___28003 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___28003); if (!r0) { step = 7; continue; } - s.tmp_1 = game_Hitbox_right__P71848_mk(s); - s.tmp_1.arg0 = s.hbox___99371; + s.tmp_1 = game_Hitbox_right__P1968_mk(s); + s.tmp_1.arg0 = s.hbox___27974; s.callLocIdx = 594; s.pc = 86; return s.tmp_1; case 86: r0 = s.retval; @@ -72997,8 +73226,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 8; continue; } case 7: - s.tmp_3 = game_Hitbox_left__P71846_mk(s); - s.tmp_3.arg0 = s.hbox___99371; + s.tmp_3 = game_Hitbox_left__P1966_mk(s); + s.tmp_3.arg0 = s.hbox___27974; s.callLocIdx = 596; s.pc = 87; return s.tmp_3; case 87: r0 = s.retval; @@ -73009,30 +73238,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___99374 + 8); + r0 = (s.tileScale___27977 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___99404 = (r0); + s.x0___28007 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___99419 = (r0); - s.tmp_1 = game_Hitbox_top__P71847_mk(s); - s.tmp_1.arg0 = s.hbox___99371; + s.collidedTiles___28022 = (r0); + s.tmp_1 = game_Hitbox_top__P1967_mk(s); + s.tmp_1.arg0 = s.hbox___27974; s.callLocIdx = 600; s.pc = 88; return s.tmp_1; case 88: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___99388); - s.y___99421 = (r0); + r0 = (s.tmp_0 - s.yDiff___27991); + s.y___28024 = (r0); case 9: - s.tmp_1 = r0 = s.y___99421; - s.tmp_3 = r0 = s.tileSize___99377; - s.tmp_6 = game_Hitbox_bottom__P71849_mk(s); - s.tmp_6.arg0 = s.hbox___99371; + s.tmp_1 = r0 = s.y___28024; + s.tmp_3 = r0 = s.tileSize___27980; + s.tmp_6 = game_Hitbox_bottom__P1969_mk(s); + s.tmp_6.arg0 = s.hbox___27974; s.callLocIdx = 602; s.pc = 89; return s.tmp_6; case 89: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___99388); + r0 = (s.tmp_5 - s.yDiff___27991); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -73042,15 +73271,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_10 = Fx_min__P70041_mk(s); - s.tmp_10.arg0 = s.y___99421; - s.tmp_12 = game_Hitbox_bottom__P71849_mk(s); - s.tmp_12.arg0 = s.hbox___99371; + s.tmp_10 = Fx_min__P161_mk(s); + s.tmp_10.arg0 = s.y___28024; + s.tmp_12 = game_Hitbox_bottom__P1969_mk(s); + s.tmp_12.arg0 = s.hbox___27974; s.callLocIdx = 605; s.pc = 91; return s.tmp_12; case 91: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___99388); + r0 = (s.tmp_11 - s.yDiff___27991); s.tmp_10.arg1 = r0; s.callLocIdx = 607; s.pc = 90; return s.tmp_10; case 90: @@ -73058,15 +73287,15 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___99374 + 8); + r0 = (s.tileScale___27977 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___99435 = (r0); - s.tmp_1 = tiles_TileMap__C72197_v12_3_mk(s); + s.y0___28038 = (r0); + s.tmp_1 = tiles_TileMap__C2317_v12_3_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___99404; - s.tmp_1.arg2 = s.y0___99435; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1.arg1 = s.x0___28007; + s.tmp_1.arg2 = s.y0___28038; + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isObstacle; s.pc = 92; return s.tmp_1; case 92: @@ -73074,21 +73303,21 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_2 = tiles_TileMap__C72197_v13_3_mk(s); + s.tmp_2 = tiles_TileMap__C2317_v13_3_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___99404; - s.tmp_2.arg2 = s.y0___99435; - if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_2.arg0); + s.tmp_2.arg1 = s.x0___28007; + s.tmp_2.arg2 = s.y0___28038; + if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.getObstacle; s.pc = 93; return s.tmp_2; case 93: r0 = s.retval; - s.obstacle___99451 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P99459); + s.obstacle___28054 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P28062); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___99451); - s.tmp_4 = helpers_arraySome__P69985_mk(s); - s.tmp_4.arg0 = s.collidedTiles___99419; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___28054); + s.tmp_4 = helpers_arraySome__P105_mk(s); + s.tmp_4.arg0 = s.collidedTiles___28022; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 610; s.pc = 94; return s.tmp_4; case 94: @@ -73100,17 +73329,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__push(s.collidedTiles___99419, s.obstacle___99451); + r0 = pxsim_Array__push(s.collidedTiles___28022, s.obstacle___28054); case 10: case 11: { step = 13; continue; } case 12: - s.tmp_0 = r0 = s.overlappedTiles___99395; - s.tmp_2 = tiles_TileMap__C72197_v7_3_mk(s); + s.tmp_0 = r0 = s.overlappedTiles___27998; + s.tmp_2 = tiles_TileMap__C2317_v7_3_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___99404; - s.tmp_2.arg2 = s.y0___99435; - if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_2.arg0); + s.tmp_2.arg1 = s.x0___28007; + s.tmp_2.arg2 = s.y0___28038; + if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.getTile; s.pc = 95; return s.tmp_2; case 95: @@ -73118,17 +73347,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); case 13: - r0 = (s.tileSize___99377 << 8); + r0 = (s.tileSize___27980 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___99421); - s.y___99421 = (r0); + r0 = (s.tmp_0 + s.y___28024); + s.y___28024 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___99419); + r0 = pxsim_Array__length(s.collidedTiles___28022); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 37; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___99400); + r0 = pxsim_numops_toBoolDecr(s.right___28003); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -73137,23 +73366,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___99485 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___99400); + s.collisionDirection___28088 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___28003); if (!r0) { step = 17; continue; } - r0 = (s.x0___99404 << s.tileScale___99374); + r0 = (s.x0___28007 << s.tileScale___27977); 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___99371.fields["width"]; + r0 = s.hbox___27974.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___99404 + 1); + r0 = (s.x0___28007 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___99374); + r0 = (s.tmp_5 << s.tileScale___27977); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -73161,44 +73390,44 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___99348; - r0 = s.hbox___99371.fields["ox"]; + s.tmp_8 = r0 = s.s___27951; + r0 = s.hbox___27974.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___99511 = (undefined); - s.unnamed148___U15 = (s.collidedTiles___99419); - s.unnamed149___U16 = (0); + s.tile___28114 = (undefined); + s.unnamed68___U15 = (s.collidedTiles___28022); + s.unnamed69___U16 = (0); case 19: - s.tmp_0 = r0 = s.unnamed149___U16; - r0 = pxsim_Array__length(s.unnamed148___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 = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed148___U15, s.unnamed149___U16); - s.tile___99511 = (r0); - s.tmp_2 = Sprite_registerObstacle__P71965_mk(s); - s.tmp_2.arg0 = s.s___99348; - s.tmp_2.arg1 = s.collisionDirection___99485; - s.tmp_2.arg2 = s.tile___99511; + r0 = pxsim_Array__getAt(s.unnamed68___U15, s.unnamed69___U16); + s.tile___28114 = (r0); + s.tmp_2 = Sprite_registerObstacle__P2085_mk(s); + s.tmp_2.arg0 = s.s___27951; + s.tmp_2.arg1 = s.collisionDirection___28088; + s.tmp_2.arg2 = s.tile___28114; s.tmp_2.arg3 = s.arg2; s.callLocIdx = 616; s.pc = 96; return s.tmp_2; case 96: r0 = s.retval; - r0 = (s.unnamed149___U16 + 1); - s.unnamed149___U16 = (r0); + r0 = (s.unnamed69___U16 + 1); + s.unnamed69___U16 = (r0); { step = 19; continue; } case 20: - s.unnamed148___U15 = (undefined); - r0 = s.s___99348.fields["flags"]; + s.unnamed68___U15 = (undefined); + r0 = s.s___27951.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 16); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 21; continue; } - s.tmp_2 = Sprite_destroy__P71967_mk(s); - s.tmp_2.arg0 = s.s___99348; + s.tmp_2 = Sprite_destroy__P2087_mk(s); + s.tmp_2.arg0 = s.s___27951; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 617; s.pc = 97; return s.tmp_2; @@ -73206,7 +73435,7 @@ switch (step) { r0 = s.retval; { step = 36; continue; } case 21: - r0 = s.s___99348.fields["_vx"]; + r0 = s.s___27951.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -73214,13 +73443,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = s.s___99348.fields["flags"]; + r0 = s.s___27951.fields["flags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 32); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 30; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___99400); + r0 = pxsim_numops_toBoolDecr(s.right___28003); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -73229,8 +73458,8 @@ switch (step) { r0 = s.tmp_5; { step = 23; continue; } case 22: - s.tmp_8 = Sprite_vx__P71909_mk(s); - s.tmp_8.arg0 = s.s___99348; + s.tmp_8 = Sprite_vx__P2029_mk(s); + s.tmp_8.arg0 = s.s___27951; s.callLocIdx = 618; s.pc = 98; return s.tmp_8; case 98: r0 = s.retval; @@ -73244,14 +73473,14 @@ switch (step) { r0 = s.tmp_9; { step = 27; continue; } case 24: - s.tmp_10 = r0 = s.right___99400; + s.tmp_10 = r0 = s.right___28003; r0 = pxsim_numops_toBool(s.tmp_10); if (r0) { step = 25; continue; } r0 = s.tmp_10; { step = 26; continue; } case 25: - s.tmp_12 = Sprite_vx__P71909_mk(s); - s.tmp_12.arg0 = s.s___99348; + s.tmp_12 = Sprite_vx__P2029_mk(s); + s.tmp_12.arg0 = s.s___27951; s.callLocIdx = 619; s.pc = 99; return s.tmp_12; case 99: r0 = s.retval; @@ -73266,8 +73495,8 @@ switch (step) { s.tmp_14 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_14); if (!r0) { step = 28; continue; } - s.tmp_15 = r0 = s.s___99348; - r0 = s.s___99348.fields["_vx"]; + s.tmp_15 = r0 = s.s___27951; + r0 = s.s___27951.fields["_vx"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -73289,12 +73518,12 @@ switch (step) { { step = 31; continue; } case 30: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___99348).fields["_vx"] = (0); + r0 = (s.s___27951).fields["_vx"] = (0); case 31: { step = 35; continue; } case 32: - s.tmp_2 = Math_sign__P70004_mk(s); - r0 = s.s___99348.fields["_vx"]; + s.tmp_2 = Math_sign__P124_mk(s); + r0 = s.s___27951.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -73304,7 +73533,7 @@ switch (step) { case 100: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P70004_mk(s); + s.tmp_6 = Math_sign__P124_mk(s); r0 = s.arg1.fields["cachedVx"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -73328,16 +73557,16 @@ switch (step) { case 38: case 39: case 40: - r0 = (s.yDiff___99388 !== 0); + r0 = (s.yDiff___27991 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 73; continue; } - r0 = (s.yDiff___99388 > 0); - s.down___99589 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___99589); + r0 = (s.yDiff___27991 > 0); + s.down___28192 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___28192); if (!r0) { step = 41; continue; } - s.tmp_1 = game_Hitbox_bottom__P71849_mk(s); - s.tmp_1.arg0 = s.hbox___99371; + s.tmp_1 = game_Hitbox_bottom__P1969_mk(s); + s.tmp_1.arg0 = s.hbox___27974; s.callLocIdx = 627; s.pc = 102; return s.tmp_1; case 102: r0 = s.retval; @@ -73345,8 +73574,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 42; continue; } case 41: - s.tmp_3 = game_Hitbox_top__P71847_mk(s); - s.tmp_3.arg0 = s.hbox___99371; + s.tmp_3 = game_Hitbox_top__P1967_mk(s); + s.tmp_3.arg0 = s.hbox___27974; s.callLocIdx = 629; s.pc = 103; return s.tmp_3; case 103: r0 = s.retval; @@ -73357,25 +73586,25 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___99374 + 8); + r0 = (s.tileScale___27977 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___99593 = (r0); + s.y0___28196 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___99608 = (r0); + s.collidedTiles___28211 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___99610 = (r0); - s.tmp_0 = game_Hitbox_left__P71846_mk(s); - s.tmp_0.arg0 = s.hbox___99371; + s.overlappedTiles___28213 = (r0); + s.tmp_0 = game_Hitbox_left__P1966_mk(s); + s.tmp_0.arg0 = s.hbox___27974; s.callLocIdx = 633; s.pc = 104; return s.tmp_0; case 104: r0 = s.retval; - s.x___99612 = (r0); + s.x___28215 = (r0); case 43: - s.tmp_1 = r0 = s.x___99612; - s.tmp_3 = r0 = s.tileSize___99377; - s.tmp_5 = game_Hitbox_right__P71848_mk(s); - s.tmp_5.arg0 = s.hbox___99371; + s.tmp_1 = r0 = s.x___28215; + s.tmp_3 = r0 = s.tileSize___27980; + s.tmp_5 = game_Hitbox_right__P1968_mk(s); + s.tmp_5.arg0 = s.hbox___27974; s.callLocIdx = 634; s.pc = 105; return s.tmp_5; case 105: r0 = s.retval; @@ -73388,10 +73617,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } - s.tmp_9 = Fx_min__P70041_mk(s); - s.tmp_9.arg0 = s.x___99612; - s.tmp_10 = game_Hitbox_right__P71848_mk(s); - s.tmp_10.arg0 = s.hbox___99371; + s.tmp_9 = Fx_min__P161_mk(s); + s.tmp_9.arg0 = s.x___28215; + s.tmp_10 = game_Hitbox_right__P1968_mk(s); + s.tmp_10.arg0 = s.hbox___27974; s.callLocIdx = 636; s.pc = 107; return s.tmp_10; case 107: r0 = s.retval; @@ -73402,15 +73631,15 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___99374 + 8); + r0 = (s.tileScale___27977 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___99622 = (r0); - s.tmp_1 = tiles_TileMap__C72197_v12_3_mk(s); + s.x0___28225 = (r0); + s.tmp_1 = tiles_TileMap__C2317_v12_3_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___99622; - s.tmp_1.arg2 = s.y0___99593; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1.arg1 = s.x0___28225; + s.tmp_1.arg2 = s.y0___28196; + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isObstacle; s.pc = 108; return s.tmp_1; case 108: @@ -73418,21 +73647,21 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 46; continue; } - s.tmp_2 = tiles_TileMap__C72197_v13_3_mk(s); + s.tmp_2 = tiles_TileMap__C2317_v13_3_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___99622; - s.tmp_2.arg2 = s.y0___99593; - if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_2.arg0); + s.tmp_2.arg1 = s.x0___28225; + s.tmp_2.arg2 = s.y0___28196; + if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.getObstacle; s.pc = 109; return s.tmp_2; case 109: r0 = s.retval; - s.obstacle___99636 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P99644); + s.obstacle___28239 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P28247); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___99636); - s.tmp_4 = helpers_arraySome__P69985_mk(s); - s.tmp_4.arg0 = s.collidedTiles___99608; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___28239); + s.tmp_4 = helpers_arraySome__P105_mk(s); + s.tmp_4.arg0 = s.collidedTiles___28211; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 640; s.pc = 110; return s.tmp_4; case 110: @@ -73444,17 +73673,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___99608, s.obstacle___99636); + r0 = pxsim_Array__push(s.collidedTiles___28211, s.obstacle___28239); case 44: case 45: { step = 47; continue; } case 46: - s.tmp_0 = r0 = s.overlappedTiles___99610; - s.tmp_2 = tiles_TileMap__C72197_v7_3_mk(s); + s.tmp_0 = r0 = s.overlappedTiles___28213; + s.tmp_2 = tiles_TileMap__C2317_v7_3_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___99622; - s.tmp_2.arg2 = s.y0___99593; - if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_2.arg0); + s.tmp_2.arg1 = s.x0___28225; + s.tmp_2.arg2 = s.y0___28196; + if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.getTile; s.pc = 111; return s.tmp_2; case 111: @@ -73462,17 +73691,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); case 47: - r0 = (s.tileSize___99377 << 8); + r0 = (s.tileSize___27980 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___99612); - s.x___99612 = (r0); + r0 = (s.tmp_0 + s.x___28215); + s.x___28215 = (r0); { step = 43; continue; } case 48: - r0 = pxsim_Array__length(s.collidedTiles___99608); + r0 = pxsim_Array__length(s.collidedTiles___28211); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 71; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___99589); + r0 = pxsim_numops_toBoolDecr(s.down___28192); if (!r0) { step = 49; continue; } r0 = 3; { step = 50; continue; } @@ -73481,23 +73710,23 @@ switch (step) { case 50: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___99670 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___99589); + s.collisionDirection___28273 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___28192); if (!r0) { step = 51; continue; } - r0 = (s.y0___99593 << s.tileScale___99374); + r0 = (s.y0___28196 << s.tileScale___27977); 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___99371.fields["height"]; + r0 = s.hbox___27974.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 52; continue; } case 51: - r0 = (s.y0___99593 + 1); + r0 = (s.y0___28196 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___99374); + r0 = (s.tmp_5 << s.tileScale___27977); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -73505,44 +73734,44 @@ switch (step) { case 52: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___99348; - r0 = s.hbox___99371.fields["oy"]; + s.tmp_8 = r0 = s.s___27951; + r0 = s.hbox___27974.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___99696 = (undefined); - s.unnamed150___U26 = (s.collidedTiles___99608); - s.unnamed151___U27 = (0); + s.tile___28299 = (undefined); + s.unnamed70___U26 = (s.collidedTiles___28211); + s.unnamed71___U27 = (0); case 53: - s.tmp_0 = r0 = s.unnamed151___U27; - r0 = pxsim_Array__length(s.unnamed150___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.unnamed150___U26, s.unnamed151___U27); - s.tile___99696 = (r0); - s.tmp_2 = Sprite_registerObstacle__P71965_mk(s); - s.tmp_2.arg0 = s.s___99348; - s.tmp_2.arg1 = s.collisionDirection___99670; - s.tmp_2.arg2 = s.tile___99696; + r0 = pxsim_Array__getAt(s.unnamed70___U26, s.unnamed71___U27); + s.tile___28299 = (r0); + s.tmp_2 = Sprite_registerObstacle__P2085_mk(s); + s.tmp_2.arg0 = s.s___27951; + s.tmp_2.arg1 = s.collisionDirection___28273; + s.tmp_2.arg2 = s.tile___28299; s.tmp_2.arg3 = s.arg2; s.callLocIdx = 646; s.pc = 112; return s.tmp_2; case 112: r0 = s.retval; - r0 = (s.unnamed151___U27 + 1); - s.unnamed151___U27 = (r0); + r0 = (s.unnamed71___U27 + 1); + s.unnamed71___U27 = (r0); { step = 53; continue; } case 54: - s.unnamed150___U26 = (undefined); - r0 = s.s___99348.fields["flags"]; + s.unnamed70___U26 = (undefined); + r0 = s.s___27951.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__P71967_mk(s); - s.tmp_2.arg0 = s.s___99348; + s.tmp_2 = Sprite_destroy__P2087_mk(s); + s.tmp_2.arg0 = s.s___27951; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 647; s.pc = 113; return s.tmp_2; @@ -73550,7 +73779,7 @@ switch (step) { r0 = s.retval; { step = 70; continue; } case 55: - r0 = s.s___99348.fields["_vy"]; + r0 = s.s___27951.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -73558,13 +73787,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 66; continue; } - r0 = s.s___99348.fields["flags"]; + r0 = s.s___27951.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___99589); + r0 = pxsim_numops_toBoolDecr(s.down___28192); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -73573,8 +73802,8 @@ switch (step) { r0 = s.tmp_5; { step = 57; continue; } case 56: - s.tmp_8 = Sprite_vy__P71911_mk(s); - s.tmp_8.arg0 = s.s___99348; + s.tmp_8 = Sprite_vy__P2031_mk(s); + s.tmp_8.arg0 = s.s___27951; s.callLocIdx = 648; s.pc = 114; return s.tmp_8; case 114: r0 = s.retval; @@ -73588,14 +73817,14 @@ switch (step) { r0 = s.tmp_9; { step = 61; continue; } case 58: - s.tmp_10 = r0 = s.down___99589; + s.tmp_10 = r0 = s.down___28192; 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__P71911_mk(s); - s.tmp_12.arg0 = s.s___99348; + s.tmp_12 = Sprite_vy__P2031_mk(s); + s.tmp_12.arg0 = s.s___27951; s.callLocIdx = 649; s.pc = 115; return s.tmp_12; case 115: r0 = s.retval; @@ -73610,8 +73839,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___99348; - r0 = s.s___99348.fields["_vy"]; + s.tmp_15 = r0 = s.s___27951; + r0 = s.s___27951.fields["_vy"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -73633,12 +73862,12 @@ switch (step) { { step = 65; continue; } case 64: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___99348).fields["_vy"] = (0); + r0 = (s.s___27951).fields["_vy"] = (0); case 65: { step = 69; continue; } case 66: - s.tmp_2 = Math_sign__P70004_mk(s); - r0 = s.s___99348.fields["_vy"]; + s.tmp_2 = Math_sign__P124_mk(s); + r0 = s.s___27951.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -73648,7 +73877,7 @@ switch (step) { case 116: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P70004_mk(s); + s.tmp_6 = Math_sign__P124_mk(s); r0 = s.arg1.fields["cachedVy"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -73672,17 +73901,17 @@ switch (step) { case 72: case 73: case 74: - s.tmp_0 = game_Hitbox_left__P71846_mk(s); - s.tmp_0.arg0 = s.hbox___99371; + s.tmp_0 = game_Hitbox_left__P1966_mk(s); + s.tmp_0.arg0 = s.hbox___27974; s.callLocIdx = 657; s.pc = 118; return s.tmp_0; case 118: r0 = s.retval; - s.x___99771 = (r0); + s.x___28374 = (r0); case 75: - s.tmp_1 = r0 = s.x___99771; - s.tmp_3 = r0 = s.tileSize___99377; - s.tmp_5 = game_Hitbox_right__P71848_mk(s); - s.tmp_5.arg0 = s.hbox___99371; + s.tmp_1 = r0 = s.x___28374; + s.tmp_3 = r0 = s.tileSize___27980; + s.tmp_5 = game_Hitbox_right__P1968_mk(s); + s.tmp_5.arg0 = s.hbox___27974; s.callLocIdx = 658; s.pc = 119; return s.tmp_5; case 119: r0 = s.retval; @@ -73695,10 +73924,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 80; continue; } - s.tmp_9 = Fx_min__P70041_mk(s); - s.tmp_9.arg0 = s.x___99771; - s.tmp_10 = game_Hitbox_right__P71848_mk(s); - s.tmp_10.arg0 = s.hbox___99371; + s.tmp_9 = Fx_min__P161_mk(s); + s.tmp_9.arg0 = s.x___28374; + s.tmp_10 = game_Hitbox_right__P1968_mk(s); + s.tmp_10.arg0 = s.hbox___27974; s.callLocIdx = 660; s.pc = 121; return s.tmp_10; case 121: r0 = s.retval; @@ -73709,21 +73938,21 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___99374 + 8); + r0 = (s.tileScale___27977 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___99781 = (r0); - s.tmp_0 = game_Hitbox_top__P71847_mk(s); - s.tmp_0.arg0 = s.hbox___99371; + s.x0___28384 = (r0); + s.tmp_0 = game_Hitbox_top__P1967_mk(s); + s.tmp_0.arg0 = s.hbox___27974; s.callLocIdx = 664; s.pc = 122; return s.tmp_0; case 122: r0 = s.retval; - s.y___99791 = (r0); + s.y___28394 = (r0); case 76: - s.tmp_1 = r0 = s.y___99791; - s.tmp_3 = r0 = s.tileSize___99377; - s.tmp_5 = game_Hitbox_bottom__P71849_mk(s); - s.tmp_5.arg0 = s.hbox___99371; + s.tmp_1 = r0 = s.y___28394; + s.tmp_3 = r0 = s.tileSize___27980; + s.tmp_5 = game_Hitbox_bottom__P1969_mk(s); + s.tmp_5.arg0 = s.hbox___27974; s.callLocIdx = 665; s.pc = 123; return s.tmp_5; case 123: r0 = s.retval; @@ -73736,10 +73965,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } - s.tmp_9 = Fx_min__P70041_mk(s); - s.tmp_9.arg0 = s.y___99791; - s.tmp_10 = game_Hitbox_bottom__P71849_mk(s); - s.tmp_10.arg0 = s.hbox___99371; + s.tmp_9 = Fx_min__P161_mk(s); + s.tmp_9.arg0 = s.y___28394; + s.tmp_10 = game_Hitbox_bottom__P1969_mk(s); + s.tmp_10.arg0 = s.hbox___27974; s.callLocIdx = 667; s.pc = 125; return s.tmp_10; case 125: r0 = s.retval; @@ -73750,15 +73979,15 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___99374 + 8); + r0 = (s.tileScale___27977 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___99801 = (r0); - s.tmp_3 = tiles_TileMap__C72197_v12_3_mk(s); + s.y0___28404 = (r0); + s.tmp_3 = tiles_TileMap__C2317_v12_3_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___99781; - s.tmp_3.arg2 = s.y0___99801; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_3.arg0); + s.tmp_3.arg1 = s.x0___28384; + s.tmp_3.arg2 = s.y0___28404; + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isObstacle; s.pc = 126; return s.tmp_3; case 126: @@ -73770,12 +73999,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 77; continue; } - s.tmp_4 = r0 = s.overlappedTiles___99395; - s.tmp_6 = tiles_TileMap__C72197_v7_3_mk(s); + s.tmp_4 = r0 = s.overlappedTiles___27998; + s.tmp_6 = tiles_TileMap__C2317_v7_3_mk(s); s.tmp_6.arg0 = s.arg2; - s.tmp_6.arg1 = s.x0___99781; - s.tmp_6.arg2 = s.y0___99801; - if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_6.arg0); + s.tmp_6.arg1 = s.x0___28384; + s.tmp_6.arg2 = s.y0___28404; + if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_6.arg0); s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.getTile; s.pc = 127; return s.tmp_6; case 127: @@ -73784,26 +74013,26 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_4, s.tmp_5); case 77: case 78: - r0 = (s.tileSize___99377 << 8); + r0 = (s.tileSize___27980 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___99791); - s.y___99791 = (r0); + r0 = (s.tmp_0 + s.y___28394); + s.y___28394 = (r0); { step = 76; continue; } case 79: - r0 = (s.tileSize___99377 << 8); + r0 = (s.tileSize___27980 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___99771); - s.x___99771 = (r0); + r0 = (s.tmp_0 + s.x___28374); + s.x___28374 = (r0); { step = 75; continue; } case 80: - r0 = pxsim_Array__length(s.overlappedTiles___99395); + r0 = pxsim_Array__length(s.overlappedTiles___27998); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 81; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P74038_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P4158_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___99348; - s.tmp_1.arg2 = s.overlappedTiles___99395; + s.tmp_1.arg1 = s.s___27951; + s.tmp_1.arg2 = s.overlappedTiles___27998; s.callLocIdx = 673; s.pc = 128; return s.tmp_1; case 128: r0 = s.retval; @@ -73814,12 +74043,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P74037.info = {"start":11417,"length":8619,"line":350,"column":4,"endLine":586,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} +ArcadePhysicsEngine_tilemapCollisions__P4157.info = {"start":11417,"length":8619,"line":350,"column":4,"endLine":586,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} -function ArcadePhysicsEngine_tilemapCollisions__P74037_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P4157_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P74037, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P4157, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -73839,38 +74068,38 @@ function ArcadePhysicsEngine_tilemapCollisions__P74037_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - s___99348: undefined, - hbox___99371: undefined, - tileScale___99374: undefined, - tileSize___99377: undefined, - xDiff___99381: undefined, - yDiff___99388: undefined, - overlappedTiles___99395: undefined, - right___99400: undefined, - x0___99404: undefined, - collidedTiles___99419: undefined, - y___99421: undefined, - y0___99435: undefined, - obstacle___99451: undefined, - collisionDirection___99485: undefined, - tile___99511: undefined, - unnamed148___U15: undefined, - unnamed149___U16: undefined, - down___99589: undefined, - y0___99593: undefined, - collidedTiles___99608: undefined, - overlappedTiles___99610: undefined, - x___99612: undefined, - x0___99622: undefined, - obstacle___99636: undefined, - collisionDirection___99670: undefined, - tile___99696: undefined, - unnamed150___U26: undefined, - unnamed151___U27: undefined, - x___99771: undefined, - x0___99781: undefined, - y___99791: undefined, - y0___99801: undefined, + s___27951: undefined, + hbox___27974: undefined, + tileScale___27977: undefined, + tileSize___27980: undefined, + xDiff___27984: undefined, + yDiff___27991: undefined, + overlappedTiles___27998: undefined, + right___28003: undefined, + x0___28007: undefined, + collidedTiles___28022: undefined, + y___28024: undefined, + y0___28038: undefined, + obstacle___28054: undefined, + collisionDirection___28088: undefined, + tile___28114: undefined, + unnamed68___U15: undefined, + unnamed69___U16: undefined, + down___28192: undefined, + y0___28196: undefined, + collidedTiles___28211: undefined, + overlappedTiles___28213: undefined, + x___28215: undefined, + x0___28225: undefined, + obstacle___28239: undefined, + collisionDirection___28273: undefined, + tile___28299: undefined, + unnamed70___U26: undefined, + unnamed71___U27: undefined, + x___28374: undefined, + x0___28384: undefined, + y___28394: undefined, + y0___28404: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -73880,7 +74109,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P74037_mk(s) { -function inline__P99459(s) { +function inline__P28062(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -73902,12 +74131,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P99459.info = {"start":13538,"length":39,"line":414,"column":44,"endLine":414,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P28062.info = {"start":13538,"length":39,"line":414,"column":44,"endLine":414,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function inline__P99459_mk(s) { +function inline__P28062_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P99459, depth: s.depth + 1, + parent: s, fn: inline__P28062, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -73918,7 +74147,7 @@ function inline__P99459_mk(s) { -function inline__P99644(s) { +function inline__P28247(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -73940,12 +74169,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P99644.info = {"start":16773,"length":39,"line":496,"column":44,"endLine":496,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P28247.info = {"start":16773,"length":39,"line":496,"column":44,"endLine":496,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function inline__P99644_mk(s) { +function inline__P28247_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P99644, depth: s.depth + 1, + parent: s, fn: inline__P28247, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -73956,7 +74185,7 @@ function inline__P99644_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P74038(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P4158(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -73966,11 +74195,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___99840 = undefined; - s.tile___99843 = undefined; - s.unnamed152___U2 = undefined; - s.unnamed153___U3 = undefined; - s.tileOverlapHandlers___99864 = undefined; + s.alreadyHandled___28443 = undefined; + s.tile___28446 = undefined; + s.unnamed72___U2 = undefined; + s.unnamed73___U3 = undefined; + s.tileOverlapHandlers___28467 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -73978,25 +74207,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___99840 = (r0); - s.tile___99843 = (undefined); - s.unnamed152___U2 = (s.arg2); - s.unnamed153___U3 = (0); + s.alreadyHandled___28443 = (r0); + s.tile___28446 = (undefined); + s.unnamed72___U2 = (s.arg2); + s.unnamed73___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed153___U3; - r0 = pxsim_Array__length(s.unnamed152___U2); + s.tmp_0 = r0 = s.unnamed73___U3; + r0 = pxsim_Array__length(s.unnamed72___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed152___U2, s.unnamed153___U3); - s.tile___99843 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P99847); + r0 = pxsim_Array__getAt(s.unnamed72___U2, s.unnamed73___U3); + s.tile___28446 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P28450); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___99843); - s.tmp_4 = helpers_arraySome__P69985_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___99840; + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___28446); + s.tmp_4 = helpers_arraySome__P105_mk(s); + s.tmp_4.arg0 = s.alreadyHandled___28443; s.tmp_4.arg1 = s.tmp_2; s.callLocIdx = 678; s.pc = 8; return s.tmp_4; case 8: @@ -74007,26 +74236,26 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___99840, s.tile___99843); - s.tmp_0 = game_currentScene__P72409_mk(s); + r0 = pxsim_Array__push(s.alreadyHandled___28443, s.tile___28446); + s.tmp_0 = game_currentScene__P2529_mk(s); s.callLocIdx = 679; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___99864 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___99864); + s.tileOverlapHandlers___28467 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___28467); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P99872); + r0 = pxsim_pxtcore_mkAction(2, inline__P28475); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___99843); - r0 = pxsim_pxtcore_mkAction(2, inline__P99888); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___28446); + r0 = pxsim_pxtcore_mkAction(2, inline__P28491); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___99843); - s.tmp_2 = helpers_arrayForEach__P69987_mk(s); - s.tmp_3 = helpers_arrayFilter__P69988_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___99864; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___28446); + s.tmp_2 = helpers_arrayForEach__P107_mk(s); + s.tmp_3 = helpers_arrayFilter__P108_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___28467; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 682; s.pc = 11; return s.tmp_3; case 11: @@ -74039,32 +74268,32 @@ switch (step) { case 4: case 5: case 6: - r0 = (s.unnamed153___U3 + 1); - s.unnamed153___U3 = (r0); + r0 = (s.unnamed73___U3 + 1); + s.unnamed73___U3 = (r0); { step = 1; continue; } case 7: - s.unnamed152___U2 = (undefined); + s.unnamed72___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P74038.info = {"start":20313,"length":699,"line":594,"column":4,"endLine":610,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} +ArcadePhysicsEngine_tilemapOverlaps__P4158.info = {"start":20313,"length":699,"line":594,"column":4,"endLine":610,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} -function ArcadePhysicsEngine_tilemapOverlaps__P74038_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P4158_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P74038, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P4158, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - alreadyHandled___99840: undefined, - tile___99843: undefined, - unnamed152___U2: undefined, - unnamed153___U3: undefined, - tileOverlapHandlers___99864: undefined, + alreadyHandled___28443: undefined, + tile___28446: undefined, + unnamed72___U2: undefined, + unnamed73___U3: undefined, + tileOverlapHandlers___28467: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -74074,7 +74303,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P74038_mk(s) { -function inline__P99847(s) { +function inline__P28450(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74111,12 +74340,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P99847.info = {"start":20526,"length":45,"line":598,"column":36,"endLine":598,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} +inline__P28450.info = {"start":20526,"length":45,"line":598,"column":36,"endLine":598,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} -function inline__P99847_mk(s) { +function inline__P28450_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P99847, depth: s.depth + 1, + parent: s, fn: inline__P28450, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -74131,7 +74360,7 @@ function inline__P99847_mk(s) { -function inline__P99872(s) { +function inline__P28475(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74158,7 +74387,7 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P72225_mk(s); + s.tmp_5 = tiles_getTileImage__P2345_mk(s); s.tmp_5.arg0 = s.caps[1]; s.callLocIdx = 681; s.pc = 3; return s.tmp_5; case 3: @@ -74172,12 +74401,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P99872.info = {"start":20840,"length":81,"line":606,"column":28,"endLine":606,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P28475.info = {"start":20840,"length":81,"line":606,"column":28,"endLine":606,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P99872_mk(s) { +function inline__P28475_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P99872, depth: s.depth + 1, + parent: s, fn: inline__P28475, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -74193,7 +74422,7 @@ function inline__P99872_mk(s) { -function inline__P99888(s) { +function inline__P28491(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74226,12 +74455,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P99888.info = {"start":20952,"length":28,"line":607,"column":29,"endLine":607,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P28491.info = {"start":20952,"length":28,"line":607,"column":29,"endLine":607,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P99888_mk(s) { +function inline__P28491_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P99888, depth: s.depth + 1, + parent: s, fn: inline__P28491, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -74241,7 +74470,7 @@ function inline__P99888_mk(s) { -function tiles_getTileImage__P72225(s) { +function tiles_getTileImage__P2345(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74251,16 +74480,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___99896 = undefined; + s.scene___28499 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P72409_mk(s); - s.callLocIdx = 795; s.pc = 6; return s.tmp_0; + s.tmp_0 = game_currentScene__P2529_mk(s); + s.callLocIdx = 793; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___99896 = (r0); + s.scene___28499 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -74270,7 +74499,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___99896.fields["tileMap"]; + r0 = s.scene___28499.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -74280,20 +74509,20 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex99906); + r0 = pxsim.image.ofBuffer(_hex28509); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap__C72197_v15_2_mk(s); - r0 = s.scene___99896.fields["tileMap"]; + s.tmp_5 = tiles_TileMap__C2317_v15_2_mk(s); + r0 = s.scene___28499.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P72175_mk(s); + s.tmp_6 = tiles_Location_tileSet__P2295_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 796; s.pc = 8; return s.tmp_6; + s.callLocIdx = 794; 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__C72197_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, tiles_TileMap__C2317_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: @@ -74302,12 +74531,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTileImage__P72225.info = {"start":16582,"length":207,"line":524,"column":4,"endLine":528,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} +tiles_getTileImage__P2345.info = {"start":16582,"length":207,"line":524,"column":4,"endLine":528,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} -function tiles_getTileImage__P72225_mk(s) { +function tiles_getTileImage__P2345_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P72225, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P2345, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -74316,16 +74545,16 @@ function tiles_getTileImage__P72225_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___99896: undefined, + scene___28499: undefined, arg0: undefined, } } -const _hex99906 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex28509 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_TileMap_getTileImage__P72219(s) { +function tiles_TileMap_getTileImage__P2339(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74341,29 +74570,29 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P72193_mk(s); - s.tmp_1 = tiles_TileMap__C72197_v0_1_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P2313_mk(s); + s.tmp_1 = tiles_TileMap__C2317_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C2317_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: r0 = s.retval; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 794; s.pc = 1; return s.tmp_0; + s.callLocIdx = 792; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileImage__P72219.info = {"start":13699,"length":96,"line":442,"column":8,"endLine":444,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMap_getTileImage__P2339.info = {"start":13699,"length":96,"line":442,"column":8,"endLine":444,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMap_getTileImage__P72219_mk(s) { +function tiles_TileMap_getTileImage__P2339_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P72219, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P2339, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -74375,7 +74604,7 @@ function tiles_TileMap_getTileImage__P72219_mk(s) { -function tiles_Location_tileSet__P72175(s) { +function tiles_Location_tileSet__P2295(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74390,15 +74619,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C72169_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap__C72197_v8_3_mk(s); + if (!checkSubtype(r0, tiles_Location__C2289_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap__C2317_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__C72197_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C2317_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: @@ -74406,13 +74635,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileSet__P72175.info = {"start":981,"length":101,"line":43,"column":8,"endLine":45,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} -tiles_Location_tileSet__P72175.isGetter = true; +tiles_Location_tileSet__P2295.info = {"start":981,"length":101,"line":43,"column":8,"endLine":45,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} +tiles_Location_tileSet__P2295.isGetter = true; -function tiles_Location_tileSet__P72175_mk(s) { +function tiles_Location_tileSet__P2295_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P72175, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P2295, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -74422,7 +74651,7 @@ function tiles_Location_tileSet__P72175_mk(s) { -function tiles_Location_row__P72171(s) { +function tiles_Location_row__P2291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74437,18 +74666,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C72169_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2289_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_row__P72171.info = {"start":467,"length":51,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"row","argumentNames":["this"]} -tiles_Location_row__P72171.isGetter = true; +tiles_Location_row__P2291.info = {"start":467,"length":51,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"row","argumentNames":["this"]} +tiles_Location_row__P2291.isGetter = true; -function tiles_Location_row__P72171_mk(s) { +function tiles_Location_row__P2291_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_row__P72171, depth: s.depth + 1, + parent: s, fn: tiles_Location_row__P2291, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -74457,7 +74686,7 @@ function tiles_Location_row__P72171_mk(s) { -function tiles_Location_col__P72170(s) { +function tiles_Location_col__P2290(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74472,18 +74701,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C72169_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2289_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_col__P72170.info = {"start":406,"length":51,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"col","argumentNames":["this"]} -tiles_Location_col__P72170.isGetter = true; +tiles_Location_col__P2290.info = {"start":406,"length":51,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"col","argumentNames":["this"]} +tiles_Location_col__P2290.isGetter = true; -function tiles_Location_col__P72170_mk(s) { +function tiles_Location_col__P2290_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_col__P72170, depth: s.depth + 1, + parent: s, fn: tiles_Location_col__P2290, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -74492,7 +74721,7 @@ function tiles_Location_col__P72170_mk(s) { -function tiles_TileMap_getObstacle__P72217(s) { +function tiles_TileMap_getObstacle__P2337(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74502,8 +74731,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___100034 = undefined; - s.tile___100046 = undefined; + s.index___28653 = undefined; + s.tile___28665 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -74511,13 +74740,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P72196_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P2316_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 776; s.pc = 3; return s.tmp_1; + s.callLocIdx = 774; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -74526,31 +74755,31 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P72190_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P2310_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; - s.callLocIdx = 777; s.pc = 4; return s.tmp_2; + s.callLocIdx = 775; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___100034 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P72193_mk(s); + s.index___28653 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P2313_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___100034; - s.callLocIdx = 778; s.pc = 5; return s.tmp_0; + s.tmp_0.arg1 = s.index___28653; + s.callLocIdx = 776; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___100046 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C72026_VT); + s.tile___28665 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C2146_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P72032_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P2152_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___100046; + s.tmp_1.arg1 = s.tile___28665; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -74561,28 +74790,28 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_4 << s.tmp_5); s.tmp_1.arg3 = r0; - s.tmp_6 = tiles_TileMap__C72197_v5_1_mk(s); + s.tmp_6 = tiles_TileMap__C2317_v5_1_mk(s); s.tmp_6.arg0 = s.arg0; - if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C2317_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___100034; - s.callLocIdx = 781; s.pc = 6; return s.tmp_1; + s.tmp_1.arg5 = s.index___28653; + s.callLocIdx = 779; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -tiles_TileMap_getObstacle__P72217.info = {"start":12642,"length":410,"line":411,"column":8,"endLine":421,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_getObstacle__P2337.info = {"start":12642,"length":410,"line":411,"column":8,"endLine":421,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_getObstacle__P72217_mk(s) { +function tiles_TileMap_getObstacle__P2337_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P72217, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P2337, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -74591,8 +74820,8 @@ function tiles_TileMap_getObstacle__P72217_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - index___100034: undefined, - tile___100046: undefined, + index___28653: undefined, + tile___28665: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -74602,7 +74831,7 @@ function tiles_TileMap_getObstacle__P72217_mk(s) { -function tiles_TileMap_layer__P72205(s) { +function tiles_TileMap_layer__P2325(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74617,18 +74846,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_layer__P72205.info = {"start":6897,"length":63,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} -tiles_TileMap_layer__P72205.isGetter = true; +tiles_TileMap_layer__P2325.info = {"start":6897,"length":63,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} +tiles_TileMap_layer__P2325.isGetter = true; -function tiles_TileMap_layer__P72205_mk(s) { +function tiles_TileMap_layer__P2325_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P72205, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P2325, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -74637,7 +74866,7 @@ function tiles_TileMap_layer__P72205_mk(s) { -function sprites_StaticObstacle_constructor__P72032(s) { +function sprites_StaticObstacle_constructor__P2152(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74657,7 +74886,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C72026_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2146_VT)) failedCast(r0); r0 = (s.arg0).fields["image"] = (s.arg1); r0 = (s.arg0).fields["layer"] = (s.arg4); r0 = (s.arg0).fields["top"] = (s.arg2); @@ -74667,12 +74896,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_StaticObstacle_constructor__P72032.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__P2152.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__P72032_mk(s) { +function sprites_StaticObstacle_constructor__P2152_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P72032, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P2152, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -74686,7 +74915,7 @@ function sprites_StaticObstacle_constructor__P72032_mk(s) { -function tiles_TileMap_isObstacle__P72216(s) { +function tiles_TileMap_isObstacle__P2336(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74703,10 +74932,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); - s.tmp_3 = tiles_TileMap__C72197_v6_1_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); + s.tmp_3 = tiles_TileMap__C2317_v6_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C2317_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: @@ -74722,12 +74951,12 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_5 = tiles_TileMapData_isOutsideMap__P72196_mk(s); + s.tmp_5 = tiles_TileMapData_isOutsideMap__P2316_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg1; s.tmp_5.arg2 = s.arg2; - s.callLocIdx = 774; s.pc = 7; return s.tmp_5; + s.callLocIdx = 772; s.pc = 7; return s.tmp_5; case 7: r0 = s.retval; s.tmp_4 = r0; @@ -74748,12 +74977,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isObstacle__P72216.info = {"start":12421,"length":211,"line":404,"column":8,"endLine":409,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_isObstacle__P2336.info = {"start":12421,"length":211,"line":404,"column":8,"endLine":409,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_isObstacle__P72216_mk(s) { +function tiles_TileMap_isObstacle__P2336_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P72216, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P2336, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -74773,7 +75002,7 @@ function tiles_TileMap_isObstacle__P72216_mk(s) { -function tiles_TileMapData_isWall__P72195(s) { +function tiles_TileMapData_isWall__P2315(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74790,7 +75019,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C72184_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2304_VT)) failedCast(r0); r0 = s.arg0.fields["layers"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2); @@ -74799,12 +75028,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isWall__P72195.info = {"start":5463,"length":107,"line":195,"column":8,"endLine":197,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} +tiles_TileMapData_isWall__P2315.info = {"start":5463,"length":107,"line":195,"column":8,"endLine":197,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} -function tiles_TileMapData_isWall__P72195_mk(s) { +function tiles_TileMapData_isWall__P2315_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P72195, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P2315, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -74817,7 +75046,7 @@ function tiles_TileMapData_isWall__P72195_mk(s) { -function tiles_TileMap_getTile__P72209(s) { +function tiles_TileMap_getTile__P2329(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74834,27 +75063,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C72197_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C72169_VT); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C2289_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P72172_mk(s); + s.tmp_1 = tiles_Location_constructor__P2292_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.arg0; - s.callLocIdx = 751; s.pc = 1; return s.tmp_1; + s.callLocIdx = 749; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -tiles_TileMap_getTile__P72209.info = {"start":7259,"length":111,"line":269,"column":8,"endLine":271,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMap_getTile__P2329.info = {"start":7259,"length":111,"line":269,"column":8,"endLine":271,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_TileMap_getTile__P72209_mk(s) { +function tiles_TileMap_getTile__P2329_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P72209, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P2329, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -74867,7 +75096,7 @@ function tiles_TileMap_getTile__P72209_mk(s) { -function tiles_Location_constructor__P72172(s) { +function tiles_Location_constructor__P2292(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74885,7 +75114,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C72169_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2289_VT)) failedCast(r0); r0 = (s.arg0).fields["_col"] = (s.arg1); r0 = (s.arg0).fields["_row"] = (s.arg2); r0 = (s.arg0).fields["tileMap"] = (s.arg3); @@ -74893,12 +75122,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_Location_constructor__P72172.info = {"start":528,"length":153,"line":27,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} +tiles_Location_constructor__P2292.info = {"start":528,"length":153,"line":27,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} -function tiles_Location_constructor__P72172_mk(s) { +function tiles_Location_constructor__P2292_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P72172, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P2292, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -74910,7 +75139,7 @@ function tiles_Location_constructor__P72172_mk(s) { -function Sprite_registerObstacle__P71965(s) { +function Sprite_registerObstacle__P2085(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74920,10 +75149,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___99940 = undefined; - s.wallCollisionHandlers___99947 = undefined; - s.wallHandlersToRun___99972 = undefined; - s.asTileLocation___99985 = undefined; + s.collisionHandlers___28546 = undefined; + s.wallCollisionHandlers___28553 = undefined; + s.wallHandlersToRun___28578 = undefined; + s.asTileLocation___28591 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -74932,11 +75161,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_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__P72409_mk(s); + s.tmp_1 = game_currentScene__P2529_mk(s); s.callLocIdx = 421; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -74956,24 +75185,24 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___99940 = (r0); - s.tmp_0 = game_currentScene__P72409_mk(s); + s.collisionHandlers___28546 = (r0); + s.tmp_0 = game_currentScene__P2529_mk(s); s.callLocIdx = 423; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___99947 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___99940); + s.wallCollisionHandlers___28553 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___28546); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P99955); + r0 = pxsim_pxtcore_mkAction(1, inline__P28561); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P99961); + r0 = pxsim_pxtcore_mkAction(1, inline__P28567); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P69987_mk(s); - s.tmp_3 = helpers_arrayFilter__P69988_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___99940; + s.tmp_2 = helpers_arrayForEach__P107_mk(s); + s.tmp_3 = helpers_arrayFilter__P108_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___28546; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 425; s.pc = 13; return s.tmp_3; case 13: @@ -74985,7 +75214,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___99947); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___28553); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -74993,7 +75222,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = game_currentScene__P72409_mk(s); + s.tmp_1 = game_currentScene__P2529_mk(s); s.callLocIdx = 428; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; @@ -75002,21 +75231,21 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, inline__P99974); + r0 = pxsim_pxtcore_mkAction(1, inline__P28580); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFilter__P69988_mk(s); - s.tmp_1.arg0 = s.wallCollisionHandlers___99947; + s.tmp_1 = helpers_arrayFilter__P108_mk(s); + s.tmp_1.arg0 = s.wallCollisionHandlers___28553; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 430; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___99972 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___99972); + s.wallHandlersToRun___28578 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___28578); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tiles_TileMap__C72197_v7_3_mk(s); + s.tmp_1 = tiles_TileMap__C2317_v7_3_mk(s); s.tmp_1.arg0 = s.arg3; s.tmp_3 = if_left_1_mk(s); s.tmp_3.arg0 = s.arg2; @@ -75052,18 +75281,18 @@ switch (step) { s.tmp_7 = r0; r0 = (s.tmp_5 >> s.tmp_7); s.tmp_1.arg2 = r0; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C2317_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.getTile; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___99985 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P100001); + s.asTileLocation___28591 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P28607); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___99985); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___99972; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___28591); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + s.tmp_1.arg0 = s.wallHandlersToRun___28578; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 436; s.pc = 19; return s.tmp_1; case 19: @@ -75076,12 +75305,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle__P71965.info = {"start":26843,"length":965,"line":817,"column":4,"endLine":837,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} +Sprite_registerObstacle__P2085.info = {"start":26843,"length":965,"line":817,"column":4,"endLine":837,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} -function Sprite_registerObstacle__P71965_mk(s) { +function Sprite_registerObstacle__P2085_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P71965, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P2085, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -75091,10 +75320,10 @@ function Sprite_registerObstacle__P71965_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___99940: undefined, - wallCollisionHandlers___99947: undefined, - wallHandlersToRun___99972: undefined, - asTileLocation___99985: undefined, + collisionHandlers___28546: undefined, + wallCollisionHandlers___28553: undefined, + wallHandlersToRun___28578: undefined, + asTileLocation___28591: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -75105,7 +75334,7 @@ function Sprite_registerObstacle__P71965_mk(s) { -function inline__P99955(s) { +function inline__P28561(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75127,12 +75356,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P99955.info = {"start":27241,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P28561.info = {"start":27241,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P99955_mk(s) { +function inline__P28561_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P99955, depth: s.depth + 1, + parent: s, fn: inline__P28561, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -75143,7 +75372,7 @@ function inline__P99955_mk(s) { -function inline__P99961(s) { +function inline__P28567(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75175,12 +75404,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P99961.info = {"start":27294,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P28567.info = {"start":27294,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P99961_mk(s) { +function inline__P28567_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P99961, depth: s.depth + 1, + parent: s, fn: inline__P28567, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -75190,7 +75419,7 @@ function inline__P99961_mk(s) { -function inline__P99974(s) { +function inline__P28580(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75212,12 +75441,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P99974.info = {"start":27500,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P28580.info = {"start":27500,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P99974_mk(s) { +function inline__P28580_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P99974, depth: s.depth + 1, + parent: s, fn: inline__P28580, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -75228,7 +75457,7 @@ function inline__P99974_mk(s) { -function inline__P100001(s) { +function inline__P28607(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75261,12 +75490,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P100001.info = {"start":27740,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P28607.info = {"start":27740,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P100001_mk(s) { +function inline__P28607_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P100001, depth: s.depth + 1, + parent: s, fn: inline__P28607, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -75276,7 +75505,7 @@ function inline__P100001_mk(s) { -function Fx_min__P70041(s) { +function Fx_min__P161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75307,12 +75536,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_min__P70041.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__P161.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__P70041_mk(s) { +function Fx_min__P161_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P70041, depth: s.depth + 1, + parent: s, fn: Fx_min__P161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -75323,7 +75552,7 @@ function Fx_min__P70041_mk(s) { -function Fx_iadd__P70033(s) { +function Fx_iadd__P153(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75344,12 +75573,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_iadd__P70033.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__P153.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__P70033_mk(s) { +function Fx_iadd__P153_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P70033, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P153, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -75360,7 +75589,7 @@ function Fx_iadd__P70033_mk(s) { -function Fx_toIntShifted__P70031(s) { +function Fx_toIntShifted__P151(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75382,12 +75611,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toIntShifted__P70031.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__P151.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__P70031_mk(s) { +function Fx_toIntShifted__P151_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P70031, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P151, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -75399,7 +75628,7 @@ function Fx_toIntShifted__P70031_mk(s) { -function helpers_arraySome__P69985(s) { +function helpers_arraySome__P105(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75409,26 +75638,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___100016 = undefined; - s.i___100019 = undefined; + s.len___28635 = undefined; + s.i___28638 = 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___100016 = (r0); - s.i___100019 = (0); + s.len___28635 = (r0); + s.i___28638 = (0); case 1: - r0 = (s.i___100019 < s.len___100016); + r0 = (s.i___28638 < s.len___28635); 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___100019); + r0 = pxsim_Array__getAt(s.arg0, s.i___28638); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___100019; + s.tmp_2.arg1 = s.i___28638; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 5; s.pc = 6; return s.tmp_2; case 6: @@ -75440,8 +75669,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___100019 + 1); - s.i___100019 = (r0); + r0 = (s.i___28638 + 1); + s.i___28638 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -75449,18 +75678,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySome__P69985.info = {"start":6833,"length":296,"line":238,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySome","argumentNames":["arr","callbackfn"]} +helpers_arraySome__P105.info = {"start":6833,"length":296,"line":238,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySome","argumentNames":["arr","callbackfn"]} -function helpers_arraySome__P69985_mk(s) { +function helpers_arraySome__P105_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P69985, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P105, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___100016: undefined, - i___100019: undefined, + len___28635: undefined, + i___28638: undefined, arg0: undefined, arg1: undefined, } } @@ -75469,7 +75698,7 @@ function helpers_arraySome__P69985_mk(s) { -function tiles_TileMap_isOnWall__P72218(s) { +function tiles_TileMap_isOnWall__P2338(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75479,25 +75708,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___99297 = undefined; - s.left___99300 = undefined; - s.right___99306 = undefined; - s.top___99312 = undefined; - s.bottom___99318 = undefined; - s.col___99324 = undefined; - s.row___99330 = undefined; + s.hbox___27865 = undefined; + s.left___27868 = undefined; + s.right___27874 = undefined; + s.top___27880 = undefined; + s.bottom___27886 = undefined; + s.col___27892 = undefined; + s.row___27898 = 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__C72197_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2317_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___99297 = (r0); - s.tmp_1 = game_Hitbox_left__P71846_mk(s); - s.tmp_1.arg0 = s.hbox___99297; - s.callLocIdx = 782; s.pc = 8; return s.tmp_1; + s.hbox___27865 = (r0); + s.tmp_1 = game_Hitbox_left__P1966_mk(s); + s.tmp_1.arg0 = s.hbox___27865; + s.callLocIdx = 780; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0 = r0; @@ -75506,10 +75735,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___99300 = (r0); - s.tmp_1 = game_Hitbox_right__P71848_mk(s); - s.tmp_1.arg0 = s.hbox___99297; - s.callLocIdx = 785; s.pc = 9; return s.tmp_1; + s.left___27868 = (r0); + s.tmp_1 = game_Hitbox_right__P1968_mk(s); + s.tmp_1.arg0 = s.hbox___27865; + s.callLocIdx = 783; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; @@ -75518,10 +75747,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___99306 = (r0); - s.tmp_1 = game_Hitbox_top__P71847_mk(s); - s.tmp_1.arg0 = s.hbox___99297; - s.callLocIdx = 788; s.pc = 10; return s.tmp_1; + s.right___27874 = (r0); + s.tmp_1 = game_Hitbox_top__P1967_mk(s); + s.tmp_1.arg0 = s.hbox___27865; + s.callLocIdx = 786; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0 = r0; @@ -75530,10 +75759,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___99312 = (r0); - s.tmp_1 = game_Hitbox_bottom__P71849_mk(s); - s.tmp_1.arg0 = s.hbox___99297; - s.callLocIdx = 791; s.pc = 11; return s.tmp_1; + s.top___27880 = (r0); + s.tmp_1 = game_Hitbox_bottom__P1969_mk(s); + s.tmp_1.arg0 = s.hbox___27865; + s.callLocIdx = 789; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; @@ -75542,24 +75771,24 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___99318 = (r0); - s.col___99324 = (s.left___99300); + s.bottom___27886 = (r0); + s.col___27892 = (s.left___27868); case 1: - r0 = (s.col___99324 <= s.right___99306); + r0 = (s.col___27892 <= s.right___27874); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___99330 = (s.top___99312); + s.row___27898 = (s.top___27880); case 2: - r0 = (s.row___99330 <= s.bottom___99318); + r0 = (s.row___27898 <= s.bottom___27886); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap__C72197_v12_3_mk(s); + s.tmp_2 = tiles_TileMap__C2317_v12_3_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___99324; - s.tmp_2.arg2 = s.row___99330; - if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_2.arg0); + s.tmp_2.arg1 = s.col___27892; + s.tmp_2.arg2 = s.row___27898; + if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C2317_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: @@ -75571,12 +75800,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___99330 + 1); - s.row___99330 = (r0); + r0 = (s.row___27898 + 1); + s.row___27898 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___99324 + 1); - s.col___99324 = (r0); + r0 = (s.col___27892 + 1); + s.col___27892 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -75584,24 +75813,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isOnWall__P72218.info = {"start":13062,"length":627,"line":423,"column":8,"endLine":440,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} +tiles_TileMap_isOnWall__P2338.info = {"start":13062,"length":627,"line":423,"column":8,"endLine":440,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} -function tiles_TileMap_isOnWall__P72218_mk(s) { +function tiles_TileMap_isOnWall__P2338_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P72218, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P2338, depth: s.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___99297: undefined, - left___99300: undefined, - right___99306: undefined, - top___99312: undefined, - bottom___99318: undefined, - col___99324: undefined, - row___99330: undefined, + hbox___27865: undefined, + left___27868: undefined, + right___27874: undefined, + top___27880: undefined, + bottom___27886: undefined, + col___27892: undefined, + row___27898: undefined, arg0: undefined, arg1: undefined, } } @@ -75610,7 +75839,7 @@ function tiles_TileMap_isOnWall__P72218_mk(s) { -function MovingSprite_constructor__P72052(s) { +function MovingSprite_constructor__P2172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75632,7 +75861,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C72051_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C2171_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["cachedVx"] = (s.arg2); r0 = (s.arg0).fields["cachedVy"] = (s.arg3); @@ -75644,12 +75873,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -MovingSprite_constructor__P72052.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__P2172.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__P72052_mk(s) { +function MovingSprite_constructor__P2172_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P72052, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P2172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -75665,7 +75894,7 @@ function MovingSprite_constructor__P72052_mk(s) { -function ArcadePhysicsEngine_move__P72065(s) { +function ArcadePhysicsEngine_move__P2185(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75675,34 +75904,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtf___100081 = undefined; - s.dtSec___100088 = undefined; - s.dt2___100092 = undefined; - s.scene___100096 = undefined; - s.tileMap___100099 = undefined; - s.movingSprites___100102 = undefined; - s.MAX_STEP_COUNT___100133 = undefined; - s.overlapHandlers___100144 = undefined; - s.selected___100151 = undefined; - s.buffers___100152 = undefined; - s.count___100156 = undefined; - s.currMovers___100166 = undefined; - s.remainingMovers___100173 = undefined; - s.ms___100178 = undefined; - s.unnamed142___U14 = undefined; - s.unnamed143___U15 = undefined; - s.s___100180 = undefined; - s.stepX___100273 = undefined; - s.stepY___100287 = undefined; + s.dtf___28724 = undefined; + s.dtSec___28731 = undefined; + s.dt2___28735 = undefined; + s.scene___28739 = undefined; + s.tileMap___28742 = undefined; + s.movingSprites___28745 = undefined; + s.MAX_STEP_COUNT___28776 = undefined; + s.overlapHandlers___28787 = undefined; + s.selected___28794 = undefined; + s.buffers___28795 = undefined; + s.count___28799 = undefined; + s.currMovers___28809 = undefined; + s.remainingMovers___28816 = undefined; + s.ms___28821 = undefined; + s.unnamed62___U14 = undefined; + s.unnamed63___U15 = undefined; + s.s___28823 = undefined; + s.stepX___28916 = undefined; + s.stepY___28930 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); - s.tmp_0 = Fx_min__P70041_mk(s); - s.tmp_0.arg0 = globals.MAX_TIME_STEP___72048; + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_VT)) failedCast(r0); + s.tmp_0 = Fx_min__P161_mk(s); + s.tmp_0.arg0 = globals.MAX_TIME_STEP___2168; r0 = (s.arg1 * 1000); s.tmp_1 = r0; r0 = (s.tmp_1 * 256); @@ -75712,45 +75941,45 @@ switch (step) { s.callLocIdx = 517; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.dtf___100081 = (r0); - r0 = pxsim.Math_.idiv(s.dtf___100081, 1000); - s.dtSec___100088 = (r0); - r0 = pxsim.Math_.idiv(s.dtf___100081, 2); - s.dt2___100092 = (r0); - s.tmp_0 = game_currentScene__P72409_mk(s); + s.dtf___28724 = (r0); + r0 = pxsim.Math_.idiv(s.dtf___28724, 1000); + s.dtSec___28731 = (r0); + r0 = pxsim.Math_.idiv(s.dtf___28724, 2); + s.dt2___28735 = (r0); + s.tmp_0 = game_currentScene__P2529_mk(s); s.callLocIdx = 520; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.scene___100096 = (r0); - r0 = s.scene___100096.fields["tileMap"]; - s.tileMap___100099 = (r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P100104); + s.scene___28739 = (r0); + r0 = s.scene___28739.fields["tileMap"]; + s.tileMap___28742 = (r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P28747); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtSec___100088); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___100092); - s.tmp_1 = helpers_arrayMap__P69984_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtSec___28731); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___28735); + s.tmp_1 = helpers_arrayMap__P104_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 522; s.pc = 49; return s.tmp_1; case 49: r0 = s.retval; - s.movingSprites___100102 = (r0); - s.tmp_0 = helpers_arrayForEach__P69987_mk(s); + s.movingSprites___28745 = (r0); + s.tmp_0 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P100116; + s.tmp_0.arg1 = inline__P28759; s.callLocIdx = 526; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P71980_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P2100_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 527; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_resizeBuckets__P71979_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P2099_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; @@ -75766,41 +75995,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___100088); + r0 = pxsim.Math_.imul(s.tmp_1, s.dtSec___28731); 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___100133 = (r0); - s.tmp_0 = helpers_arraySlice__P69992_mk(s); - r0 = s.scene___100096.fields["overlapHandlers"]; + s.MAX_STEP_COUNT___28776 = (r0); + s.tmp_0 = helpers_arraySlice__P112_mk(s); + r0 = s.scene___28739.fields["overlapHandlers"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 532; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.overlapHandlers___100144 = (r0); - s.selected___100151 = (0); + s.overlapHandlers___28787 = (r0); + s.selected___28794 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___100102); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___28745); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___100152 = (s.tmp_0); - s.count___100156 = (0); + s.buffers___28795 = (s.tmp_0); + s.count___28799 = (0); case 1: - r0 = (s.count___100156 < s.MAX_STEP_COUNT___100133); + r0 = (s.count___28799 < s.MAX_STEP_COUNT___28776); 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___100152, s.selected___100151); + r0 = pxsim_Array__getAt(s.buffers___28795, s.selected___28794); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -75810,43 +76039,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___100152, s.selected___100151); - s.currMovers___100166 = (r0); - r0 = (s.selected___100151 ^ 1); - s.selected___100151 = (r0); - r0 = pxsim_Array__getAt(s.buffers___100152, s.selected___100151); - s.remainingMovers___100173 = (r0); - s.ms___100178 = (undefined); - s.unnamed142___U14 = (s.currMovers___100166); - s.unnamed143___U15 = (0); + r0 = pxsim_Array__getAt(s.buffers___28795, s.selected___28794); + s.currMovers___28809 = (r0); + r0 = (s.selected___28794 ^ 1); + s.selected___28794 = (r0); + r0 = pxsim_Array__getAt(s.buffers___28795, s.selected___28794); + s.remainingMovers___28816 = (r0); + s.ms___28821 = (undefined); + s.unnamed62___U14 = (s.currMovers___28809); + s.unnamed63___U15 = (0); case 4: - s.tmp_0 = r0 = s.unnamed143___U15; - r0 = pxsim_Array__length(s.unnamed142___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.unnamed142___U14, s.unnamed143___U15); - s.ms___100178 = (r0); - r0 = s.ms___100178.fields["sprite"]; - s.s___100180 = (r0); - r0 = s.ms___100178.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed62___U14, s.unnamed63___U15); + s.ms___28821 = (r0); + r0 = s.ms___28821.fields["sprite"]; + s.s___28823 = (r0); + r0 = s.ms___28821.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___100180.fields["_vx"]; + r0 = s.s___28823.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___100180.fields["_vx"]; + r0 = s.s___28823.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___100178).fields["dx"] = (0); + r0 = (s.ms___28821).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___100180.fields["_vx"]; + r0 = s.s___28823.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -75855,7 +76084,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___100178.fields["cachedVx"]; + r0 = s.ms___28821.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -75866,7 +76095,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___100180.fields["_vx"]; + r0 = s.s___28823.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -75875,7 +76104,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___100178.fields["cachedVx"]; + r0 = s.ms___28821.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -75887,14 +76116,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___100178; - r0 = s.ms___100178.fields["dx"]; + s.tmp_9 = r0 = s.ms___28821; + r0 = s.ms___28821.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___100178; - r0 = s.ms___100178.fields["xStep"]; + s.tmp_0 = r0 = s.ms___28821; + r0 = s.ms___28821.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -75902,29 +76131,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___100180.fields["_vx"]; + r0 = s.s___28823.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___100178).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___28821).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___100178.fields["cachedVy"]; + r0 = s.ms___28821.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___100180.fields["_vy"]; + r0 = s.s___28823.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___100180.fields["_vy"]; + r0 = s.s___28823.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___100178).fields["dy"] = (0); + r0 = (s.ms___28821).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___100180.fields["_vy"]; + r0 = s.s___28823.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -75933,7 +76162,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___100178.fields["cachedVy"]; + r0 = s.ms___28821.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -75944,7 +76173,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___100180.fields["_vy"]; + r0 = s.s___28823.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -75953,7 +76182,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___100178.fields["cachedVy"]; + r0 = s.ms___28821.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -75965,14 +76194,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___100178; - r0 = s.ms___100178.fields["dy"]; + s.tmp_9 = r0 = s.ms___28821; + r0 = s.ms___28821.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___100178; - r0 = s.ms___100178.fields["yStep"]; + s.tmp_0 = r0 = s.ms___28821; + r0 = s.ms___28821.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -75980,20 +76209,20 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___100180.fields["_vy"]; + r0 = s.s___28823.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___100178).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___28821).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P70040_mk(s); - r0 = s.ms___100178.fields["xStep"]; + s.tmp_2 = Fx_abs__P160_mk(s); + r0 = s.ms___28821.fields["xStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 537; s.pc = 54; return s.tmp_2; case 54: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P70040_mk(s); - r0 = s.ms___100178.fields["dx"]; + s.tmp_4 = Fx_abs__P160_mk(s); + r0 = s.ms___28821.fields["dx"]; s.tmp_4.arg0 = r0; s.callLocIdx = 538; s.pc = 55; return s.tmp_4; case 55: @@ -76003,23 +76232,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___100178.fields["dx"]; + r0 = s.ms___28821.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___100178.fields["xStep"]; + r0 = s.ms___28821.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___100273 = (s.tmp_5); - s.tmp_2 = Fx_abs__P70040_mk(s); - r0 = s.ms___100178.fields["yStep"]; + s.stepX___28916 = (s.tmp_5); + s.tmp_2 = Fx_abs__P160_mk(s); + r0 = s.ms___28821.fields["yStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 539; s.pc = 56; return s.tmp_2; case 56: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P70040_mk(s); - r0 = s.ms___100178.fields["dy"]; + s.tmp_4 = Fx_abs__P160_mk(s); + r0 = s.ms___28821.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 540; s.pc = 57; return s.tmp_4; case 57: @@ -76029,45 +76258,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___100178.fields["dy"]; + r0 = s.ms___28821.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___100178.fields["yStep"]; + r0 = s.ms___28821.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___100287 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___100178; - r0 = s.ms___100178.fields["dx"]; + s.stepY___28930 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___28821; + r0 = s.ms___28821.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___100273); + r0 = (s.tmp_2 - s.stepX___28916); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___100178; - r0 = s.ms___100178.fields["dy"]; + s.tmp_0 = r0 = s.ms___28821; + r0 = s.ms___28821.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___100287); + r0 = (s.tmp_2 - s.stepY___28930); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___100180.fields["_x"]; + r0 = s.s___28823.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___100180).fields["_lastX"] = (s.tmp_0); - r0 = s.s___100180.fields["_y"]; + r0 = (s.s___28823).fields["_lastX"] = (s.tmp_0); + r0 = s.s___28823.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___100180).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___100180; - r0 = s.s___100180.fields["_x"]; + r0 = (s.s___28823).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___28823; + r0 = s.s___28823.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___100273); + r0 = (s.tmp_2 + s.stepX___28916); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___100180; - r0 = s.s___100180.fields["_y"]; + s.tmp_0 = r0 = s.s___28823; + r0 = s.s___28823.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___100287); + r0 = (s.tmp_2 + s.stepY___28930); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___100180.fields["flags"]; + r0 = s.s___28823.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 515); s.tmp_2 = r0; @@ -76077,22 +76306,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__P71981_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P2101_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___100180; + s.tmp_4.arg1 = s.s___28823; s.callLocIdx = 545; s.pc = 58; return s.tmp_4; case 58: r0 = s.retval; - s.tmp_0 = r0 = s.tileMap___100099; + s.tmp_0 = r0 = s.tileMap___28742; 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__C72197_v6_1_mk(s); - s.tmp_1.arg0 = s.tileMap___100099; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = tiles_TileMap__C2317_v6_1_mk(s); + s.tmp_1.arg0 = s.tileMap___28742; + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C2317_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: @@ -76102,10 +76331,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 35; continue; } - s.tmp_3 = ArcadePhysicsEngine_tilemapCollisions__P74037_mk(s); + s.tmp_3 = ArcadePhysicsEngine_tilemapCollisions__P4157_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.ms___100178; - s.tmp_3.arg2 = s.tileMap___100099; + s.tmp_3.arg1 = s.ms___28821; + s.tmp_3.arg2 = s.tileMap___28742; s.callLocIdx = 546; s.pc = 60; return s.tmp_3; case 60: r0 = s.retval; @@ -76113,70 +76342,70 @@ switch (step) { case 36: case 37: case 38: - s.tmp_2 = Fx_abs__P70040_mk(s); - r0 = s.ms___100178.fields["dx"]; + s.tmp_2 = Fx_abs__P160_mk(s); + r0 = s.ms___28821.fields["dx"]; s.tmp_2.arg0 = r0; s.callLocIdx = 547; s.pc = 61; return s.tmp_2; case 61: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___72050); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___2170); 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__P70040_mk(s); - r0 = s.ms___100178.fields["dy"]; + s.tmp_4 = Fx_abs__P160_mk(s); + r0 = s.ms___28821.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 548; s.pc = 62; return s.tmp_4; case 62: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___72050); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___2170); 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___100173, s.ms___100178); + r0 = pxsim_Array__push(s.remainingMovers___28816, s.ms___28821); case 41: case 42: - r0 = (s.unnamed143___U15 + 1); - s.unnamed143___U15 = (r0); + r0 = (s.unnamed63___U15 + 1); + s.unnamed63___U15 = (r0); { step = 4; continue; } case 43: - s.unnamed142___U14 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P74036_mk(s); + s.unnamed62___U14 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P4156_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___100166; - s.tmp_0.arg2 = s.overlapHandlers___100144; + s.tmp_0.arg1 = s.currMovers___28809; + s.tmp_0.arg2 = s.overlapHandlers___28787; s.callLocIdx = 549; s.pc = 63; return s.tmp_0; case 63: r0 = s.retval; case 44: - r0 = pxsim_Array__length(s.currMovers___100166); + r0 = pxsim_Array__length(s.currMovers___28809); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 45; continue; } - r0 = pxsim_Array_.pop(s.currMovers___100166); + r0 = pxsim_Array_.pop(s.currMovers___28809); { step = 44; continue; } case 45: - r0 = (s.count___100156 + 1); - s.count___100156 = (r0); + r0 = (s.count___28799 + 1); + s.count___28799 = (r0); { step = 1; continue; } case 46: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move__P72065.info = {"start":2551,"length":3932,"line":109,"column":4,"endLine":209,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} +ArcadePhysicsEngine_move__P2185.info = {"start":2551,"length":3932,"line":109,"column":4,"endLine":209,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} -function ArcadePhysicsEngine_move__P72065_mk(s) { +function ArcadePhysicsEngine_move__P2185_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P72065, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P2185, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -76190,25 +76419,25 @@ function ArcadePhysicsEngine_move__P72065_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtf___100081: undefined, - dtSec___100088: undefined, - dt2___100092: undefined, - scene___100096: undefined, - tileMap___100099: undefined, - movingSprites___100102: undefined, - MAX_STEP_COUNT___100133: undefined, - overlapHandlers___100144: undefined, - selected___100151: undefined, - buffers___100152: undefined, - count___100156: undefined, - currMovers___100166: undefined, - remainingMovers___100173: undefined, - ms___100178: undefined, - unnamed142___U14: undefined, - unnamed143___U15: undefined, - s___100180: undefined, - stepX___100273: undefined, - stepY___100287: undefined, + dtf___28724: undefined, + dtSec___28731: undefined, + dt2___28735: undefined, + scene___28739: undefined, + tileMap___28742: undefined, + movingSprites___28745: undefined, + MAX_STEP_COUNT___28776: undefined, + overlapHandlers___28787: undefined, + selected___28794: undefined, + buffers___28795: undefined, + count___28799: undefined, + currMovers___28809: undefined, + remainingMovers___28816: undefined, + ms___28821: undefined, + unnamed62___U14: undefined, + unnamed63___U15: undefined, + s___28823: undefined, + stepX___28916: undefined, + stepY___28930: undefined, arg0: undefined, arg1: undefined, } } @@ -76217,7 +76446,7 @@ function ArcadePhysicsEngine_move__P72065_mk(s) { -function inline__P100104(s) { +function inline__P28747(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76231,7 +76460,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P74035_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P4155_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; @@ -76242,12 +76471,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P100104.info = {"start":2985,"length":53,"line":122,"column":17,"endLine":122,"endColumn":70,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P28747.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__P100104_mk(s) { +function inline__P28747_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P100104, depth: s.depth + 1, + parent: s, fn: inline__P28747, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -76257,7 +76486,7 @@ function inline__P100104_mk(s) { -function inline__P100116(s) { +function inline__P28759(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76271,7 +76500,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P71909_mk(s); + s.tmp_1 = Sprite_vx__P2029_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 523; s.pc = 5; return s.tmp_1; case 5: @@ -76282,7 +76511,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P71911_mk(s); + s.tmp_2 = Sprite_vy__P2031_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 524; s.pc = 6; return s.tmp_2; case 6: @@ -76292,7 +76521,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P71964_mk(s); + s.tmp_4 = Sprite_clearObstacles__P2084_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 525; s.pc = 7; return s.tmp_4; case 7: @@ -76303,12 +76532,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P100116.info = {"start":3121,"length":66,"line":125,"column":29,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} +inline__P28759.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__P100116_mk(s) { +function inline__P28759_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P100116, depth: s.depth + 1, + parent: s, fn: inline__P28759, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -76322,7 +76551,7 @@ function inline__P100116_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P74036(s) { +function ArcadePhysicsEngine_spriteCollisions__P4156(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76332,18 +76561,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___100388 = undefined; - s.unnamed144___U1 = undefined; - s.unnamed145___U2 = undefined; - s.sprite___100390 = undefined; - s.overSprites___100397 = undefined; - s.overlapper___100405 = undefined; - s.unnamed146___U6 = undefined; - s.unnamed147___U7 = undefined; - s.thisKind___100411 = undefined; - s.otherKind___100415 = undefined; - s.higher___100428 = undefined; - s.lower___100437 = undefined; + s.ms___29031 = undefined; + s.unnamed64___U1 = undefined; + s.unnamed65___U2 = undefined; + s.sprite___29033 = undefined; + s.overSprites___29040 = undefined; + s.overlapper___29048 = undefined; + s.unnamed66___U6 = undefined; + s.unnamed67___U7 = undefined; + s.thisKind___29054 = undefined; + s.otherKind___29058 = undefined; + s.higher___29071 = undefined; + s.lower___29080 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -76351,7 +76580,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -76363,20 +76592,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___100388 = (undefined); - s.unnamed144___U1 = (s.arg1); - s.unnamed145___U2 = (0); + s.ms___29031 = (undefined); + s.unnamed64___U1 = (s.arg1); + s.unnamed65___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed145___U2; - r0 = pxsim_Array__length(s.unnamed144___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.unnamed144___U1, s.unnamed145___U2); - s.ms___100388 = (r0); - r0 = s.ms___100388.fields["sprite"]; - s.sprite___100390 = (r0); - r0 = s.sprite___100390.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed64___U1, s.unnamed65___U2); + s.ms___29031 = (r0); + r0 = s.ms___29031.fields["sprite"]; + s.sprite___29033 = (r0); + r0 = s.sprite___29033.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 515); s.tmp_0 = r0; @@ -76385,27 +76614,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P71977_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P2097_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___100388.fields["sprite"]; + r0 = s.ms___29031.fields["sprite"]; s.tmp_2.arg1 = r0; s.callLocIdx = 583; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___100397 = (r0); - s.overlapper___100405 = (undefined); - s.unnamed146___U6 = (s.overSprites___100397); - s.unnamed147___U7 = (0); + s.overSprites___29040 = (r0); + s.overlapper___29048 = (undefined); + s.unnamed66___U6 = (s.overSprites___29040); + s.unnamed67___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed147___U7; - r0 = pxsim_Array__length(s.unnamed146___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.unnamed146___U6, s.unnamed147___U7); - s.overlapper___100405 = (r0); - r0 = s.overlapper___100405.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed66___U6, s.unnamed67___U7); + s.overlapper___29048 = (r0); + r0 = s.overlapper___29048.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 515); s.tmp_2 = r0; @@ -76414,13 +76643,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___100390.fields["_kind"]; - s.thisKind___100411 = (r0); - r0 = s.overlapper___100405.fields["_kind"]; - s.otherKind___100415 = (r0); - r0 = s.sprite___100390.fields["_kindsOverlappedWith"]; + r0 = s.sprite___29033.fields["_kind"]; + s.thisKind___29054 = (r0); + r0 = s.overlapper___29048.fields["_kind"]; + s.otherKind___29058 = (r0); + r0 = s.sprite___29033.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___100415, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___29058, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -76429,37 +76658,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___100390.fields["id"]; + r0 = s.sprite___29033.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___100405.fields["id"]; + r0 = s.overlapper___29048.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___100390; + r0 = s.sprite___29033; { step = 12; continue; } case 11: - r0 = s.overlapper___100405; + r0 = s.overlapper___29048; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___100428 = (s.tmp_6); - r0 = (s.higher___100428 === s.sprite___100390); + s.higher___29071 = (s.tmp_6); + r0 = (s.higher___29071 === s.sprite___29033); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___100405; + r0 = s.overlapper___29048; { step = 14; continue; } case 13: - r0 = s.sprite___100390; + r0 = s.sprite___29033; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___100437 = (s.tmp_1); - r0 = s.higher___100428.fields["_overlappers"]; + s.lower___29080 = (s.tmp_1); + r0 = s.higher___29071.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___100437.fields["id"]; + r0 = s.lower___29080.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -76467,19 +76696,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__P100457); + r0 = pxsim_pxtcore_mkAction(2, inline__P29100); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___100411); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___100415); - r0 = pxsim_pxtcore_mkAction(5, inline__P100481); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___29054); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___29058); + r0 = pxsim_pxtcore_mkAction(5, inline__P29124); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___100428); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___100437); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___100390); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___100405); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___100411); - s.tmp_6 = helpers_arrayForEach__P69987_mk(s); - s.tmp_7 = helpers_arrayFilter__P69988_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___29071); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___29080); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___29033); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___29048); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___29054); + s.tmp_6 = helpers_arrayForEach__P107_mk(s); + s.tmp_7 = helpers_arrayFilter__P108_mk(s); s.tmp_7.arg0 = s.arg2; s.tmp_7.arg1 = s.tmp_4; s.callLocIdx = 586; s.pc = 24; return s.tmp_7; @@ -76493,28 +76722,28 @@ switch (step) { case 15: case 16: case 17: - r0 = (s.unnamed147___U7 + 1); - s.unnamed147___U7 = (r0); + r0 = (s.unnamed67___U7 + 1); + s.unnamed67___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed146___U6 = (undefined); + s.unnamed66___U6 = (undefined); case 19: - r0 = (s.unnamed145___U2 + 1); - s.unnamed145___U2 = (r0); + r0 = (s.unnamed65___U2 + 1); + s.unnamed65___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed144___U1 = (undefined); + s.unnamed64___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P74036.info = {"start":9157,"length":2254,"line":304,"column":4,"endLine":348,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} +ArcadePhysicsEngine_spriteCollisions__P4156.info = {"start":9157,"length":2254,"line":304,"column":4,"endLine":348,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} -function ArcadePhysicsEngine_spriteCollisions__P74036_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P4156_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P74036, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P4156, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -76524,18 +76753,18 @@ function ArcadePhysicsEngine_spriteCollisions__P74036_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___100388: undefined, - unnamed144___U1: undefined, - unnamed145___U2: undefined, - sprite___100390: undefined, - overSprites___100397: undefined, - overlapper___100405: undefined, - unnamed146___U6: undefined, - unnamed147___U7: undefined, - thisKind___100411: undefined, - otherKind___100415: undefined, - higher___100428: undefined, - lower___100437: undefined, + ms___29031: undefined, + unnamed64___U1: undefined, + unnamed65___U2: undefined, + sprite___29033: undefined, + overSprites___29040: undefined, + overlapper___29048: undefined, + unnamed66___U6: undefined, + unnamed67___U7: undefined, + thisKind___29054: undefined, + otherKind___29058: undefined, + higher___29071: undefined, + lower___29080: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -76545,7 +76774,7 @@ function ArcadePhysicsEngine_spriteCollisions__P74036_mk(s) { -function inline__P100457(s) { +function inline__P29100(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76602,12 +76831,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P100457.info = {"start":10516,"length":137,"line":330,"column":32,"endLine":331,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P29100.info = {"start":10516,"length":137,"line":330,"column":32,"endLine":331,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P100457_mk(s) { +function inline__P29100_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P100457, depth: s.depth + 1, + parent: s, fn: inline__P29100, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -76625,7 +76854,7 @@ function inline__P100457_mk(s) { -function inline__P100481(s) { +function inline__P29124(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76644,7 +76873,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__P100491); + r0 = pxsim_pxtcore_mkAction(6, inline__P29134); 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]); @@ -76657,12 +76886,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P100481.info = {"start":10713,"length":648,"line":333,"column":33,"endLine":344,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P29124.info = {"start":10713,"length":648,"line":333,"column":33,"endLine":344,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P100481_mk(s) { +function inline__P29124_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P100481, depth: s.depth + 1, + parent: s, fn: inline__P29124, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -76673,7 +76902,7 @@ function inline__P100481_mk(s) { -function inline__P100491(s) { +function inline__P29134(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76749,12 +76978,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P100491.info = {"start":10834,"length":499,"line":335,"column":50,"endLine":343,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +inline__P29134.info = {"start":10834,"length":499,"line":335,"column":50,"endLine":343,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -function inline__P100491_mk(s) { +function inline__P29134_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P100491, depth: s.depth + 1, + parent: s, fn: inline__P29134, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -76775,7 +77004,7 @@ function inline__P100491_mk(s) { -function sprites_SpriteMap_overlaps__P71977(s) { +function sprites_SpriteMap_overlaps__P2097(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76785,47 +77014,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___100525 = undefined; - s.o___100529 = undefined; + s.n___29168 = undefined; + s.o___29172 = 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__C71974_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P71976_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2094_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P2096_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 466; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___100525 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P100531); + s.n___29168 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P29174); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P69988_mk(s); - s.tmp_1.arg0 = s.n___100525; + s.tmp_1 = helpers_arrayFilter__P108_mk(s); + s.tmp_1.arg0 = s.n___29168; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 468; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___100529 = (r0); - r0 = s.o___100529; + s.o___29172 = (r0); + r0 = s.o___29172; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_overlaps__P71977.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__P2097.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__P71977_mk(s) { +function sprites_SpriteMap_overlaps__P2097_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P71977, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P2097, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___100525: undefined, - o___100529: undefined, + n___29168: undefined, + o___29172: undefined, arg0: undefined, arg1: undefined, } } @@ -76834,7 +77063,7 @@ function sprites_SpriteMap_overlaps__P71977_mk(s) { -function inline__P100531(s) { +function inline__P29174(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76848,7 +77077,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P71960_mk(s); + s.tmp_0 = Sprite_overlapsWith__P2080_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 467; s.pc = 1; return s.tmp_0; @@ -76857,12 +77086,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P100531.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} +inline__P29174.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__P100531_mk(s) { +function inline__P29174_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P100531, depth: s.depth + 1, + parent: s, fn: inline__P29174, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -76872,7 +77101,7 @@ function inline__P100531_mk(s) { -function sprites_SpriteMap_neighbors__P71976(s) { +function sprites_SpriteMap_neighbors__P2096(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76882,112 +77111,112 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___100573 = undefined; - s.layer___100575 = undefined; + s.n___29216 = undefined; + s.layer___29218 = 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__C71974_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C2094_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___100573 = (r0); + s.n___29216 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___100575 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P74014_mk(s); + s.layer___29218 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4134_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P71942_mk(s); + s.tmp_1 = Sprite_left__P2062_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 454; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P71946_mk(s); + s.tmp_2 = Sprite_top__P2066_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 455; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___100575; - s.tmp_0.arg4 = s.n___100573; + s.tmp_0.arg3 = s.layer___29218; + s.tmp_0.arg4 = s.n___29216; s.callLocIdx = 456; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P74014_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4134_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P71942_mk(s); + s.tmp_1 = Sprite_left__P2062_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 457; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P71948_mk(s); + s.tmp_2 = Sprite_bottom__P2068_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 458; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___100575; - s.tmp_0.arg4 = s.n___100573; + s.tmp_0.arg3 = s.layer___29218; + s.tmp_0.arg4 = s.n___29216; s.callLocIdx = 459; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P74014_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4134_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P71944_mk(s); + s.tmp_1 = Sprite_right__P2064_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 460; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P71946_mk(s); + s.tmp_2 = Sprite_top__P2066_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 461; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___100575; - s.tmp_0.arg4 = s.n___100573; + s.tmp_0.arg3 = s.layer___29218; + s.tmp_0.arg4 = s.n___29216; s.callLocIdx = 462; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P74014_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4134_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P71944_mk(s); + s.tmp_1 = Sprite_right__P2064_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 463; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P71948_mk(s); + s.tmp_2 = Sprite_bottom__P2068_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 464; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___100575; - s.tmp_0.arg4 = s.n___100573; + s.tmp_0.arg3 = s.layer___29218; + s.tmp_0.arg4 = s.n___29216; s.callLocIdx = 465; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___100573, s.arg1); - r0 = s.n___100573; + r0 = pxsim_Array_.removeElement(s.n___29216, s.arg1); + r0 = s.n___29216; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_neighbors__P71976.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__P2096.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__P71976_mk(s) { +function sprites_SpriteMap_neighbors__P2096_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P71976, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P2096, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___100573: undefined, - layer___100575: undefined, + n___29216: undefined, + layer___29218: undefined, arg0: undefined, arg1: undefined, } } @@ -76996,7 +77225,7 @@ function sprites_SpriteMap_neighbors__P71976_mk(s) { -function sprites_SpriteMap_mergeAtKey__P74014(s) { +function sprites_SpriteMap_mergeAtKey__P4134(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77006,11 +77235,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___100616 = undefined; - s.bucket___100621 = undefined; - s.sprite___100628 = undefined; - s.unnamed140___U3 = undefined; - s.unnamed141___U4 = undefined; + s.k___29259 = undefined; + s.bucket___29264 = undefined; + s.sprite___29271 = undefined; + s.unnamed60___U3 = undefined; + s.unnamed61___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -77020,33 +77249,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C71974_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P74012_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2094_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P4132_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 490; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___100616 = (r0); + s.k___29259 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___100616); - s.bucket___100621 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___100621); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___29259); + s.bucket___29264 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___29264); if (!r0) { step = 7; continue; } - s.sprite___100628 = (undefined); - s.unnamed140___U3 = (s.bucket___100621); - s.unnamed141___U4 = (0); + s.sprite___29271 = (undefined); + s.unnamed60___U3 = (s.bucket___29264); + s.unnamed61___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed141___U4; - r0 = pxsim_Array__length(s.unnamed140___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.unnamed140___U3, s.unnamed141___U4); - s.sprite___100628 = (r0); - r0 = s.sprite___100628.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed60___U3, s.unnamed61___U4); + s.sprite___29271 = (r0); + r0 = s.sprite___29271.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -77055,7 +77284,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___100628, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___29271, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -77063,26 +77292,26 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__push(s.arg4, s.sprite___100628); + r0 = pxsim_Array__push(s.arg4, s.sprite___29271); case 4: case 5: - r0 = (s.unnamed141___U4 + 1); - s.unnamed141___U4 = (r0); + r0 = (s.unnamed61___U4 + 1); + s.unnamed61___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed140___U3 = (undefined); + s.unnamed60___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P74014.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__P4134.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__P74014_mk(s) { +function sprites_SpriteMap_mergeAtKey__P4134_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P74014, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P4134, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77090,11 +77319,11 @@ function sprites_SpriteMap_mergeAtKey__P74014_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___100616: undefined, - bucket___100621: undefined, - sprite___100628: undefined, - unnamed140___U3: undefined, - unnamed141___U4: undefined, + k___29259: undefined, + bucket___29264: undefined, + sprite___29271: undefined, + unnamed60___U3: undefined, + unnamed61___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -77106,7 +77335,7 @@ function sprites_SpriteMap_mergeAtKey__P74014_mk(s) { -function sprites_SpriteMap_key__P74012(s) { +function sprites_SpriteMap_key__P4132(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77116,8 +77345,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___100649 = undefined; - s.yi___100661 = undefined; + s.xi___29292 = undefined; + s.yi___29304 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -77125,8 +77354,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C71974_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P70002_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2094_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P122_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -77137,8 +77366,8 @@ switch (step) { s.callLocIdx = 478; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___100649 = (r0); - s.tmp_0 = Math_clamp__P70002_mk(s); + s.xi___29292 = (r0); + s.tmp_0 = Math_clamp__P122_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -77149,28 +77378,28 @@ switch (step) { s.callLocIdx = 479; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___100661 = (r0); - s.tmp_0 = r0 = s.xi___100649; + s.yi___29304 = (r0); + s.tmp_0 = r0 = s.xi___29292; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___100661 * s.tmp_2); + r0 = (s.yi___29304 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P74012.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__P4132.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__P74012_mk(s) { +function sprites_SpriteMap_key__P4132_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P74012, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P4132, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___100649: undefined, - yi___100661: undefined, + xi___29292: undefined, + yi___29304: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -77180,7 +77409,7 @@ function sprites_SpriteMap_key__P74012_mk(s) { -function Sprite_overlapsWith__P71960(s) { +function Sprite_overlapsWith__P2080(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77196,7 +77425,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -77229,13 +77458,13 @@ switch (step) { s.tmp_5 = r0; r0 = s.arg0.fields["_image"]; s.tmp_6 = r0; - s.tmp_9 = Sprite_left__P71942_mk(s); + s.tmp_9 = Sprite_left__P2062_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 417; s.pc = 8; return s.tmp_9; case 8: r0 = s.retval; s.tmp_8 = r0; - s.tmp_11 = Sprite_left__P71942_mk(s); + s.tmp_11 = Sprite_left__P2062_mk(s); s.tmp_11.arg0 = s.arg1; s.callLocIdx = 418; s.pc = 9; return s.tmp_11; case 9: @@ -77243,13 +77472,13 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_8 - s.tmp_10); s.tmp_7 = r0; - s.tmp_14 = Sprite_top__P71946_mk(s); + s.tmp_14 = Sprite_top__P2066_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 419; s.pc = 10; return s.tmp_14; case 10: r0 = s.retval; s.tmp_13 = r0; - s.tmp_16 = Sprite_top__P71946_mk(s); + s.tmp_16 = Sprite_top__P2066_mk(s); s.tmp_16.arg0 = s.arg1; s.callLocIdx = 420; s.pc = 11; return s.tmp_16; case 11: @@ -77262,12 +77491,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_overlapsWith__P71960.info = {"start":24387,"length":434,"line":748,"column":4,"endLine":756,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +Sprite_overlapsWith__P2080.info = {"start":24387,"length":434,"line":748,"column":4,"endLine":756,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -function Sprite_overlapsWith__P71960_mk(s) { +function Sprite_overlapsWith__P2080_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P71960, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P2080, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77294,7 +77523,7 @@ function Sprite_overlapsWith__P71960_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P74035(s) { +function ArcadePhysicsEngine_createMovingSprite__P4155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77304,16 +77533,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ovx___100863 = undefined; - s.ovy___100868 = undefined; - s.fx___100894 = undefined; - s.c___100900 = undefined; - s.fy___100942 = undefined; - s.c___100948 = undefined; - s.dx___100987 = undefined; - s.dy___100996 = undefined; - s.xStep___101005 = undefined; - s.yStep___101007 = undefined; + s.ovx___29506 = undefined; + s.ovy___29511 = undefined; + s.fx___29537 = undefined; + s.c___29543 = undefined; + s.fy___29585 = undefined; + s.c___29591 = undefined; + s.dx___29630 = undefined; + s.dy___29639 = undefined; + s.xStep___29648 = undefined; + s.yStep___29650 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -77322,23 +77551,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P74040_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P4160_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_0.arg1 = r0; s.callLocIdx = 550; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___100863 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P74040_mk(s); + s.ovx___29506 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P4160_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_0.arg1 = r0; s.callLocIdx = 551; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___100868 = (r0); + s.ovy___29511 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -77372,21 +77601,21 @@ switch (step) { r0 = pxsim.Math_.imul(s.tmp_1, s.arg2); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.fx___100894 = (r0); + s.fx___29537 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___100894); - s.c___100900 = (r0); - r0 = (s.c___100900 < 0); + r0 = (s.tmp_0 - s.fx___29537); + s.c___29543 = (r0); + r0 = (s.c___29543 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Fx_min__P70041_mk(s); + s.tmp_3 = Fx_min__P161_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___100894); + r0 = (s.tmp_4 + s.fx___29537); s.tmp_3.arg1 = r0; s.callLocIdx = 557; s.pc = 27; return s.tmp_3; case 27: @@ -77395,16 +77624,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___100900 > 0); + r0 = (s.c___29543 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Fx_max__P70042_mk(s); + s.tmp_3 = Fx_max__P162_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___100894); + r0 = (s.tmp_4 - s.fx___29537); s.tmp_3.arg1 = r0; s.callLocIdx = 559; s.pc = 28; return s.tmp_3; case 28: @@ -77446,21 +77675,21 @@ switch (step) { r0 = pxsim.Math_.imul(s.tmp_1, s.arg2); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.fy___100942 = (r0); + s.fy___29585 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___100942); - s.c___100948 = (r0); - r0 = (s.c___100948 < 0); + r0 = (s.tmp_0 - s.fy___29585); + s.c___29591 = (r0); + r0 = (s.c___29591 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Fx_min__P70041_mk(s); + s.tmp_3 = Fx_min__P161_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___100942); + r0 = (s.tmp_4 + s.fy___29585); s.tmp_3.arg1 = r0; s.callLocIdx = 565; s.pc = 29; return s.tmp_3; case 29: @@ -77469,16 +77698,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___100948 > 0); + r0 = (s.c___29591 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Fx_min__P70041_mk(s); + s.tmp_3 = Fx_min__P161_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___100942); + r0 = (s.tmp_4 - s.fy___29585); s.tmp_3.arg1 = r0; s.callLocIdx = 567; s.pc = 30; return s.tmp_3; case 30: @@ -77494,7 +77723,7 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P74040_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P4160_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_2.arg1 = r0; @@ -77504,7 +77733,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__P74040_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P4160_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_2.arg1 = r0; @@ -77515,29 +77744,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___100863); + r0 = (s.tmp_2 + s.ovx___29506); 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___100987 = (r0); + s.dx___29630 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.ovy___100868); + r0 = (s.tmp_2 + s.ovy___29511); 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___100996 = (r0); - s.xStep___101005 = (s.dx___100987); - s.yStep___101007 = (s.dy___100996); + s.dy___29639 = (r0); + s.xStep___29648 = (s.dx___29630); + s.yStep___29650 = (s.dy___29639); case 17: - s.tmp_2 = Fx_abs__P70040_mk(s); - s.tmp_2.arg0 = s.xStep___101005; + s.tmp_2 = Fx_abs__P160_mk(s); + s.tmp_2.arg0 = s.xStep___29648; s.callLocIdx = 576; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -77551,8 +77780,8 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - s.tmp_5 = Fx_abs__P70040_mk(s); - s.tmp_5.arg0 = s.yStep___101007; + s.tmp_5 = Fx_abs__P160_mk(s); + s.tmp_5.arg0 = s.yStep___29650; s.callLocIdx = 577; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; @@ -77565,8 +77794,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 24; continue; } - s.tmp_10 = Fx_abs__P70040_mk(s); - s.tmp_10.arg0 = s.xStep___101005; + s.tmp_10 = Fx_abs__P160_mk(s); + s.tmp_10.arg0 = s.xStep___29648; s.callLocIdx = 578; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; @@ -77577,12 +77806,12 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 20; continue; } - r0 = pxsim.Math_.idiv(s.xStep___101005, 2); - s.xStep___101005 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___29648, 2); + s.xStep___29648 = (r0); case 20: case 21: - s.tmp_2 = Fx_abs__P70040_mk(s); - s.tmp_2.arg0 = s.yStep___101007; + s.tmp_2 = Fx_abs__P160_mk(s); + s.tmp_2.arg0 = s.yStep___29650; s.callLocIdx = 580; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; @@ -77593,25 +77822,25 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = pxsim.Math_.idiv(s.yStep___101007, 2); - s.yStep___101007 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___29650, 2); + s.yStep___29650 = (r0); case 22: case 23: { step = 17; continue; } case 24: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C72051_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C2171_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P72052_mk(s); + s.tmp_1 = MovingSprite_constructor__P2172_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___100987; - s.tmp_1.arg5 = s.dy___100996; - s.tmp_1.arg6 = s.xStep___101005; - s.tmp_1.arg7 = s.yStep___101007; + s.tmp_1.arg4 = s.dx___29630; + s.tmp_1.arg5 = s.dy___29639; + s.tmp_1.arg6 = s.xStep___29648; + s.tmp_1.arg7 = s.yStep___29650; s.callLocIdx = 582; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; @@ -77619,12 +77848,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P74035.info = {"start":6489,"length":2662,"line":211,"column":4,"endLine":302,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtSec","dt2"]} +ArcadePhysicsEngine_createMovingSprite__P4155.info = {"start":6489,"length":2662,"line":211,"column":4,"endLine":302,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtSec","dt2"]} -function ArcadePhysicsEngine_createMovingSprite__P74035_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P4155_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P74035, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P4155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77638,16 +77867,16 @@ function ArcadePhysicsEngine_createMovingSprite__P74035_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___100863: undefined, - ovy___100868: undefined, - fx___100894: undefined, - c___100900: undefined, - fy___100942: undefined, - c___100948: undefined, - dx___100987: undefined, - dy___100996: undefined, - xStep___101005: undefined, - yStep___101007: undefined, + ovx___29506: undefined, + ovy___29511: undefined, + fx___29537: undefined, + c___29543: undefined, + fy___29585: undefined, + c___29591: undefined, + dx___29630: undefined, + dy___29639: undefined, + xStep___29648: undefined, + yStep___29650: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -77658,7 +77887,7 @@ function ArcadePhysicsEngine_createMovingSprite__P74035_mk(s) { -function ArcadePhysicsEngine_constrain__P74040(s) { +function ArcadePhysicsEngine_constrain__P4160(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77674,9 +77903,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P70042_mk(s); - s.tmp_1 = Fx_min__P70041_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P162_mk(s); + s.tmp_1 = Fx_min__P161_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -77692,12 +77921,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P74040.info = {"start":24856,"length":191,"line":731,"column":4,"endLine":739,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} +ArcadePhysicsEngine_constrain__P4160.info = {"start":24856,"length":191,"line":731,"column":4,"endLine":739,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} -function ArcadePhysicsEngine_constrain__P74040_mk(s) { +function ArcadePhysicsEngine_constrain__P4160_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P74040, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P4160, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77709,7 +77938,7 @@ function ArcadePhysicsEngine_constrain__P74040_mk(s) { -function Fx_max__P70042(s) { +function Fx_max__P162(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77740,12 +77969,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_max__P70042.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__P162.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__P70042_mk(s) { +function Fx_max__P162_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P70042, depth: s.depth + 1, + parent: s, fn: Fx_max__P162, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -77756,7 +77985,7 @@ function Fx_max__P70042_mk(s) { -function Fx_compare__P70039(s) { +function Fx_compare__P159(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77775,12 +78004,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_compare__P70039.info = {"start":1395,"length":106,"line":41,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"compare","argumentNames":["a","b"]} +Fx_compare__P159.info = {"start":1395,"length":106,"line":41,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"compare","argumentNames":["a","b"]} -function Fx_compare__P70039_mk(s) { +function Fx_compare__P159_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_compare__P70039, depth: s.depth + 1, + parent: s, fn: Fx_compare__P159, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -77790,7 +78019,7 @@ function Fx_compare__P70039_mk(s) { -function sprites_SpriteMap_insertAABB__P71981(s) { +function sprites_SpriteMap_insertAABB__P2101(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77800,31 +78029,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___100681 = undefined; - s.top___100684 = undefined; - s.xn___100687 = undefined; - s.yn___100698 = undefined; - s.x___100709 = undefined; - s.y___100714 = undefined; + s.left___29324 = undefined; + s.top___29327 = undefined; + s.xn___29330 = undefined; + s.yn___29341 = undefined; + s.x___29352 = undefined; + s.y___29357 = 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__C71974_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P71942_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2094_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P2062_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 481; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___100681 = (r0); - s.tmp_0 = Sprite_top__P71946_mk(s); + s.left___29324 = (r0); + s.tmp_0 = Sprite_top__P2066_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 482; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___100684 = (r0); + s.top___29327 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); @@ -77838,7 +78067,7 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___100687 = (r0); + s.xn___29330 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -77852,30 +78081,30 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___100698 = (r0); - s.x___100709 = (0); + s.yn___29341 = (r0); + s.x___29352 = (0); case 1: - r0 = (s.x___100709 <= s.xn___100687); + r0 = (s.x___29352 <= s.xn___29330); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___100714 = (0); + s.y___29357 = (0); case 2: - r0 = (s.y___100714 <= s.yn___100698); + r0 = (s.y___29357 <= s.yn___29341); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P74013_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P4133_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___100681; - s.tmp_4 = Math_min__P70006_mk(s); + s.tmp_2 = r0 = s.left___29324; + s.tmp_4 = Math_min__P126_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___100709 * s.tmp_6); + r0 = (s.x___29352 * s.tmp_6); s.tmp_4.arg1 = r0; s.callLocIdx = 486; s.pc = 8; return s.tmp_4; case 8: @@ -77883,15 +78112,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___100684; - s.tmp_9 = Math_min__P70006_mk(s); + s.tmp_7 = r0 = s.top___29327; + s.tmp_9 = Math_min__P126_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___100714 * s.tmp_11); + r0 = (s.y___29357 * s.tmp_11); s.tmp_9.arg1 = r0; s.callLocIdx = 488; s.pc = 9; return s.tmp_9; case 9: @@ -77903,24 +78132,24 @@ switch (step) { s.callLocIdx = 489; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = (s.y___100714 + 1); - s.y___100714 = (r0); + r0 = (s.y___29357 + 1); + s.y___29357 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___100709 + 1); - s.x___100709 = (r0); + r0 = (s.x___29352 + 1); + s.x___29352 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAABB__P71981.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__P2101.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__P71981_mk(s) { +function sprites_SpriteMap_insertAABB__P2101_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P71981, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P2101, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77934,12 +78163,12 @@ function sprites_SpriteMap_insertAABB__P71981_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___100681: undefined, - top___100684: undefined, - xn___100687: undefined, - yn___100698: undefined, - x___100709: undefined, - y___100714: undefined, + left___29324: undefined, + top___29327: undefined, + xn___29330: undefined, + yn___29341: undefined, + x___29352: undefined, + y___29357: undefined, arg0: undefined, arg1: undefined, } } @@ -77948,7 +78177,7 @@ function sprites_SpriteMap_insertAABB__P71981_mk(s) { -function sprites_SpriteMap_insertAtKey__P74013(s) { +function sprites_SpriteMap_insertAtKey__P4133(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77958,8 +78187,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___100749 = undefined; - s.bucket___100754 = undefined; + s.k___29392 = undefined; + s.bucket___29397 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -77968,20 +78197,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C71974_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P74012_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2094_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P4132_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 480; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___100749 = (r0); + s.k___29392 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___100749); - s.bucket___100754 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___100754); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___29392); + s.bucket___29397 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___29397); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -77989,40 +78218,40 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___100749; + s.tmp_3 = r0 = s.k___29392; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___100754 = (s.tmp_4); + s.bucket___29397 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___100754, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___29397, 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___100754, s.arg3); + r0 = pxsim_Array__push(s.bucket___29397, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P74013.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__P4133.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__P74013_mk(s) { +function sprites_SpriteMap_insertAtKey__P4133_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P74013, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P4133, depth: s.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___100749: undefined, - bucket___100754: undefined, + k___29392: undefined, + bucket___29397: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -78033,7 +78262,7 @@ function sprites_SpriteMap_insertAtKey__P74013_mk(s) { -function sprites_SpriteMap_clear__P71980(s) { +function sprites_SpriteMap_clear__P2100(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78048,7 +78277,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C71974_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C2094_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -78057,12 +78286,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_clear__P71980.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__P2100.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__P71980_mk(s) { +function sprites_SpriteMap_clear__P2100_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P71980, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P2100, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -78073,7 +78302,7 @@ function sprites_SpriteMap_clear__P71980_mk(s) { -function sprites_SpriteMap_resizeBuckets__P71979(s) { +function sprites_SpriteMap_resizeBuckets__P2099(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78083,111 +78312,111 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___100786 = undefined; - s.maxHeight___100787 = undefined; - s.sprite___100789 = undefined; - s.unnamed138___U3 = undefined; - s.unnamed139___U4 = undefined; - s.tMap___100805 = undefined; - s.areaWidth___100809 = undefined; - s.areaHeight___100816 = undefined; + s.maxWidth___29429 = undefined; + s.maxHeight___29430 = undefined; + s.sprite___29432 = undefined; + s.unnamed58___U3 = undefined; + s.unnamed59___U4 = undefined; + s.tMap___29448 = undefined; + s.areaWidth___29452 = undefined; + s.areaHeight___29459 = 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__C71974_VT)) failedCast(r0); - s.maxWidth___100786 = (0); - s.maxHeight___100787 = (0); - s.sprite___100789 = (undefined); - s.unnamed138___U3 = (s.arg1); - s.unnamed139___U4 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C2094_VT)) failedCast(r0); + s.maxWidth___29429 = (0); + s.maxHeight___29430 = (0); + s.sprite___29432 = (undefined); + s.unnamed58___U3 = (s.arg1); + s.unnamed59___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed139___U4; - r0 = pxsim_Array__length(s.unnamed138___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.unnamed138___U3, s.unnamed139___U4); - s.sprite___100789 = (r0); - r0 = s.sprite___100789.fields["_image"]; + r0 = pxsim_Array__getAt(s.unnamed58___U3, s.unnamed59___U4); + s.sprite___29432 = (r0); + r0 = s.sprite___29432.fields["_image"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___100786); + r0 = (s.tmp_3 > s.maxWidth___29429); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.sprite___100789.fields["_image"]; + r0 = s.sprite___29432.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); - s.maxWidth___100786 = (r0); + s.maxWidth___29429 = (r0); case 2: case 3: - r0 = s.sprite___100789.fields["_image"]; + r0 = s.sprite___29432.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___100787); + r0 = (s.tmp_1 > s.maxHeight___29430); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = s.sprite___100789.fields["_image"]; + r0 = s.sprite___29432.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); - s.maxHeight___100787 = (r0); + s.maxHeight___29430 = (r0); case 4: case 5: - r0 = (s.unnamed139___U4 + 1); - s.unnamed139___U4 = (r0); + r0 = (s.unnamed59___U4 + 1); + s.unnamed59___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed138___U3 = (undefined); - s.tmp_0 = game_currentScene__P72409_mk(s); + s.unnamed58___U3 = (undefined); + s.tmp_0 = game_currentScene__P2529_mk(s); s.callLocIdx = 475; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___100805 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___100805); + s.tMap___29448 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___29448); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap__C72197_v3_1_mk(s); - s.tmp_0.arg0 = s.tMap___100805; - if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0 = tiles_TileMap__C2317_v3_1_mk(s); + s.tmp_0.arg0 = s.tMap___29448; + if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C2317_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___71682); + r0 = pxsim_ImageMethods.width(globals.screen___1802); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___100809 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___100805); + s.areaWidth___29452 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___29448); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap__C72197_v4_1_mk(s); - s.tmp_0.arg0 = s.tMap___100805; - if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0 = tiles_TileMap__C2317_v4_1_mk(s); + s.tmp_0.arg0 = s.tMap___29448; + if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C2317_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___71682); + r0 = pxsim_ImageMethods.height(globals.screen___1802); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___100816 = (s.tmp_1); + s.areaHeight___29459 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P70002_mk(s); + s.tmp_2 = Math_clamp__P122_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___100809 >> 2); + r0 = (s.areaWidth___29452 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___100786 * 2); + r0 = (s.maxWidth___29429 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 476; s.pc = 14; return s.tmp_2; case 14: @@ -78195,11 +78424,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__P70002_mk(s); + s.tmp_2 = Math_clamp__P122_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___100816 >> 2); + r0 = (s.areaHeight___29459 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___100787 * 2); + r0 = (s.maxHeight___29430 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 477; s.pc = 15; return s.tmp_2; case 15: @@ -78209,25 +78438,25 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___100816, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___29459, 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___100809, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___29452, 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__P71979.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__P2099.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__P71979_mk(s) { +function sprites_SpriteMap_resizeBuckets__P2099_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P71979, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P2099, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -78235,14 +78464,14 @@ function sprites_SpriteMap_resizeBuckets__P71979_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___100786: undefined, - maxHeight___100787: undefined, - sprite___100789: undefined, - unnamed138___U3: undefined, - unnamed139___U4: undefined, - tMap___100805: undefined, - areaWidth___100809: undefined, - areaHeight___100816: undefined, + maxWidth___29429: undefined, + maxHeight___29430: undefined, + sprite___29432: undefined, + unnamed58___U3: undefined, + unnamed59___U4: undefined, + tMap___29448: undefined, + areaWidth___29452: undefined, + areaHeight___29459: undefined, arg0: undefined, arg1: undefined, } } @@ -78251,7 +78480,7 @@ function sprites_SpriteMap_resizeBuckets__P71979_mk(s) { -function Sprite_clearObstacles__P71964(s) { +function Sprite_clearObstacles__P2084(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78266,7 +78495,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -78275,12 +78504,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_clearObstacles__P71964.info = {"start":26783,"length":54,"line":813,"column":4,"endLine":815,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} +Sprite_clearObstacles__P2084.info = {"start":26783,"length":54,"line":813,"column":4,"endLine":815,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} -function Sprite_clearObstacles__P71964_mk(s) { +function Sprite_clearObstacles__P2084_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P71964, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P2084, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -78291,7 +78520,7 @@ function Sprite_clearObstacles__P71964_mk(s) { -function Fx_idiv__P70038(s) { +function Fx_idiv__P158(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78310,12 +78539,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_idiv__P70038.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__P158.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__P70038_mk(s) { +function Fx_idiv__P158_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P70038, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P158, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -78325,7 +78554,7 @@ function Fx_idiv__P70038_mk(s) { -function Fx_div__P70037(s) { +function Fx_div__P157(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78346,12 +78575,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_div__P70037.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__P157.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__P70037_mk(s) { +function Fx_div__P157_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P70037, depth: s.depth + 1, + parent: s, fn: Fx_div__P157, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -78362,7 +78591,7 @@ function Fx_div__P70037_mk(s) { -function ArcadePhysicsEngine_draw__P72064(s) { +function ArcadePhysicsEngine_draw__P2184(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78377,8 +78606,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P71978_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P2098_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 515; s.pc = 1; return s.tmp_0; @@ -78388,12 +78617,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_draw__P72064.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__P2184.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__P72064_mk(s) { +function ArcadePhysicsEngine_draw__P2184_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P72064, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P2184, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -78403,7 +78632,7 @@ function ArcadePhysicsEngine_draw__P72064_mk(s) { -function sprites_SpriteMap_draw__P71978(s) { +function sprites_SpriteMap_draw__P2098(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78413,70 +78642,70 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___101085 = undefined; - s.y___101091 = undefined; - s.left___101097 = undefined; - s.top___101102 = undefined; - s.k___101107 = undefined; - s.b___101112 = undefined; + s.x___29728 = undefined; + s.y___29734 = undefined; + s.left___29740 = undefined; + s.top___29745 = undefined; + s.k___29750 = undefined; + s.b___29755 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C71974_VT)) failedCast(r0); - s.x___101085 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C2094_VT)) failedCast(r0); + s.x___29728 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___101085 < s.tmp_1); + r0 = (s.x___29728 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___101091 = (0); + s.y___29734 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___101091 < s.tmp_1); + r0 = (s.y___29734 < 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___101085 * s.tmp_2); - s.left___101097 = (r0); + r0 = (s.x___29728 * s.tmp_2); + s.left___29740 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___101091 * s.tmp_0); - s.top___101102 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P74012_mk(s); + r0 = (s.y___29734 * s.tmp_0); + s.top___29745 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P4132_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___101097; - s.tmp_0.arg2 = s.top___101102; + s.tmp_0.arg1 = s.left___29740; + s.tmp_0.arg2 = s.top___29745; s.callLocIdx = 469; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___101107 = (r0); + s.k___29750 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___101107); - s.b___101112 = (r0); - s.tmp_0 = r0 = s.b___101112; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___29750); + s.b___29755 = (r0); + s.tmp_0 = r0 = s.b___29755; 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___101112); + r0 = pxsim_Array__length(s.b___29755); 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__P71611_mk(s); - s.tmp_2.arg0 = globals.screen___71682; - s.tmp_2.arg1 = s.left___101097; - s.tmp_2.arg2 = s.top___101102; + s.tmp_2 = helpers_imageDrawRect__P1731_mk(s); + s.tmp_2.arg0 = globals.screen___1802; + s.tmp_2.arg1 = s.left___29740; + s.tmp_2.arg2 = s.top___29745; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; @@ -78487,34 +78716,34 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.y___101091 + 1); - s.y___101091 = (r0); + r0 = (s.y___29734 + 1); + s.y___29734 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___101085 + 1); - s.x___101085 = (r0); + r0 = (s.x___29728 + 1); + s.x___29728 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_draw__P71978.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__P2098.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__P71978_mk(s) { +function sprites_SpriteMap_draw__P2098_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P71978, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P2098, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___101085: undefined, - y___101091: undefined, - left___101097: undefined, - top___101102: undefined, - k___101107: undefined, - b___101112: undefined, + x___29728: undefined, + y___29734: undefined, + left___29740: undefined, + top___29745: undefined, + k___29750: undefined, + b___29755: undefined, arg0: undefined, } } @@ -78522,7 +78751,7 @@ function sprites_SpriteMap_draw__P71978_mk(s) { -function ArcadePhysicsEngine_removeSprite__P72063(s) { +function ArcadePhysicsEngine_removeSprite__P2183(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78538,7 +78767,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -78546,12 +78775,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_removeSprite__P72063.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__P2183.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__P72063_mk(s) { +function ArcadePhysicsEngine_removeSprite__P2183_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P72063, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P2183, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -78562,7 +78791,7 @@ function ArcadePhysicsEngine_removeSprite__P72063_mk(s) { -function ArcadePhysicsEngine_addSprite__P72062(s) { +function ArcadePhysicsEngine_addSprite__P2182(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78572,33 +78801,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___101149 = undefined; + s.tm___29792 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C72053_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2173_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__P72409_mk(s); + s.tmp_0 = game_currentScene__P2529_mk(s); s.callLocIdx = 514; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___101149 = (r0); - s.tmp_0 = r0 = s.tm___101149; + s.tm___29792 = (r0); + s.tmp_0 = r0 = s.tm___29792; 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__C72197_v14_2_mk(s); - s.tmp_1.arg0 = s.tm___101149; + s.tmp_1 = tiles_TileMap__C2317_v14_2_mk(s); + s.tmp_1.arg0 = s.tm___29792; s.tmp_1.arg1 = s.arg1; - if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C72197_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C2317_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: @@ -78620,12 +78849,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_addSprite__P72062.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__P2182.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__P72062_mk(s) { +function ArcadePhysicsEngine_addSprite__P2182_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P72062, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P2182, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -78633,7 +78862,7 @@ function ArcadePhysicsEngine_addSprite__P72062_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___101149: undefined, + tm___29792: undefined, arg0: undefined, arg1: undefined, } } @@ -78642,7 +78871,7 @@ function ArcadePhysicsEngine_addSprite__P72062_mk(s) { -function tiles_TileMapData_constructor__P72185(s) { +function tiles_TileMapData_constructor__P2305(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78661,14 +78890,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C72184_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2304_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__P72189_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P2309_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; - s.callLocIdx = 732; s.pc = 1; return s.tmp_0; + s.callLocIdx = 730; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -78683,12 +78912,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_constructor__P72185.info = {"start":3293,"length":358,"line":125,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} +tiles_TileMapData_constructor__P2305.info = {"start":3293,"length":358,"line":125,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} -function tiles_TileMapData_constructor__P72185_mk(s) { +function tiles_TileMapData_constructor__P2305_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P72185, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P2305, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -78703,7 +78932,7 @@ function tiles_TileMapData_constructor__P72185_mk(s) { -function scene_BackgroundLayer_constructor__P72162(s) { +function scene_BackgroundLayer_constructor__P2282(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78721,9 +78950,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C72155_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C2275_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P70005_mk(s); + s.tmp_2 = Math_max__P125_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 725; s.pc = 7; return s.tmp_2; @@ -78769,12 +78998,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_constructor__P72162.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__P2282.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__P72162_mk(s) { +function scene_BackgroundLayer_constructor__P2282_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P72162, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P2282, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -78789,7 +79018,7 @@ function scene_BackgroundLayer_constructor__P72162_mk(s) { -function scene_Camera_y__P72247(s) { +function scene_Camera_y__P2367(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78804,10 +79033,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C72237_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2357_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___71682); + r0 = pxsim_ImageMethods.height(globals.screen___1802); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -78815,13 +79044,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_y__P72247.info = {"start":1398,"length":79,"line":49,"column":8,"endLine":51,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"y","argumentNames":["this"]} -scene_Camera_y__P72247.isGetter = true; +scene_Camera_y__P2367.info = {"start":1398,"length":79,"line":49,"column":8,"endLine":51,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"y","argumentNames":["this"]} +scene_Camera_y__P2367.isGetter = true; -function scene_Camera_y__P72247_mk(s) { +function scene_Camera_y__P2367_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_y__P72247, depth: s.depth + 1, + parent: s, fn: scene_Camera_y__P2367, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -78833,7 +79062,7 @@ function scene_Camera_y__P72247_mk(s) { -function scene_Camera_x__P72246(s) { +function scene_Camera_x__P2366(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78848,10 +79077,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C72237_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2357_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -78859,13 +79088,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_x__P72246.info = {"start":1311,"length":78,"line":46,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"x","argumentNames":["this"]} -scene_Camera_x__P72246.isGetter = true; +scene_Camera_x__P2366.info = {"start":1311,"length":78,"line":46,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"x","argumentNames":["this"]} +scene_Camera_x__P2366.isGetter = true; -function scene_Camera_x__P72246_mk(s) { +function scene_Camera_x__P2366_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_x__P72246, depth: s.depth + 1, + parent: s, fn: scene_Camera_x__P2366, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -78877,7 +79106,7 @@ function scene_Camera_x__P72246_mk(s) { -function particles_ParticleSource___draw__P72561(s) { +function particles_ParticleSource___draw__P2681(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78887,18 +79116,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___101213 = undefined; - s.left___101216 = undefined; - s.top___101226 = undefined; + s.current___29900 = undefined; + s.left___29903 = undefined; + s.top___29913 = 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__C72555_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2675_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___101213 = (r0); + s.current___29900 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -78916,7 +79145,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___101216 = (s.tmp_4); + s.left___29903 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -78934,49 +79163,49 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___101226 = (s.tmp_4); + s.top___29913 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___101213); + r0 = pxsim_numops_toBoolDecr(s.current___29900); if (!r0) { step = 8; continue; } - r0 = s.current___101213.fields["lifespan"]; + r0 = s.current___29900.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__P74518_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P4638_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___101213; - s.tmp_2.arg2 = s.left___101216; - s.tmp_2.arg3 = s.top___101226; - s.callLocIdx = 1082; s.pc = 9; return s.tmp_2; + s.tmp_2.arg1 = s.current___29900; + s.tmp_2.arg2 = s.left___29903; + s.tmp_2.arg3 = s.top___29913; + s.callLocIdx = 1080; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___101213.fields["next"]; - s.current___101213 = (r0); + r0 = s.current___29900.fields["next"]; + s.current___29900 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource___draw__P72561.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__P2681.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__P72561_mk(s) { +function particles_ParticleSource___draw__P2681_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P72561, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P2681, depth: s.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___101213: undefined, - left___101216: undefined, - top___101226: undefined, + current___29900: undefined, + left___29903: undefined, + top___29913: undefined, arg0: undefined, arg1: undefined, } } @@ -78985,7 +79214,7 @@ function particles_ParticleSource___draw__P72561_mk(s) { -function particles_ParticleSource_drawParticle__P74518(s) { +function particles_ParticleSource_drawParticle__P4638(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79003,8 +79232,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C72555_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C72591_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C2675_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C2711_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -79016,7 +79245,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__C72591_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C2711_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: @@ -79025,12 +79254,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P74518.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__P4638.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__P74518_mk(s) { +function particles_ParticleSource_drawParticle__P4638_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P74518, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P4638, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -79045,7 +79274,7 @@ function particles_ParticleSource_drawParticle__P74518_mk(s) { -function particles_ParticleFactory_drawParticle__P72594(s) { +function particles_ParticleFactory_drawParticle__P2714(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79063,8 +79292,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C72591_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___71682; + if (!checkSubtype(r0, particles_ParticleFactory__C2711_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___1802; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -79078,12 +79307,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleFactory_drawParticle__P72594.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__P2714.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__P72594_mk(s) { +function particles_ParticleFactory_drawParticle__P2714_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P72594, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P2714, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -79100,7 +79329,7 @@ function particles_ParticleFactory_drawParticle__P72594_mk(s) { -function particles_ShapeFactory_createParticle__P72621(s) { +function particles_ShapeFactory_createParticle__P2741(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79110,47 +79339,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___101277 = undefined; + s.p___29964 = 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__C72617_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P72607_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C2737_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P2727_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1176; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1174; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___101277 = (r0); - s.tmp_0 = r0 = s.p___101277; - s.tmp_2 = Math_FastRandom_randomRange__P72467_mk(s); + s.p___29964 = (r0); + s.tmp_0 = r0 = s.p___29964; + s.tmp_2 = Math_FastRandom_randomRange__P2587_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; s.tmp_2.arg2 = 14; - s.callLocIdx = 1177; s.pc = 2; return s.tmp_2; + s.callLocIdx = 1175; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___101277; + r0 = s.p___29964; return leave(s, r0) default: oops() } } } -particles_ShapeFactory_createParticle__P72621.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__P2741.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__P72621_mk(s) { +function particles_ShapeFactory_createParticle__P2741_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_createParticle__P72621, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_createParticle__P2741, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___101277: undefined, + p___29964: undefined, arg0: undefined, arg1: undefined, } } @@ -79159,7 +79388,7 @@ function particles_ShapeFactory_createParticle__P72621_mk(s) { -function particles_AreaFactory_createParticle__P72607(s) { +function particles_AreaFactory_createParticle__P2727(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79169,42 +79398,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___101289 = undefined; + s.p___29976 = 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__C72601_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P72597_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C2721_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P2717_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1158; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1156; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___101289 = (r0); - s.tmp_0 = r0 = s.p___101289; - s.tmp_2 = Math_FastRandom_randomRange__P72467_mk(s); + s.p___29976 = (r0); + s.tmp_0 = r0 = s.p___29976; + s.tmp_2 = Math_FastRandom_randomRange__P2587_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["minLifespan"]; s.tmp_2.arg1 = r0; r0 = s.arg0.fields["maxLifespan"]; s.tmp_2.arg2 = r0; - s.callLocIdx = 1159; s.pc = 4; return s.tmp_2; + s.callLocIdx = 1157; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___101289; - s.tmp_4 = Math_FastRandom_randomRange__P72467_mk(s); + s.tmp_0 = r0 = s.p___29976; + s.tmp_4 = Math_FastRandom_randomRange__P2587_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; r0 = s.arg0.fields["xRange"]; s.tmp_4.arg2 = r0; - s.callLocIdx = 1160; s.pc = 5; return s.tmp_4; + s.callLocIdx = 1158; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; @@ -79214,7 +79443,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___101289.fields["_x"]; + r0 = s.p___29976.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -79229,7 +79458,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["height"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["height"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1163; s.pc = 6; return s.tmp_1; } + else { s.callLocIdx = 1161; s.pc = 6; return s.tmp_1; } } case 6: r0 = s.retval; @@ -79244,7 +79473,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["height"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["height"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1164; s.pc = 7; return s.tmp_3; } + else { s.callLocIdx = 1162; s.pc = 7; return s.tmp_3; } } case 7: r0 = s.retval; @@ -79256,36 +79485,36 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___101289; - s.tmp_9 = Math_FastRandom_randomRange__P72467_mk(s); + s.tmp_5 = r0 = s.p___29976; + s.tmp_9 = Math_FastRandom_randomRange__P2587_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = 0; r0 = s.arg0.fields["yRange"]; s.tmp_9.arg2 = r0; - s.callLocIdx = 1162; s.pc = 8; return s.tmp_9; + s.callLocIdx = 1160; s.pc = 8; return s.tmp_9; case 8: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 - s.tmp_4); s.tmp_7 = r0; - r0 = s.p___101289.fields["_y"]; + r0 = s.p___29976.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___101289; + r0 = s.p___29976; return leave(s, r0) default: oops() } } } -particles_AreaFactory_createParticle__P72607.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__P2727.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__P72607_mk(s) { +function particles_AreaFactory_createParticle__P2727_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P72607, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_createParticle__P2727, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -79299,7 +79528,7 @@ function particles_AreaFactory_createParticle__P72607_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___101289: undefined, + p___29976: undefined, arg0: undefined, arg1: undefined, } } @@ -79308,7 +79537,7 @@ function particles_AreaFactory_createParticle__P72607_mk(s) { -function particles_SprayFactory_createParticle__P72597(s) { +function particles_SprayFactory_createParticle__P2717(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79318,39 +79547,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___101337 = undefined; - s.angle___101341 = undefined; + s.p___30024 = undefined; + s.angle___30028 = 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__C72595_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P72593_mk(s); + if (!checkSubtype(r0, particles_SprayFactory__C2715_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P2713_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1147; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1145; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___101337 = (r0); + s.p___30024 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P72467_mk(s); - s.tmp_3.arg0 = globals.galois___74532; + s.tmp_3 = Math_FastRandom_randomRange__P2587_mk(s); + s.tmp_3.arg0 = globals.galois___4652; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; - s.callLocIdx = 1148; s.pc = 2; return s.tmp_3; + s.callLocIdx = 1146; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 % 100); - s.angle___101341 = (r0); - s.tmp_0 = r0 = s.p___101337; - r0 = pxsim_Array__getAt(globals.cachedSin___74527, s.angle___101341); + s.angle___30028 = (r0); + s.tmp_0 = r0 = s.p___30024; + r0 = pxsim_Array__getAt(globals.cachedSin___4647, s.angle___30028); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -79359,8 +79588,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___101337; - r0 = pxsim_Array__getAt(globals.cachedCos___74528, s.angle___101341); + s.tmp_0 = r0 = s.p___30024; + r0 = pxsim_Array__getAt(globals.cachedCos___4648, s.angle___30028); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -79369,24 +79598,24 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___101337; + r0 = s.p___30024; return leave(s, r0) default: oops() } } } -particles_SprayFactory_createParticle__P72597.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__P2717.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__P72597_mk(s) { +function particles_SprayFactory_createParticle__P2717_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_createParticle__P72597, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_createParticle__P2717, depth: s.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___101337: undefined, - angle___101341: undefined, + p___30024: undefined, + angle___30028: undefined, arg0: undefined, arg1: undefined, } } @@ -79395,7 +79624,7 @@ function particles_SprayFactory_createParticle__P72597_mk(s) { -function scene_Scene_data__P72319(s) { +function scene_Scene_data__P2439(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79410,18 +79639,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C72296_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2416_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Scene_data__P72319.info = {"start":6655,"length":53,"line":182,"column":8,"endLine":184,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} -scene_Scene_data__P72319.isGetter = true; +scene_Scene_data__P2439.info = {"start":6655,"length":53,"line":182,"column":8,"endLine":184,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} +scene_Scene_data__P2439.isGetter = true; -function scene_Scene_data__P72319_mk(s) { +function scene_Scene_data__P2439_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_data__P72319, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P2439, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -79430,7 +79659,7 @@ function scene_Scene_data__P72319_mk(s) { -function Sprite_toString__P71970(s) { +function Sprite_toString__P2090(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79445,7 +79674,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -79463,7 +79692,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P71905_mk(s); + s.tmp_14 = Sprite_x__P2025_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 450; s.pc = 2; return s.tmp_14; case 2: @@ -79482,7 +79711,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P71907_mk(s); + s.tmp_17 = Sprite_y__P2027_mk(s); s.tmp_17.arg0 = s.arg0; s.callLocIdx = 451; s.pc = 4; return s.tmp_17; case 4: @@ -79501,7 +79730,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P71909_mk(s); + s.tmp_20 = Sprite_vx__P2029_mk(s); s.tmp_20.arg0 = s.arg0; s.callLocIdx = 452; s.pc = 6; return s.tmp_20; case 6: @@ -79520,7 +79749,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P71911_mk(s); + s.tmp_23 = Sprite_vy__P2031_mk(s); s.tmp_23.arg0 = s.arg0; s.callLocIdx = 453; s.pc = 8; return s.tmp_23; case 8: @@ -79541,12 +79770,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_toString__P71970.info = {"start":33106,"length":93,"line":980,"column":4,"endLine":982,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} +Sprite_toString__P2090.info = {"start":33106,"length":93,"line":980,"column":4,"endLine":982,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} -function Sprite_toString__P71970_mk(s) { +function Sprite_toString__P2090_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P71970, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P2090, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -79579,7 +79808,7 @@ function Sprite_toString__P71970_mk(s) { -function Sprite___update__P71958(s) { +function Sprite___update__P2078(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79589,8 +79818,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bounce___101597 = undefined; - s.tm___101602 = undefined; + s.bounce___30120 = undefined; + s.tm___30125 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -79598,7 +79827,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -79620,7 +79849,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__P71968_mk(s); + s.tmp_0 = Sprite__destroyCore__P2088_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 388; s.pc = 33; return s.tmp_0; case 33: @@ -79638,10 +79867,10 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite__C71896_v4_2_mk(s); + s.tmp_2 = Sprite__C2016_v4_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, Sprite__C71896_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, Sprite__C2016_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.isOutOfScreen; s.pc = 34; return s.tmp_2; case 34: @@ -79651,7 +79880,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P71967_mk(s); + s.tmp_4 = Sprite_destroy__P2087_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; @@ -79663,13 +79892,13 @@ switch (step) { r0 = s.arg0.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___101597 = (r0); - s.tmp_0 = game_currentScene__P72409_mk(s); + s.bounce___30120 = (r0); + s.tmp_0 = game_currentScene__P2529_mk(s); s.callLocIdx = 390; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___101602 = (r0); + s.tm___30125 = (r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); @@ -79679,13 +79908,13 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 9: - s.tmp_2 = r0 = s.bounce___101597; + s.tmp_2 = r0 = s.bounce___30120; 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___101602); + r0 = pxsim_numops_toBoolDecr(s.tm___30125); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 11: @@ -79697,7 +79926,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 29; continue; } - s.tmp_8 = Sprite_left__P71942_mk(s); + s.tmp_8 = Sprite_left__P2062_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 391; s.pc = 37; return s.tmp_8; case 37: @@ -79709,18 +79938,18 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 15; continue; } - s.tmp_10 = Sprite_left__P71943_mk(s); + s.tmp_10 = Sprite_left__P2063_mk(s); s.tmp_10.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_10.arg1 = r0; s.callLocIdx = 394; s.pc = 38; return s.tmp_10; case 38: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___101597); + r0 = pxsim_numops_toBoolDecr(s.bounce___30120); if (!r0) { step = 13; continue; } - s.tmp_0 = Sprite_vx__P71910_mk(s); + s.tmp_0 = Sprite_vx__P2030_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P71909_mk(s); + s.tmp_2 = Sprite_vx__P2029_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 395; s.pc = 40; return s.tmp_2; case 40: @@ -79735,7 +79964,7 @@ switch (step) { case 14: { step = 20; continue; } case 15: - s.tmp_2 = Sprite_right__P71944_mk(s); + s.tmp_2 = Sprite_right__P2064_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 397; s.pc = 41; return s.tmp_2; case 41: @@ -79743,7 +79972,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetX"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -79751,22 +79980,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.tmp_6 = Sprite_right__P71945_mk(s); + s.tmp_6 = Sprite_right__P2065_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___71682); + r0 = pxsim_ImageMethods.width(globals.screen___1802); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.callLocIdx = 400; s.pc = 42; return s.tmp_6; case 42: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___101597); + r0 = pxsim_numops_toBoolDecr(s.bounce___30120); if (!r0) { step = 16; continue; } - s.tmp_0 = Sprite_vx__P71910_mk(s); + s.tmp_0 = Sprite_vx__P2030_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P71909_mk(s); + s.tmp_2 = Sprite_vx__P2029_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 401; s.pc = 44; return s.tmp_2; case 44: @@ -79782,7 +80011,7 @@ switch (step) { case 18: case 19: case 20: - s.tmp_2 = Sprite_top__P71946_mk(s); + s.tmp_2 = Sprite_top__P2066_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 403; s.pc = 45; return s.tmp_2; case 45: @@ -79794,18 +80023,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_4 = Sprite_top__P71947_mk(s); + s.tmp_4 = Sprite_top__P2067_mk(s); s.tmp_4.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4.arg1 = r0; s.callLocIdx = 406; s.pc = 46; return s.tmp_4; case 46: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___101597); + r0 = pxsim_numops_toBoolDecr(s.bounce___30120); if (!r0) { step = 21; continue; } - s.tmp_0 = Sprite_vy__P71912_mk(s); + s.tmp_0 = Sprite_vy__P2032_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P71911_mk(s); + s.tmp_2 = Sprite_vy__P2031_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 407; s.pc = 48; return s.tmp_2; case 48: @@ -79820,7 +80049,7 @@ switch (step) { case 22: { step = 28; continue; } case 23: - s.tmp_2 = Sprite_bottom__P71948_mk(s); + s.tmp_2 = Sprite_bottom__P2068_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 409; s.pc = 49; return s.tmp_2; case 49: @@ -79828,7 +80057,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___71682); + r0 = pxsim_ImageMethods.height(globals.screen___1802); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -79836,22 +80065,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_6 = Sprite_bottom__P71949_mk(s); + s.tmp_6 = Sprite_bottom__P2069_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___71682); + r0 = pxsim_ImageMethods.height(globals.screen___1802); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.callLocIdx = 412; s.pc = 50; return s.tmp_6; case 50: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___101597); + r0 = pxsim_numops_toBoolDecr(s.bounce___30120); if (!r0) { step = 24; continue; } - s.tmp_0 = Sprite_vy__P71912_mk(s); + s.tmp_0 = Sprite_vy__P2032_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P71911_mk(s); + s.tmp_2 = Sprite_vy__P2031_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 413; s.pc = 52; return s.tmp_2; case 52: @@ -79894,12 +80123,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___update__P71958.info = {"start":22164,"length":1390,"line":682,"column":4,"endLine":721,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +Sprite___update__P2078.info = {"start":22164,"length":1390,"line":682,"column":4,"endLine":721,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} -function Sprite___update__P71958_mk(s) { +function Sprite___update__P2078_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P71958, depth: s.depth + 1, + parent: s, fn: Sprite___update__P2078, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -79912,8 +80141,8 @@ function Sprite___update__P71958_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - bounce___101597: undefined, - tm___101602: undefined, + bounce___30120: undefined, + tm___30125: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -79923,7 +80152,7 @@ function Sprite___update__P71958_mk(s) { -function Sprite_bottom__P71949(s) { +function Sprite_bottom__P2069(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79939,8 +80168,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P71947_mk(s); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P2067_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -79956,12 +80185,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_bottom__P71949.info = {"start":10235,"length":73,"line":374,"column":4,"endLine":376,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} +Sprite_bottom__P2069.info = {"start":10235,"length":73,"line":374,"column":4,"endLine":376,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} -function Sprite_bottom__P71949_mk(s) { +function Sprite_bottom__P2069_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P71949, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P2069, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -79975,7 +80204,7 @@ function Sprite_bottom__P71949_mk(s) { -function Sprite_data__P71922(s) { +function Sprite_data__P2042(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79991,18 +80220,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_data__P71922.info = {"start":4292,"length":56,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} +Sprite_data__P2042.info = {"start":4292,"length":56,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} -function Sprite_data__P71922_mk(s) { +function Sprite_data__P2042_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P71922, depth: s.depth + 1, + parent: s, fn: Sprite_data__P2042, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -80012,7 +80241,7 @@ function Sprite_data__P71922_mk(s) { -function sprites_BaseSprite___update__P71746(s) { +function sprites_BaseSprite___update__P1866(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80029,17 +80258,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C71738_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C1858_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___update__P71746.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__P1866.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__P71746_mk(s) { +function sprites_BaseSprite___update__P1866_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P71746, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P1866, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -80050,7 +80279,7 @@ function sprites_BaseSprite___update__P71746_mk(s) { -function sprites_BaseSprite___draw__P71744(s) { +function sprites_BaseSprite___draw__P1864(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80066,10 +80295,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C71738_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C71738_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C1858_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C1858_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C71738_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C1858_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: @@ -80077,10 +80306,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C71738_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C1858_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C71738_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C1858_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: @@ -80091,12 +80320,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite___draw__P71744.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__P1864.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__P71744_mk(s) { +function sprites_BaseSprite___draw__P1864_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P71744, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P1864, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -80109,7 +80338,7 @@ function sprites_BaseSprite___draw__P71744_mk(s) { -function sprites_BaseSprite___drawCore__P71745(s) { +function sprites_BaseSprite___drawCore__P1865(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80125,17 +80354,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C71738_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C1858_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___drawCore__P71745.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__P1865.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__P71745_mk(s) { +function sprites_BaseSprite___drawCore__P1865_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P71745, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P1865, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -80145,7 +80374,7 @@ function sprites_BaseSprite___drawCore__P71745_mk(s) { -function sprites_BaseSprite___visible__P71741(s) { +function sprites_BaseSprite___visible__P1861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80160,17 +80389,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C71738_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C1858_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___visible__P71741.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__P1861.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__P71741_mk(s) { +function sprites_BaseSprite___visible__P1861_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P71741, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___visible__P1861, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -80179,7 +80408,7 @@ function sprites_BaseSprite___visible__P71741_mk(s) { -function tileworld_GameHome_update__P87394(s) { +function tileworld_GameHome_update__P6484(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80194,7 +80423,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_GameHome__C73714_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_GameHome__C3834_VT)) failedCast(r0); r0 = s.arg0.fields["p"]; r0 = r0.fields["help"]; s.tmp_2 = r0; @@ -80204,95 +80433,95 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Sprite_say__P71954_mk(s); + s.tmp_3 = Sprite_say__P2074_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = null; s.tmp_3.arg2 = undefined; s.tmp_3.arg3 = 15; s.tmp_3.arg4 = 1; - s.callLocIdx = 1404; s.pc = 3; return s.tmp_3; + s.callLocIdx = 1416; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; case 1: case 2: - r0 = pxsim_ImageMethods.fill(globals.screen___71682, 0); + r0 = pxsim_ImageMethods.fill(globals.screen___1802, 0); r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, 15); - r0 = pxsim_pxtcore_mkAction(1, inline__P87588); + r0 = pxsim_pxtcore_mkAction(1, inline__P30240); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); - s.tmp_1.arg0 = globals.commandImages___87387; + s.tmp_1 = helpers_arrayForEach__P107_mk(s); + s.tmp_1.arg0 = globals.commandImages___6477; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1408; s.pc = 4; return s.tmp_1; + s.callLocIdx = 1420; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 9; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.settingsIcon___73604; - s.callLocIdx = 1409; s.pc = 5; return s.tmp_0; + s.tmp_0.arg3 = globals.settingsIcon___3724; + s.callLocIdx = 1421; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = "Backgrounds"; s.tmp_0.arg2 = 16; s.tmp_0.arg3 = 44; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1410; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1422; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P87623); + r0 = pxsim_pxtcore_mkAction(1, inline__P30275); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["_backgroundsI"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1413; s.pc = 7; return s.tmp_1; + s.callLocIdx = 1425; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; s.tmp_0.arg1 = "Sprites"; s.tmp_0.arg2 = 16; s.tmp_0.arg3 = 76; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1414; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1426; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P87657); + r0 = pxsim_pxtcore_mkAction(1, inline__P30309); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P69987_mk(s); + s.tmp_1 = helpers_arrayForEach__P107_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["_spritesI"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1417; s.pc = 9; return s.tmp_1; + s.callLocIdx = 1429; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_GameHome_update__P87394.info = {"start":3011,"length":917,"line":74,"column":8,"endLine":96,"endColumn":9,"fileName":"home.ts","functionName":"update","argumentNames":["this"]} +tileworld_GameHome_update__P6484.info = {"start":3011,"length":917,"line":74,"column":8,"endLine":96,"endColumn":9,"fileName":"home.ts","functionName":"update","argumentNames":["this"]} -function tileworld_GameHome_update__P87394_mk(s) { +function tileworld_GameHome_update__P6484_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_GameHome_update__P87394, depth: s.depth + 1, + parent: s, fn: tileworld_GameHome_update__P6484, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -80305,7 +80534,7 @@ function tileworld_GameHome_update__P87394_mk(s) { -function inline__P87588(s) { +function inline__P30240(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80315,13 +80544,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.img2___87591 = undefined; + s.img2___30243 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 == globals.play___73598); + r0 = (s.arg0 == globals.play___3718); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -80338,9 +80567,9 @@ switch (step) { r0 = s.arg0; { step = 2; continue; } case 1: - s.tmp_5 = tileworld_greyImage__P73424_mk(s); + s.tmp_5 = tileworld_greyImage__P3544_mk(s); s.tmp_5.arg0 = s.arg0; - s.callLocIdx = 1406; s.pc = 5; return s.tmp_5; + s.callLocIdx = 1418; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; case 2: @@ -80353,25 +80582,25 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_7 = r0; - s.img2___87591 = (s.tmp_7); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.img2___30243 = (s.tmp_7); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = s.img2___87591; - s.callLocIdx = 1407; s.pc = 6; return s.tmp_0; + s.tmp_0.arg3 = s.img2___30243; + s.callLocIdx = 1419; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P87588.info = {"start":3218,"length":172,"line":80,"column":34,"endLine":83,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P30240.info = {"start":3218,"length":172,"line":80,"column":34,"endLine":83,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P87588_mk(s) { +function inline__P30240_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P87588, depth: s.depth + 1, + parent: s, fn: inline__P30240, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -80381,7 +80610,7 @@ function inline__P87588_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - img2___87591: undefined, + img2___30243: undefined, arg0: undefined, arg1: undefined, } } @@ -80390,7 +80619,7 @@ function inline__P87588_mk(s) { -function inline__P87623(s) { +function inline__P30275(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80405,7 +80634,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = (s.arg1 << 1); s.tmp_1 = r0; @@ -80413,7 +80642,7 @@ switch (step) { s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 3; s.tmp_0.arg3 = s.arg0; - s.callLocIdx = 1412; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1424; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = s.caps[0].fields["dirMap"]; @@ -80427,12 +80656,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P87623.info = {"start":3548,"length":129,"line":87,"column":46,"endLine":90,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P30275.info = {"start":3548,"length":129,"line":87,"column":46,"endLine":90,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P87623_mk(s) { +function inline__P30275_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P87623, depth: s.depth + 1, + parent: s, fn: inline__P30275, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -80445,7 +80674,7 @@ function inline__P87623_mk(s) { -function inline__P87657(s) { +function inline__P30309(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80460,7 +80689,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P82568_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P6303_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = (s.arg1 << 1); s.tmp_1 = r0; @@ -80468,7 +80697,7 @@ switch (step) { s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 5; s.tmp_0.arg3 = s.arg0; - s.callLocIdx = 1416; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1428; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = s.caps[0].fields["dirMap"]; @@ -80482,12 +80711,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P87657.info = {"start":3778,"length":138,"line":92,"column":42,"endLine":95,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P30309.info = {"start":3778,"length":138,"line":92,"column":42,"endLine":95,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P87657_mk(s) { +function inline__P30309_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P87657, depth: s.depth + 1, + parent: s, fn: inline__P30309, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -80500,7 +80729,7 @@ function inline__P87657_mk(s) { -function tileworld_GameHome_cursorMove__P87393(s) { +function tileworld_GameHome_cursorMove__P6483(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80510,8 +80739,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___87538 = undefined; - s.message___87548 = undefined; + s.index___30358 = undefined; + s.message___30368 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -80519,16 +80748,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_GameHome__C73714_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_GameHome__C3834_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__P82566_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; - s.callLocIdx = 1389; s.pc = 9; return s.tmp_3; + s.callLocIdx = 1401; s.pc = 9; return s.tmp_3; case 9: r0 = s.retval; s.tmp_2 = r0; @@ -80536,20 +80765,20 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 1; continue; } - s.tmp_5 = Sprite_x__P71905_mk(s); + s.tmp_5 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 1390; s.pc = 10; return s.tmp_5; + s.callLocIdx = 1402; s.pc = 10; return s.tmp_5; case 10: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_4 + 8); { step = 2; continue; } case 1: - s.tmp_7 = Sprite_x__P71905_mk(s); + s.tmp_7 = Sprite_x__P2025_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_7.arg0 = r0; - s.callLocIdx = 1391; s.pc = 11; return s.tmp_7; + s.callLocIdx = 1403; s.pc = 11; return s.tmp_7; case 11: r0 = s.retval; s.tmp_6 = r0; @@ -80557,50 +80786,50 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_8 = r0; - s.tmp_9 = Sprite_x__P71906_mk(s); + s.tmp_9 = Sprite_x__P2026_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.tmp_8; - s.callLocIdx = 1392; s.pc = 12; return s.tmp_9; + s.callLocIdx = 1404; s.pc = 12; return s.tmp_9; case 12: r0 = s.retval; - s.tmp_0 = Sprite_y__P71908_mk(s); + s.tmp_0 = Sprite_y__P2028_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; - s.tmp_2 = Sprite_y__P71907_mk(s); + s.tmp_2 = Sprite_y__P2027_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 1393; s.pc = 14; return s.tmp_2; + s.callLocIdx = 1405; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 + 32); s.tmp_0.arg1 = r0; - s.callLocIdx = 1394; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1406; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1395; s.pc = 15; return s.tmp_2; + s.callLocIdx = 1407; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1396; s.pc = 16; return s.tmp_4; + s.callLocIdx = 1408; s.pc = 16; return s.tmp_4; case 16: r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_3); - s.index___87538 = (r0); - s.tmp_2 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.index___30358 = (r0); + s.tmp_2 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1397; s.pc = 17; return s.tmp_2; + s.callLocIdx = 1409; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; s.tmp_1 = r0; @@ -80608,62 +80837,62 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_3 = tileworld_getHelp__P73422_mk(s); - s.tmp_3.arg0 = globals.helpString___87384; - s.tmp_4 = tileworld_RuleVisualsBase_col__P82566_mk(s); + s.tmp_3 = tileworld_getHelp__P3542_mk(s); + s.tmp_3.arg0 = globals.helpString___6475; + s.tmp_4 = tileworld_RuleVisualsBase_col__P6301_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1398; s.pc = 19; return s.tmp_4; + s.callLocIdx = 1410; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; s.tmp_3.arg1 = r0; - s.tmp_5 = tileworld_RuleVisualsBase_row__P82567_mk(s); + s.tmp_5 = tileworld_RuleVisualsBase_row__P6302_mk(s); s.tmp_5.arg0 = s.arg0; s.tmp_5.arg1 = true; - s.callLocIdx = 1399; s.pc = 20; return s.tmp_5; + s.callLocIdx = 1411; s.pc = 20; return s.tmp_5; case 20: r0 = s.retval; s.tmp_3.arg2 = r0; - s.callLocIdx = 1400; s.pc = 18; return s.tmp_3; + s.callLocIdx = 1412; s.pc = 18; return s.tmp_3; case 18: r0 = s.retval; - s.message___87548 = (r0); - s.tmp_0 = Sprite_say__P71954_mk(s); + s.message___30368 = (r0); + s.tmp_0 = Sprite_say__P2074_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.message___87548; + s.tmp_0.arg1 = s.message___30368; s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; - s.callLocIdx = 1401; s.pc = 21; return s.tmp_0; + s.callLocIdx = 1413; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; { step = 6; continue; } case 3: - r0 = (s.index___87538 != 15); + r0 = (s.index___30358 != 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Sprite_say__P71954_mk(s); + s.tmp_1 = Sprite_say__P2074_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = "A: gallery"; s.tmp_1.arg2 = undefined; s.tmp_1.arg3 = 15; s.tmp_1.arg4 = 1; - s.callLocIdx = 1402; s.pc = 22; return s.tmp_1; + s.callLocIdx = 1414; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = Sprite_say__P71954_mk(s); + s.tmp_0 = Sprite_say__P2074_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = null; s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; - s.callLocIdx = 1403; s.pc = 23; return s.tmp_0; + s.callLocIdx = 1415; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; case 5: @@ -80674,12 +80903,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_GameHome_cursorMove__P87393.info = {"start":2295,"length":698,"line":58,"column":8,"endLine":72,"endColumn":9,"fileName":"home.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_GameHome_cursorMove__P6483.info = {"start":2295,"length":698,"line":58,"column":8,"endLine":72,"endColumn":9,"fileName":"home.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -function tileworld_GameHome_cursorMove__P87393_mk(s) { +function tileworld_GameHome_cursorMove__P6483_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_GameHome_cursorMove__P87393, depth: s.depth + 1, + parent: s, fn: tileworld_GameHome_cursorMove__P6483, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -80691,8 +80920,8 @@ function tileworld_GameHome_cursorMove__P87393_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - index___87538: undefined, - message___87548: undefined, + index___30358: undefined, + message___30368: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -80702,7 +80931,7 @@ function tileworld_GameHome_cursorMove__P87393_mk(s) { -function tileworld_LoadScreen_cursorMove__P87684(s) { +function tileworld_LoadScreen_cursorMove__P6492(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80719,7 +80948,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_LoadScreen__C73717_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_LoadScreen__C3837_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } r0 = s.arg1; @@ -80734,12 +80963,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_LoadScreen_cursorMove__P87684.info = {"start":1440,"length":119,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"loadScreen.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_LoadScreen_cursorMove__P6492.info = {"start":1440,"length":119,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"loadScreen.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -function tileworld_LoadScreen_cursorMove__P87684_mk(s) { +function tileworld_LoadScreen_cursorMove__P6492_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_LoadScreen_cursorMove__P87684, depth: s.depth + 1, + parent: s, fn: tileworld_LoadScreen_cursorMove__P6492, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -80751,7 +80980,7 @@ function tileworld_LoadScreen_cursorMove__P87684_mk(s) { -function tileworld_BackgroundBase_update__P81255(s) { +function tileworld_BackgroundBase_update__P6252(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80766,17 +80995,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_BackgroundBase__C73667_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_BackgroundBase__C3787_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_BackgroundBase_update__P81255.info = {"start":212,"length":31,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"rulesBase.ts","functionName":"update","argumentNames":["this"]} +tileworld_BackgroundBase_update__P6252.info = {"start":212,"length":31,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"rulesBase.ts","functionName":"update","argumentNames":["this"]} -function tileworld_BackgroundBase_update__P81255_mk(s) { +function tileworld_BackgroundBase_update__P6252_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_BackgroundBase_update__P81255, depth: s.depth + 1, + parent: s, fn: tileworld_BackgroundBase_update__P6252, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -80785,7 +81014,7 @@ function tileworld_BackgroundBase_update__P81255_mk(s) { -function controller_AnyButton_isPressed__P74003(s) { +function controller_AnyButton_isPressed__P4123(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80795,36 +81024,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___101699 = undefined; - s.b___101703 = undefined; - s.unnamed136___U2 = undefined; - s.unnamed137___U3 = undefined; + s.ctrl___30401 = undefined; + s.b___30405 = 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, controller_AnyButton__C74001_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P71797_mk(s); + if (!checkSubtype(r0, controller_AnyButton__C4121_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P1917_mk(s); s.callLocIdx = 158; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___101699 = (r0); - s.b___101703 = (undefined); - r0 = s.ctrl___101699.fields["buttons"]; - s.unnamed136___U2 = (r0); - s.unnamed137___U3 = (0); + s.ctrl___30401 = (r0); + s.b___30405 = (undefined); + r0 = s.ctrl___30401.fields["buttons"]; + s.unnamed56___U2 = (r0); + s.unnamed57___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed137___U3; - r0 = pxsim_Array__length(s.unnamed136___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.unnamed136___U2, s.unnamed137___U3); - s.b___101703 = (r0); - s.tmp_3 = controller_Button__C71783_v0_1_mk(s); - s.tmp_3.arg0 = s.b___101703; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C71783_VT)) failedCast(s.tmp_3.arg0); + r0 = pxsim_Array__getAt(s.unnamed56___U2, s.unnamed57___U3); + s.b___30405 = (r0); + s.tmp_3 = controller_Button__C1903_v0_1_mk(s); + s.tmp_3.arg0 = s.b___30405; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C1903_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: @@ -80836,31 +81065,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed137___U3 + 1); - s.unnamed137___U3 = (r0); + r0 = (s.unnamed57___U3 + 1); + s.unnamed57___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed136___U2 = (undefined); + s.unnamed56___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -controller_AnyButton_isPressed__P74003.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__P4123.info = {"start":5874,"length":202,"line":185,"column":8,"endLine":192,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} -function controller_AnyButton_isPressed__P74003_mk(s) { +function controller_AnyButton_isPressed__P4123_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P74003, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P4123, depth: s.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___101699: undefined, - b___101703: undefined, - unnamed136___U2: undefined, - unnamed137___U3: undefined, + ctrl___30401: undefined, + b___30405: undefined, + unnamed56___U2: undefined, + unnamed57___U3: undefined, arg0: undefined, } } @@ -80868,7 +81097,7 @@ function controller_AnyButton_isPressed__P74003_mk(s) { -function controller_Button_toString__P71788(s) { +function controller_Button_toString__P1908(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80883,7 +81112,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C71783_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1903_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -80923,12 +81152,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_toString__P71788.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__P1908.info = {"start":1479,"length":100,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"toString","argumentNames":["this"]} -function controller_Button_toString__P71788_mk(s) { +function controller_Button_toString__P1908_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_toString__P71788, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P1908, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -80944,7 +81173,7 @@ function controller_Button_toString__P71788_mk(s) { -function sprites_StaticObstacle_width__P72036(s) { +function sprites_StaticObstacle_width__P2156(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80959,20 +81188,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C72026_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2146_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__P72036.info = {"start":1088,"length":68,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"width","argumentNames":["this"]} -sprites_StaticObstacle_width__P72036.isGetter = true; +sprites_StaticObstacle_width__P2156.info = {"start":1088,"length":68,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"width","argumentNames":["this"]} +sprites_StaticObstacle_width__P2156.isGetter = true; -function sprites_StaticObstacle_width__P72036_mk(s) { +function sprites_StaticObstacle_width__P2156_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_width__P72036, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P2156, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -80982,7 +81211,7 @@ function sprites_StaticObstacle_width__P72036_mk(s) { -function sprites_StaticObstacle_height__P72035(s) { +function sprites_StaticObstacle_height__P2155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80997,20 +81226,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C72026_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2146_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__P72035.info = {"start":1008,"length":70,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"height","argumentNames":["this"]} -sprites_StaticObstacle_height__P72035.isGetter = true; +sprites_StaticObstacle_height__P2155.info = {"start":1008,"length":70,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"height","argumentNames":["this"]} +sprites_StaticObstacle_height__P2155.isGetter = true; -function sprites_StaticObstacle_height__P72035_mk(s) { +function sprites_StaticObstacle_height__P2155_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_height__P72035, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P2155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -81020,7 +81249,7 @@ function sprites_StaticObstacle_height__P72035_mk(s) { -function sprites_StaticObstacle_y__P72034(s) { +function sprites_StaticObstacle_y__P2154(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81035,7 +81264,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C72026_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2146_VT)) failedCast(r0); r0 = s.arg0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -81048,13 +81277,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_y__P72034.info = {"start":921,"length":77,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"y","argumentNames":["this"]} -sprites_StaticObstacle_y__P72034.isGetter = true; +sprites_StaticObstacle_y__P2154.info = {"start":921,"length":77,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"y","argumentNames":["this"]} +sprites_StaticObstacle_y__P2154.isGetter = true; -function sprites_StaticObstacle_y__P72034_mk(s) { +function sprites_StaticObstacle_y__P2154_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_y__P72034, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P2154, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81067,7 +81296,7 @@ function sprites_StaticObstacle_y__P72034_mk(s) { -function sprites_StaticObstacle_x__P72033(s) { +function sprites_StaticObstacle_x__P2153(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81082,7 +81311,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C72026_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2146_VT)) failedCast(r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -81095,13 +81324,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_x__P72033.info = {"start":834,"length":77,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"x","argumentNames":["this"]} -sprites_StaticObstacle_x__P72033.isGetter = true; +sprites_StaticObstacle_x__P2153.info = {"start":834,"length":77,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"x","argumentNames":["this"]} +sprites_StaticObstacle_x__P2153.isGetter = true; -function sprites_StaticObstacle_x__P72033_mk(s) { +function sprites_StaticObstacle_x__P2153_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_x__P72033, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P2153, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81114,7 +81343,7 @@ function sprites_StaticObstacle_x__P72033_mk(s) { -function tiles_Location_y__P72174(s) { +function tiles_Location_y__P2294(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81124,22 +81353,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___101442 = undefined; + s.scale___30445 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C72169_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2289_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___101442 = (r0); + s.scale___30445 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___101442); + r0 = (s.tmp_1 << s.scale___30445); s.tmp_0 = r0; - r0 = (s.scale___101442 - 1); + r0 = (s.scale___30445 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -81147,19 +81376,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_y__P72174.info = {"start":836,"length":135,"line":38,"column":8,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} -tiles_Location_y__P72174.isGetter = true; +tiles_Location_y__P2294.info = {"start":836,"length":135,"line":38,"column":8,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} +tiles_Location_y__P2294.isGetter = true; -function tiles_Location_y__P72174_mk(s) { +function tiles_Location_y__P2294_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P72174, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P2294, depth: s.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___101442: undefined, + scale___30445: undefined, arg0: undefined, } } @@ -81167,7 +81396,7 @@ function tiles_Location_y__P72174_mk(s) { -function tiles_Location_x__P72173(s) { +function tiles_Location_x__P2293(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81177,22 +81406,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___101459 = undefined; + s.scale___30462 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C72169_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2289_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___101459 = (r0); + s.scale___30462 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___101459); + r0 = (s.tmp_1 << s.scale___30462); s.tmp_0 = r0; - r0 = (s.scale___101459 - 1); + r0 = (s.scale___30462 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -81200,19 +81429,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_x__P72173.info = {"start":691,"length":135,"line":33,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} -tiles_Location_x__P72173.isGetter = true; +tiles_Location_x__P2293.info = {"start":691,"length":135,"line":33,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} +tiles_Location_x__P2293.isGetter = true; -function tiles_Location_x__P72173_mk(s) { +function tiles_Location_x__P2293_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P72173, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P2293, depth: s.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___101459: undefined, + scale___30462: undefined, arg0: undefined, } } @@ -81220,7 +81449,7 @@ function tiles_Location_x__P72173_mk(s) { -function tiles_legacy_LegacyTilemap_getTileImage__P73760(s) { +function tiles_legacy_LegacyTilemap_getTileImage__P3880(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81236,7 +81465,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); r0 = s.arg0.fields["_tileSets"]; s.tmp_3 = r0; r0 = pxsim_Array__getAt(s.tmp_3, s.arg1); @@ -81247,31 +81476,31 @@ 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__P81310_mk(s); + s.tmp_4 = tiles_legacy_LegacyTilemap_generateTile__P6505_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.callLocIdx = 1699; s.pc = 3; return s.tmp_4; + s.callLocIdx = 1710; s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; case 1: case 2: - s.tmp_0 = tiles_legacy_TileSet_image__P90005_mk(s); + s.tmp_0 = tiles_legacy_TileSet_image__P6502_mk(s); r0 = s.arg0.fields["_tileSets"]; s.tmp_1 = r0; r0 = pxsim_Array__getAt(s.tmp_1, s.arg1); s.tmp_0.arg0 = r0; - s.callLocIdx = 1700; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1711; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_getTileImage__P73760.info = {"start":9286,"length":160,"line":273,"column":8,"endLine":276,"endColumn":9,"fileName":"mytilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_legacy_LegacyTilemap_getTileImage__P3880.info = {"start":9286,"length":160,"line":273,"column":8,"endLine":276,"endColumn":9,"fileName":"mytilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_legacy_LegacyTilemap_getTileImage__P73760_mk(s) { +function tiles_legacy_LegacyTilemap_getTileImage__P3880_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_getTileImage__P73760, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_getTileImage__P3880, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81286,7 +81515,7 @@ function tiles_legacy_LegacyTilemap_getTileImage__P73760_mk(s) { -function tiles_legacy_LegacyTilemap_isOnWall__P73758(s) { +function tiles_legacy_LegacyTilemap_isOnWall__P3878(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81296,25 +81525,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___90614 = undefined; - s.left___90617 = undefined; - s.right___90623 = undefined; - s.top___90629 = undefined; - s.bottom___90635 = undefined; - s.col___90641 = undefined; - s.row___90647 = undefined; + s.hbox___30493 = undefined; + s.left___30496 = undefined; + s.right___30502 = undefined; + s.top___30508 = undefined; + s.bottom___30514 = undefined; + s.col___30520 = undefined; + s.row___30526 = 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__C73735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___90614 = (r0); - s.tmp_1 = game_Hitbox_left__P71846_mk(s); - s.tmp_1.arg0 = s.hbox___90614; - s.callLocIdx = 1687; s.pc = 8; return s.tmp_1; + s.hbox___30493 = (r0); + s.tmp_1 = game_Hitbox_left__P1966_mk(s); + s.tmp_1.arg0 = s.hbox___30493; + s.callLocIdx = 1698; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0 = r0; @@ -81323,10 +81552,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___90617 = (r0); - s.tmp_1 = game_Hitbox_right__P71848_mk(s); - s.tmp_1.arg0 = s.hbox___90614; - s.callLocIdx = 1690; s.pc = 9; return s.tmp_1; + s.left___30496 = (r0); + s.tmp_1 = game_Hitbox_right__P1968_mk(s); + s.tmp_1.arg0 = s.hbox___30493; + s.callLocIdx = 1701; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; @@ -81335,10 +81564,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___90623 = (r0); - s.tmp_1 = game_Hitbox_top__P71847_mk(s); - s.tmp_1.arg0 = s.hbox___90614; - s.callLocIdx = 1693; s.pc = 10; return s.tmp_1; + s.right___30502 = (r0); + s.tmp_1 = game_Hitbox_top__P1967_mk(s); + s.tmp_1.arg0 = s.hbox___30493; + s.callLocIdx = 1704; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0 = r0; @@ -81347,10 +81576,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___90629 = (r0); - s.tmp_1 = game_Hitbox_bottom__P71849_mk(s); - s.tmp_1.arg0 = s.hbox___90614; - s.callLocIdx = 1696; s.pc = 11; return s.tmp_1; + s.top___30508 = (r0); + s.tmp_1 = game_Hitbox_bottom__P1969_mk(s); + s.tmp_1.arg0 = s.hbox___30493; + s.callLocIdx = 1707; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; @@ -81359,24 +81588,24 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___90635 = (r0); - s.col___90641 = (s.left___90617); + s.bottom___30514 = (r0); + s.col___30520 = (s.left___30496); case 1: - r0 = (s.col___90641 <= s.right___90623); + r0 = (s.col___30520 <= s.right___30502); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___90647 = (s.top___90629); + s.row___30526 = (s.top___30508); case 2: - r0 = (s.row___90647 <= s.bottom___90635); + r0 = (s.row___30526 <= s.bottom___30514); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_legacy_LegacyTilemap__C73735_v12_3_mk(s); + s.tmp_2 = tiles_legacy_LegacyTilemap__C3855_v12_3_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___90641; - s.tmp_2.arg2 = s.row___90647; - if (!checkSubtype(s.tmp_2.arg0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(s.tmp_2.arg0); + s.tmp_2.arg1 = s.col___30520; + s.tmp_2.arg2 = s.row___30526; + if (!checkSubtype(s.tmp_2.arg0, tiles_legacy_LegacyTilemap__C3855_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: @@ -81388,12 +81617,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___90647 + 1); - s.row___90647 = (r0); + r0 = (s.row___30526 + 1); + s.row___30526 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___90641 + 1); - s.col___90641 = (r0); + r0 = (s.col___30520 + 1); + s.col___30520 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -81401,24 +81630,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_isOnWall__P73758.info = {"start":8529,"length":626,"line":250,"column":8,"endLine":267,"endColumn":9,"fileName":"mytilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} +tiles_legacy_LegacyTilemap_isOnWall__P3878.info = {"start":8529,"length":626,"line":250,"column":8,"endLine":267,"endColumn":9,"fileName":"mytilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} -function tiles_legacy_LegacyTilemap_isOnWall__P73758_mk(s) { +function tiles_legacy_LegacyTilemap_isOnWall__P3878_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_isOnWall__P73758, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_isOnWall__P3878, depth: s.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___90614: undefined, - left___90617: undefined, - right___90623: undefined, - top___90629: undefined, - bottom___90635: undefined, - col___90641: undefined, - row___90647: undefined, + hbox___30493: undefined, + left___30496: undefined, + right___30502: undefined, + top___30508: undefined, + bottom___30514: undefined, + col___30520: undefined, + row___30526: undefined, arg0: undefined, arg1: undefined, } } @@ -81427,7 +81656,7 @@ function tiles_legacy_LegacyTilemap_isOnWall__P73758_mk(s) { -function tiles_legacy_LegacyTilemap_getObstacle__P73757(s) { +function tiles_legacy_LegacyTilemap_getObstacle__P3877(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81437,8 +81666,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___90581 = undefined; - s.tile___90592 = undefined; + s.index___30544 = undefined; + s.tile___30555 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -81446,12 +81675,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); - s.tmp_1 = tiles_legacy_LegacyTilemap_isOutsideMap__P81311_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); + s.tmp_1 = tiles_legacy_LegacyTilemap_isOutsideMap__P6506_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 1681; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1692; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0 = r0; @@ -81466,33 +81695,33 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___90581 = (s.tmp_3); + s.index___30544 = (s.tmp_3); r0 = s.arg0.fields["_tileSets"]; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.index___90581); + r0 = pxsim_Array__getAt(s.tmp_1, s.index___30544); 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__P81310_mk(s); + s.tmp_2 = tiles_legacy_LegacyTilemap_generateTile__P6505_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.index___90581; - s.callLocIdx = 1682; s.pc = 6; return s.tmp_2; + s.tmp_2.arg1 = s.index___30544; + s.callLocIdx = 1693; 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___90592 = (s.tmp_3); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C72026_VT); + s.tile___30555 = (s.tmp_3); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C2146_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P72032_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P2152_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_2 = tiles_legacy_TileSet_image__P90005_mk(s); - s.tmp_2.arg0 = s.tile___90592; - s.callLocIdx = 1683; s.pc = 8; return s.tmp_2; + s.tmp_2 = tiles_legacy_TileSet_image__P6502_mk(s); + s.tmp_2.arg0 = s.tile___30555; + s.callLocIdx = 1694; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; s.tmp_1.arg1 = r0; @@ -81506,28 +81735,28 @@ switch (step) { s.tmp_6 = r0; r0 = (s.tmp_5 << s.tmp_6); s.tmp_1.arg3 = r0; - s.tmp_7 = tiles_legacy_LegacyTilemap__C73735_v5_1_mk(s); + s.tmp_7 = tiles_legacy_LegacyTilemap__C3855_v5_1_mk(s); s.tmp_7.arg0 = s.arg0; - if (!checkSubtype(s.tmp_7.arg0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(s.tmp_7.arg0); + if (!checkSubtype(s.tmp_7.arg0, tiles_legacy_LegacyTilemap__C3855_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___90581; - s.callLocIdx = 1686; s.pc = 7; return s.tmp_1; + s.tmp_1.arg5 = s.index___30544; + s.callLocIdx = 1697; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_getObstacle__P73757.info = {"start":8082,"length":437,"line":238,"column":8,"endLine":248,"endColumn":9,"fileName":"mytilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} +tiles_legacy_LegacyTilemap_getObstacle__P3877.info = {"start":8082,"length":437,"line":238,"column":8,"endLine":248,"endColumn":9,"fileName":"mytilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} -function tiles_legacy_LegacyTilemap_getObstacle__P73757_mk(s) { +function tiles_legacy_LegacyTilemap_getObstacle__P3877_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_getObstacle__P73757, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_getObstacle__P3877, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81537,8 +81766,8 @@ function tiles_legacy_LegacyTilemap_getObstacle__P73757_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - index___90581: undefined, - tile___90592: undefined, + index___30544: undefined, + tile___30555: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -81548,7 +81777,7 @@ function tiles_legacy_LegacyTilemap_getObstacle__P73757_mk(s) { -function tiles_legacy_LegacyTilemap_isObstacle__P73756(s) { +function tiles_legacy_LegacyTilemap_isObstacle__P3876(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81558,7 +81787,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___90565 = undefined; + s.t___30583 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -81566,10 +81795,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); - s.tmp_3 = tiles_legacy_LegacyTilemap__C73735_v6_1_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); + s.tmp_3 = tiles_legacy_LegacyTilemap__C3855_v6_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C3855_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: @@ -81585,11 +81814,11 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.tmp_5 = tiles_legacy_LegacyTilemap_isOutsideMap__P81311_mk(s); + s.tmp_5 = tiles_legacy_LegacyTilemap_isOutsideMap__P6506_mk(s); s.tmp_5.arg0 = s.arg0; s.tmp_5.arg1 = s.arg1; s.tmp_5.arg2 = s.arg2; - s.callLocIdx = 1680; s.pc = 9; return s.tmp_5; + s.callLocIdx = 1691; s.pc = 9; return s.tmp_5; case 9: r0 = s.retval; s.tmp_4 = r0; @@ -81606,14 +81835,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___90565 = (r0); - s.tmp_0 = r0 = s.t___90565; + s.t___30583 = (r0); + s.tmp_0 = r0 = s.t___30583; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } r0 = s.tmp_0; { step = 6; continue; } case 5: - r0 = s.t___90565.fields["obstacle"]; + r0 = s.t___30583.fields["obstacle"]; case 6: // jmp value (already in r0) s.tmp_1 = r0; @@ -81622,12 +81851,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_isObstacle__P73756.info = {"start":7806,"length":266,"line":230,"column":8,"endLine":236,"endColumn":9,"fileName":"mytilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} +tiles_legacy_LegacyTilemap_isObstacle__P3876.info = {"start":7806,"length":266,"line":230,"column":8,"endLine":236,"endColumn":9,"fileName":"mytilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} -function tiles_legacy_LegacyTilemap_isObstacle__P73756_mk(s) { +function tiles_legacy_LegacyTilemap_isObstacle__P3876_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_isObstacle__P73756, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_isObstacle__P3876, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81638,7 +81867,7 @@ function tiles_legacy_LegacyTilemap_isObstacle__P73756_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - t___90565: undefined, + t___30583: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -81648,7 +81877,7 @@ function tiles_legacy_LegacyTilemap_isObstacle__P73756_mk(s) { -function tiles_legacy_LegacyTilemap_getTile__P73752(s) { +function tiles_legacy_LegacyTilemap_getTile__P3872(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81665,27 +81894,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C72169_VT); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C2289_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P72172_mk(s); + s.tmp_1 = tiles_Location_constructor__P2292_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.arg0; - s.callLocIdx = 1657; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1668; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_getTile__P73752.info = {"start":3371,"length":111,"line":116,"column":8,"endLine":118,"endColumn":9,"fileName":"mytilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_legacy_LegacyTilemap_getTile__P3872.info = {"start":3371,"length":111,"line":116,"column":8,"endLine":118,"endColumn":9,"fileName":"mytilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_legacy_LegacyTilemap_getTile__P73752_mk(s) { +function tiles_legacy_LegacyTilemap_getTile__P3872_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_getTile__P73752, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_getTile__P3872, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81698,7 +81927,7 @@ function tiles_legacy_LegacyTilemap_getTile__P73752_mk(s) { -function tiles_legacy_LegacyTilemap_layer__P73746(s) { +function tiles_legacy_LegacyTilemap_layer__P3866(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81713,18 +81942,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C73735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C3855_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_layer__P73746.info = {"start":2685,"length":63,"line":89,"column":8,"endLine":91,"endColumn":9,"fileName":"mytilemap.ts","functionName":"layer","argumentNames":["this"]} -tiles_legacy_LegacyTilemap_layer__P73746.isGetter = true; +tiles_legacy_LegacyTilemap_layer__P3866.info = {"start":2685,"length":63,"line":89,"column":8,"endLine":91,"endColumn":9,"fileName":"mytilemap.ts","functionName":"layer","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_layer__P3866.isGetter = true; -function tiles_legacy_LegacyTilemap_layer__P73746_mk(s) { +function tiles_legacy_LegacyTilemap_layer__P3866_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_layer__P73746, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_layer__P3866, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -81733,7 +81962,7 @@ function tiles_legacy_LegacyTilemap_layer__P73746_mk(s) { -function tileworld_TileSprite___drawCore__P79258(s) { +function tileworld_TileSprite___drawCore__P5955909(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81743,21 +81972,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___79398 = undefined; - s.oy___79406 = undefined; - s.l___79414 = undefined; - s.t___79422 = undefined; + s.ox___5956049 = undefined; + s.oy___5956057 = undefined; + s.l___5956065 = undefined; + s.t___5956073 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileSprite__C79252_VT)) failedCast(r0); - s.tmp_1 = tileworld_TileSprite__C79252_v4_2_mk(s); + if (!checkSubtype(r0, tileworld_TileSprite__C5955903_VT)) failedCast(r0); + s.tmp_1 = tileworld_TileSprite__C5955903_v4_2_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; - if (!checkSubtype(s.tmp_1.arg0, tileworld_TileSprite__C79252_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tileworld_TileSprite__C5955903_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isOutOfScreen; s.pc = 10; return s.tmp_1; case 10: @@ -81781,7 +82010,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___79398 = (s.tmp_4); + s.ox___5956049 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -81795,7 +82024,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___79406 = (s.tmp_2); + s.oy___5956057 = (s.tmp_2); r0 = s.arg0.fields["debug"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -81807,49 +82036,49 @@ switch (step) { case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_4 = Sprite_left__P71942_mk(s); + s.tmp_4 = Sprite_left__P2062_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 298; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 - s.ox___79398); + r0 = (s.tmp_3 - s.ox___5956049); s.tmp_2 = r0; r0 = (s.tmp_2 + s.tmp_1); - s.l___79414 = (r0); - s.tmp_1 = Sprite_top__P71946_mk(s); + s.l___5956065 = (r0); + s.tmp_1 = Sprite_top__P2066_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 299; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.oy___79406); - s.t___79422 = (r0); - s.tmp_0 = r0 = globals.screen___71682; + r0 = (s.tmp_0 - s.oy___5956057); + s.t___5956073 = (r0); + s.tmp_0 = r0 = globals.screen___1802; r0 = s.arg0.fields["_image"]; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.l___79414, s.t___79422); + r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.l___5956065, s.t___5956073); case 9: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileSprite___drawCore__P79258.info = {"start":2191,"length":624,"line":45,"column":8,"endLine":58,"endColumn":9,"fileName":"vm.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +tileworld_TileSprite___drawCore__P5955909.info = {"start":2151,"length":624,"line":45,"column":8,"endLine":58,"endColumn":9,"fileName":"vm.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function tileworld_TileSprite___drawCore__P79258_mk(s) { +function tileworld_TileSprite___drawCore__P5955909_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileSprite___drawCore__P79258, depth: s.depth + 1, + parent: s, fn: tileworld_TileSprite___drawCore__P5955909, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - ox___79398: undefined, - oy___79406: undefined, - l___79414: undefined, - t___79422: undefined, + ox___5956049: undefined, + oy___5956057: undefined, + l___5956065: undefined, + t___5956073: undefined, arg0: undefined, arg1: undefined, } } @@ -81858,7 +82087,7 @@ function tileworld_TileSprite___drawCore__P79258_mk(s) { -function scene_Renderable___drawCore__P72258(s) { +function scene_Renderable___drawCore__P2378(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81874,19 +82103,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C72255_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C2375_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___71682; + s.tmp_0.arg1 = globals.screen___1802; s.tmp_0.arg2 = s.arg1; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 3); - s.callLocIdx = 812; s.pc = 1; return s.tmp_0; + s.callLocIdx = 810; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["handler"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 812; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 812; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 812; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 810; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 810; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 810; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -81894,12 +82123,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___drawCore__P72258.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__P2378.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__P72258_mk(s) { +function scene_Renderable___drawCore__P2378_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P72258, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P2378, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -81910,7 +82139,7 @@ function scene_Renderable___drawCore__P72258_mk(s) { -function scene_Renderable___visible__P72257(s) { +function scene_Renderable___visible__P2377(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81925,29 +82154,29 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C72255_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C2375_VT)) failedCast(r0); s.tmp_0 = if_shouldBeVisible_1_mk(s); s.tmp_0.arg0 = s.arg0; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "shouldBeVisible"), 1); - s.callLocIdx = 811; s.pc = 1; return s.tmp_0; + s.callLocIdx = 809; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["shouldBeVisible"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["shouldBeVisible"], 1); s.callLocIdx = 811; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 811; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 811; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["shouldBeVisible"], 1); s.callLocIdx = 809; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 809; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 809; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -scene_Renderable___visible__P72257.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__P2377.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__P72257_mk(s) { +function scene_Renderable___visible__P2377_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P72257, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P2377, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -81957,7 +82186,7 @@ function scene_Renderable___visible__P72257_mk(s) { -function scene_Camera_top__P72250(s) { +function scene_Camera_top__P2370(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81972,18 +82201,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C72237_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2357_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_top__P72250.info = {"start":1638,"length":58,"line":58,"column":8,"endLine":60,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"top","argumentNames":["this"]} -scene_Camera_top__P72250.isGetter = true; +scene_Camera_top__P2370.info = {"start":1638,"length":58,"line":58,"column":8,"endLine":60,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"top","argumentNames":["this"]} +scene_Camera_top__P2370.isGetter = true; -function scene_Camera_top__P72250_mk(s) { +function scene_Camera_top__P2370_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_top__P72250, depth: s.depth + 1, + parent: s, fn: scene_Camera_top__P2370, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -81992,7 +82221,7 @@ function scene_Camera_top__P72250_mk(s) { -function scene_Camera_left__P72248(s) { +function scene_Camera_left__P2368(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82007,18 +82236,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C72237_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2357_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_left__P72248.info = {"start":1486,"length":59,"line":52,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"left","argumentNames":["this"]} -scene_Camera_left__P72248.isGetter = true; +scene_Camera_left__P2368.info = {"start":1486,"length":59,"line":52,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"left","argumentNames":["this"]} +scene_Camera_left__P2368.isGetter = true; -function scene_Camera_left__P72248_mk(s) { +function scene_Camera_left__P2368_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_left__P72248, depth: s.depth + 1, + parent: s, fn: scene_Camera_left__P2368, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -82027,7 +82256,7 @@ function scene_Camera_left__P72248_mk(s) { -function particles_ShapeFactory_drawParticle__P72620(s) { +function particles_ShapeFactory_drawParticle__P2740(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82037,7 +82266,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___101724 = undefined; + s.pImage___30661 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -82046,23 +82275,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C72617_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P72468_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C2737_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P2588_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1171; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1169; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___101724 = (r0); + s.pImage___30661 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___101724, 15, s.tmp_0); - s.tmp_0 = r0 = globals.screen___71682; - s.tmp_1 = r0 = s.pImage___101724; + r0 = pxsim_ImageMethods.replace(s.pImage___30661, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___1802; + s.tmp_1 = r0 = s.pImage___30661; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -82084,12 +82313,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_drawParticle__P72620.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__P2740.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__P72620_mk(s) { +function particles_ShapeFactory_drawParticle__P2740_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P72620, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P2740, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -82101,7 +82330,7 @@ function particles_ShapeFactory_drawParticle__P72620_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___101724: undefined, + pImage___30661: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -82112,7 +82341,7 @@ function particles_ShapeFactory_drawParticle__P72620_mk(s) { -function Math_FastRandom_pickRandom__P72468(s) { +function Math_FastRandom_pickRandom__P2588(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82128,7 +82357,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C72463_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C2583_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -82151,14 +82380,14 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P72467_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P2587_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 0; r0 = pxsim_Array__length(s.arg1); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); s.tmp_6.arg2 = r0; - s.callLocIdx = 901; s.pc = 6; return s.tmp_6; + s.callLocIdx = 899; s.pc = 6; return s.tmp_6; case 6: r0 = s.retval; s.tmp_5 = r0; @@ -82167,12 +82396,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_pickRandom__P72468.info = {"start":2358,"length":192,"line":70,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"pickRandom","argumentNames":["this","list"]} +Math_FastRandom_pickRandom__P2588.info = {"start":2358,"length":192,"line":70,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"pickRandom","argumentNames":["this","list"]} -function Math_FastRandom_pickRandom__P72468_mk(s) { +function Math_FastRandom_pickRandom__P2588_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P72468, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P2588, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -82190,7 +82419,7 @@ function Math_FastRandom_pickRandom__P72468_mk(s) { -function particles_AreaFactory_drawParticle__P72608(s) { +function particles_AreaFactory_drawParticle__P2728(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82200,7 +82429,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___101770 = undefined; + s.col___30707 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -82209,7 +82438,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C72601_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C2721_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -82236,8 +82465,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___101770 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___71682; + s.col___30707 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___1802; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -82246,17 +82475,17 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_3 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___101770); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___30707); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_AreaFactory_drawParticle__P72608.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__P2728.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__P72608_mk(s) { +function particles_AreaFactory_drawParticle__P2728_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P72608, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P2728, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -82264,7 +82493,7 @@ function particles_AreaFactory_drawParticle__P72608_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___101770: undefined, + col___30707: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -82275,7 +82504,7 @@ function particles_AreaFactory_drawParticle__P72608_mk(s) { -function particles_SprayFactory_drawParticle__P72598(s) { +function particles_SprayFactory_drawParticle__P2718(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82293,8 +82522,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C72595_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___71682; + if (!checkSubtype(r0, particles_SprayFactory__C2715_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___1802; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -82308,12 +82537,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_drawParticle__P72598.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__P2718.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__P72598_mk(s) { +function particles_SprayFactory_drawParticle__P2718_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P72598, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P2718, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -82330,7 +82559,7 @@ function particles_SprayFactory_drawParticle__P72598_mk(s) { -function Sprite___drawCore__P71957(s) { +function Sprite___drawCore__P2077(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82340,24 +82569,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___101814 = undefined; - s.oy___101822 = undefined; - s.l___101830 = undefined; - s.t___101834 = undefined; - s.font___101849 = undefined; - s.tx___101853 = undefined; - s.ty___101855 = undefined; + s.ox___30738 = undefined; + s.oy___30746 = undefined; + s.l___30754 = undefined; + s.t___30758 = undefined; + s.font___30773 = undefined; + s.tx___30777 = undefined; + s.ty___30779 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); - s.tmp_1 = Sprite__C71896_v4_2_mk(s); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); + s.tmp_1 = Sprite__C2016_v4_2_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; - if (!checkSubtype(s.tmp_1.arg0, Sprite__C71896_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, Sprite__C2016_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isOutOfScreen; s.pc = 20; return s.tmp_1; case 20: @@ -82381,7 +82610,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___101814 = (s.tmp_4); + s.ox___30738 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -82395,35 +82624,35 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___101822 = (s.tmp_2); - s.tmp_1 = Sprite_left__P71942_mk(s); + s.oy___30746 = (s.tmp_2); + s.tmp_1 = Sprite_left__P2062_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 362; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.ox___101814); - s.l___101830 = (r0); - s.tmp_1 = Sprite_top__P71946_mk(s); + r0 = (s.tmp_0 - s.ox___30738); + s.l___30754 = (r0); + s.tmp_1 = Sprite_top__P2066_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 363; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.oy___101822); - s.t___101834 = (r0); + r0 = (s.tmp_0 - s.oy___30746); + s.t___30758 = (r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___71682, s.tmp_0, s.l___101830, s.t___101834); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___1802, s.tmp_0, s.l___30754, s.t___30758); 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___101849 = (globals.font5___71630); - s.tx___101853 = (s.l___101830); - s.tmp_1 = r0 = s.t___101834; + s.font___30773 = (globals.font5___1750); + s.tx___30777 = (s.l___30754); + s.tmp_1 = r0 = s.t___30758; r0 = s.arg0.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -82431,12 +82660,12 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___101855 = (r0); - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; + s.ty___30779 = (r0); + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P71905_mk(s); + s.tmp_7 = Sprite_x__P2025_mk(s); s.tmp_7.arg0 = s.arg0; s.callLocIdx = 365; s.pc = 24; return s.tmp_7; case 24: @@ -82457,7 +82686,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P71907_mk(s); + s.tmp_11 = Sprite_y__P2027_mk(s); s.tmp_11.arg0 = s.arg0; s.callLocIdx = 366; s.pc = 26; return s.tmp_11; case 26: @@ -82476,17 +82705,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___101853; - s.tmp_0.arg3 = s.ty___101855; + s.tmp_0.arg2 = s.tx___30777; + s.tmp_0.arg3 = s.ty___30779; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___101849; + s.tmp_0.arg5 = s.font___30773; s.tmp_0.arg6 = undefined; s.callLocIdx = 367; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = r0 = s.tx___101853; + s.tmp_0 = r0 = s.tx___30777; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___101849; + s.tmp_2.arg0 = s.font___30773; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -82499,8 +82728,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___101853 = (r0); - s.tmp_1 = Sprite_vx__P71909_mk(s); + s.tx___30777 = (r0); + s.tmp_1 = Sprite_vx__P2029_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 369; s.pc = 29; return s.tmp_1; case 29: @@ -82511,7 +82740,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - s.tmp_2 = Sprite_vy__P71911_mk(s); + s.tmp_2 = Sprite_vy__P2031_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 370; s.pc = 30; return s.tmp_2; case 30: @@ -82521,9 +82750,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___101855; + s.tmp_4 = r0 = s.ty___30779; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___101849; + s.tmp_7.arg0 = s.font___30773; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -82538,10 +82767,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___101855 = (r0); - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; - s.tmp_6 = Sprite_vx__P71909_mk(s); + s.ty___30779 = (r0); + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; + s.tmp_6 = Sprite_vx__P2029_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 372; s.pc = 33; return s.tmp_6; case 33: @@ -82562,7 +82791,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P71911_mk(s); + s.tmp_10 = Sprite_vy__P2031_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 373; s.pc = 35; return s.tmp_10; case 35: @@ -82581,17 +82810,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___101853; - s.tmp_0.arg3 = s.ty___101855; + s.tmp_0.arg2 = s.tx___30777; + s.tmp_0.arg3 = s.ty___30779; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___101849; + s.tmp_0.arg5 = s.font___30773; s.tmp_0.arg6 = undefined; s.callLocIdx = 374; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; case 9: case 10: - s.tmp_1 = Sprite_ax__P71913_mk(s); + s.tmp_1 = Sprite_ax__P2033_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 375; s.pc = 37; return s.tmp_1; case 37: @@ -82602,7 +82831,7 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 11: - s.tmp_2 = Sprite_ay__P71915_mk(s); + s.tmp_2 = Sprite_ay__P2035_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 376; s.pc = 38; return s.tmp_2; case 38: @@ -82612,9 +82841,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___101855; + s.tmp_4 = r0 = s.ty___30779; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___101849; + s.tmp_7.arg0 = s.font___30773; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -82629,10 +82858,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___101855 = (r0); - s.tmp_0 = helpers_imagePrint__P71640_mk(s); - s.tmp_0.arg0 = globals.screen___71682; - s.tmp_6 = Sprite_ax__P71913_mk(s); + s.ty___30779 = (r0); + s.tmp_0 = helpers_imagePrint__P1760_mk(s); + s.tmp_0.arg0 = globals.screen___1802; + s.tmp_6 = Sprite_ax__P2033_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 378; s.pc = 41; return s.tmp_6; case 41: @@ -82653,7 +82882,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P71915_mk(s); + s.tmp_10 = Sprite_ay__P2035_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 379; s.pc = 43; return s.tmp_10; case 43: @@ -82672,10 +82901,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___101853; - s.tmp_0.arg3 = s.ty___101855; + s.tmp_0.arg2 = s.tx___30777; + s.tmp_0.arg3 = s.ty___30779; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___101849; + s.tmp_0.arg5 = s.font___30773; s.tmp_0.arg6 = undefined; s.callLocIdx = 380; s.pc = 40; return s.tmp_0; case 40: @@ -82684,11 +82913,11 @@ switch (step) { case 14: case 15: case 16: - r0 = pxsim_numops_toBoolDecr(globals.debug___72405); + r0 = pxsim_numops_toBoolDecr(globals.debug___2525); if (!r0) { step = 17; continue; } - s.tmp_0 = helpers_imageDrawRect__P71611_mk(s); - s.tmp_0.arg0 = globals.screen___71682; - s.tmp_3 = game_Hitbox_left__P71846_mk(s); + s.tmp_0 = helpers_imageDrawRect__P1731_mk(s); + s.tmp_0.arg0 = globals.screen___1802; + s.tmp_3 = game_Hitbox_left__P1966_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 381; s.pc = 46; return s.tmp_3; @@ -82699,9 +82928,9 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___101814); + r0 = (s.tmp_1 - s.ox___30738); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P71847_mk(s); + s.tmp_7 = game_Hitbox_top__P1967_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; s.callLocIdx = 383; s.pc = 47; return s.tmp_7; @@ -82712,7 +82941,7 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___101822); + r0 = (s.tmp_5 - s.oy___30746); s.tmp_0.arg2 = r0; r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; @@ -82739,12 +82968,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___drawCore__P71957.info = {"start":20775,"length":1383,"line":642,"column":4,"endLine":680,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +Sprite___drawCore__P2077.info = {"start":20775,"length":1383,"line":642,"column":4,"endLine":680,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function Sprite___drawCore__P71957_mk(s) { +function Sprite___drawCore__P2077_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P71957, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P2077, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -82759,13 +82988,13 @@ function Sprite___drawCore__P71957_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - ox___101814: undefined, - oy___101822: undefined, - l___101830: undefined, - t___101834: undefined, - font___101849: undefined, - tx___101853: undefined, - ty___101855: undefined, + ox___30738: undefined, + oy___30746: undefined, + l___30754: undefined, + t___30758: undefined, + font___30773: undefined, + tx___30777: undefined, + ty___30779: undefined, arg0: undefined, arg1: undefined, } } @@ -82774,7 +83003,7 @@ function Sprite___drawCore__P71957_mk(s) { -function Sprite___visible__P71939(s) { +function Sprite___visible__P2059(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82789,7 +83018,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C71896_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2016_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -82800,12 +83029,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___visible__P71939.info = {"start":8329,"length":72,"line":303,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} +Sprite___visible__P2059.info = {"start":8329,"length":72,"line":303,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} -function Sprite___visible__P71939_mk(s) { +function Sprite___visible__P2059_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P71939, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P2059, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -82874,7 +83103,7 @@ function if_flags_1_mk(s) { } } -function particles_ParticleFactory__C72591_v0_2_mk(s) { +function particles_ParticleFactory__C2711_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82889,7 +83118,7 @@ function particles_ParticleFactory__C72591_v0_2_mk(s) { } } -function particles_ParticleSource__C72555_v4_3_mk(s) { +function particles_ParticleSource__C2675_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82990,7 +83219,7 @@ function if_id_2_mk(s) { } } -function PhysicsEngine__C72039_v4_2_mk(s) { +function PhysicsEngine__C2159_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83036,7 +83265,7 @@ function lambda_2_mk(s) { } } -function PhysicsEngine__C72039_v3_1_mk(s) { +function PhysicsEngine__C2159_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83093,7 +83322,7 @@ function if_id_1_mk(s) { } } -function tiles_TileMap__C72197_v6_1_mk(s) { +function tiles_TileMap__C2317_v6_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83107,7 +83336,7 @@ function tiles_TileMap__C72197_v6_1_mk(s) { } } -function tiles_TileMap__C72197_v2_2_mk(s) { +function tiles_TileMap__C2317_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83122,7 +83351,7 @@ function tiles_TileMap__C72197_v2_2_mk(s) { } } -function tiles_TileMap__C72197_v4_1_mk(s) { +function tiles_TileMap__C2317_v4_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83136,7 +83365,7 @@ function tiles_TileMap__C72197_v4_1_mk(s) { } } -function tiles_TileMap__C72197_v1_2_mk(s) { +function tiles_TileMap__C2317_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83151,7 +83380,7 @@ function tiles_TileMap__C72197_v1_2_mk(s) { } } -function tiles_TileMap__C72197_v3_1_mk(s) { +function tiles_TileMap__C2317_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83165,7 +83394,7 @@ function tiles_TileMap__C72197_v3_1_mk(s) { } } -function controller_Button__C71783_v0_1_mk(s) { +function controller_Button__C1903_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83277,7 +83506,7 @@ function if_yOffset_1_mk(s) { } } -function PhysicsEngine__C72039_v2_4_mk(s) { +function PhysicsEngine__C2159_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83342,7 +83571,7 @@ function if_z_2_mk(s) { } } -function Sprite__C71896_v4_2_mk(s) { +function Sprite__C2016_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83389,7 +83618,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C72039_v1_2_mk(s) { +function PhysicsEngine__C2159_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83433,7 +83662,7 @@ function if_handler_2_mk(s) { } } -function PhysicsEngine__C72039_v0_2_mk(s) { +function PhysicsEngine__C2159_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83448,7 +83677,7 @@ function PhysicsEngine__C72039_v0_2_mk(s) { } } -function tiles_TileMap__C72197_v0_1_mk(s) { +function tiles_TileMap__C2317_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83462,7 +83691,7 @@ function tiles_TileMap__C72197_v0_1_mk(s) { } } -function tiles_TileMap__C72197_v10_2_mk(s) { +function tiles_TileMap__C2317_v10_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83477,7 +83706,7 @@ function tiles_TileMap__C72197_v10_2_mk(s) { } } -function tiles_TileMap__C72197_v11_3_mk(s) { +function tiles_TileMap__C2317_v11_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83689,7 +83918,7 @@ function if_activeCard_1_mk(s) { } } -function tiles_TileMap__C72197_v14_2_mk(s) { +function tiles_TileMap__C2317_v14_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83704,7 +83933,7 @@ function tiles_TileMap__C72197_v14_2_mk(s) { } } -function tiles_TileMap__C72197_v12_3_mk(s) { +function tiles_TileMap__C2317_v12_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83720,7 +83949,7 @@ function tiles_TileMap__C72197_v12_3_mk(s) { } } -function tiles_TileMap__C72197_v13_3_mk(s) { +function tiles_TileMap__C2317_v13_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83736,7 +83965,7 @@ function tiles_TileMap__C72197_v13_3_mk(s) { } } -function tiles_TileMap__C72197_v7_3_mk(s) { +function tiles_TileMap__C2317_v7_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83768,7 +83997,7 @@ function if_handler_3_mk(s) { } } -function tiles_TileMap__C72197_v15_2_mk(s) { +function tiles_TileMap__C2317_v15_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83783,7 +84012,7 @@ function tiles_TileMap__C72197_v15_2_mk(s) { } } -function tiles_TileMap__C72197_v8_3_mk(s) { +function tiles_TileMap__C2317_v8_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83799,7 +84028,7 @@ function tiles_TileMap__C72197_v8_3_mk(s) { } } -function tiles_TileMap__C72197_v5_1_mk(s) { +function tiles_TileMap__C2317_v5_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83855,7 +84084,7 @@ function if_top_1_mk(s) { } } -function particles_ParticleFactory__C72591_v1_4_mk(s) { +function particles_ParticleFactory__C2711_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83886,7 +84115,7 @@ function if_height_1_mk(s) { } } -function sprites_BaseSprite__C71738_v0_1_mk(s) { +function sprites_BaseSprite__C1858_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83900,7 +84129,7 @@ function sprites_BaseSprite__C71738_v0_1_mk(s) { } } -function sprites_BaseSprite__C71738_v2_2_mk(s) { +function sprites_BaseSprite__C1858_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84001,7 +84230,7 @@ function if_up_2_mk(s) { } } -function tileworld_LoadScreen__C73717_v0_1_mk(s) { +function tileworld_LoadScreen__C3837_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84015,7 +84244,7 @@ function tileworld_LoadScreen__C73717_v0_1_mk(s) { } } -function tileworld_ProjectSettings__C73711_v0_1_mk(s) { +function tileworld_ProjectSettings__C3831_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84043,7 +84272,7 @@ function if_width_1_mk(s) { } } -function tileworld_ruleediting_RuleRoom__C73690_v0_1_mk(s) { +function tileworld_ruleediting_RuleRoom__C3810_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84057,7 +84286,7 @@ function tileworld_ruleediting_RuleRoom__C73690_v0_1_mk(s) { } } -function tileworld_ruleediting_RuleEditor__C73701_v0_1_mk(s) { +function tileworld_ruleediting_RuleEditor__C3821_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84071,7 +84300,7 @@ function tileworld_ruleediting_RuleEditor__C73701_v0_1_mk(s) { } } -function tileworld_ruleediting_RuleDisplay__C73682_v4_4_mk(s) { +function tileworld_ruleediting_RuleDisplay__C3873456_v4_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84088,7 +84317,7 @@ function tileworld_ruleediting_RuleDisplay__C73682_v4_4_mk(s) { } } -function tileworld_ruleediting_RuleDisplay__C73682_v3_1_mk(s) { +function tileworld_ruleediting_RuleDisplay__C3873456_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84102,7 +84331,7 @@ function tileworld_ruleediting_RuleDisplay__C73682_v3_1_mk(s) { } } -function tileworld_ruleediting_RuleRoom__C73690_v3_1_mk(s) { +function tileworld_ruleediting_RuleRoom__C3810_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84116,7 +84345,7 @@ function tileworld_ruleediting_RuleRoom__C73690_v3_1_mk(s) { } } -function tileworld_ImageEditor__C73663_v0_1_mk(s) { +function tileworld_ImageEditor__C3783_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84144,7 +84373,7 @@ function if_update_1_mk(s) { } } -function tileworld_MapEditor__C73704_v0_1_mk(s) { +function tileworld_MapEditor__C3824_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84158,7 +84387,7 @@ function tileworld_MapEditor__C73704_v0_1_mk(s) { } } -function tiles_TileMap__C72197_v9_4_mk(s) { +function tiles_TileMap__C2317_v9_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84175,7 +84404,7 @@ function tiles_TileMap__C72197_v9_4_mk(s) { } } -function tiles_legacy_LegacyTilemap__C73735_v10_2_mk(s) { +function tiles_legacy_LegacyTilemap__C3855_v10_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84190,7 +84419,7 @@ function tiles_legacy_LegacyTilemap__C73735_v10_2_mk(s) { } } -function tileworld_RuleVisualsBase__C73669_v1_1_mk(s) { +function tileworld_RuleVisualsBase__C3789_v1_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84204,7 +84433,7 @@ function tileworld_RuleVisualsBase__C73669_v1_1_mk(s) { } } -function tileworld_RuleVisualsBase__C73669_v2_3_mk(s) { +function tileworld_RuleVisualsBase__C3789_v2_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84220,7 +84449,7 @@ function tileworld_RuleVisualsBase__C73669_v2_3_mk(s) { } } -function tiles_legacy_LegacyTilemap__C73735_v6_1_mk(s) { +function tiles_legacy_LegacyTilemap__C3855_v6_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84234,7 +84463,7 @@ function tiles_legacy_LegacyTilemap__C73735_v6_1_mk(s) { } } -function tiles_legacy_LegacyTilemap__C73735_v4_1_mk(s) { +function tiles_legacy_LegacyTilemap__C3855_v4_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84248,7 +84477,7 @@ function tiles_legacy_LegacyTilemap__C73735_v4_1_mk(s) { } } -function tiles_legacy_LegacyTilemap__C73735_v3_1_mk(s) { +function tiles_legacy_LegacyTilemap__C3855_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84262,7 +84491,7 @@ function tiles_legacy_LegacyTilemap__C73735_v3_1_mk(s) { } } -function tileworld_ruleediting_RuleViewDisplay__C73686_v0_1_mk(s) { +function tileworld_ruleediting_RuleViewDisplay__C3806_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84276,7 +84505,7 @@ function tileworld_ruleediting_RuleViewDisplay__C73686_v0_1_mk(s) { } } -function tiles_legacy_LegacyTilemap__C73735_v12_3_mk(s) { +function tiles_legacy_LegacyTilemap__C3855_v12_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84292,7 +84521,7 @@ function tiles_legacy_LegacyTilemap__C73735_v12_3_mk(s) { } } -function tiles_legacy_LegacyTilemap__C73735_v5_1_mk(s) { +function tiles_legacy_LegacyTilemap__C3855_v5_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84306,7 +84535,7 @@ function tiles_legacy_LegacyTilemap__C73735_v5_1_mk(s) { } } -function tileworld_TileSprite__C79252_v4_2_mk(s) { +function tileworld_TileSprite__C5955903_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84320,14 +84549,14 @@ function tileworld_TileSprite__C79252_v4_2_mk(s) { arg1: undefined, } } -const controller_Button__C71783_VT = mkVTable({ +const controller_Button__C1903_VT = mkVTable({ name: "Button", numFields: 7, classNo: 16, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P71792, + "isPressed": controller_Button_isPressed__P1912, }, iface: { "_owner": null, @@ -84344,26 +84573,26 @@ const controller_Button__C71783_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "toString": controller_Button_toString__P71788, - "raiseButtonUp": controller_Button_raiseButtonUp__P73998, - "raiseButtonDown": controller_Button_raiseButtonDown__P73999, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P74000, - "onEvent": controller_Button_onEvent__P71790, - "isPressed": controller_Button_isPressed__P71792, - "pressureLevel": controller_Button_pressureLevel__P71793, - "setPressed": controller_Button_setPressed__P71794, - "__update": controller_Button___update__P71795, + "toString": controller_Button_toString__P1908, + "raiseButtonUp": controller_Button_raiseButtonUp__P4118, + "raiseButtonDown": controller_Button_raiseButtonDown__P4119, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4120, + "onEvent": controller_Button_onEvent__P1910, + "isPressed": controller_Button_isPressed__P1912, + "pressureLevel": controller_Button_pressureLevel__P1913, + "setPressed": controller_Button_setPressed__P1914, + "__update": controller_Button___update__P1915, }, - toStringMethod: controller_Button_toString__P71788, + toStringMethod: controller_Button_toString__P1908, }); -const controller_AnyButton__C74001_VT = mkVTable({ +const controller_AnyButton__C4121_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 17, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P74003, + "isPressed": controller_AnyButton_isPressed__P4123, }, iface: { "_owner": null, @@ -84380,18 +84609,18 @@ const controller_AnyButton__C74001_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P74003, - "toString": controller_Button_toString__P71788, - "raiseButtonUp": controller_Button_raiseButtonUp__P73998, - "raiseButtonDown": controller_Button_raiseButtonDown__P73999, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P74000, - "onEvent": controller_Button_onEvent__P71790, - "pressureLevel": controller_Button_pressureLevel__P71793, - "setPressed": controller_Button_setPressed__P71794, - "__update": controller_Button___update__P71795, + "isPressed": controller_AnyButton_isPressed__P4123, + "toString": controller_Button_toString__P1908, + "raiseButtonUp": controller_Button_raiseButtonUp__P4118, + "raiseButtonDown": controller_Button_raiseButtonDown__P4119, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4120, + "onEvent": controller_Button_onEvent__P1910, + "pressureLevel": controller_Button_pressureLevel__P1913, + "setPressed": controller_Button_setPressed__P1914, + "__update": controller_Button___update__P1915, }, }); -const Math_FastRandom__C72463_VT = mkVTable({ +const Math_FastRandom__C2583_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 18, @@ -84404,12 +84633,12 @@ const Math_FastRandom__C72463_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P72466, - "randomRange": Math_FastRandom_randomRange__P72467, - "pickRandom": Math_FastRandom_pickRandom__P72468, + "next": Math_FastRandom_next__P2586, + "randomRange": Math_FastRandom_randomRange__P2587, + "pickRandom": Math_FastRandom_pickRandom__P2588, }, }); -const texteffects_TextEffect__C72708_VT = mkVTable({ +const texteffects_TextEffect__C2828_VT = mkVTable({ name: "TextEffect", numFields: 1, classNo: 19, @@ -84422,29 +84651,29 @@ const texteffects_TextEffect__C72708_VT = mkVTable({ "set/getState": null, }, }); -const tileworld_BackgroundBase__C73667_VT = mkVTable({ +const tileworld_BackgroundBase__C3787_VT = mkVTable({ name: "BackgroundBase", numFields: 0, classNo: 20, lastSubtypeNo: 32, maxBgInstances: null, methods: { - "update": tileworld_BackgroundBase_update__P81255, + "update": tileworld_BackgroundBase_update__P6252, }, iface: { - "update": tileworld_BackgroundBase_update__P81255, + "update": tileworld_BackgroundBase_update__P6252, }, }); -const tileworld_RuleVisualsBase__C73669_VT = mkVTable({ +const tileworld_RuleVisualsBase__C3789_VT = mkVTable({ name: "RuleVisualsBase", numFields: 6, classNo: 21, lastSubtypeNo: 29, maxBgInstances: null, methods: { - "update": tileworld_BackgroundBase_update__P81255, - "okToMove": tileworld_RuleVisualsBase_okToMove__P82562, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P82574, + "update": tileworld_BackgroundBase_update__P6252, + "okToMove": tileworld_RuleVisualsBase_okToMove__P6297, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P6309, }, iface: { "cursor": null, @@ -84459,35 +84688,35 @@ const tileworld_RuleVisualsBase__C73669_VT = mkVTable({ "set/dirMap": null, "p": null, "set/p": null, - "moveInX": tileworld_RuleVisualsBase_moveInX__P82559, - "moveUp": tileworld_RuleVisualsBase_moveUp__P82560, - "moveDown": tileworld_RuleVisualsBase_moveDown__P82561, - "okToMove": tileworld_RuleVisualsBase_okToMove__P82562, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P82563, - "setCol": tileworld_RuleVisualsBase_setCol__P82564, - "setRow": tileworld_RuleVisualsBase_setRow__P82565, - "col": tileworld_RuleVisualsBase_col__P82566, - "row": tileworld_RuleVisualsBase_row__P82567, - "drawImage": tileworld_RuleVisualsBase_drawImage__P82568, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P82569, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P82570, - "fillTile": tileworld_RuleVisualsBase_fillTile__P82571, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P82572, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P82573, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P82574, - "update": tileworld_BackgroundBase_update__P81255, + "moveInX": tileworld_RuleVisualsBase_moveInX__P6294, + "moveUp": tileworld_RuleVisualsBase_moveUp__P6295, + "moveDown": tileworld_RuleVisualsBase_moveDown__P6296, + "okToMove": tileworld_RuleVisualsBase_okToMove__P6297, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P6298, + "setCol": tileworld_RuleVisualsBase_setCol__P6299, + "setRow": tileworld_RuleVisualsBase_setRow__P6300, + "col": tileworld_RuleVisualsBase_col__P6301, + "row": tileworld_RuleVisualsBase_row__P6302, + "drawImage": tileworld_RuleVisualsBase_drawImage__P6303, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P6304, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P6305, + "fillTile": tileworld_RuleVisualsBase_fillTile__P6306, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P6307, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P6308, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P6309, + "update": tileworld_BackgroundBase_update__P6252, }, }); -const tileworld_LoadScreen__C73717_VT = mkVTable({ +const tileworld_LoadScreen__C3837_VT = mkVTable({ name: "LoadScreen", numFields: 7, classNo: 22, lastSubtypeNo: 22, maxBgInstances: null, methods: { - "update": tileworld_LoadScreen_update__P87686, - "okToMove": tileworld_RuleVisualsBase_okToMove__P82562, - "cursorMove": tileworld_LoadScreen_cursorMove__P87684, + "update": tileworld_LoadScreen_update__P6494, + "okToMove": tileworld_RuleVisualsBase_okToMove__P6297, + "cursorMove": tileworld_LoadScreen_cursorMove__P6492, }, iface: { "cursor": null, @@ -84504,27 +84733,27 @@ const tileworld_LoadScreen__C73717_VT = mkVTable({ "set/p": null, "lastDir": null, "set/lastDir": null, - "cursorMove": tileworld_LoadScreen_cursorMove__P87684, - "makeIt": tileworld_LoadScreen_makeIt__P87685, - "update": tileworld_LoadScreen_update__P87686, - "moveInX": tileworld_RuleVisualsBase_moveInX__P82559, - "moveUp": tileworld_RuleVisualsBase_moveUp__P82560, - "moveDown": tileworld_RuleVisualsBase_moveDown__P82561, - "okToMove": tileworld_RuleVisualsBase_okToMove__P82562, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P82563, - "setCol": tileworld_RuleVisualsBase_setCol__P82564, - "setRow": tileworld_RuleVisualsBase_setRow__P82565, - "col": tileworld_RuleVisualsBase_col__P82566, - "row": tileworld_RuleVisualsBase_row__P82567, - "drawImage": tileworld_RuleVisualsBase_drawImage__P82568, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P82569, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P82570, - "fillTile": tileworld_RuleVisualsBase_fillTile__P82571, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P82572, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P82573, + "cursorMove": tileworld_LoadScreen_cursorMove__P6492, + "makeIt": tileworld_LoadScreen_makeIt__P6493, + "update": tileworld_LoadScreen_update__P6494, + "moveInX": tileworld_RuleVisualsBase_moveInX__P6294, + "moveUp": tileworld_RuleVisualsBase_moveUp__P6295, + "moveDown": tileworld_RuleVisualsBase_moveDown__P6296, + "okToMove": tileworld_RuleVisualsBase_okToMove__P6297, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P6298, + "setCol": tileworld_RuleVisualsBase_setCol__P6299, + "setRow": tileworld_RuleVisualsBase_setRow__P6300, + "col": tileworld_RuleVisualsBase_col__P6301, + "row": tileworld_RuleVisualsBase_row__P6302, + "drawImage": tileworld_RuleVisualsBase_drawImage__P6303, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P6304, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P6305, + "fillTile": tileworld_RuleVisualsBase_fillTile__P6306, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P6307, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P6308, }, }); -const tileworld_Project__C73562_VT = mkVTable({ +const tileworld_Project__C3682_VT = mkVTable({ name: "Project", numFields: 12, classNo: 33, @@ -84557,45 +84786,45 @@ const tileworld_Project__C73562_VT = mkVTable({ "set/_backgroundsI": null, "_spritesI": null, "set/_spritesI": null, - "setRules": tileworld_Project_setRules__P73568, - "getRules": tileworld_Project_getRules__P73569, - "setPlayer": tileworld_Project_setPlayer__P73570, - "getPlayer": tileworld_Project_getPlayer__P73571, - "setWorldBackgrounds": tileworld_Project_setWorldBackgrounds__P73572, - "getWorldBackgrounds": tileworld_Project_getWorldBackgrounds__P73573, - "setWorldSprites": tileworld_Project_setWorldSprites__P73574, - "getWorldSprites": tileworld_Project_getWorldSprites__P73575, - "backCnt": tileworld_Project_backCnt__P73576, - "spriteCnt": tileworld_Project_spriteCnt__P73577, - "allCnt": tileworld_Project_allCnt__P73578, - "backgroundImages": tileworld_Project_backgroundImages__P73579, - "spriteImages": tileworld_Project_spriteImages__P73580, - "getBackgroundImage": tileworld_Project_getBackgroundImage__P73581, - "getSpriteImage": tileworld_Project_getSpriteImage__P73582, - "saveBackgroundImage": tileworld_Project_saveBackgroundImage__P73583, - "saveSpriteImage": tileworld_Project_saveSpriteImage__P73584, - "saveRule": tileworld_Project_saveRule__P73585, - "makeRule": tileworld_Project_makeRule__P73586, - "removeRule": tileworld_Project_removeRule__P73587, - "saveWorld": tileworld_Project_saveWorld__P73588, - "saveHelp": tileworld_Project_saveHelp__P73589, - "newHighScore": tileworld_Project_newHighScore__P73590, - "storeRule": tileworld_Project_storeRule__P77990, - "saveProject": tileworld_Project_saveProject__P73591, - "wrapRule": tileworld_Project_wrapRule__P77991, - "getRulesForSpriteKind": tileworld_Project_getRulesForSpriteKind__P73593, + "setRules": tileworld_Project_setRules__P3688, + "getRules": tileworld_Project_getRules__P3689, + "setPlayer": tileworld_Project_setPlayer__P3690, + "getPlayer": tileworld_Project_getPlayer__P3691, + "setWorldBackgrounds": tileworld_Project_setWorldBackgrounds__P3692, + "getWorldBackgrounds": tileworld_Project_getWorldBackgrounds__P3693, + "setWorldSprites": tileworld_Project_setWorldSprites__P3694, + "getWorldSprites": tileworld_Project_getWorldSprites__P3695, + "backCnt": tileworld_Project_backCnt__P3696, + "spriteCnt": tileworld_Project_spriteCnt__P3697, + "allCnt": tileworld_Project_allCnt__P3698, + "backgroundImages": tileworld_Project_backgroundImages__P3699, + "spriteImages": tileworld_Project_spriteImages__P3700, + "getBackgroundImage": tileworld_Project_getBackgroundImage__P3701, + "getSpriteImage": tileworld_Project_getSpriteImage__P3702, + "saveBackgroundImage": tileworld_Project_saveBackgroundImage__P3703, + "saveSpriteImage": tileworld_Project_saveSpriteImage__P3704, + "saveRule": tileworld_Project_saveRule__P3705, + "makeRule": tileworld_Project_makeRule__P3706, + "removeRule": tileworld_Project_removeRule__P3707, + "saveWorld": tileworld_Project_saveWorld__P3708, + "saveHelp": tileworld_Project_saveHelp__P3709, + "newHighScore": tileworld_Project_newHighScore__P3710, + "storeRule": tileworld_Project_storeRule__P5999, + "saveProject": tileworld_Project_saveProject__P3711, + "wrapRule": tileworld_Project_wrapRule__P6000, + "getRulesForSpriteKind": tileworld_Project_getRulesForSpriteKind__P3713, }, }); -const tileworld_GameHome__C73714_VT = mkVTable({ +const tileworld_GameHome__C3834_VT = mkVTable({ name: "GameHome", numFields: 6, classNo: 23, lastSubtypeNo: 23, maxBgInstances: null, methods: { - "update": tileworld_GameHome_update__P87394, - "okToMove": tileworld_RuleVisualsBase_okToMove__P82562, - "cursorMove": tileworld_GameHome_cursorMove__P87393, + "update": tileworld_GameHome_update__P6484, + "okToMove": tileworld_RuleVisualsBase_okToMove__P6297, + "cursorMove": tileworld_GameHome_cursorMove__P6483, }, iface: { "cursor": null, @@ -84610,35 +84839,35 @@ const tileworld_GameHome__C73714_VT = mkVTable({ "set/dirMap": null, "p": null, "set/p": null, - "cursorMove": tileworld_GameHome_cursorMove__P87393, - "update": tileworld_GameHome_update__P87394, - "moveInX": tileworld_RuleVisualsBase_moveInX__P82559, - "moveUp": tileworld_RuleVisualsBase_moveUp__P82560, - "moveDown": tileworld_RuleVisualsBase_moveDown__P82561, - "okToMove": tileworld_RuleVisualsBase_okToMove__P82562, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P82563, - "setCol": tileworld_RuleVisualsBase_setCol__P82564, - "setRow": tileworld_RuleVisualsBase_setRow__P82565, - "col": tileworld_RuleVisualsBase_col__P82566, - "row": tileworld_RuleVisualsBase_row__P82567, - "drawImage": tileworld_RuleVisualsBase_drawImage__P82568, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P82569, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P82570, - "fillTile": tileworld_RuleVisualsBase_fillTile__P82571, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P82572, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P82573, + "cursorMove": tileworld_GameHome_cursorMove__P6483, + "update": tileworld_GameHome_update__P6484, + "moveInX": tileworld_RuleVisualsBase_moveInX__P6294, + "moveUp": tileworld_RuleVisualsBase_moveUp__P6295, + "moveDown": tileworld_RuleVisualsBase_moveDown__P6296, + "okToMove": tileworld_RuleVisualsBase_okToMove__P6297, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P6298, + "setCol": tileworld_RuleVisualsBase_setCol__P6299, + "setRow": tileworld_RuleVisualsBase_setRow__P6300, + "col": tileworld_RuleVisualsBase_col__P6301, + "row": tileworld_RuleVisualsBase_row__P6302, + "drawImage": tileworld_RuleVisualsBase_drawImage__P6303, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P6304, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P6305, + "fillTile": tileworld_RuleVisualsBase_fillTile__P6306, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P6307, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P6308, }, }); -const tileworld_ProjectSettings__C73711_VT = mkVTable({ +const tileworld_ProjectSettings__C3831_VT = mkVTable({ name: "ProjectSettings", numFields: 7, classNo: 24, lastSubtypeNo: 24, maxBgInstances: null, methods: { - "update": tileworld_ProjectSettings_update__P87159, - "okToMove": tileworld_RuleVisualsBase_okToMove__P82562, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P82574, + "update": tileworld_ProjectSettings_update__P6474, + "okToMove": tileworld_RuleVisualsBase_okToMove__P6297, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P6309, }, iface: { "cursor": null, @@ -84655,62 +84884,62 @@ const tileworld_ProjectSettings__C73711_VT = mkVTable({ "set/p": null, "askDeleteRule": null, "set/askDeleteRule": null, - "update": tileworld_ProjectSettings_update__P87159, - "moveInX": tileworld_RuleVisualsBase_moveInX__P82559, - "moveUp": tileworld_RuleVisualsBase_moveUp__P82560, - "moveDown": tileworld_RuleVisualsBase_moveDown__P82561, - "okToMove": tileworld_RuleVisualsBase_okToMove__P82562, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P82563, - "setCol": tileworld_RuleVisualsBase_setCol__P82564, - "setRow": tileworld_RuleVisualsBase_setRow__P82565, - "col": tileworld_RuleVisualsBase_col__P82566, - "row": tileworld_RuleVisualsBase_row__P82567, - "drawImage": tileworld_RuleVisualsBase_drawImage__P82568, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P82569, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P82570, - "fillTile": tileworld_RuleVisualsBase_fillTile__P82571, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P82572, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P82573, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P82574, + "update": tileworld_ProjectSettings_update__P6474, + "moveInX": tileworld_RuleVisualsBase_moveInX__P6294, + "moveUp": tileworld_RuleVisualsBase_moveUp__P6295, + "moveDown": tileworld_RuleVisualsBase_moveDown__P6296, + "okToMove": tileworld_RuleVisualsBase_okToMove__P6297, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P6298, + "setCol": tileworld_RuleVisualsBase_setCol__P6299, + "setRow": tileworld_RuleVisualsBase_setRow__P6300, + "col": tileworld_RuleVisualsBase_col__P6301, + "row": tileworld_RuleVisualsBase_row__P6302, + "drawImage": tileworld_RuleVisualsBase_drawImage__P6303, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P6304, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P6305, + "fillTile": tileworld_RuleVisualsBase_fillTile__P6306, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P6307, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P6308, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P6309, }, }); -const sprites_BaseSprite__C71738_VT = mkVTable({ +const sprites_BaseSprite__C1858_VT = mkVTable({ name: "BaseSprite", numFields: 2, classNo: 34, lastSubtypeNo: 38, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P71741, - "__draw": sprites_BaseSprite___draw__P71744, - "__drawCore": sprites_BaseSprite___drawCore__P71745, - "__update": sprites_BaseSprite___update__P71746, + "__visible": sprites_BaseSprite___visible__P1861, + "__draw": sprites_BaseSprite___draw__P1864, + "__drawCore": sprites_BaseSprite___drawCore__P1865, + "__update": sprites_BaseSprite___update__P1866, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__visible": sprites_BaseSprite___visible__P71741, - "z": sprites_BaseSprite_z__P71742, - "set/z": sprites_BaseSprite_z__P71743, - "__draw": sprites_BaseSprite___draw__P71744, - "__drawCore": sprites_BaseSprite___drawCore__P71745, - "__update": sprites_BaseSprite___update__P71746, + "__visible": sprites_BaseSprite___visible__P1861, + "z": sprites_BaseSprite_z__P1862, + "set/z": sprites_BaseSprite_z__P1863, + "__draw": sprites_BaseSprite___draw__P1864, + "__drawCore": sprites_BaseSprite___drawCore__P1865, + "__update": sprites_BaseSprite___update__P1866, }, }); -const Sprite__C71896_VT = mkVTable({ +const Sprite__C2016_VT = mkVTable({ name: "Sprite", numFields: 26, classNo: 35, lastSubtypeNo: 36, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P71939, - "__draw": sprites_BaseSprite___draw__P71744, - "__drawCore": Sprite___drawCore__P71957, - "__update": Sprite___update__P71958, - "isOutOfScreen": Sprite_isOutOfScreen__P71956, + "__visible": Sprite___visible__P2059, + "__draw": sprites_BaseSprite___draw__P1864, + "__drawCore": Sprite___drawCore__P2077, + "__update": Sprite___update__P2078, + "isOutOfScreen": Sprite_isOutOfScreen__P2076, }, iface: { "_z": null, @@ -84765,59 +84994,59 @@ const Sprite__C71896_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "x": Sprite_x__P71905, - "set/x": Sprite_x__P71906, - "y": Sprite_y__P71907, - "set/y": Sprite_y__P71908, - "vx": Sprite_vx__P71909, - "set/vx": Sprite_vx__P71910, - "vy": Sprite_vy__P71911, - "set/vy": Sprite_vy__P71912, - "ax": Sprite_ax__P71913, - "set/ax": Sprite_ax__P71914, - "ay": Sprite_ay__P71915, - "set/ay": Sprite_ay__P71916, - "fx": Sprite_fx__P71917, - "set/fx": Sprite_fx__P71918, - "fy": Sprite_fy__P71919, - "set/fy": Sprite_fy__P71920, - "data": Sprite_data__P71921, - "set/data": Sprite_data__P71922, - "image": Sprite_image__P71935, - "setImage": Sprite_setImage__P71936, - "setHitbox": Sprite_setHitbox__P71937, - "isStatic": Sprite_isStatic__P71938, - "__visible": Sprite___visible__P71939, - "width": Sprite_width__P71940, - "height": Sprite_height__P71941, - "left": Sprite_left__P71942, - "set/left": Sprite_left__P71943, - "right": Sprite_right__P71944, - "set/right": Sprite_right__P71945, - "top": Sprite_top__P71946, - "set/top": Sprite_top__P71947, - "bottom": Sprite_bottom__P71948, - "set/bottom": Sprite_bottom__P71949, - "kind": Sprite_kind__P71950, - "setKind": Sprite_setKind__P71951, - "say": Sprite_say__P71954, - "isOutOfScreen": Sprite_isOutOfScreen__P71956, - "__drawCore": Sprite___drawCore__P71957, - "__update": Sprite___update__P71958, - "setFlag": Sprite_setFlag__P71959, - "overlapsWith": Sprite_overlapsWith__P71960, - "clearObstacles": Sprite_clearObstacles__P71964, - "registerObstacle": Sprite_registerObstacle__P71965, - "destroy": Sprite_destroy__P71967, - "_destroyCore": Sprite__destroyCore__P71968, - "toString": Sprite_toString__P71970, - "z": sprites_BaseSprite_z__P71742, - "set/z": sprites_BaseSprite_z__P71743, - "__draw": sprites_BaseSprite___draw__P71744, + "x": Sprite_x__P2025, + "set/x": Sprite_x__P2026, + "y": Sprite_y__P2027, + "set/y": Sprite_y__P2028, + "vx": Sprite_vx__P2029, + "set/vx": Sprite_vx__P2030, + "vy": Sprite_vy__P2031, + "set/vy": Sprite_vy__P2032, + "ax": Sprite_ax__P2033, + "set/ax": Sprite_ax__P2034, + "ay": Sprite_ay__P2035, + "set/ay": Sprite_ay__P2036, + "fx": Sprite_fx__P2037, + "set/fx": Sprite_fx__P2038, + "fy": Sprite_fy__P2039, + "set/fy": Sprite_fy__P2040, + "data": Sprite_data__P2041, + "set/data": Sprite_data__P2042, + "image": Sprite_image__P2055, + "setImage": Sprite_setImage__P2056, + "setHitbox": Sprite_setHitbox__P2057, + "isStatic": Sprite_isStatic__P2058, + "__visible": Sprite___visible__P2059, + "width": Sprite_width__P2060, + "height": Sprite_height__P2061, + "left": Sprite_left__P2062, + "set/left": Sprite_left__P2063, + "right": Sprite_right__P2064, + "set/right": Sprite_right__P2065, + "top": Sprite_top__P2066, + "set/top": Sprite_top__P2067, + "bottom": Sprite_bottom__P2068, + "set/bottom": Sprite_bottom__P2069, + "kind": Sprite_kind__P2070, + "setKind": Sprite_setKind__P2071, + "say": Sprite_say__P2074, + "isOutOfScreen": Sprite_isOutOfScreen__P2076, + "__drawCore": Sprite___drawCore__P2077, + "__update": Sprite___update__P2078, + "setFlag": Sprite_setFlag__P2079, + "overlapsWith": Sprite_overlapsWith__P2080, + "clearObstacles": Sprite_clearObstacles__P2084, + "registerObstacle": Sprite_registerObstacle__P2085, + "destroy": Sprite_destroy__P2087, + "_destroyCore": Sprite__destroyCore__P2088, + "toString": Sprite_toString__P2090, + "z": sprites_BaseSprite_z__P1862, + "set/z": sprites_BaseSprite_z__P1863, + "__draw": sprites_BaseSprite___draw__P1864, }, - toStringMethod: Sprite_toString__P71970, + toStringMethod: Sprite_toString__P2090, }); -const scene_Scene__C72296_VT = mkVTable({ +const scene_Scene__C2416_VT = mkVTable({ name: "Scene", numFields: 23, classNo: 39, @@ -84872,14 +85101,14 @@ const scene_Scene__C72296_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "init": scene_Scene_init__P72318, - "data": scene_Scene_data__P72319, - "millis": scene_Scene_millis__P72320, - "addSprite": scene_Scene_addSprite__P72321, - "render": scene_Scene_render__P72323, + "init": scene_Scene_init__P2438, + "data": scene_Scene_data__P2439, + "millis": scene_Scene_millis__P2440, + "addSprite": scene_Scene_addSprite__P2441, + "render": scene_Scene_render__P2443, }, }); -const effects_ImageEffect__C72693_VT = mkVTable({ +const effects_ImageEffect__C2813_VT = mkVTable({ name: "ImageEffect", numFields: 4, classNo: 40, @@ -84896,11 +85125,11 @@ const effects_ImageEffect__C72693_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P72695, - "change": effects_ImageEffect_change__P72696, + "applyTo": effects_ImageEffect_applyTo__P2815, + "change": effects_ImageEffect_change__P2816, }, }); -const effects_ParticleEffect__C72666_VT = mkVTable({ +const effects_ParticleEffect__C2786_VT = mkVTable({ name: "ParticleEffect", numFields: 3, classNo: 41, @@ -84915,11 +85144,11 @@ const effects_ParticleEffect__C72666_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P72668, - "destroy": effects_ParticleEffect_destroy__P72669, + "start": effects_ParticleEffect_start__P2788, + "destroy": effects_ParticleEffect_destroy__P2789, }, }); -const effects_ScreenEffect__C72670_VT = mkVTable({ +const effects_ScreenEffect__C2790_VT = mkVTable({ name: "ScreenEffect", numFields: 5, classNo: 42, @@ -84938,34 +85167,34 @@ const effects_ScreenEffect__C72670_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "start": effects_ParticleEffect_start__P72668, - "destroy": effects_ParticleEffect_destroy__P72669, + "start": effects_ParticleEffect_start__P2788, + "destroy": effects_ParticleEffect_destroy__P2789, }, }); -const particles_ParticleFactory__C72591_VT = mkVTable({ +const particles_ParticleFactory__C2711_VT = mkVTable({ name: "ParticleFactory", numFields: 0, classNo: 43, lastSubtypeNo: 47, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P72593, - "drawParticle": particles_ParticleFactory_drawParticle__P72594, + "createParticle": particles_ParticleFactory_createParticle__P2713, + "drawParticle": particles_ParticleFactory_drawParticle__P2714, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P72593, - "drawParticle": particles_ParticleFactory_drawParticle__P72594, + "createParticle": particles_ParticleFactory_createParticle__P2713, + "drawParticle": particles_ParticleFactory_drawParticle__P2714, }, }); -const particles_SprayFactory__C72595_VT = mkVTable({ +const particles_SprayFactory__C2715_VT = mkVTable({ name: "SprayFactory", numFields: 3, classNo: 44, lastSubtypeNo: 47, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P72597, - "drawParticle": particles_SprayFactory_drawParticle__P72598, + "createParticle": particles_SprayFactory_createParticle__P2717, + "drawParticle": particles_SprayFactory_drawParticle__P2718, }, iface: { "speed": null, @@ -84974,21 +85203,21 @@ const particles_SprayFactory__C72595_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P72597, - "drawParticle": particles_SprayFactory_drawParticle__P72598, - "setSpeed": particles_SprayFactory_setSpeed__P72599, - "setDirection": particles_SprayFactory_setDirection__P72600, + "createParticle": particles_SprayFactory_createParticle__P2717, + "drawParticle": particles_SprayFactory_drawParticle__P2718, + "setSpeed": particles_SprayFactory_setSpeed__P2719, + "setDirection": particles_SprayFactory_setDirection__P2720, }, }); -const particles_AreaFactory__C72601_VT = mkVTable({ +const particles_AreaFactory__C2721_VT = mkVTable({ name: "AreaFactory", numFields: 8, classNo: 45, lastSubtypeNo: 47, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P72607, - "drawParticle": particles_AreaFactory_drawParticle__P72608, + "createParticle": particles_AreaFactory_createParticle__P2727, + "drawParticle": particles_AreaFactory_drawParticle__P2728, }, iface: { "speed": null, @@ -85007,21 +85236,21 @@ const particles_AreaFactory__C72601_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P72607, - "drawParticle": particles_AreaFactory_drawParticle__P72608, - "setSpeed": particles_SprayFactory_setSpeed__P72599, - "setDirection": particles_SprayFactory_setDirection__P72600, + "createParticle": particles_AreaFactory_createParticle__P2727, + "drawParticle": particles_AreaFactory_drawParticle__P2728, + "setSpeed": particles_SprayFactory_setSpeed__P2719, + "setDirection": particles_SprayFactory_setDirection__P2720, }, }); -const particles_ShapeFactory__C72617_VT = mkVTable({ +const particles_ShapeFactory__C2737_VT = mkVTable({ name: "ShapeFactory", numFields: 11, classNo: 46, lastSubtypeNo: 47, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P72621, - "drawParticle": particles_ShapeFactory_drawParticle__P72620, + "createParticle": particles_ShapeFactory_createParticle__P2741, + "drawParticle": particles_ShapeFactory_drawParticle__P2740, }, iface: { "speed": null, @@ -85046,22 +85275,22 @@ const particles_ShapeFactory__C72617_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P72619, - "drawParticle": particles_ShapeFactory_drawParticle__P72620, - "createParticle": particles_ShapeFactory_createParticle__P72621, - "setSpeed": particles_SprayFactory_setSpeed__P72599, - "setDirection": particles_SprayFactory_setDirection__P72600, + "addShape": particles_ShapeFactory_addShape__P2739, + "drawParticle": particles_ShapeFactory_drawParticle__P2740, + "createParticle": particles_ShapeFactory_createParticle__P2741, + "setSpeed": particles_SprayFactory_setSpeed__P2719, + "setDirection": particles_SprayFactory_setDirection__P2720, }, }); -const particles_ConfettiFactory__C72622_VT = mkVTable({ +const particles_ConfettiFactory__C2742_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, classNo: 47, lastSubtypeNo: 47, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P72621, - "drawParticle": particles_ShapeFactory_drawParticle__P72620, + "createParticle": particles_ShapeFactory_createParticle__P2741, + "drawParticle": particles_ShapeFactory_drawParticle__P2740, }, iface: { "speed": null, @@ -85086,25 +85315,25 @@ const particles_ConfettiFactory__C72622_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P72619, - "drawParticle": particles_ShapeFactory_drawParticle__P72620, - "createParticle": particles_ShapeFactory_createParticle__P72621, - "setSpeed": particles_SprayFactory_setSpeed__P72599, - "setDirection": particles_SprayFactory_setDirection__P72600, + "addShape": particles_ShapeFactory_addShape__P2739, + "drawParticle": particles_ShapeFactory_drawParticle__P2740, + "createParticle": particles_ShapeFactory_createParticle__P2741, + "setSpeed": particles_SprayFactory_setSpeed__P2719, + "setDirection": particles_SprayFactory_setDirection__P2720, }, }); -const particles_ParticleSource__C72555_VT = mkVTable({ +const particles_ParticleSource__C2675_VT = mkVTable({ name: "ParticleSource", numFields: 13, classNo: 37, lastSubtypeNo: 37, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P71741, - "__draw": particles_ParticleSource___draw__P72561, - "__drawCore": sprites_BaseSprite___drawCore__P71745, - "__update": sprites_BaseSprite___update__P71746, - "updateParticle": particles_ParticleSource_updateParticle__P74517, + "__visible": sprites_BaseSprite___visible__P1861, + "__draw": particles_ParticleSource___draw__P2681, + "__drawCore": sprites_BaseSprite___drawCore__P1865, + "__update": sprites_BaseSprite___update__P1866, + "updateParticle": particles_ParticleSource_updateParticle__P4637, }, iface: { "_z": null, @@ -85133,28 +85362,28 @@ const particles_ParticleSource__C72555_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__draw": particles_ParticleSource___draw__P72561, - "_update": particles_ParticleSource__update__P72562, - "_prune": particles_ParticleSource__prune__P72563, - "setAcceleration": particles_ParticleSource_setAcceleration__P72564, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P72566, - "enabled": particles_ParticleSource_enabled__P72567, - "set/enabled": particles_ParticleSource_enabled__P72568, - "destroy": particles_ParticleSource_destroy__P72569, - "clear": particles_ParticleSource_clear__P72570, - "setAnchor": particles_ParticleSource_setAnchor__P72571, - "setRate": particles_ParticleSource_setRate__P72572, - "setFactory": particles_ParticleSource_setFactory__P72574, - "updateParticle": particles_ParticleSource_updateParticle__P74517, - "drawParticle": particles_ParticleSource_drawParticle__P74518, - "__visible": sprites_BaseSprite___visible__P71741, - "z": sprites_BaseSprite_z__P71742, - "set/z": sprites_BaseSprite_z__P71743, - "__drawCore": sprites_BaseSprite___drawCore__P71745, - "__update": sprites_BaseSprite___update__P71746, + "__draw": particles_ParticleSource___draw__P2681, + "_update": particles_ParticleSource__update__P2682, + "_prune": particles_ParticleSource__prune__P2683, + "setAcceleration": particles_ParticleSource_setAcceleration__P2684, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P2686, + "enabled": particles_ParticleSource_enabled__P2687, + "set/enabled": particles_ParticleSource_enabled__P2688, + "destroy": particles_ParticleSource_destroy__P2689, + "clear": particles_ParticleSource_clear__P2690, + "setAnchor": particles_ParticleSource_setAnchor__P2691, + "setRate": particles_ParticleSource_setRate__P2692, + "setFactory": particles_ParticleSource_setFactory__P2694, + "updateParticle": particles_ParticleSource_updateParticle__P4637, + "drawParticle": particles_ParticleSource_drawParticle__P4638, + "__visible": sprites_BaseSprite___visible__P1861, + "z": sprites_BaseSprite_z__P1862, + "set/z": sprites_BaseSprite_z__P1863, + "__drawCore": sprites_BaseSprite___drawCore__P1865, + "__update": sprites_BaseSprite___update__P1866, }, }); -const particles_Particle__C72536_VT = mkVTable({ +const particles_Particle__C2656_VT = mkVTable({ name: "Particle", numFields: 8, classNo: 48, @@ -85181,7 +85410,7 @@ const particles_Particle__C72536_VT = mkVTable({ "set/color": null, }, }); -const control_EventContext__C70264_VT = mkVTable({ +const control_EventContext__C384_VT = mkVTable({ name: "EventContext", numFields: 9, classNo: 49, @@ -85208,16 +85437,16 @@ const control_EventContext__C70264_VT = mkVTable({ "set/idleCallbacks": null, "runningCallbacks": null, "set/runningCallbacks": null, - "deltaTime": control_EventContext_deltaTime__P70269, - "runCallbacks": control_EventContext_runCallbacks__P73843, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P73844, - "register": control_EventContext_register__P70270, - "unregister": control_EventContext_unregister__P70271, - "registerFrameHandler": control_EventContext_registerFrameHandler__P70272, - "registerHandler": control_EventContext_registerHandler__P70274, + "deltaTime": control_EventContext_deltaTime__P389, + "runCallbacks": control_EventContext_runCallbacks__P3963, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P3964, + "register": control_EventContext_register__P390, + "unregister": control_EventContext_unregister__P391, + "registerFrameHandler": control_EventContext_registerFrameHandler__P392, + "registerHandler": control_EventContext_registerHandler__P394, }, }); -const control_FrameCallback__C70261_VT = mkVTable({ +const control_FrameCallback__C381_VT = mkVTable({ name: "FrameCallback", numFields: 2, classNo: 50, @@ -85232,7 +85461,7 @@ const control_FrameCallback__C70261_VT = mkVTable({ "set/handler": null, }, }); -const control_PollEvent__C73817_VT = mkVTable({ +const control_PollEvent__C3937_VT = mkVTable({ name: "PollEvent", numFields: 6, classNo: 51, @@ -85255,7 +85484,7 @@ const control_PollEvent__C73817_VT = mkVTable({ "set/once": null, }, }); -const control_EventHandler__C73838_VT = mkVTable({ +const control_EventHandler__C3958_VT = mkVTable({ name: "EventHandler", numFields: 4, classNo: 52, @@ -85272,32 +85501,32 @@ const control_EventHandler__C73838_VT = mkVTable({ "set/handler": null, "flags": null, "set/flags": null, - "register": control_EventHandler_register__P73839, - "unregister": control_EventHandler_unregister__P73840, + "register": control_EventHandler_register__P3959, + "unregister": control_EventHandler_unregister__P3960, }, }); -const PhysicsEngine__C72039_VT = mkVTable({ +const PhysicsEngine__C2159_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, classNo: 53, lastSubtypeNo: 54, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P72041, - "removeSprite": PhysicsEngine_removeSprite__P72042, - "moveSprite": PhysicsEngine_moveSprite__P72043, - "draw": PhysicsEngine_draw__P72044, - "move": PhysicsEngine_move__P72045, + "addSprite": PhysicsEngine_addSprite__P2161, + "removeSprite": PhysicsEngine_removeSprite__P2162, + "moveSprite": PhysicsEngine_moveSprite__P2163, + "draw": PhysicsEngine_draw__P2164, + "move": PhysicsEngine_move__P2165, }, iface: { - "addSprite": PhysicsEngine_addSprite__P72041, - "removeSprite": PhysicsEngine_removeSprite__P72042, - "moveSprite": PhysicsEngine_moveSprite__P72043, - "draw": PhysicsEngine_draw__P72044, - "move": PhysicsEngine_move__P72045, + "addSprite": PhysicsEngine_addSprite__P2161, + "removeSprite": PhysicsEngine_removeSprite__P2162, + "moveSprite": PhysicsEngine_moveSprite__P2163, + "draw": PhysicsEngine_draw__P2164, + "move": PhysicsEngine_move__P2165, }, }); -const scene_Camera__C72237_VT = mkVTable({ +const scene_Camera__C2357_VT = mkVTable({ name: "Camera", numFields: 8, classNo: 55, @@ -85322,18 +85551,18 @@ const scene_Camera__C72237_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "offsetX": scene_Camera_offsetX__P72242, - "set/offsetX": scene_Camera_offsetX__P72243, - "offsetY": scene_Camera_offsetY__P72244, - "set/offsetY": scene_Camera_offsetY__P72245, - "x": scene_Camera_x__P72246, - "y": scene_Camera_y__P72247, - "left": scene_Camera_left__P72248, - "top": scene_Camera_top__P72250, - "update": scene_Camera_update__P72253, + "offsetX": scene_Camera_offsetX__P2362, + "set/offsetX": scene_Camera_offsetX__P2363, + "offsetY": scene_Camera_offsetY__P2364, + "set/offsetY": scene_Camera_offsetY__P2365, + "x": scene_Camera_x__P2366, + "y": scene_Camera_y__P2367, + "left": scene_Camera_left__P2368, + "top": scene_Camera_top__P2370, + "update": scene_Camera_update__P2373, }, }); -const scene_Background__C72145_VT = mkVTable({ +const scene_Background__C2265_VT = mkVTable({ name: "Background", numFields: 4, classNo: 56, @@ -85350,10 +85579,10 @@ const scene_Background__C72145_VT = mkVTable({ "set/camera": null, "_layers": null, "set/_layers": null, - "draw": scene_Background_draw__P72154, + "draw": scene_Background_draw__P2274, }, }); -const scene_BackgroundLayer__C72155_VT = mkVTable({ +const scene_BackgroundLayer__C2275_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, classNo: 57, @@ -85374,32 +85603,32 @@ const scene_BackgroundLayer__C72155_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P72163, + "draw": scene_BackgroundLayer_draw__P2283, }, }); -const tiles_TileMap__C72197_VT = mkVTable({ +const tiles_TileMap__C2317_VT = mkVTable({ name: "TileMap", numFields: 3, classNo: 58, lastSubtypeNo: 59, maxBgInstances: null, methods: { - "data": tiles_TileMap_data__P74106, - "offsetX": tiles_TileMap_offsetX__P72201, - "offsetY": tiles_TileMap_offsetY__P72202, - "areaWidth": tiles_TileMap_areaWidth__P72203, - "areaHeight": tiles_TileMap_areaHeight__P72204, - "layer": tiles_TileMap_layer__P72205, - "enabled": tiles_TileMap_enabled__P72207, - "getTile": tiles_TileMap_getTile__P72209, - "getTileIndex": tiles_TileMap_getTileIndex__P72210, - "setTileAt": tiles_TileMap_setTileAt__P72211, - "isInvalidIndex": tiles_TileMap_isInvalidIndex__P74107, - "draw": tiles_TileMap_draw__P74108, - "isObstacle": tiles_TileMap_isObstacle__P72216, - "getObstacle": tiles_TileMap_getObstacle__P72217, - "isOnWall": tiles_TileMap_isOnWall__P72218, - "getTileImage": tiles_TileMap_getTileImage__P72219, + "data": tiles_TileMap_data__P4226, + "offsetX": tiles_TileMap_offsetX__P2321, + "offsetY": tiles_TileMap_offsetY__P2322, + "areaWidth": tiles_TileMap_areaWidth__P2323, + "areaHeight": tiles_TileMap_areaHeight__P2324, + "layer": tiles_TileMap_layer__P2325, + "enabled": tiles_TileMap_enabled__P2327, + "getTile": tiles_TileMap_getTile__P2329, + "getTileIndex": tiles_TileMap_getTileIndex__P2330, + "setTileAt": tiles_TileMap_setTileAt__P2331, + "isInvalidIndex": tiles_TileMap_isInvalidIndex__P4227, + "draw": tiles_TileMap_draw__P4228, + "isObstacle": tiles_TileMap_isObstacle__P2336, + "getObstacle": tiles_TileMap_getObstacle__P2337, + "isOnWall": tiles_TileMap_isOnWall__P2338, + "getTileImage": tiles_TileMap_getTileImage__P2339, }, iface: { "_scale": null, @@ -85408,27 +85637,27 @@ const tiles_TileMap__C72197_VT = mkVTable({ "set/_layer": null, "_map": null, "set/_map": null, - "scale": tiles_TileMap_scale__P72199, - "set/scale": tiles_TileMap_scale__P72200, - "data": tiles_TileMap_data__P74106, - "offsetX": tiles_TileMap_offsetX__P72201, - "offsetY": tiles_TileMap_offsetY__P72202, - "areaWidth": tiles_TileMap_areaWidth__P72203, - "areaHeight": tiles_TileMap_areaHeight__P72204, - "layer": tiles_TileMap_layer__P72205, - "enabled": tiles_TileMap_enabled__P72207, - "getTile": tiles_TileMap_getTile__P72209, - "getTileIndex": tiles_TileMap_getTileIndex__P72210, - "setTileAt": tiles_TileMap_setTileAt__P72211, - "isInvalidIndex": tiles_TileMap_isInvalidIndex__P74107, - "draw": tiles_TileMap_draw__P74108, - "isObstacle": tiles_TileMap_isObstacle__P72216, - "getObstacle": tiles_TileMap_getObstacle__P72217, - "isOnWall": tiles_TileMap_isOnWall__P72218, - "getTileImage": tiles_TileMap_getTileImage__P72219, + "scale": tiles_TileMap_scale__P2319, + "set/scale": tiles_TileMap_scale__P2320, + "data": tiles_TileMap_data__P4226, + "offsetX": tiles_TileMap_offsetX__P2321, + "offsetY": tiles_TileMap_offsetY__P2322, + "areaWidth": tiles_TileMap_areaWidth__P2323, + "areaHeight": tiles_TileMap_areaHeight__P2324, + "layer": tiles_TileMap_layer__P2325, + "enabled": tiles_TileMap_enabled__P2327, + "getTile": tiles_TileMap_getTile__P2329, + "getTileIndex": tiles_TileMap_getTileIndex__P2330, + "setTileAt": tiles_TileMap_setTileAt__P2331, + "isInvalidIndex": tiles_TileMap_isInvalidIndex__P4227, + "draw": tiles_TileMap_draw__P4228, + "isObstacle": tiles_TileMap_isObstacle__P2336, + "getObstacle": tiles_TileMap_getObstacle__P2337, + "isOnWall": tiles_TileMap_isOnWall__P2338, + "getTileImage": tiles_TileMap_getTileImage__P2339, }, }); -const tiles_TileMapData__C72184_VT = mkVTable({ +const tiles_TileMapData__C2304_VT = mkVTable({ name: "TileMapData", numFields: 7, classNo: 60, @@ -85451,18 +85680,18 @@ const tiles_TileMapData__C72184_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "width": tiles_TileMapData_width__P72186, - "height": tiles_TileMapData_height__P72187, - "scale": tiles_TileMapData_scale__P72188, - "set/scale": tiles_TileMapData_scale__P72189, - "getTile": tiles_TileMapData_getTile__P72190, - "setTile": tiles_TileMapData_setTile__P72191, - "getTileImage": tiles_TileMapData_getTileImage__P72193, - "isWall": tiles_TileMapData_isWall__P72195, - "isOutsideMap": tiles_TileMapData_isOutsideMap__P72196, + "width": tiles_TileMapData_width__P2306, + "height": tiles_TileMapData_height__P2307, + "scale": tiles_TileMapData_scale__P2308, + "set/scale": tiles_TileMapData_scale__P2309, + "getTile": tiles_TileMapData_getTile__P2310, + "setTile": tiles_TileMapData_setTile__P2311, + "getTileImage": tiles_TileMapData_getTileImage__P2313, + "isWall": tiles_TileMapData_isWall__P2315, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P2316, }, }); -const controller_Controller__C71803_VT = mkVTable({ +const controller_Controller__C1923_VT = mkVTable({ name: "Controller", numFields: 5, classNo: 61, @@ -85481,32 +85710,32 @@ const controller_Controller__C71803_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_controlledSprites": controller_Controller__controlledSprites__P71808, - "set/_controlledSprites": controller_Controller__controlledSprites__P71809, - "id": controller_Controller_id__P71810, - "left": controller_Controller_left__P71812, - "right": controller_Controller_right__P71813, - "up": controller_Controller_up__P71814, - "down": controller_Controller_down__P71815, - "button": controller_Controller_button__P74006, - "connected": controller_Controller_connected__P71822, - "set/connected": controller_Controller_connected__P71823, - "__preUpdate": controller_Controller___preUpdate__P71827, - "__update": controller_Controller___update__P71828, + "_controlledSprites": controller_Controller__controlledSprites__P1928, + "set/_controlledSprites": controller_Controller__controlledSprites__P1929, + "id": controller_Controller_id__P1930, + "left": controller_Controller_left__P1932, + "right": controller_Controller_right__P1933, + "up": controller_Controller_up__P1934, + "down": controller_Controller_down__P1935, + "button": controller_Controller_button__P4126, + "connected": controller_Controller_connected__P1942, + "set/connected": controller_Controller_connected__P1943, + "__preUpdate": controller_Controller___preUpdate__P1947, + "__update": controller_Controller___update__P1948, }, }); -const ArcadePhysicsEngine__C72053_VT = mkVTable({ +const ArcadePhysicsEngine__C2173_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, classNo: 54, lastSubtypeNo: 54, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P72062, - "removeSprite": ArcadePhysicsEngine_removeSprite__P72063, - "moveSprite": ArcadePhysicsEngine_moveSprite__P72067, - "draw": ArcadePhysicsEngine_draw__P72064, - "move": ArcadePhysicsEngine_move__P72065, + "addSprite": ArcadePhysicsEngine_addSprite__P2182, + "removeSprite": ArcadePhysicsEngine_removeSprite__P2183, + "moveSprite": ArcadePhysicsEngine_moveSprite__P2187, + "draw": ArcadePhysicsEngine_draw__P2184, + "move": ArcadePhysicsEngine_move__P2185, }, iface: { "sprites": null, @@ -85521,26 +85750,26 @@ const ArcadePhysicsEngine__C72053_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "maxSpeed": ArcadePhysicsEngine_maxSpeed__P72055, - "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P72056, - "minStep": ArcadePhysicsEngine_minStep__P72057, - "set/minStep": ArcadePhysicsEngine_minStep__P72058, - "maxStep": ArcadePhysicsEngine_maxStep__P72059, - "set/maxStep": ArcadePhysicsEngine_maxStep__P72060, - "addSprite": ArcadePhysicsEngine_addSprite__P72062, - "removeSprite": ArcadePhysicsEngine_removeSprite__P72063, - "draw": ArcadePhysicsEngine_draw__P72064, - "move": ArcadePhysicsEngine_move__P72065, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P74035, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P74036, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P74037, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P74038, - "moveSprite": ArcadePhysicsEngine_moveSprite__P72067, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P74039, - "constrain": ArcadePhysicsEngine_constrain__P74040, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P2175, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P2176, + "minStep": ArcadePhysicsEngine_minStep__P2177, + "set/minStep": ArcadePhysicsEngine_minStep__P2178, + "maxStep": ArcadePhysicsEngine_maxStep__P2179, + "set/maxStep": ArcadePhysicsEngine_maxStep__P2180, + "addSprite": ArcadePhysicsEngine_addSprite__P2182, + "removeSprite": ArcadePhysicsEngine_removeSprite__P2183, + "draw": ArcadePhysicsEngine_draw__P2184, + "move": ArcadePhysicsEngine_move__P2185, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P4155, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P4156, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P4157, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P4158, + "moveSprite": ArcadePhysicsEngine_moveSprite__P2187, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P4159, + "constrain": ArcadePhysicsEngine_constrain__P4160, }, }); -const sprites_SpriteMap__C71974_VT = mkVTable({ +const sprites_SpriteMap__C2094_VT = mkVTable({ name: "SpriteMap", numFields: 5, classNo: 62, @@ -85559,20 +85788,20 @@ const sprites_SpriteMap__C71974_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "neighbors": sprites_SpriteMap_neighbors__P71976, - "overlaps": sprites_SpriteMap_overlaps__P71977, - "draw": sprites_SpriteMap_draw__P71978, - "resizeBuckets": sprites_SpriteMap_resizeBuckets__P71979, - "clear": sprites_SpriteMap_clear__P71980, - "key": sprites_SpriteMap_key__P74012, - "insertAtKey": sprites_SpriteMap_insertAtKey__P74013, - "insertAABB": sprites_SpriteMap_insertAABB__P71981, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P74014, - "toString": sprites_SpriteMap_toString__P71982, + "neighbors": sprites_SpriteMap_neighbors__P2096, + "overlaps": sprites_SpriteMap_overlaps__P2097, + "draw": sprites_SpriteMap_draw__P2098, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P2099, + "clear": sprites_SpriteMap_clear__P2100, + "key": sprites_SpriteMap_key__P4132, + "insertAtKey": sprites_SpriteMap_insertAtKey__P4133, + "insertAABB": sprites_SpriteMap_insertAABB__P2101, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P4134, + "toString": sprites_SpriteMap_toString__P2102, }, - toStringMethod: sprites_SpriteMap_toString__P71982, + toStringMethod: sprites_SpriteMap_toString__P2102, }); -const music_Melody__C71478_VT = mkVTable({ +const music_Melody__C1598_VT = mkVTable({ name: "Melody", numFields: 2, classNo: 63, @@ -85585,20 +85814,20 @@ const music_Melody__C71478_VT = mkVTable({ "set/_text": null, "_player": null, "set/_player": null, - "toString": music_Melody_toString__P71487, + "toString": music_Melody_toString__P1607, }, - toStringMethod: music_Melody_toString__P71487, + toStringMethod: music_Melody_toString__P1607, }); -const tileworld_Gallery__C73708_VT = mkVTable({ +const tileworld_Gallery__C3828_VT = mkVTable({ name: "Gallery", numFields: 11, classNo: 25, lastSubtypeNo: 25, maxBgInstances: null, methods: { - "update": tileworld_Gallery_update__P87024, - "okToMove": tileworld_RuleVisualsBase_okToMove__P82562, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P82574, + "update": tileworld_Gallery_update__P6472, + "okToMove": tileworld_RuleVisualsBase_okToMove__P6297, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P6309, }, iface: { "cursor": null, @@ -85623,26 +85852,26 @@ const tileworld_Gallery__C73708_VT = mkVTable({ "set/wrapper": null, "gallery": null, "set/gallery": null, - "update": tileworld_Gallery_update__P87024, - "moveInX": tileworld_RuleVisualsBase_moveInX__P82559, - "moveUp": tileworld_RuleVisualsBase_moveUp__P82560, - "moveDown": tileworld_RuleVisualsBase_moveDown__P82561, - "okToMove": tileworld_RuleVisualsBase_okToMove__P82562, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P82563, - "setCol": tileworld_RuleVisualsBase_setCol__P82564, - "setRow": tileworld_RuleVisualsBase_setRow__P82565, - "col": tileworld_RuleVisualsBase_col__P82566, - "row": tileworld_RuleVisualsBase_row__P82567, - "drawImage": tileworld_RuleVisualsBase_drawImage__P82568, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P82569, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P82570, - "fillTile": tileworld_RuleVisualsBase_fillTile__P82571, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P82572, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P82573, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P82574, + "update": tileworld_Gallery_update__P6472, + "moveInX": tileworld_RuleVisualsBase_moveInX__P6294, + "moveUp": tileworld_RuleVisualsBase_moveUp__P6295, + "moveDown": tileworld_RuleVisualsBase_moveDown__P6296, + "okToMove": tileworld_RuleVisualsBase_okToMove__P6297, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P6298, + "setCol": tileworld_RuleVisualsBase_setCol__P6299, + "setRow": tileworld_RuleVisualsBase_setRow__P6300, + "col": tileworld_RuleVisualsBase_col__P6301, + "row": tileworld_RuleVisualsBase_row__P6302, + "drawImage": tileworld_RuleVisualsBase_drawImage__P6303, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P6304, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P6305, + "fillTile": tileworld_RuleVisualsBase_fillTile__P6306, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P6307, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P6308, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P6309, }, }); -const tileworld_SwitchExport__C73551_VT = mkVTable({ +const tileworld_SwitchExport__C3671_VT = mkVTable({ name: "SwitchExport", numFields: 2, classNo: 64, @@ -85655,18 +85884,18 @@ const tileworld_SwitchExport__C73551_VT = mkVTable({ "set/p": null, "backgrounds": null, "set/backgrounds": null, - "getImage": tileworld_SwitchExport_getImage__P73554, - "saveImage": tileworld_SwitchExport_saveImage__P73555, + "getImage": tileworld_SwitchExport_getImage__P3674, + "saveImage": tileworld_SwitchExport_saveImage__P3675, }, }); -const tileworld_RunGame__C73658_VT = mkVTable({ +const tileworld_RunGame__C5957996_VT = mkVTable({ name: "RunGame", numFields: 7, classNo: 30, lastSubtypeNo: 30, maxBgInstances: null, methods: { - "update": tileworld_BackgroundBase_update__P81255, + "update": tileworld_BackgroundBase_update__P6252, }, iface: { "running": null, @@ -85683,22 +85912,22 @@ const tileworld_RunGame__C73658_VT = mkVTable({ "set/debug": null, "currentDirection": null, "set/currentDirection": null, - "setWorld": tileworld_RunGame_setWorld__P73660, - "roundToCompletion": tileworld_RunGame_roundToCompletion__P81256, - "start": tileworld_RunGame_start__P73661, - "registerController": tileworld_RunGame_registerController__P81258, - "requestMove": tileworld_RunGame_requestMove__P81259, - "update": tileworld_BackgroundBase_update__P81255, + "setWorld": tileworld_RunGame_setWorld__P5957998, + "roundToCompletion": tileworld_RunGame_roundToCompletion__P5957999, + "start": tileworld_RunGame_start__P5958000, + "registerController": tileworld_RunGame_registerController__P5958002, + "requestMove": tileworld_RunGame_requestMove__P5958003, + "update": tileworld_BackgroundBase_update__P6252, }, }); -const tileworld_MapEditor__C73704_VT = mkVTable({ +const tileworld_MapEditor__C3824_VT = mkVTable({ name: "MapEditor", numFields: 9, classNo: 31, lastSubtypeNo: 31, maxBgInstances: null, methods: { - "update": tileworld_MapEditor_update__P73706, + "update": tileworld_MapEditor_update__P3826, }, iface: { "offsetX": null, @@ -85719,28 +85948,28 @@ const tileworld_MapEditor__C73704_VT = mkVTable({ "set/aDown": null, "p": null, "set/p": null, - "paintHome": tileworld_MapEditor_paintHome__P85167, - "setCursor": tileworld_MapEditor_setCursor__P85168, - "moveLeft": tileworld_MapEditor_moveLeft__P85169, - "moveRight": tileworld_MapEditor_moveRight__P85170, - "moveUp": tileworld_MapEditor_moveUp__P85171, - "moveDown": tileworld_MapEditor_moveDown__P85172, - "updateSelection": tileworld_MapEditor_updateSelection__P85173, - "cursorAction": tileworld_MapEditor_cursorAction__P85174, - "col": tileworld_MapEditor_col__P85175, - "row": tileworld_MapEditor_row__P85176, - "drawImage": tileworld_MapEditor_drawImage__P85177, - "update": tileworld_MapEditor_update__P73706, + "paintHome": tileworld_MapEditor_paintHome__P6460, + "setCursor": tileworld_MapEditor_setCursor__P6461, + "moveLeft": tileworld_MapEditor_moveLeft__P6462, + "moveRight": tileworld_MapEditor_moveRight__P6463, + "moveUp": tileworld_MapEditor_moveUp__P6464, + "moveDown": tileworld_MapEditor_moveDown__P6465, + "updateSelection": tileworld_MapEditor_updateSelection__P6466, + "cursorAction": tileworld_MapEditor_cursorAction__P6467, + "col": tileworld_MapEditor_col__P6468, + "row": tileworld_MapEditor_row__P6469, + "drawImage": tileworld_MapEditor_drawImage__P6470, + "update": tileworld_MapEditor_update__P3826, }, }); -const tileworld_ImageEditor__C73663_VT = mkVTable({ +const tileworld_ImageEditor__C3783_VT = mkVTable({ name: "ImageEditor", numFields: 10, classNo: 32, lastSubtypeNo: 32, maxBgInstances: null, methods: { - "update": tileworld_ImageEditor_update__P81785, + "update": tileworld_ImageEditor_update__P6291, }, iface: { "cursorType": null, @@ -85763,17 +85992,17 @@ const tileworld_ImageEditor__C73663_VT = mkVTable({ "set/dirty": null, "p": null, "set/p": null, - "paintPixel": tileworld_ImageEditor_paintPixel__P81778, - "moveLeft": tileworld_ImageEditor_moveLeft__P81779, - "moveRight": tileworld_ImageEditor_moveRight__P81780, - "moveUp": tileworld_ImageEditor_moveUp__P81781, - "moveDown": tileworld_ImageEditor_moveDown__P81782, - "saveAndPop": tileworld_ImageEditor_saveAndPop__P81783, - "setCursor": tileworld_ImageEditor_setCursor__P81784, - "update": tileworld_ImageEditor_update__P81785, + "paintPixel": tileworld_ImageEditor_paintPixel__P6284, + "moveLeft": tileworld_ImageEditor_moveLeft__P6285, + "moveRight": tileworld_ImageEditor_moveRight__P6286, + "moveUp": tileworld_ImageEditor_moveUp__P6287, + "moveDown": tileworld_ImageEditor_moveDown__P6288, + "saveAndPop": tileworld_ImageEditor_saveAndPop__P6289, + "setCursor": tileworld_ImageEditor_setCursor__P6290, + "update": tileworld_ImageEditor_update__P6291, }, }); -const tileworld_AllExport__C73556_VT = mkVTable({ +const tileworld_AllExport__C3676_VT = mkVTable({ name: "AllExport", numFields: 2, classNo: 65, @@ -85786,24 +86015,24 @@ const tileworld_AllExport__C73556_VT = mkVTable({ "set/allImages": null, "p": null, "set/p": null, - "getImages": tileworld_AllExport_getImages__P73558, - "getImage": tileworld_AllExport_getImage__P73559, - "saveImage": tileworld_AllExport_saveImage__P73560, - "getSetAttr": tileworld_AllExport_getSetAttr__P73561, + "getImages": tileworld_AllExport_getImages__P3678, + "getImage": tileworld_AllExport_getImage__P3679, + "saveImage": tileworld_AllExport_saveImage__P3680, + "getSetAttr": tileworld_AllExport_getSetAttr__P3681, }, }); -const tileworld_ruleediting_RuleDisplay__C73682_VT = mkVTable({ +const tileworld_ruleediting_RuleDisplay__C3873456_VT = mkVTable({ name: "RuleDisplay", numFields: 13, classNo: 26, lastSubtypeNo: 29, maxBgInstances: null, methods: { - "update": tileworld_ruleediting_RuleDisplay_update__P82983, - "okToMove": tileworld_RuleVisualsBase_okToMove__P82562, - "cursorMove": tileworld_ruleediting_RuleDisplay_cursorMove__P82980, - "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P82977, - "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P82995, + "update": tileworld_ruleediting_RuleDisplay_update__P3873467, + "okToMove": tileworld_RuleVisualsBase_okToMove__P6297, + "cursorMove": tileworld_ruleediting_RuleDisplay_cursorMove__P3873464, + "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P3873461, + "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P3873479, }, iface: { "cursor": null, @@ -85832,59 +86061,59 @@ const tileworld_ruleediting_RuleDisplay__C73682_VT = mkVTable({ "set/commandLengths": null, "tokens": null, "set/tokens": null, - "getDir": tileworld_ruleediting_RuleDisplay_getDir__P82974, - "getType": tileworld_ruleediting_RuleDisplay_getType__P82975, - "getKind": tileworld_ruleediting_RuleDisplay_getKind__P82976, - "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P82977, - "getDirectionImage": tileworld_ruleediting_RuleDisplay_getDirectionImage__P82978, - "otherCursorMove": tileworld_ruleediting_RuleDisplay_otherCursorMove__P82979, - "cursorMove": tileworld_ruleediting_RuleDisplay_cursorMove__P82980, - "showCollision": tileworld_ruleediting_RuleDisplay_showCollision__P82981, - "showRuleType": tileworld_ruleediting_RuleDisplay_showRuleType__P82982, - "update": tileworld_ruleediting_RuleDisplay_update__P82983, - "makeContext": tileworld_ruleediting_RuleDisplay_makeContext__P82984, - "active": tileworld_ruleediting_RuleDisplay_active__P82985, - "rowToColCoord": tileworld_ruleediting_RuleDisplay_rowToColCoord__P82986, - "rowToRowCoord": tileworld_ruleediting_RuleDisplay_rowToRowCoord__P82987, - "showCommands": tileworld_ruleediting_RuleDisplay_showCommands__P82988, - "instToImage": tileworld_ruleediting_RuleDisplay_instToImage__P82989, - "showCommandsAt": tileworld_ruleediting_RuleDisplay_showCommandsAt__P82990, - "showCommand": tileworld_ruleediting_RuleDisplay_showCommand__P82991, - "startTokens": tileworld_ruleediting_RuleDisplay_startTokens__P82992, - "updateTokens": tileworld_ruleediting_RuleDisplay_updateTokens__P82993, - "getWhenDoImage": tileworld_ruleediting_RuleDisplay_getWhenDoImage__P82994, - "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P82995, - "projectAttrs": tileworld_ruleediting_RuleDisplay_projectAttrs__P82996, - "attrIndex": tileworld_ruleediting_RuleDisplay_attrIndex__P82997, - "moveInX": tileworld_RuleVisualsBase_moveInX__P82559, - "moveUp": tileworld_RuleVisualsBase_moveUp__P82560, - "moveDown": tileworld_RuleVisualsBase_moveDown__P82561, - "okToMove": tileworld_RuleVisualsBase_okToMove__P82562, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P82563, - "setCol": tileworld_RuleVisualsBase_setCol__P82564, - "setRow": tileworld_RuleVisualsBase_setRow__P82565, - "col": tileworld_RuleVisualsBase_col__P82566, - "row": tileworld_RuleVisualsBase_row__P82567, - "drawImage": tileworld_RuleVisualsBase_drawImage__P82568, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P82569, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P82570, - "fillTile": tileworld_RuleVisualsBase_fillTile__P82571, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P82572, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P82573, + "getDir": tileworld_ruleediting_RuleDisplay_getDir__P3873458, + "getType": tileworld_ruleediting_RuleDisplay_getType__P3873459, + "getKind": tileworld_ruleediting_RuleDisplay_getKind__P3873460, + "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P3873461, + "getDirectionImage": tileworld_ruleediting_RuleDisplay_getDirectionImage__P3873462, + "otherCursorMove": tileworld_ruleediting_RuleDisplay_otherCursorMove__P3873463, + "cursorMove": tileworld_ruleediting_RuleDisplay_cursorMove__P3873464, + "showCollision": tileworld_ruleediting_RuleDisplay_showCollision__P3873465, + "showRuleType": tileworld_ruleediting_RuleDisplay_showRuleType__P3873466, + "update": tileworld_ruleediting_RuleDisplay_update__P3873467, + "makeContext": tileworld_ruleediting_RuleDisplay_makeContext__P3873468, + "active": tileworld_ruleediting_RuleDisplay_active__P3873469, + "rowToColCoord": tileworld_ruleediting_RuleDisplay_rowToColCoord__P3873470, + "rowToRowCoord": tileworld_ruleediting_RuleDisplay_rowToRowCoord__P3873471, + "showCommands": tileworld_ruleediting_RuleDisplay_showCommands__P3873472, + "instToImage": tileworld_ruleediting_RuleDisplay_instToImage__P3873473, + "showCommandsAt": tileworld_ruleediting_RuleDisplay_showCommandsAt__P3873474, + "showCommand": tileworld_ruleediting_RuleDisplay_showCommand__P3873475, + "startTokens": tileworld_ruleediting_RuleDisplay_startTokens__P3873476, + "updateTokens": tileworld_ruleediting_RuleDisplay_updateTokens__P3873477, + "getWhenDoImage": tileworld_ruleediting_RuleDisplay_getWhenDoImage__P3873478, + "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P3873479, + "projectAttrs": tileworld_ruleediting_RuleDisplay_projectAttrs__P3873480, + "attrIndex": tileworld_ruleediting_RuleDisplay_attrIndex__P3873481, + "moveInX": tileworld_RuleVisualsBase_moveInX__P6294, + "moveUp": tileworld_RuleVisualsBase_moveUp__P6295, + "moveDown": tileworld_RuleVisualsBase_moveDown__P6296, + "okToMove": tileworld_RuleVisualsBase_okToMove__P6297, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P6298, + "setCol": tileworld_RuleVisualsBase_setCol__P6299, + "setRow": tileworld_RuleVisualsBase_setRow__P6300, + "col": tileworld_RuleVisualsBase_col__P6301, + "row": tileworld_RuleVisualsBase_row__P6302, + "drawImage": tileworld_RuleVisualsBase_drawImage__P6303, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P6304, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P6305, + "fillTile": tileworld_RuleVisualsBase_fillTile__P6306, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P6307, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P6308, }, }); -const tileworld_ruleediting_RuleRoom__C73690_VT = mkVTable({ +const tileworld_ruleediting_RuleRoom__C3810_VT = mkVTable({ name: "RuleRoom", numFields: 16, classNo: 27, lastSubtypeNo: 27, maxBgInstances: null, methods: { - "update": tileworld_ruleediting_RuleRoom_update__P84259, - "okToMove": tileworld_RuleVisualsBase_okToMove__P82562, - "cursorMove": tileworld_ruleediting_RuleRoom_cursorMove__P84258, - "centerImage": tileworld_ruleediting_RuleRoom_centerImage__P84260, - "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P82995, + "update": tileworld_ruleediting_RuleRoom_update__P6395, + "okToMove": tileworld_RuleVisualsBase_okToMove__P6297, + "cursorMove": tileworld_ruleediting_RuleRoom_cursorMove__P6394, + "centerImage": tileworld_ruleediting_RuleRoom_centerImage__P6396, + "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P3873479, }, iface: { "cursor": null, @@ -85919,64 +86148,64 @@ const tileworld_ruleediting_RuleRoom__C73690_VT = mkVTable({ "set/moreHelp": null, "rules": null, "set/rules": null, - "cursorMove": tileworld_ruleediting_RuleRoom_cursorMove__P84258, - "update": tileworld_ruleediting_RuleRoom_update__P84259, - "centerImage": tileworld_ruleediting_RuleRoom_centerImage__P84260, - "make3by3": tileworld_ruleediting_RuleRoom_make3by3__P84261, - "setRuleType": tileworld_ruleediting_RuleRoom_setRuleType__P84262, - "doBoth": tileworld_ruleediting_RuleRoom_doBoth__P84263, - "stringColumn": tileworld_ruleediting_RuleRoom_stringColumn__P84264, - "showRuleMenu": tileworld_ruleediting_RuleRoom_showRuleMenu__P84265, - "getDir": tileworld_ruleediting_RuleDisplay_getDir__P82974, - "getType": tileworld_ruleediting_RuleDisplay_getType__P82975, - "getKind": tileworld_ruleediting_RuleDisplay_getKind__P82976, - "getDirectionImage": tileworld_ruleediting_RuleDisplay_getDirectionImage__P82978, - "otherCursorMove": tileworld_ruleediting_RuleDisplay_otherCursorMove__P82979, - "showCollision": tileworld_ruleediting_RuleDisplay_showCollision__P82981, - "showRuleType": tileworld_ruleediting_RuleDisplay_showRuleType__P82982, - "makeContext": tileworld_ruleediting_RuleDisplay_makeContext__P82984, - "active": tileworld_ruleediting_RuleDisplay_active__P82985, - "rowToColCoord": tileworld_ruleediting_RuleDisplay_rowToColCoord__P82986, - "rowToRowCoord": tileworld_ruleediting_RuleDisplay_rowToRowCoord__P82987, - "showCommands": tileworld_ruleediting_RuleDisplay_showCommands__P82988, - "instToImage": tileworld_ruleediting_RuleDisplay_instToImage__P82989, - "showCommandsAt": tileworld_ruleediting_RuleDisplay_showCommandsAt__P82990, - "showCommand": tileworld_ruleediting_RuleDisplay_showCommand__P82991, - "startTokens": tileworld_ruleediting_RuleDisplay_startTokens__P82992, - "updateTokens": tileworld_ruleediting_RuleDisplay_updateTokens__P82993, - "getWhenDoImage": tileworld_ruleediting_RuleDisplay_getWhenDoImage__P82994, - "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P82995, - "projectAttrs": tileworld_ruleediting_RuleDisplay_projectAttrs__P82996, - "attrIndex": tileworld_ruleediting_RuleDisplay_attrIndex__P82997, - "moveInX": tileworld_RuleVisualsBase_moveInX__P82559, - "moveUp": tileworld_RuleVisualsBase_moveUp__P82560, - "moveDown": tileworld_RuleVisualsBase_moveDown__P82561, - "okToMove": tileworld_RuleVisualsBase_okToMove__P82562, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P82563, - "setCol": tileworld_RuleVisualsBase_setCol__P82564, - "setRow": tileworld_RuleVisualsBase_setRow__P82565, - "col": tileworld_RuleVisualsBase_col__P82566, - "row": tileworld_RuleVisualsBase_row__P82567, - "drawImage": tileworld_RuleVisualsBase_drawImage__P82568, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P82569, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P82570, - "fillTile": tileworld_RuleVisualsBase_fillTile__P82571, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P82572, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P82573, + "cursorMove": tileworld_ruleediting_RuleRoom_cursorMove__P6394, + "update": tileworld_ruleediting_RuleRoom_update__P6395, + "centerImage": tileworld_ruleediting_RuleRoom_centerImage__P6396, + "make3by3": tileworld_ruleediting_RuleRoom_make3by3__P6397, + "setRuleType": tileworld_ruleediting_RuleRoom_setRuleType__P6398, + "doBoth": tileworld_ruleediting_RuleRoom_doBoth__P6399, + "stringColumn": tileworld_ruleediting_RuleRoom_stringColumn__P6400, + "showRuleMenu": tileworld_ruleediting_RuleRoom_showRuleMenu__P6401, + "getDir": tileworld_ruleediting_RuleDisplay_getDir__P3873458, + "getType": tileworld_ruleediting_RuleDisplay_getType__P3873459, + "getKind": tileworld_ruleediting_RuleDisplay_getKind__P3873460, + "getDirectionImage": tileworld_ruleediting_RuleDisplay_getDirectionImage__P3873462, + "otherCursorMove": tileworld_ruleediting_RuleDisplay_otherCursorMove__P3873463, + "showCollision": tileworld_ruleediting_RuleDisplay_showCollision__P3873465, + "showRuleType": tileworld_ruleediting_RuleDisplay_showRuleType__P3873466, + "makeContext": tileworld_ruleediting_RuleDisplay_makeContext__P3873468, + "active": tileworld_ruleediting_RuleDisplay_active__P3873469, + "rowToColCoord": tileworld_ruleediting_RuleDisplay_rowToColCoord__P3873470, + "rowToRowCoord": tileworld_ruleediting_RuleDisplay_rowToRowCoord__P3873471, + "showCommands": tileworld_ruleediting_RuleDisplay_showCommands__P3873472, + "instToImage": tileworld_ruleediting_RuleDisplay_instToImage__P3873473, + "showCommandsAt": tileworld_ruleediting_RuleDisplay_showCommandsAt__P3873474, + "showCommand": tileworld_ruleediting_RuleDisplay_showCommand__P3873475, + "startTokens": tileworld_ruleediting_RuleDisplay_startTokens__P3873476, + "updateTokens": tileworld_ruleediting_RuleDisplay_updateTokens__P3873477, + "getWhenDoImage": tileworld_ruleediting_RuleDisplay_getWhenDoImage__P3873478, + "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P3873479, + "projectAttrs": tileworld_ruleediting_RuleDisplay_projectAttrs__P3873480, + "attrIndex": tileworld_ruleediting_RuleDisplay_attrIndex__P3873481, + "moveInX": tileworld_RuleVisualsBase_moveInX__P6294, + "moveUp": tileworld_RuleVisualsBase_moveUp__P6295, + "moveDown": tileworld_RuleVisualsBase_moveDown__P6296, + "okToMove": tileworld_RuleVisualsBase_okToMove__P6297, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P6298, + "setCol": tileworld_RuleVisualsBase_setCol__P6299, + "setRow": tileworld_RuleVisualsBase_setRow__P6300, + "col": tileworld_RuleVisualsBase_col__P6301, + "row": tileworld_RuleVisualsBase_row__P6302, + "drawImage": tileworld_RuleVisualsBase_drawImage__P6303, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P6304, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P6305, + "fillTile": tileworld_RuleVisualsBase_fillTile__P6306, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P6307, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P6308, }, }); -const tileworld_ruleediting_RuleEditor__C73701_VT = mkVTable({ +const tileworld_ruleediting_RuleEditor__C3821_VT = mkVTable({ name: "RuleEditor", numFields: 19, classNo: 28, lastSubtypeNo: 28, maxBgInstances: null, methods: { - "update": tileworld_ruleediting_RuleEditor_update__P84382, - "okToMove": tileworld_ruleediting_RuleEditor_okToMove__P84374, - "cursorMove": tileworld_ruleediting_RuleEditor_cursorMove__P84380, - "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P82977, - "showAttributes": tileworld_ruleediting_RuleEditor_showAttributes__P84393, + "update": tileworld_ruleediting_RuleEditor_update__P6427, + "okToMove": tileworld_ruleediting_RuleEditor_okToMove__P6419, + "cursorMove": tileworld_ruleediting_RuleEditor_cursorMove__P6425, + "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P3873461, + "showAttributes": tileworld_ruleediting_RuleEditor_showAttributes__P6438, }, iface: { "cursor": null, @@ -86017,71 +86246,71 @@ const tileworld_ruleediting_RuleEditor__C73701_VT = mkVTable({ "set/askDeleteRule": null, "kind": null, "set/kind": null, - "mainMenu": tileworld_ruleediting_RuleEditor_mainMenu__P84373, - "okToMove": tileworld_ruleediting_RuleEditor_okToMove__P84374, - "restoreCursor": tileworld_ruleediting_RuleEditor_restoreCursor__P84375, - "changeRule": tileworld_ruleediting_RuleEditor_changeRule__P84376, - "resetRule": tileworld_ruleediting_RuleEditor_resetRule__P84377, - "saveAndPop": tileworld_ruleediting_RuleEditor_saveAndPop__P84378, - "currentRules": tileworld_ruleediting_RuleEditor_currentRules__P84379, - "cursorMove": tileworld_ruleediting_RuleEditor_cursorMove__P84380, - "inWhenPredicate": tileworld_ruleediting_RuleEditor_inWhenPredicate__P84381, - "update": tileworld_ruleediting_RuleEditor_update__P84382, - "showMainMenu": tileworld_ruleediting_RuleEditor_showMainMenu__P84383, - "tryEditCommand": tileworld_ruleediting_RuleEditor_tryEditCommand__P84384, - "makeCommandMenu": tileworld_ruleediting_RuleEditor_makeCommandMenu__P84385, - "modifyCommandMenu": tileworld_ruleediting_RuleEditor_modifyCommandMenu__P84386, - "instToStartArg": tileworld_ruleediting_RuleEditor_instToStartArg__P84387, - "instToArgText": tileworld_ruleediting_RuleEditor_instToArgText__P84388, - "instToNumArgs": tileworld_ruleediting_RuleEditor_instToNumArgs__P84389, - "makeArgMenu": tileworld_ruleediting_RuleEditor_makeArgMenu__P84390, - "commandUpdate": tileworld_ruleediting_RuleEditor_commandUpdate__P84391, - "setCommand": tileworld_ruleediting_RuleEditor_setCommand__P84392, - "showAttributes": tileworld_ruleediting_RuleEditor_showAttributes__P84393, - "attrMenu": tileworld_ruleediting_RuleEditor_attrMenu__P84394, - "selectAttr": tileworld_ruleediting_RuleEditor_selectAttr__P84395, - "attrUpdate": tileworld_ruleediting_RuleEditor_attrUpdate__P84396, - "setAttr": tileworld_ruleediting_RuleEditor_setAttr__P84397, - "dirExprMenu": tileworld_ruleediting_RuleEditor_dirExprMenu__P84398, - "dirExprUpdate": tileworld_ruleediting_RuleEditor_dirExprUpdate__P84399, - "getDir": tileworld_ruleediting_RuleDisplay_getDir__P82974, - "getType": tileworld_ruleediting_RuleDisplay_getType__P82975, - "getKind": tileworld_ruleediting_RuleDisplay_getKind__P82976, - "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P82977, - "getDirectionImage": tileworld_ruleediting_RuleDisplay_getDirectionImage__P82978, - "otherCursorMove": tileworld_ruleediting_RuleDisplay_otherCursorMove__P82979, - "showCollision": tileworld_ruleediting_RuleDisplay_showCollision__P82981, - "showRuleType": tileworld_ruleediting_RuleDisplay_showRuleType__P82982, - "makeContext": tileworld_ruleediting_RuleDisplay_makeContext__P82984, - "active": tileworld_ruleediting_RuleDisplay_active__P82985, - "rowToColCoord": tileworld_ruleediting_RuleDisplay_rowToColCoord__P82986, - "rowToRowCoord": tileworld_ruleediting_RuleDisplay_rowToRowCoord__P82987, - "showCommands": tileworld_ruleediting_RuleDisplay_showCommands__P82988, - "instToImage": tileworld_ruleediting_RuleDisplay_instToImage__P82989, - "showCommandsAt": tileworld_ruleediting_RuleDisplay_showCommandsAt__P82990, - "showCommand": tileworld_ruleediting_RuleDisplay_showCommand__P82991, - "startTokens": tileworld_ruleediting_RuleDisplay_startTokens__P82992, - "updateTokens": tileworld_ruleediting_RuleDisplay_updateTokens__P82993, - "getWhenDoImage": tileworld_ruleediting_RuleDisplay_getWhenDoImage__P82994, - "projectAttrs": tileworld_ruleediting_RuleDisplay_projectAttrs__P82996, - "attrIndex": tileworld_ruleediting_RuleDisplay_attrIndex__P82997, - "moveInX": tileworld_RuleVisualsBase_moveInX__P82559, - "moveUp": tileworld_RuleVisualsBase_moveUp__P82560, - "moveDown": tileworld_RuleVisualsBase_moveDown__P82561, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P82563, - "setCol": tileworld_RuleVisualsBase_setCol__P82564, - "setRow": tileworld_RuleVisualsBase_setRow__P82565, - "col": tileworld_RuleVisualsBase_col__P82566, - "row": tileworld_RuleVisualsBase_row__P82567, - "drawImage": tileworld_RuleVisualsBase_drawImage__P82568, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P82569, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P82570, - "fillTile": tileworld_RuleVisualsBase_fillTile__P82571, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P82572, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P82573, + "mainMenu": tileworld_ruleediting_RuleEditor_mainMenu__P6418, + "okToMove": tileworld_ruleediting_RuleEditor_okToMove__P6419, + "restoreCursor": tileworld_ruleediting_RuleEditor_restoreCursor__P6420, + "changeRule": tileworld_ruleediting_RuleEditor_changeRule__P6421, + "resetRule": tileworld_ruleediting_RuleEditor_resetRule__P6422, + "saveAndPop": tileworld_ruleediting_RuleEditor_saveAndPop__P6423, + "currentRules": tileworld_ruleediting_RuleEditor_currentRules__P6424, + "cursorMove": tileworld_ruleediting_RuleEditor_cursorMove__P6425, + "inWhenPredicate": tileworld_ruleediting_RuleEditor_inWhenPredicate__P6426, + "update": tileworld_ruleediting_RuleEditor_update__P6427, + "showMainMenu": tileworld_ruleediting_RuleEditor_showMainMenu__P6428, + "tryEditCommand": tileworld_ruleediting_RuleEditor_tryEditCommand__P6429, + "makeCommandMenu": tileworld_ruleediting_RuleEditor_makeCommandMenu__P6430, + "modifyCommandMenu": tileworld_ruleediting_RuleEditor_modifyCommandMenu__P6431, + "instToStartArg": tileworld_ruleediting_RuleEditor_instToStartArg__P6432, + "instToArgText": tileworld_ruleediting_RuleEditor_instToArgText__P6433, + "instToNumArgs": tileworld_ruleediting_RuleEditor_instToNumArgs__P6434, + "makeArgMenu": tileworld_ruleediting_RuleEditor_makeArgMenu__P6435, + "commandUpdate": tileworld_ruleediting_RuleEditor_commandUpdate__P6436, + "setCommand": tileworld_ruleediting_RuleEditor_setCommand__P6437, + "showAttributes": tileworld_ruleediting_RuleEditor_showAttributes__P6438, + "attrMenu": tileworld_ruleediting_RuleEditor_attrMenu__P6439, + "selectAttr": tileworld_ruleediting_RuleEditor_selectAttr__P6440, + "attrUpdate": tileworld_ruleediting_RuleEditor_attrUpdate__P6441, + "setAttr": tileworld_ruleediting_RuleEditor_setAttr__P6442, + "dirExprMenu": tileworld_ruleediting_RuleEditor_dirExprMenu__P6443, + "dirExprUpdate": tileworld_ruleediting_RuleEditor_dirExprUpdate__P6444, + "getDir": tileworld_ruleediting_RuleDisplay_getDir__P3873458, + "getType": tileworld_ruleediting_RuleDisplay_getType__P3873459, + "getKind": tileworld_ruleediting_RuleDisplay_getKind__P3873460, + "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P3873461, + "getDirectionImage": tileworld_ruleediting_RuleDisplay_getDirectionImage__P3873462, + "otherCursorMove": tileworld_ruleediting_RuleDisplay_otherCursorMove__P3873463, + "showCollision": tileworld_ruleediting_RuleDisplay_showCollision__P3873465, + "showRuleType": tileworld_ruleediting_RuleDisplay_showRuleType__P3873466, + "makeContext": tileworld_ruleediting_RuleDisplay_makeContext__P3873468, + "active": tileworld_ruleediting_RuleDisplay_active__P3873469, + "rowToColCoord": tileworld_ruleediting_RuleDisplay_rowToColCoord__P3873470, + "rowToRowCoord": tileworld_ruleediting_RuleDisplay_rowToRowCoord__P3873471, + "showCommands": tileworld_ruleediting_RuleDisplay_showCommands__P3873472, + "instToImage": tileworld_ruleediting_RuleDisplay_instToImage__P3873473, + "showCommandsAt": tileworld_ruleediting_RuleDisplay_showCommandsAt__P3873474, + "showCommand": tileworld_ruleediting_RuleDisplay_showCommand__P3873475, + "startTokens": tileworld_ruleediting_RuleDisplay_startTokens__P3873476, + "updateTokens": tileworld_ruleediting_RuleDisplay_updateTokens__P3873477, + "getWhenDoImage": tileworld_ruleediting_RuleDisplay_getWhenDoImage__P3873478, + "projectAttrs": tileworld_ruleediting_RuleDisplay_projectAttrs__P3873480, + "attrIndex": tileworld_ruleediting_RuleDisplay_attrIndex__P3873481, + "moveInX": tileworld_RuleVisualsBase_moveInX__P6294, + "moveUp": tileworld_RuleVisualsBase_moveUp__P6295, + "moveDown": tileworld_RuleVisualsBase_moveDown__P6296, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P6298, + "setCol": tileworld_RuleVisualsBase_setCol__P6299, + "setRow": tileworld_RuleVisualsBase_setRow__P6300, + "col": tileworld_RuleVisualsBase_col__P6301, + "row": tileworld_RuleVisualsBase_row__P6302, + "drawImage": tileworld_RuleVisualsBase_drawImage__P6303, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P6304, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P6305, + "fillTile": tileworld_RuleVisualsBase_fillTile__P6306, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P6307, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P6308, }, }); -const tileworld_RuleView__C73515_VT = mkVTable({ +const tileworld_RuleView__C3635_VT = mkVTable({ name: "RuleView", numFields: 4, classNo: 66, @@ -86098,51 +86327,51 @@ const tileworld_RuleView__C73515_VT = mkVTable({ "set/rid": null, "r": null, "set/r": null, - "getBaseRule": tileworld_RuleView_getBaseRule__P73517, - "getDerivedRules": tileworld_RuleView_getDerivedRules__P73518, - "getTransforms": tileworld_RuleView_getTransforms__P73520, - "setTransforms": tileworld_RuleView_setTransforms__P73521, - "getRuleId": tileworld_RuleView_getRuleId__P73522, - "getRuleType": tileworld_RuleView_getRuleType__P73523, - "getRuleArg": tileworld_RuleView_getRuleArg__P73525, - "getDirFromRule": tileworld_RuleView_getDirFromRule__P73527, - "rawView": tileworld_RuleView_rawView__P76924, - "getWhenDo": tileworld_RuleView_getWhenDo__P73528, - "makeWhenDo": tileworld_RuleView_makeWhenDo__P73529, - "getWhenDoCol": tileworld_RuleView_getWhenDoCol__P73530, - "getWhenDoRow": tileworld_RuleView_getWhenDoRow__P73531, - "getSetBuffAttr": tileworld_RuleView_getSetBuffAttr__P76925, - "getSetBgAttr": tileworld_RuleView_getSetBgAttr__P73532, - "getSetSpAttr": tileworld_RuleView_getSetSpAttr__P73533, - "attrCnt": tileworld_RuleView_attrCnt__P73534, - "attrBgIndex": tileworld_RuleView_attrBgIndex__P76926, - "attrSpIndex": tileworld_RuleView_attrSpIndex__P76927, - "findWitnessColRow": tileworld_RuleView_findWitnessColRow__P73535, - "getWitnessDirection": tileworld_RuleView_getWitnessDirection__P73536, - "setWitnessDirection": tileworld_RuleView_setWitnessDirection__P73537, - "getCmdsLen": tileworld_RuleView_getCmdsLen__P73538, - "getCmdInst": tileworld_RuleView_getCmdInst__P73539, - "getCmdArg": tileworld_RuleView_getCmdArg__P73540, - "setCmdInst": tileworld_RuleView_setCmdInst__P73541, - "setCmdArg": tileworld_RuleView_setCmdArg__P73542, - "removeCommand": tileworld_RuleView_removeCommand__P73543, - "getSpriteKinds": tileworld_RuleView_getSpriteKinds__P73544, - "hasSpriteKind": tileworld_RuleView_hasSpriteKind__P73545, - "whendoTrue": tileworld_RuleView_whendoTrue__P73546, + "getBaseRule": tileworld_RuleView_getBaseRule__P3637, + "getDerivedRules": tileworld_RuleView_getDerivedRules__P3638, + "getTransforms": tileworld_RuleView_getTransforms__P3640, + "setTransforms": tileworld_RuleView_setTransforms__P3641, + "getRuleId": tileworld_RuleView_getRuleId__P3642, + "getRuleType": tileworld_RuleView_getRuleType__P3643, + "getRuleArg": tileworld_RuleView_getRuleArg__P3645, + "getDirFromRule": tileworld_RuleView_getDirFromRule__P3647, + "rawView": tileworld_RuleView_rawView__P5992, + "getWhenDo": tileworld_RuleView_getWhenDo__P3648, + "makeWhenDo": tileworld_RuleView_makeWhenDo__P3649, + "getWhenDoCol": tileworld_RuleView_getWhenDoCol__P3650, + "getWhenDoRow": tileworld_RuleView_getWhenDoRow__P3651, + "getSetBuffAttr": tileworld_RuleView_getSetBuffAttr__P5993, + "getSetBgAttr": tileworld_RuleView_getSetBgAttr__P3652, + "getSetSpAttr": tileworld_RuleView_getSetSpAttr__P3653, + "attrCnt": tileworld_RuleView_attrCnt__P3654, + "attrBgIndex": tileworld_RuleView_attrBgIndex__P5994, + "attrSpIndex": tileworld_RuleView_attrSpIndex__P5995, + "findWitnessColRow": tileworld_RuleView_findWitnessColRow__P3655, + "getWitnessDirection": tileworld_RuleView_getWitnessDirection__P3656, + "setWitnessDirection": tileworld_RuleView_setWitnessDirection__P3657, + "getCmdsLen": tileworld_RuleView_getCmdsLen__P3658, + "getCmdInst": tileworld_RuleView_getCmdInst__P3659, + "getCmdArg": tileworld_RuleView_getCmdArg__P3660, + "setCmdInst": tileworld_RuleView_setCmdInst__P3661, + "setCmdArg": tileworld_RuleView_setCmdArg__P3662, + "removeCommand": tileworld_RuleView_removeCommand__P3663, + "getSpriteKinds": tileworld_RuleView_getSpriteKinds__P3664, + "hasSpriteKind": tileworld_RuleView_hasSpriteKind__P3665, + "whendoTrue": tileworld_RuleView_whendoTrue__P3666, }, }); -const tileworld_ruleediting_RuleViewDisplay__C73686_VT = mkVTable({ +const tileworld_ruleediting_RuleViewDisplay__C3806_VT = mkVTable({ name: "RuleViewDisplay", numFields: 15, classNo: 29, lastSubtypeNo: 29, maxBgInstances: null, methods: { - "update": tileworld_ruleediting_RuleViewDisplay_update__P84094, - "okToMove": tileworld_RuleVisualsBase_okToMove__P82562, - "cursorMove": tileworld_ruleediting_RuleViewDisplay_cursorMove__P84092, - "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P82977, - "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P82995, + "update": tileworld_ruleediting_RuleViewDisplay_update__P6388, + "okToMove": tileworld_RuleVisualsBase_okToMove__P6297, + "cursorMove": tileworld_ruleediting_RuleViewDisplay_cursorMove__P6386, + "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P3873461, + "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P3873479, }, iface: { "cursor": null, @@ -86175,49 +86404,49 @@ const tileworld_ruleediting_RuleViewDisplay__C73686_VT = mkVTable({ "set/ruleViews": null, "baseRule": null, "set/baseRule": null, - "cursorMove": tileworld_ruleediting_RuleViewDisplay_cursorMove__P84092, - "cursorToView": tileworld_ruleediting_RuleViewDisplay_cursorToView__P84093, - "update": tileworld_ruleediting_RuleViewDisplay_update__P84094, - "getDir": tileworld_ruleediting_RuleDisplay_getDir__P82974, - "getType": tileworld_ruleediting_RuleDisplay_getType__P82975, - "getKind": tileworld_ruleediting_RuleDisplay_getKind__P82976, - "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P82977, - "getDirectionImage": tileworld_ruleediting_RuleDisplay_getDirectionImage__P82978, - "otherCursorMove": tileworld_ruleediting_RuleDisplay_otherCursorMove__P82979, - "showCollision": tileworld_ruleediting_RuleDisplay_showCollision__P82981, - "showRuleType": tileworld_ruleediting_RuleDisplay_showRuleType__P82982, - "makeContext": tileworld_ruleediting_RuleDisplay_makeContext__P82984, - "active": tileworld_ruleediting_RuleDisplay_active__P82985, - "rowToColCoord": tileworld_ruleediting_RuleDisplay_rowToColCoord__P82986, - "rowToRowCoord": tileworld_ruleediting_RuleDisplay_rowToRowCoord__P82987, - "showCommands": tileworld_ruleediting_RuleDisplay_showCommands__P82988, - "instToImage": tileworld_ruleediting_RuleDisplay_instToImage__P82989, - "showCommandsAt": tileworld_ruleediting_RuleDisplay_showCommandsAt__P82990, - "showCommand": tileworld_ruleediting_RuleDisplay_showCommand__P82991, - "startTokens": tileworld_ruleediting_RuleDisplay_startTokens__P82992, - "updateTokens": tileworld_ruleediting_RuleDisplay_updateTokens__P82993, - "getWhenDoImage": tileworld_ruleediting_RuleDisplay_getWhenDoImage__P82994, - "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P82995, - "projectAttrs": tileworld_ruleediting_RuleDisplay_projectAttrs__P82996, - "attrIndex": tileworld_ruleediting_RuleDisplay_attrIndex__P82997, - "moveInX": tileworld_RuleVisualsBase_moveInX__P82559, - "moveUp": tileworld_RuleVisualsBase_moveUp__P82560, - "moveDown": tileworld_RuleVisualsBase_moveDown__P82561, - "okToMove": tileworld_RuleVisualsBase_okToMove__P82562, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P82563, - "setCol": tileworld_RuleVisualsBase_setCol__P82564, - "setRow": tileworld_RuleVisualsBase_setRow__P82565, - "col": tileworld_RuleVisualsBase_col__P82566, - "row": tileworld_RuleVisualsBase_row__P82567, - "drawImage": tileworld_RuleVisualsBase_drawImage__P82568, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P82569, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P82570, - "fillTile": tileworld_RuleVisualsBase_fillTile__P82571, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P82572, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P82573, + "cursorMove": tileworld_ruleediting_RuleViewDisplay_cursorMove__P6386, + "cursorToView": tileworld_ruleediting_RuleViewDisplay_cursorToView__P6387, + "update": tileworld_ruleediting_RuleViewDisplay_update__P6388, + "getDir": tileworld_ruleediting_RuleDisplay_getDir__P3873458, + "getType": tileworld_ruleediting_RuleDisplay_getType__P3873459, + "getKind": tileworld_ruleediting_RuleDisplay_getKind__P3873460, + "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P3873461, + "getDirectionImage": tileworld_ruleediting_RuleDisplay_getDirectionImage__P3873462, + "otherCursorMove": tileworld_ruleediting_RuleDisplay_otherCursorMove__P3873463, + "showCollision": tileworld_ruleediting_RuleDisplay_showCollision__P3873465, + "showRuleType": tileworld_ruleediting_RuleDisplay_showRuleType__P3873466, + "makeContext": tileworld_ruleediting_RuleDisplay_makeContext__P3873468, + "active": tileworld_ruleediting_RuleDisplay_active__P3873469, + "rowToColCoord": tileworld_ruleediting_RuleDisplay_rowToColCoord__P3873470, + "rowToRowCoord": tileworld_ruleediting_RuleDisplay_rowToRowCoord__P3873471, + "showCommands": tileworld_ruleediting_RuleDisplay_showCommands__P3873472, + "instToImage": tileworld_ruleediting_RuleDisplay_instToImage__P3873473, + "showCommandsAt": tileworld_ruleediting_RuleDisplay_showCommandsAt__P3873474, + "showCommand": tileworld_ruleediting_RuleDisplay_showCommand__P3873475, + "startTokens": tileworld_ruleediting_RuleDisplay_startTokens__P3873476, + "updateTokens": tileworld_ruleediting_RuleDisplay_updateTokens__P3873477, + "getWhenDoImage": tileworld_ruleediting_RuleDisplay_getWhenDoImage__P3873478, + "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P3873479, + "projectAttrs": tileworld_ruleediting_RuleDisplay_projectAttrs__P3873480, + "attrIndex": tileworld_ruleediting_RuleDisplay_attrIndex__P3873481, + "moveInX": tileworld_RuleVisualsBase_moveInX__P6294, + "moveUp": tileworld_RuleVisualsBase_moveUp__P6295, + "moveDown": tileworld_RuleVisualsBase_moveDown__P6296, + "okToMove": tileworld_RuleVisualsBase_okToMove__P6297, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P6298, + "setCol": tileworld_RuleVisualsBase_setCol__P6299, + "setRow": tileworld_RuleVisualsBase_setRow__P6300, + "col": tileworld_RuleVisualsBase_col__P6301, + "row": tileworld_RuleVisualsBase_row__P6302, + "drawImage": tileworld_RuleVisualsBase_drawImage__P6303, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P6304, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P6305, + "fillTile": tileworld_RuleVisualsBase_fillTile__P6306, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P6307, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P6308, }, }); -const tileworld_WhenDo__C73488_VT = mkVTable({ +const tileworld_WhenDo__C3608_VT = mkVTable({ name: "WhenDo", numFields: 7, classNo: 67, @@ -86242,7 +86471,7 @@ const tileworld_WhenDo__C73488_VT = mkVTable({ "set/commandsLen": null, }, }); -const sprites_SpriteSet__C71991_VT = mkVTable({ +const sprites_SpriteSet__C2111_VT = mkVTable({ name: "SpriteSet", numFields: 1, classNo: 68, @@ -86253,15 +86482,15 @@ const sprites_SpriteSet__C71991_VT = mkVTable({ iface: { "_sprites": null, "set/_sprites": null, - "length": sprites_SpriteSet_length__P71994, - "add": sprites_SpriteSet_add__P71996, - "remove": sprites_SpriteSet_remove__P71998, - "contains": sprites_SpriteSet_contains__P71999, - "toString": sprites_SpriteSet_toString__P72002, + "length": sprites_SpriteSet_length__P2114, + "add": sprites_SpriteSet_add__P2116, + "remove": sprites_SpriteSet_remove__P2118, + "contains": sprites_SpriteSet_contains__P2119, + "toString": sprites_SpriteSet_toString__P2122, }, - toStringMethod: sprites_SpriteSet_toString__P72002, + toStringMethod: sprites_SpriteSet_toString__P2122, }); -const game_Hitbox__C71839_VT = mkVTable({ +const game_Hitbox__C1959_VT = mkVTable({ name: "Hitbox", numFields: 5, classNo: 69, @@ -86280,13 +86509,13 @@ const game_Hitbox__C71839_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P71846, - "top": game_Hitbox_top__P71847, - "right": game_Hitbox_right__P71848, - "bottom": game_Hitbox_bottom__P71849, + "left": game_Hitbox_left__P1966, + "top": game_Hitbox_top__P1967, + "right": game_Hitbox_right__P1968, + "bottom": game_Hitbox_bottom__P1969, }, }); -const JSON_Stringifier__C73835_VT = mkVTable({ +const JSON_Stringifier__C3955_VT = mkVTable({ name: "Stringifier", numFields: 3, classNo: 70, @@ -86301,11 +86530,11 @@ const JSON_Stringifier__C73835_VT = mkVTable({ "set/indentStep": null, "indent": null, "set/indent": null, - "doString": JSON_Stringifier_doString__P73836, - "go": JSON_Stringifier_go__P73837, + "doString": JSON_Stringifier_doString__P3956, + "go": JSON_Stringifier_go__P3957, }, }); -const tileworld_Rule__C73500_VT = mkVTable({ +const tileworld_Rule__C3620_VT = mkVTable({ name: "Rule", numFields: 4, classNo: 71, @@ -86324,7 +86553,7 @@ const tileworld_Rule__C73500_VT = mkVTable({ "set/transforms": null, }, }); -const animation_Animation__C72796_VT = mkVTable({ +const animation_Animation__C2916_VT = mkVTable({ name: "Animation", numFields: 6, classNo: 72, @@ -86345,24 +86574,24 @@ const animation_Animation__C72796_VT = mkVTable({ "set/action": null, "lastTime": null, "set/lastTime": null, - "_init": animation_Animation__init__P72804, - "update": animation_Animation_update__P72805, - "getImage": animation_Animation_getImage__P72806, - "addAnimationFrame": animation_Animation_addAnimationFrame__P72810, - "registerSprite": animation_Animation_registerSprite__P72811, + "_init": animation_Animation__init__P2924, + "update": animation_Animation_update__P2925, + "getImage": animation_Animation_getImage__P2926, + "addAnimationFrame": animation_Animation_addAnimationFrame__P2930, + "registerSprite": animation_Animation_registerSprite__P2931, }, }); -const scene_Renderable__C72255_VT = mkVTable({ +const scene_Renderable__C2375_VT = mkVTable({ name: "Renderable", numFields: 4, classNo: 38, lastSubtypeNo: 38, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P72257, - "__draw": sprites_BaseSprite___draw__P71744, - "__drawCore": scene_Renderable___drawCore__P72258, - "__update": sprites_BaseSprite___update__P71746, + "__visible": scene_Renderable___visible__P2377, + "__draw": sprites_BaseSprite___draw__P1864, + "__drawCore": scene_Renderable___drawCore__P2378, + "__update": sprites_BaseSprite___update__P1866, }, iface: { "_z": null, @@ -86373,26 +86602,26 @@ const scene_Renderable__C72255_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__visible": scene_Renderable___visible__P72257, - "__drawCore": scene_Renderable___drawCore__P72258, - "z": sprites_BaseSprite_z__P71742, - "set/z": sprites_BaseSprite_z__P71743, - "__draw": sprites_BaseSprite___draw__P71744, - "__update": sprites_BaseSprite___update__P71746, + "__visible": scene_Renderable___visible__P2377, + "__drawCore": scene_Renderable___drawCore__P2378, + "z": sprites_BaseSprite_z__P1862, + "set/z": sprites_BaseSprite_z__P1863, + "__draw": sprites_BaseSprite___draw__P1864, + "__update": sprites_BaseSprite___update__P1866, }, }); -const tileworld_TileSprite__C79252_VT = mkVTable({ +const tileworld_TileSprite__C5955903_VT = mkVTable({ name: "TileSprite", - numFields: 33, + numFields: 32, classNo: 36, lastSubtypeNo: 36, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P71939, - "__draw": sprites_BaseSprite___draw__P71744, - "__drawCore": tileworld_TileSprite___drawCore__P79258, - "__update": Sprite___update__P71958, - "isOutOfScreen": tileworld_TileSprite_isOutOfScreen__P79257, + "__visible": Sprite___visible__P2059, + "__draw": sprites_BaseSprite___draw__P1864, + "__drawCore": tileworld_TileSprite___drawCore__P5955909, + "__update": Sprite___update__P2078, + "isOutOfScreen": tileworld_TileSprite_isOutOfScreen__P5955908, }, iface: { "_z": null, @@ -86459,65 +86688,63 @@ const tileworld_TileSprite__C79252_VT = mkVTable({ "set/inst": null, "arg": null, "set/arg": null, - "movedToStopped": null, - "set/movedToStopped": null, - "col": tileworld_TileSprite_col__P79254, - "row": tileworld_TileSprite_row__P79255, - "update": tileworld_TileSprite_update__P79256, - "isOutOfScreen": tileworld_TileSprite_isOutOfScreen__P79257, - "__drawCore": tileworld_TileSprite___drawCore__P79258, - "x": Sprite_x__P71905, - "set/x": Sprite_x__P71906, - "y": Sprite_y__P71907, - "set/y": Sprite_y__P71908, - "vx": Sprite_vx__P71909, - "set/vx": Sprite_vx__P71910, - "vy": Sprite_vy__P71911, - "set/vy": Sprite_vy__P71912, - "ax": Sprite_ax__P71913, - "set/ax": Sprite_ax__P71914, - "ay": Sprite_ay__P71915, - "set/ay": Sprite_ay__P71916, - "fx": Sprite_fx__P71917, - "set/fx": Sprite_fx__P71918, - "fy": Sprite_fy__P71919, - "set/fy": Sprite_fy__P71920, - "data": Sprite_data__P71921, - "set/data": Sprite_data__P71922, - "image": Sprite_image__P71935, - "setImage": Sprite_setImage__P71936, - "setHitbox": Sprite_setHitbox__P71937, - "isStatic": Sprite_isStatic__P71938, - "__visible": Sprite___visible__P71939, - "width": Sprite_width__P71940, - "height": Sprite_height__P71941, - "left": Sprite_left__P71942, - "set/left": Sprite_left__P71943, - "right": Sprite_right__P71944, - "set/right": Sprite_right__P71945, - "top": Sprite_top__P71946, - "set/top": Sprite_top__P71947, - "bottom": Sprite_bottom__P71948, - "set/bottom": Sprite_bottom__P71949, - "kind": Sprite_kind__P71950, - "setKind": Sprite_setKind__P71951, - "say": Sprite_say__P71954, - "__update": Sprite___update__P71958, - "setFlag": Sprite_setFlag__P71959, - "overlapsWith": Sprite_overlapsWith__P71960, - "clearObstacles": Sprite_clearObstacles__P71964, - "registerObstacle": Sprite_registerObstacle__P71965, - "destroy": Sprite_destroy__P71967, - "_destroyCore": Sprite__destroyCore__P71968, - "toString": Sprite_toString__P71970, - "z": sprites_BaseSprite_z__P71742, - "set/z": sprites_BaseSprite_z__P71743, - "__draw": sprites_BaseSprite___draw__P71744, + "col": tileworld_TileSprite_col__P5955905, + "row": tileworld_TileSprite_row__P5955906, + "update": tileworld_TileSprite_update__P5955907, + "isOutOfScreen": tileworld_TileSprite_isOutOfScreen__P5955908, + "__drawCore": tileworld_TileSprite___drawCore__P5955909, + "x": Sprite_x__P2025, + "set/x": Sprite_x__P2026, + "y": Sprite_y__P2027, + "set/y": Sprite_y__P2028, + "vx": Sprite_vx__P2029, + "set/vx": Sprite_vx__P2030, + "vy": Sprite_vy__P2031, + "set/vy": Sprite_vy__P2032, + "ax": Sprite_ax__P2033, + "set/ax": Sprite_ax__P2034, + "ay": Sprite_ay__P2035, + "set/ay": Sprite_ay__P2036, + "fx": Sprite_fx__P2037, + "set/fx": Sprite_fx__P2038, + "fy": Sprite_fy__P2039, + "set/fy": Sprite_fy__P2040, + "data": Sprite_data__P2041, + "set/data": Sprite_data__P2042, + "image": Sprite_image__P2055, + "setImage": Sprite_setImage__P2056, + "setHitbox": Sprite_setHitbox__P2057, + "isStatic": Sprite_isStatic__P2058, + "__visible": Sprite___visible__P2059, + "width": Sprite_width__P2060, + "height": Sprite_height__P2061, + "left": Sprite_left__P2062, + "set/left": Sprite_left__P2063, + "right": Sprite_right__P2064, + "set/right": Sprite_right__P2065, + "top": Sprite_top__P2066, + "set/top": Sprite_top__P2067, + "bottom": Sprite_bottom__P2068, + "set/bottom": Sprite_bottom__P2069, + "kind": Sprite_kind__P2070, + "setKind": Sprite_setKind__P2071, + "say": Sprite_say__P2074, + "__update": Sprite___update__P2078, + "setFlag": Sprite_setFlag__P2079, + "overlapsWith": Sprite_overlapsWith__P2080, + "clearObstacles": Sprite_clearObstacles__P2084, + "registerObstacle": Sprite_registerObstacle__P2085, + "destroy": Sprite_destroy__P2087, + "_destroyCore": Sprite__destroyCore__P2088, + "toString": Sprite_toString__P2090, + "z": sprites_BaseSprite_z__P1862, + "set/z": sprites_BaseSprite_z__P1863, + "__draw": sprites_BaseSprite___draw__P1864, }, }); -const tileworld_TileWorldVM__C79451_VT = mkVTable({ +const tileworld_TileWorldVM__C5956102_VT = mkVTable({ name: "TileWorldVM", - numFields: 7, + numFields: 8, classNo: 73, lastSubtypeNo: 73, maxBgInstances: null, @@ -86534,35 +86761,37 @@ const tileworld_TileWorldVM__C79451_VT = mkVTable({ "set/globalArgs": null, "ruleIndex": null, "set/ruleIndex": null, + "kindHasRule": null, + "set/kindHasRule": null, "p": null, "set/p": null, "rules": null, "set/rules": null, - "setState": tileworld_TileWorldVM_setState__P79452, - "startRound": tileworld_TileWorldVM_startRound__P79453, - "processClosure": tileworld_TileWorldVM_processClosure__P79454, - "continueRound": tileworld_TileWorldVM_continueRound__P79455, - "allSprites": tileworld_TileWorldVM_allSprites__P79456, - "contextChanged": tileworld_TileWorldVM_contextChanged__P79457, - "ruleMatchesSprite": tileworld_TileWorldVM_ruleMatchesSprite__P79458, - "exprMatchesDirection": tileworld_TileWorldVM_exprMatchesDirection__P79459, - "ruleMatchesDirection": tileworld_TileWorldVM_ruleMatchesDirection__P79460, - "applyRules": tileworld_TileWorldVM_applyRules__P79461, - "collidingRules": tileworld_TileWorldVM_collidingRules__P79462, - "moving": tileworld_TileWorldVM_moving__P79463, - "collisionDetection": tileworld_TileWorldVM_collisionDetection__P79464, - "collide": tileworld_TileWorldVM_collide__P79466, - "updateWorld": tileworld_TileWorldVM_updateWorld__P79467, - "evaluateRule": tileworld_TileWorldVM_evaluateRule__P79468, - "getWitness": tileworld_TileWorldVM_getWitness__P79469, - "inBounds": tileworld_TileWorldVM_inBounds__P79470, - "evaluateWhenDo": tileworld_TileWorldVM_evaluateWhenDo__P79471, - "manhattan": tileworld_TileWorldVM_manhattan__P79472, - "evaluateRuleClosure": tileworld_TileWorldVM_evaluateRuleClosure__P79473, - "evaluateWhenDoCommands": tileworld_TileWorldVM_evaluateWhenDoCommands__P79474, + "setState": tileworld_TileWorldVM_setState__P5956103, + "startRound": tileworld_TileWorldVM_startRound__P5956104, + "processClosure": tileworld_TileWorldVM_processClosure__P5956105, + "continueRound": tileworld_TileWorldVM_continueRound__P5956106, + "allSprites": tileworld_TileWorldVM_allSprites__P5956107, + "contextChanged": tileworld_TileWorldVM_contextChanged__P5956108, + "ruleMatchesSprite": tileworld_TileWorldVM_ruleMatchesSprite__P5956109, + "exprMatchesDirection": tileworld_TileWorldVM_exprMatchesDirection__P5956110, + "ruleMatchesDirection": tileworld_TileWorldVM_ruleMatchesDirection__P5956111, + "applyRules": tileworld_TileWorldVM_applyRules__P5956112, + "collidingRules": tileworld_TileWorldVM_collidingRules__P5956113, + "moving": tileworld_TileWorldVM_moving__P5956114, + "collisionDetection": tileworld_TileWorldVM_collisionDetection__P5956115, + "collide": tileworld_TileWorldVM_collide__P5956116, + "updateWorld": tileworld_TileWorldVM_updateWorld__P5956117, + "evaluateRule": tileworld_TileWorldVM_evaluateRule__P5956118, + "getWitness": tileworld_TileWorldVM_getWitness__P5956119, + "inBounds": tileworld_TileWorldVM_inBounds__P5956120, + "evaluateWhenDo": tileworld_TileWorldVM_evaluateWhenDo__P5956121, + "manhattan": tileworld_TileWorldVM_manhattan__P5956122, + "evaluateRuleClosure": tileworld_TileWorldVM_evaluateRuleClosure__P5956123, + "evaluateWhenDoCommands": tileworld_TileWorldVM_evaluateWhenDoCommands__P5956124, }, }); -const tileworld_Tile__C79432_VT = mkVTable({ +const tileworld_Tile__C5956083_VT = mkVTable({ name: "Tile", numFields: 3, classNo: 74, @@ -86579,7 +86808,7 @@ const tileworld_Tile__C79432_VT = mkVTable({ "set/kind": null, }, }); -const tileworld_RuleClosure__C79445_VT = mkVTable({ +const tileworld_RuleClosure__C5956096_VT = mkVTable({ name: "RuleClosure", numFields: 3, classNo: 75, @@ -86596,9 +86825,9 @@ const tileworld_RuleClosure__C79445_VT = mkVTable({ "set/witnesses": null, }, }); -const tileworld_VMState__C79438_VT = mkVTable({ +const tileworld_VMState__C5956089_VT = mkVTable({ name: "VMState", - numFields: 14, + numFields: 17, classNo: 76, lastSubtypeNo: 76, maxBgInstances: null, @@ -86621,8 +86850,14 @@ const tileworld_VMState__C79438_VT = mkVTable({ "set/queued": null, "buttonMatch": null, "set/buttonMatch": null, - "movingToResting": null, - "set/movingToResting": null, + "moving": null, + "set/moving": null, + "moving2resting": null, + "set/moving2resting": null, + "newresting": null, + "set/newresting": null, + "captureSpawned": null, + "set/captureSpawned": null, "paintTile": null, "set/paintTile": null, "deadSprites": null, @@ -86635,29 +86870,29 @@ const tileworld_VMState__C79438_VT = mkVTable({ "set/changed": null, }, }); -const tiles_legacy_LegacyTilemap__C73735_VT = mkVTable({ +const tiles_legacy_LegacyTilemap__C3855_VT = mkVTable({ name: "LegacyTilemap", numFields: 7, classNo: 59, lastSubtypeNo: 59, maxBgInstances: null, methods: { - "data": tiles_legacy_LegacyTilemap_data__P73738, - "offsetX": tiles_legacy_LegacyTilemap_offsetX__P73742, - "offsetY": tiles_legacy_LegacyTilemap_offsetY__P73743, - "areaWidth": tiles_legacy_LegacyTilemap_areaWidth__P73744, - "areaHeight": tiles_legacy_LegacyTilemap_areaHeight__P73745, - "layer": tiles_legacy_LegacyTilemap_layer__P73746, - "enabled": tiles_legacy_LegacyTilemap_enabled__P73748, - "getTile": tiles_legacy_LegacyTilemap_getTile__P73752, - "getTileIndex": tiles_legacy_LegacyTilemap_getTileIndex__P73759, - "setTileAt": tiles_legacy_LegacyTilemap_setTileAt__P73753, - "isInvalidIndex": tiles_legacy_LegacyTilemap_isInvalidIndex__P81312, - "draw": tiles_legacy_LegacyTilemap_draw__P81313, - "isObstacle": tiles_legacy_LegacyTilemap_isObstacle__P73756, - "getObstacle": tiles_legacy_LegacyTilemap_getObstacle__P73757, - "isOnWall": tiles_legacy_LegacyTilemap_isOnWall__P73758, - "getTileImage": tiles_legacy_LegacyTilemap_getTileImage__P73760, + "data": tiles_legacy_LegacyTilemap_data__P3858, + "offsetX": tiles_legacy_LegacyTilemap_offsetX__P3862, + "offsetY": tiles_legacy_LegacyTilemap_offsetY__P3863, + "areaWidth": tiles_legacy_LegacyTilemap_areaWidth__P3864, + "areaHeight": tiles_legacy_LegacyTilemap_areaHeight__P3865, + "layer": tiles_legacy_LegacyTilemap_layer__P3866, + "enabled": tiles_legacy_LegacyTilemap_enabled__P3868, + "getTile": tiles_legacy_LegacyTilemap_getTile__P3872, + "getTileIndex": tiles_legacy_LegacyTilemap_getTileIndex__P3879, + "setTileAt": tiles_legacy_LegacyTilemap_setTileAt__P3873, + "isInvalidIndex": tiles_legacy_LegacyTilemap_isInvalidIndex__P6507, + "draw": tiles_legacy_LegacyTilemap_draw__P6508, + "isObstacle": tiles_legacy_LegacyTilemap_isObstacle__P3876, + "getObstacle": tiles_legacy_LegacyTilemap_getObstacle__P3877, + "isOnWall": tiles_legacy_LegacyTilemap_isOnWall__P3878, + "getTileImage": tiles_legacy_LegacyTilemap_getTileImage__P3880, }, iface: { "_scale": null, @@ -86674,33 +86909,33 @@ const tiles_legacy_LegacyTilemap__C73735_VT = mkVTable({ "set/_screenX": null, "isLegacy": null, "set/isLegacy": null, - "data": tiles_legacy_LegacyTilemap_data__P73738, - "myLeft": tiles_legacy_LegacyTilemap_myLeft__P73740, - "myWidth": tiles_legacy_LegacyTilemap_myWidth__P73741, - "offsetX": tiles_legacy_LegacyTilemap_offsetX__P73742, - "offsetY": tiles_legacy_LegacyTilemap_offsetY__P73743, - "areaWidth": tiles_legacy_LegacyTilemap_areaWidth__P73744, - "areaHeight": tiles_legacy_LegacyTilemap_areaHeight__P73745, - "layer": tiles_legacy_LegacyTilemap_layer__P73746, - "enabled": tiles_legacy_LegacyTilemap_enabled__P73748, - "setTile": tiles_legacy_LegacyTilemap_setTile__P73749, - "setMap": tiles_legacy_LegacyTilemap_setMap__P73750, - "getTile": tiles_legacy_LegacyTilemap_getTile__P73752, - "setTileAt": tiles_legacy_LegacyTilemap_setTileAt__P73753, - "generateTile": tiles_legacy_LegacyTilemap_generateTile__P81310, - "isOutsideMap": tiles_legacy_LegacyTilemap_isOutsideMap__P81311, - "isInvalidIndex": tiles_legacy_LegacyTilemap_isInvalidIndex__P81312, - "draw": tiles_legacy_LegacyTilemap_draw__P81313, - "isObstacle": tiles_legacy_LegacyTilemap_isObstacle__P73756, - "getObstacle": tiles_legacy_LegacyTilemap_getObstacle__P73757, - "isOnWall": tiles_legacy_LegacyTilemap_isOnWall__P73758, - "getTileIndex": tiles_legacy_LegacyTilemap_getTileIndex__P73759, - "getTileImage": tiles_legacy_LegacyTilemap_getTileImage__P73760, - "scale": tiles_TileMap_scale__P72199, - "set/scale": tiles_TileMap_scale__P72200, + "data": tiles_legacy_LegacyTilemap_data__P3858, + "myLeft": tiles_legacy_LegacyTilemap_myLeft__P3860, + "myWidth": tiles_legacy_LegacyTilemap_myWidth__P3861, + "offsetX": tiles_legacy_LegacyTilemap_offsetX__P3862, + "offsetY": tiles_legacy_LegacyTilemap_offsetY__P3863, + "areaWidth": tiles_legacy_LegacyTilemap_areaWidth__P3864, + "areaHeight": tiles_legacy_LegacyTilemap_areaHeight__P3865, + "layer": tiles_legacy_LegacyTilemap_layer__P3866, + "enabled": tiles_legacy_LegacyTilemap_enabled__P3868, + "setTile": tiles_legacy_LegacyTilemap_setTile__P3869, + "setMap": tiles_legacy_LegacyTilemap_setMap__P3870, + "getTile": tiles_legacy_LegacyTilemap_getTile__P3872, + "setTileAt": tiles_legacy_LegacyTilemap_setTileAt__P3873, + "generateTile": tiles_legacy_LegacyTilemap_generateTile__P6505, + "isOutsideMap": tiles_legacy_LegacyTilemap_isOutsideMap__P6506, + "isInvalidIndex": tiles_legacy_LegacyTilemap_isInvalidIndex__P6507, + "draw": tiles_legacy_LegacyTilemap_draw__P6508, + "isObstacle": tiles_legacy_LegacyTilemap_isObstacle__P3876, + "getObstacle": tiles_legacy_LegacyTilemap_getObstacle__P3877, + "isOnWall": tiles_legacy_LegacyTilemap_isOnWall__P3878, + "getTileIndex": tiles_legacy_LegacyTilemap_getTileIndex__P3879, + "getTileImage": tiles_legacy_LegacyTilemap_getTileImage__P3880, + "scale": tiles_TileMap_scale__P2319, + "set/scale": tiles_TileMap_scale__P2320, }, }); -const tiles_legacy_TileSet__C90004_VT = mkVTable({ +const tiles_legacy_TileSet__C6501_VT = mkVTable({ name: "TileSet", numFields: 4, classNo: 77, @@ -86717,10 +86952,10 @@ const tiles_legacy_TileSet__C90004_VT = mkVTable({ "set/originalImage": null, "cachedImage": null, "set/cachedImage": null, - "image": tiles_legacy_TileSet_image__P90005, + "image": tiles_legacy_TileSet_image__P6502, }, }); -const scene_systemMenu_PauseMenu__C72499_VT = mkVTable({ +const scene_systemMenu_PauseMenu__C2619_VT = mkVTable({ name: "PauseMenu", numFields: 7, classNo: 78, @@ -86743,15 +86978,15 @@ const scene_systemMenu_PauseMenu__C72499_VT = mkVTable({ "set/scrollOffset": null, "generator": null, "set/generator": null, - "show": scene_systemMenu_PauseMenu_show__P72501, - "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P72502, - "setSelection": scene_systemMenu_PauseMenu_setSelection__P72503, - "drawText": scene_systemMenu_PauseMenu_drawText__P72504, - "dispose": scene_systemMenu_PauseMenu_dispose__P72505, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P74417, + "show": scene_systemMenu_PauseMenu_show__P2621, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P2622, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P2623, + "drawText": scene_systemMenu_PauseMenu_drawText__P2624, + "dispose": scene_systemMenu_PauseMenu_dispose__P2625, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P4537, }, }); -const scene_systemMenu_MenuOption__C72491_VT = mkVTable({ +const scene_systemMenu_MenuOption__C2611_VT = mkVTable({ name: "MenuOption", numFields: 8, classNo: 79, @@ -86776,16 +87011,16 @@ const scene_systemMenu_MenuOption__C72491_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "show": scene_systemMenu_MenuOption_show__P72493, - "position": scene_systemMenu_MenuOption_position__P72494, - "setOffset": scene_systemMenu_MenuOption_setOffset__P72495, - "setTheme": scene_systemMenu_MenuOption_setTheme__P72496, - "setState": scene_systemMenu_MenuOption_setState__P72497, - "dispose": scene_systemMenu_MenuOption_dispose__P72498, - "updateCard": scene_systemMenu_MenuOption_updateCard__P74416, + "show": scene_systemMenu_MenuOption_show__P2613, + "position": scene_systemMenu_MenuOption_position__P2614, + "setOffset": scene_systemMenu_MenuOption_setOffset__P2615, + "setTheme": scene_systemMenu_MenuOption_setTheme__P2616, + "setState": scene_systemMenu_MenuOption_setState__P2617, + "dispose": scene_systemMenu_MenuOption_dispose__P2618, + "updateCard": scene_systemMenu_MenuOption_updateCard__P4536, }, }); -const MovingSprite__C72051_VT = mkVTable({ +const MovingSprite__C2171_VT = mkVTable({ name: "MovingSprite", numFields: 7, classNo: 80, @@ -86810,7 +87045,7 @@ const MovingSprite__C72051_VT = mkVTable({ "set/yStep": null, }, }); -const tiles_Location__C72169_VT = mkVTable({ +const tiles_Location__C2289_VT = mkVTable({ name: "Location", numFields: 3, classNo: 81, @@ -86825,14 +87060,14 @@ const tiles_Location__C72169_VT = mkVTable({ "set/_col": null, "tileMap": null, "set/tileMap": null, - "col": tiles_Location_col__P72170, - "row": tiles_Location_row__P72171, - "x": tiles_Location_x__P72173, - "y": tiles_Location_y__P72174, - "tileSet": tiles_Location_tileSet__P72175, + "col": tiles_Location_col__P2290, + "row": tiles_Location_row__P2291, + "x": tiles_Location_x__P2293, + "y": tiles_Location_y__P2294, + "tileSet": tiles_Location_tileSet__P2295, }, }); -const sprites_StaticObstacle__C72026_VT = mkVTable({ +const sprites_StaticObstacle__C2146_VT = mkVTable({ name: "StaticObstacle", numFields: 5, classNo: 82, @@ -86851,14 +87086,14 @@ const sprites_StaticObstacle__C72026_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P72033, - "y": sprites_StaticObstacle_y__P72034, - "height": sprites_StaticObstacle_height__P72035, - "width": sprites_StaticObstacle_width__P72036, + "x": sprites_StaticObstacle_x__P2153, + "y": sprites_StaticObstacle_y__P2154, + "height": sprites_StaticObstacle_height__P2155, + "width": sprites_StaticObstacle_width__P2156, }, }); -const breakpoints = setupDebugger(1, ["zeroCode___75857","map___73597","play___73598","debug___73599","code___73600","paint___73601","music___73602","garbageCan___73603","settingsIcon___73604","addRule___73605","emptyTile___73606","emptyDiagTile___73607","cursorIn___73608","cursorOut___73609","collisionSprite___73610","genericSprite___73611","exclude___73612","include___73613","include2___73614","ok___73615","anyOutline___73616","allFourOutline___73617","restingOutline___73618","downArrowOutline___73619","upArrowOutline___73620","rightArrowOutline___73621","leftArrowOutline___73622","leftButton___73623","rightButton___73624","downButton___73625","upButton___73626","AButton___73627","flipHoriz___73628","flipVert___73629","rotate3way___73630","leftRotate___73631","rightRotate___73632","allFour___73633","downArrow___73634","upArrow___73635","rightArrow___73636","leftArrow___73637","eat___73638","stopSign___73639","uTurn___73640","spawn___73641","smallPaint___73642","portal___73643","gameIcon___73644","trophyUp___73645","trophyDown___73646","scoreUp10___73647","diskIcon___73648","reset___73649","negate___73650","twCursor___79175","apple___79178","snakeHead___73651","snakeBody___79183","ship___79186","alien___79189","missile___79192","cat___79195","fish___79198","dog___73652","chimp___79203","player___73653","diamond___79207","boulder___79210","enemy___73654","brick___79014","grass___79216","water___79219","dirt2___79222","wall___79225","wall2___79228","dirt___79231","space___79234","gallerySprites___73655","galleryTiles___73656","colorOut___81766","colorIn___81769","paintOut___81772","paintIn___81775","moveImages___73673","movedImages___73674","buttonImages___73676","attrImages___73678","gameImages___73679","transformImages___84084","categoryImages___84977","paintOut___86425","paintIn___86428","commandImages___87387","tw___73719","TileWorldVersion___73550","HelpKey___78227","attrValues___73677","transformMap___84081","RuleKey___78184","bitIndex___76597","ruleBuf___76595","categoryText___84985","moveText___73675","gameText___73680","BackImageKey___78587","SpriteImageKey___78589","WorldBackgroundsKey___78202","WorldSpritesKey___78216","HighScoreKey___78243","VersionKey___78279","BackImgCntKey___78297","SpriteImgCntKey___78306","PlayerIndexKey___78315","toHex___78434","menuHelpString___84987","attrHelpString___84989","helpStringTop___84253","helpStringBot___84255","helpString___87384"]) +const breakpoints = setupDebugger(1, ["zeroCode___5977","map___3717","play___3718","debug___3719","code___3720","paint___3721","music___3722","garbageCan___3723","settingsIcon___3724","addRule___3725","emptyTile___3726","emptyDiagTile___3727","cursorIn___3728","cursorOut___3729","collisionSprite___3730","genericSprite___3731","exclude___3732","include___3733","include2___3734","ok___3735","anyOutline___3736","allFourOutline___3737","restingOutline___3738","downArrowOutline___3739","upArrowOutline___3740","rightArrowOutline___3741","leftArrowOutline___3742","leftButton___3743","rightButton___3744","downButton___3745","upButton___3746","AButton___3747","flipHoriz___3748","flipVert___3749","rotate3way___3750","leftRotate___3751","rightRotate___3752","allFour___3753","downArrow___3754","upArrow___3755","rightArrow___3756","leftArrow___3757","eat___3758","stopSign___3759","uTurn___3760","spawn___3761","smallPaint___3762","portal___3763","gameIcon___3764","trophyUp___3765","trophyDown___3766","scoreUp10___3767","diskIcon___3768","reset___3769","negate___3770","twCursor___6128","apple___6131","snakeHead___3771","snakeBody___6136","ship___6139","alien___6142","missile___6145","cat___6148","fish___6151","dog___3772","chimp___6156","player___3773","diamond___6161","boulder___6164","enemy___3774","brick___6169","grass___6172","water___6175","dirt2___6178","wall___6181","wall2___6184","dirt___6187","space___6190","gallerySprites___3775","galleryTiles___3776","colorOut___6272","colorIn___6275","paintOut___6278","paintIn___6281","moveImages___3873413","movedImages___3873421","buttonImages___3873431","attrImages___3873443","gameImages___3873449","transformImages___6378","categoryImages___6406","paintOut___6454","paintIn___6457","commandImages___6477","tw___3839","TileWorldVersion___3670","HelpKey___6007","attrValues___3873441","transformMap___6376","RuleKey___6015","bitIndex___5986","ruleBuf___5984","categoryText___6414","moveText___3873429","gameText___3873453","BackImageKey___6013","SpriteImageKey___6014","WorldBackgroundsKey___6011","WorldSpritesKey___6012","HighScoreKey___6016","VersionKey___6006","BackImgCntKey___6008","SpriteImgCntKey___6009","PlayerIndexKey___6010","toHex___6001","menuHelpString___6415","attrHelpString___6416","helpStringTop___6391","helpStringBot___6392","helpString___6475"]) -return _main___P224137 +return _main___P5986195 }) diff --git a/assets/js/loader.js b/assets/js/loader.js index 2d896a3..b416019 100644 --- a/assets/js/loader.js +++ b/assets/js/loader.js @@ -27,7 +27,7 @@ function makeCodeRun(options) { var ap = document.createElement("a"); ap.download = "arcade.uf2"; ap.href = "https://github.com/" + meta.repo + "/releases/download/v" + meta.version + "/arcade.uf2"; - ap.innerText = "UF2 File" + ap.innerText = "v" + meta.version; vel.appendChild(ap); } // load simulator with correct version diff --git a/assets/version.txt b/assets/version.txt index 74ecad8..ad35fe0 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -4.2.4 \ No newline at end of file +4.2.5 \ No newline at end of file diff --git a/index.html b/index.html index 5dd451e..52e086f 100644 --- a/index.html +++ b/index.html @@ -29,10 +29,8 @@ - + + + + + + + + + -